Closed dasboeh closed 5 years ago
Addendum: When I try to connect with pidgin to ncuser@mydomain.com there is also this infinite loop ending in error "service no available".
Sorry, I do not speak nginx fluently. Can you try our Apache setup? (At least temporarily.) And then maybe help us recommend an nginx setup?
Dear Marcel.
I try to test the apache server setup at the weekends and'll report back then. :-)
Best regards
Have there been any news here?
Closing due to inactivity
Hello,
I installed NC 13.0.4 under Ubuntu 18.04 with Nginx. For JSXC I use xmpp-cloud-auth and prosody. I configured everything regarding this tutorial: https://github.com/jsxc/xmpp-cloud-auth/wiki
BOSH is reachable through https://mydomain.com/http-bind. Actually this redirects to http://localhost:5280/http-bind.
I forwarded ports 5222, 5269, 5280 from my router to my server.
My Nginx gateway config is:
Then the Nginx XMPP vHost config is:
The /etc/prosody/prosody.cfg.lua and /etc/xcauth.conf files are directly from the wiki tutorial. Just changed domain to mydomain.com in prosody.cfg.lua and added url=https://mydomain.com/nextcloud/apps/ojsxc/ajax/externalApi.php and the API Token given in the NC Settings to xcauth.conf.
I saved config in NC settings, logged out and tried to log in again. Login is taking forever and when I hit reload I am logged in again but without chat. When I klick on the chat icon on the upper right I can log in to the chat. I hit login and it takes forever until I cancel the login.
I'm watching my JS console, but no errors there. Also the prosody log shows no error. Just mentioned that a new Bosh session has benn started.
So this is a bit frustrating, since I have no clues where to start debugging. I hope someone could help.