Closed scoopex closed 4 years ago
proxy_pass <no value>/http-bind;
should be
proxy_pass http://xmpp.meet.jitsi:5280/http-bind;
which in turn is
XMPP_BOSH_URL_BASE=http://xmpp.meet.jitsi:5280
in .env.
Sure, that is the default in the file i copied:
cd docker-jitsi-meet
# grep "XMPP_BOSH_URL_BASE" .env env.example
.env:XMPP_BOSH_URL_BASE=http://xmpp.meet.jitsi:5280
env.example:XMPP_BOSH_URL_BASE=http://xmpp.meet.jitsi:5280
But unfortunately the replacement did not work. After saving the file in the editor it magically worked....
@scoopex Maybe saving changed the linefeeds from CRLF to LF. I've seen this a couple of times on windows-machines with borked editor or git settings at least and nginx is picky about that. Glad that you found a solution.
I use vim on ubuntu and that uses unix line endings.
I think it must have been a case of the file not being properly saved / read. We have never seen this report before.
I have the same problem I'm using it with a rootless podman container, running on fedora31
@supermar1010 That's a different issue. Please follow https://github.com/jitsi/docker-jitsi-meet/issues/201 for Podman support.
Closing this one since there is no follow-up and I could never reproduce the problem.
I just did an update of an old jitsi docker install (did git pull, deleted all cotainers , the .jitsi_meet directories and images and then made compose up) and ran into the same issue. The nginx config file has "proxy_pass
@ingokeck Do you have PUBLIC_URL set? It's necessary now. Also, doing git pull is not recommended. Get the latest release which has the images pinned: https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker#quick-start
How does your nginx config file look like?
I looked at the wrong logs. Sorry for the confusion. I'll delete the comment. I still have the problem of no connection and getting thrown out, but this may be down to the https forwarding configuration of the main webserver. I first need to look into that.
I seem to have hit this same problem in stable-8138-1. I had PUBLIC_URL
set before I ran docker-compose up -d
:
dave@shithouse:~/src/docker-jitsi-meet-stable-8138-1$ docker-compose logs web | tail -10
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
web_1 | nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:63
The relevant part of my ~/.jitsi-meet-cfg/web/nginx/meet.conf
, around line 63:
# BOSH
location = /http-bind {
proxy_pass <no value>/http-bind;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host <no value>;
}
The first thing I noticed is that unlike when this issue was originally filed, XMPP_BOSH_URL_BASE
is nowhere to be found in env.example
🤔
I tried setting that in .env
and that got me a little further. I then noticed the other proxy_set_header Host <no value>;
two lines down. It seems XMPP_DOMAIN
also isn't set.
The strange thing is, there appear to be defaults defined in the meet.conf template, but that doesn't seem to matter.
So I also added XMPP_DOMAIN=meet.jitsi
to my .env
, rebuilt everything, and now I'm up and running.
tl;dr adding this to my .env
fixed it:
XMPP_BOSH_URL_BASE=http://xmpp.meet.jitsi:5280
XMPP_DOMAIN=meet.jitsi
but it seems the Quick start procedure as of stable-8138-1 isn't 100% working.
Are you using Docker Compose or any other type of setup?
Docker compose 1.29.2 Ubuntu 22.04 Kernel 5.15.0-48-generic
Oh wow after writing down that Docker Compose version I realize I'm way behind. I'll try again with a newer version 🤦
I executed the steps described in https://github.com/jitsi/docker-jitsi-meet#quick-start.
Performed minor changes in the configuration:
The web container fails with the following error messages:
The file, the container complains about: