question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

session store is unavaliable

See original GitHub issue

What is this mean, i just copy your code and run it.

var session = require('koa-generic-session');
var redisStore = require('koa-redis');
var koa = require('koa');

var app = koa();
app.keys = ['keys', 'keykeys'];
app.use(session({
  store: redisStore()
}));
...
Error: session store is unavaliable
      at null._onTimeout (/Users/jiangxingshang/Documents/workspace/WebStorm/Shop/node_modules/koa-generic-session/lib/session.js:105:16)
      at Timer.listOnTimeout (timers.js:110:15)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
dead-horsecommented, Aug 18, 2015

did you start your redis server?

0reactions
smz8023commented, Nov 22, 2019

你好,我在使用过程中,报错: server error { TypeError: Cannot set property name of which has only a getter at defaultErrorHanlder

Read more comments on GitHub >

github_iconTop Results From Across the Web

NodeJS / express / connect-redis: no error on redis being ...
i'm building a web application on NodeJS using express; the session store is a Redis instance which i talk to using connect-redis ....
Read more >
Session storage disabled or unavailable!
We have an integration with Salesforce in JIRA and today keep seeing this warning message: " Session storage disabled or unavailable! Salesforce.
Read more >
koa generic session store by memory, redis or others
MemoryStore.prototype; object koa-generic-session.store.prototype ... storeStatus = 'unavailable'; reject(new Error('session store is unavailable')); ...
Read more >
Anyone experiencing session hosts becoming unavailable ...
Users get kicked out of their session and cannot reconnect. The user sessions are still marked as Active/Disconnected according to the Azure portal....
Read more >
VisaPaymentSDKException: SDK session is unavailable.
... API of Visa SDK to store the ProvisionResponse from MAP, we are getting VisaPaymentSDKException - SDK Session is unavailable.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found