Problem with http-bind to XMPP server
I have xmpp-based chat enabled on this site where I currently have some trouble with. You can reach it here: f.haeder.net/http-bind
The upstream server behind it runs at 127.0.0.1:5280 and is configured as followed:
ejabberd.cfg{5280, ejabberd_http, [captcha, http_put, http_poll, http_bind]}
and ...
ejabberd.yml
port: 5280
ip: "127.0.0.1"
module: ejabberd_http
request_handlers:
"/websocket": ejabberd_http_ws
## "/pub/archive": mod_http_fileserver
web_admin: true
http_bind: true
## register: true
captcha: true
tls: true
certfile: "/etc/ejabberd/ejabberd.pem"
In /var/log/ejabberd/error.log I see tons of these messages:2018-05-13 xx:xx:xx.xxx [critical] <0.2508.0>@extauth:loop:142 extauth script has exitted abruptly with reason 'normal'
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •ejabberd.ejabberd
( but he main issue is still there (not fixed by this).Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •In my #apache2.4 configuration file I have this:
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •tls: false
, restart ejabberd, then apache. #fixedRoland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •#TIL If you restart apache first, it won't work as ejabberd must be listening already when apache builds the proxy chain (which makes sense again). And yeah, having TLS on 127.0.0.1 makes no sense.
Well, #shit-happens