Pipeline服务无法启动


#1

insights与lms分别装于两台服务器上,运行pipeline时出现如下问题,并不能启动


insight页面可以打开,点击登录出现500错误,我该如何解决


#2

遇到同样的问题,有人解答嘛?


#3

把出500时候,/edx/var/log/insights/edx.log的内容发上来看看
@sqdmydxf @xuxian94


#4

Mar 10 13:59:33 Insights [service_variant=insights][django.request][env:no_env] ERROR [Insights 1696] [base.py:284] - Internal Server Error: /complete/edx-oidc/
Traceback (most recent call last):
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 149, in get_response
response = self.process_exception_by_middleware(e, request)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/core/handlers/base.py”, line 147, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/views/decorators/cache.py”, line 57, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/social/apps/django_app/utils.py”, line 51, in wrapper
return func(request, backend, *args, **kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/social/apps/django_app/views.py”, line 28, in complete
redirect_name=REDIRECT_FIELD_NAME, *args, **kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/social/actions.py”, line 43, in do_complete
user = backend.complete(user=user, *args, **kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/social/backends/base.py”, line 41, in complete
return self.auth_complete(*args, **kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/auth_backends/backends.py”, line 90, in auth_complete
user = super(EdXOpenIdConnect, self).auth_complete(*args, **kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/social/utils.py”, line 229, in wrapper
return func(*args, **kwargs)
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/social/backends/oauth.py”, line 375, in auth_complete
state = self.validate_state()
File “/edx/app/insights/venvs/insights/local/lib/python2.7/site-packages/social/backends/oauth.py”, line 88, in validate_state
raise AuthStateMissing(self, ‘state’)
AuthStateMissing: Session value state missing.


#5

检查下oauth的对接设置,django中的client、信任,以及insight端的secret