-
Notifications
You must be signed in to change notification settings - Fork 14
Failed to login #39
Comments
Using websocket. |
Unfortunately, Ejabberd has not yet been thoroughly tested to ensure compatibility. I will label this issue so it remains open until I have time to ensure compatibility with Ejabberd. Collaboration is especially appreciated in those cases which involve ensuring compatibility with different XMPP servers. So, anyone reading this, feel invited to help with the development. |
Just tested Opa on latest version with this ejabberd Docker version: https://hub.docker.com/r/rroemhild/ejabberd/ It is working in both http-bind and websocket.
And it is working flawlessly with the latest version of Opa available at DockerHub on both connection endpoints... So, it is probably your current setup (ejabberd) that might not be configured correctly...
For reference, here is my test Opa config file for WSS connection: {
"XMPP_SERVER_ADDRESS": "wss://myejabberd:5280/websocket",
"XMPP_SERVER_DOMAIN": "chat",
"APP_LOCALE": "en-us"
} |
@stevenroose Can you do the suggested tests at #39 (comment)? If it is not possible to proceed with this Issue I will assume it as closed based on the tests that I did myself. |
Is there a way to just run Opa locally without docker? Ideally I'd just have a generated directory that I can upload to a static file server. That was I can also test it easier locally. Currently I can't easily deploy another Opa docker for testing, sorry. |
@stevenroose You can run Opa with NodeJS, from source. Basically just download the project Master branch or clone with git, and on Command Line inside the project folder run yarn build && yarn start https://github.com/credija/opa#nodejs-from-source |
Running latest ejabberd.
Paste from the js console:
The text was updated successfully, but these errors were encountered: