Wirecloud 和 IDM 服务器打嗝
Wirecloud and IDM server hiccup
我最近连接了 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.
我的 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']
问题是我进入了同一台机器 idm 和 Wirecloud,它们使用相同的 cookie。
我在 settings.py
上添加以下几行
SESSION_COOKIE_NAME = "wcsessionid"
CSRF_COOKIE_NAME = "wccsrftoken"
我最近连接了 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.
我的 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']
问题是我进入了同一台机器 idm 和 Wirecloud,它们使用相同的 cookie。
我在 settings.py
SESSION_COOKIE_NAME = "wcsessionid"
CSRF_COOKIE_NAME = "wccsrftoken"