SpyderWylde
Member
I'm trying to connect AllianceAuth with Xenforo via XENAPI.
When I create a user in Alliance Auth then try to activate the user to pass the user info to the Xenforo Forum I get this error:
Just seeing if anybody had any ideas or have set this up before.
When I create a user in Alliance Auth then try to activate the user to pass the user info to the Xenforo Forum I get this error:
Code:
[15/Mar/2020 08:55:57] ERROR [django.request:228] Internal Server Error: /xenforo/activate/
Traceback (most recent call last):
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/allianceauth/authentication/decorators.py", line 35, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/allianceauth/services/modules/xenforo/views.py", line 23, in activate_xenforo_forum
result = XenForoManager.add_user(XenforoTasks.get_username(request.user), request.user.email)
File "/home/allianceserver/venv/auth/lib/python3.6/site-packages/allianceauth/services/modules/xenforo/manager.py", line 59, in add_user
if json.loads(r.text)['error'] == 7:
File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Just seeing if anybody had any ideas or have set this up before.