Wirecloud和IDM服务器打嗝

时间:2018-01-12 13:09:37

标签: fiware-wirecloud

我最近联系了wirecloud和Idm。当我登录到wirecloud并登陆我的wirecloud时,我收到以下错误:

Sorry, but the requested page is unavailable due to a server hiccup.
Our engineers have been notified, so check back later.

enter image description here

我的idm配置是:

URL
http://151.80.41.166:50002

Callback URL
http://151.80.41.166:50002/complete/fiware/

我无法获得更多错误信息

Exception Type:     AuthStateMissing
Exception Value:    Session value state missing.

Exception Location:     /usr/local/lib/python2.7/site-packages/social_core/backends/oauth.py in validate_state, line 90
Python Executable:  /usr/local/bin/python
Python Version:     2.7.14
Python Path:    

['/opt/wirecloud_instance',
 '/usr/local/lib/python27.zip',
 '/usr/local/lib/python2.7',
 '/usr/local/lib/python2.7/plat-linux2',
 '/usr/local/lib/python2.7/lib-tk',
 '/usr/local/lib/python2.7/lib-old',
 '/usr/local/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/site-packages']

1 个答案:

答案 0 :(得分:1)

问题是我在相同的机器idm和Wirecloud,他们使用相同的cookie。

我在settings.py

上添加了以下行
SESSION_COOKIE_NAME = "wcsessionid"
CSRF_COOKIE_NAME = "wccsrftoken"