"Error during logon: Internal Server Error" after passwd Change on a Mac with Seafile Client 6.0.4

The other client’s are still fine but with that one specific user I can’t logon!

Error Message

I’ve already renamed /Users/username/.ccnet and /Users/username/Seafile/.seafile-data but the Problem remains…

Can you check seahub_django_request.log at the server side?

sure, here you go:

2017-03-13 08:31:42,003 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/opt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “/opt/seafile/seafile-server-6.0.8/seahub/seahub/api2/views.py”, line 189, in post
if serializer.is_valid():
File “/opt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/serializers.py”, line 213, in is_valid
self._validated_data = self.run_validation(self.initial_data)
File “/opt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/serializers.py”, line 410, in run_validation
value = self.validate(value)
File “/opt/seafile/seafile-server-6.0.8/seahub/seahub/api2/serializers.py”, line 72, in validate
user = authenticate(username=username, password=password)
File “/opt/seafile/seafile-server-6.0.8/seahub/seahub/auth/init.py”, line 57, in authenticate
user = backend.authenticate(**credentials)
File “/opt/seafile/seafile-server-6.0.8/seahub/seahub/base/accounts.py”, line 387, in authenticate
if user.check_password(password):
File “/opt/seafile/seafile-server-6.0.8/seahub/seahub/base/accounts.py”, line 276, in check_password
return (ccnet_threaded_rpc.validate_emailuser(self.username, raw_password) == 0)
File “/opt/seafile/seafile-server-6.0.8/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-server-6.0.8/seafile/lib64/python2.6/site-packages/pysearpc/client.py”, line 11, in _fret_int
raise SearpcError(dicts[‘err_msg’])
SearpcError: failed to load RPC call: \u0000 is not allowed

Hi Daniel,

can you please give me feedback?

This error indicates that the username or password is NULL. Is this user able to login via web?

THX, but yes both web and another Seafile Client are fine… I’ll check again later and report back!

After resetting the password once more it’s now working fine again. Don’t know why I could logon on the other client while I had problem’S with the mac client.