-
I am trying to setup xmpp-web through docker on AWS. Right now I am running the docker process on an EC2 instance but get "Error during login" message when trying to login, I can connect to the server just fine with other clients (Gajim, psi, chatsecure..). I have a suspicion that I'm not setting something right. Here is the dockerfile I used to build the image, running it with
I was a bit confused about if APP_WS is correctly inputted My prosody configuration file:
Also here's the error I get in the terminal: Is it a certification issue? I don't have the certificate setup for Sorry for the long post, I really need some help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @anrj. First, you don't have to build your own docker image, it is hosted on docker hub. For your issue, I think this variable is invalid: |
Beta Was this translation helpful? Give feedback.
Hello @anrj.
First, you don't have to build your own docker image, it is hosted on docker hub.
For your issue, I think this variable is invalid:
ENV XMPP_WS=http://xmpp.anrj.site:5281/xmpp-websocket
Because Prosody uses port 5281 for https (Bosh) but you set the http scheme (which is listened on 5280), can you try
ENV XMPP_WS=https://xmpp.anrj.site:5281/xmpp-websocket
Or with http/5280 if it does not work:
ENV XMPP_WS=http://xmpp.anrj.site:5280/xmpp-websocket