How is your web server configured to proxy requests to /http-bind?
# BOSH
location /http-bind {
proxy_pass http://localhost:5280/http-bind;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
}
in nginx
Is prosody listening on port 5280 ok? Check with netstat -tunapl
root@DESKTOP-MH40E2N:~# netstat -tunapl
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
how to open?
Please paste the actual output. If empty, you have no services listening, which can't be happening.
@saghul It's empty, but it's not possible to have all the service listening. It's weird.
root@DESKTOP-MH40E2N:~# prosodyctl restart
Prosody is not running
Prosody was unable to find the configuration file.
We looked for: /etc/prosody/prosody.cfg.lua
A sample config file is included in the Prosody download called prosody.cfg.lua.dist
Copy or rename it to prosody.cfg.lua and edit as necessary.
More help on configuring Prosody can be found at http://prosody.im/doc/configure
Good luck!
Still waiting...
Prosody is still not running. Please give it some time or check your log files for errors.
What happened?why?how?
I really don't know what's going on with your system, but things don't seem to be installed correctly. A default prosody config file is installed automatically, if you don't have it it means the installation process didn't complete successfully or it was manually removed.
No follow-up, closing.
For anyone who stumbles onto this as I did I encountered the same issue when configuring jitsi-meet-tokens; for me the issue was because I had neglected to check that /etc/prosody/prosody.cfg.lua had the following line at the end:
Include "conf.d/*.cfg.lua"
Switching to prosody-trunk can cause this line to disappear from the config file. Re-add that line, restart everything and it should resolve the problem.
Thank you @Haravikk! I just upgraded prosody to 0.11.5 and was having this same issue. Adding that Include statement solved it!
Most helpful comment
For anyone who stumbles onto this as I did I encountered the same issue when configuring
jitsi-meet-tokens; for me the issue was because I had neglected to check that/etc/prosody/prosody.cfg.luahad the following line at the end:Include "conf.d/*.cfg.lua"Switching to
prosody-trunkcan cause this line to disappear from the config file. Re-add that line, restart everything and it should resolve the problem.