I have a live server instance running on AWS,I took the AMI of current running instance and with that I created an another instance and I configured all the settings and the web server is nginx but when I enter my IP address I get memcached error.
Unable to reach Sentry log server: <urlopen error [Errno -2] Name or service not known> (url: http://sentry.openlabs.co.in/api/32/store/)
Failed to submit message: u'MemcachedError: error 31 from memcached_get(:1:views.decorators.cache.cache_): A TIMEOUT OCCURRED'
This is my settings.py
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
'LOCATION': 'pursuite.vbzolj.cfg.apse1.cache.amazonaws.com:11211',
}
}
In live server its working fine. Don't know why its not working in staging.
Thanks in advance
I think that your server is not able to send requests to your Memcached instance.
Check that your instances are part of the same security group and enable inbound traffic for Memcached.
To enable inbound traffic for Memcached: