-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nextcloud crash when running xcauth #84
Comments
I did some debugging and the problem is that only every second nextcloud login is successful. When pressing the login button first it will show "logging in" forever. If I reload the page and press it again it will login without any problems. There is an exception in the javascript log: main.js?v=496616e2-15:396 JQMIGRATE: Migrate is installed, version 1.4.1 It only happens when xcauth is running. |
Dear all,
I installed Nextcloud 17.0 on nginx and php-fpm with ejabberd 18.01 and xcauth 2.0.3+. The OS is Ubuntu 18.04.3 LTS on a RockPro64 ARM SBC. Nextcloud and ejabberd are working fine. When I start xcauth I can login in ejabberd with the Nextcloud accounts. The communication with the bosh interface works fine as well. Xcauth reports in its log file that authentication worked.
However, after some minutes I cannot login in Nextcloud anymore. After submitting the password it will freeze at "logging in". After killing or restarting the xcauth service I'm able to login again until it crashes the next time. When I managed to login I can also not access ejabberd accounts from Nextcloud. The ejabberd log file always reports that the username or password is invalid. Still, the main problem is that Nextcloud does not work at all when xcauth crashed.
Sometimes there is also a python exception in xcauth.err:
File "/usr/lib/dist-packages/xclib/authops.py", line 107, in perform s.listen()
OSError: [Errno 88] Socket operation on non-socket
During handling of the above exception, another exception occured:
Traceback (most recent call last):
File "/usr/sbin/xcauth", line 17, in perform(args)
File "/usr/lib/python3/dist-packages/xclib/authops.py", line 112, in perform perform_from_fd(sys.stdin, sys.stdout, xc, args.type, closefds=(sys.stdin, sys.stdout,s))
File "/usr/lib/python3/dist-packages/xclib/authops.py", line 175, in perform_from_fd
for data in smtp.read.request(infd, outfd):
File "/usr/lib/python3/dist-packages/xclib/ejabberd_io.py", line 15, in read_request line = infd.read(2)
Can you please help me to make run Nextcloud together with xcauth?
The text was updated successfully, but these errors were encountered: