Hi Lars, You mention that you have `COOKIE_SECRET="secret"` in your local_settings.py Because of the way Ellis is installed, there are actually 3 local_settings.py files on the system:
1). /usr/share/clearwater/ellis/build/lib.linux-x86_64-2.7/metaswitch/ellis/local_settings.py 2). /usr/share/clearwater/ellis/env/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/ellis/local_settings.py 3). /usr/share/clearwater/ellis/src/metaswitch/ellis/local_settings.py Can you check whether the COOKIE_SECRET setting is present in all of these files? One more thing - I've noticed you're not signed up to the mailing list. This means your mails to the list do not automatically get posted. Would you be able to sign up please? You can do this by following the link from http://www.projectclearwater.org/community/. Thanks, Alex. -----Original Message----- From: Lars Brune [mailto:[email protected]] Sent: 26 October 2014 15:01 To: [email protected] Subject: Exception: You must define the 'cookie_secret' setting in your application to use secure cookies Hello everybody, i followed through the manual install of clearwater and set up a simple 6 nodes cluster on ec2. But when i try to connect to ellis i get a 500: Internal Server Error. ellis-1.log says: 2014-10-26 14:48:29,086 D static:80 3069:140477292951296] Checking if is allowed 2014-10-26 14:48:29,086 E web:1064 3069:140477292951296] Uncaught exception GET / (77.180.53.88) HTTPRequest(protocol='http', host='ellis.*******', method='GET', uri='/', version='HTTP/1.1', remote_ip='77.180.53.**', body='', headers={'Connection': 'keep-alive', 'Accept-Language': 'de-de', 'Accept-Encoding': 'gzip, deflate', 'Host': 'ellis.********', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2'}) Traceback (most recent call last): File "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/tornado-2.3-py2.7.egg/tornado/web.py", line 1021, in _execute getattr(self, self.request.method.lower())(*args, **kwargs) File "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/ellis/api/static.py", line 74, in get if self.path_is_restricted(path) and not self.request_is_authenticated(): File "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/ellis/api/static.py", line 96, in request_is_authenticated return self.logged_in_username is not None File "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/ellis-0.1-py2.7.egg/metaswitch/ellis/api/_base.py", line 351, in logged_in_username username = self.get_secure_cookie("username") File "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/tornado-2.3-py2.7.egg/tornado/web.py", line 444, in get_secure_cookie self.require_setting("cookie_secret", "secure cookies") File "/usr/share/clearwater/ellis/env/local/lib/python2.7/site-packages/tornado-2.3-py2.7.egg/tornado/web.py", line 977, in require_setting "application to use %s" % (name, feature)) Exception: You must define the 'cookie_secret' setting in your application to use secure cookies The local_settings.py says: COOKIE_SECRET = "secret" Anybody with an idea why that is happening? Kind regards Lars Brune _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
