Hi,
I am trying out Shared memcache for my project (low volume right now). I am not able to connect to it with the following error:
Error when trying to fetch from memcache Error: socket timed out waiting on response. at timeoutHandler (/app/node_modules/memjs/lib/memjs/server.js:206:18) at Socket.<anonymous> (/app/node_modules/memjs/lib/memjs/server.js:225:9) at Socket.g (events.js:292:16) at emitNone (events.js:91:20) at Socket.emit (events.js:185:7) at Socket._onTimeout (net.js:342:8) at ontimeout (timers.js:365:14) at tryOnTimeout (timers.js:237:5) at Timer.listOnTimeout (timers.js:207:5
MemJS: Server <memcache:11211> failed after (2) retries with error - socket timed out waiting on response.
// Environment variables are defined in app.yaml.
let MEMCACHE_URL = process.env.MEMCACHE_URL || '127.0.0.1:11211';
if (process.env.USE_GAE_MEMCACHE) {
MEMCACHE_URL = `${process.env.GAE_MEMCACHE_HOST}:${process.env.GAE_MEMCACHE_PORT}`;
}
const mc = memjs.Client.create(MEMCACHE_URL);
The memcache url I get is memcache:11211
Any help would be appreciated.
Thanks and Regards,
Srikanth