Hangs on "obtaining session-id" when using authentication (stable-5765)

In the browser console I see the following after logging in, and this error repeats:

2021-04-16T17:05:30.719Z [features/authentication] authenticateAndUpgradeRole failed {authenticationError: "not-authorized", message: "not authorized user domain"}

2021-04-16T16:53:24.534Z [conference.js] <ne._onConferenceFailed>:  CONFERENCE FAILED: conference.authenticationRequired

In the docker-compose logs -f I do see, so it should proceed:

prosody_1  | boshf492a035-f44f-4ade-b667-c9ed4d2c9ee7                     info  Authenticated as user@meet.jitsi

But for some reason it hangs on “obtaining session-id” in the browser.

I did a clean install. I removed the old container configs and did a clean clone of the git repo and checked out the stable-5765 tag.

I followed the docs for local authentication to the letter.

It worked fine with the previous stable release (stable-5390-3).

Any suggestions?

My env config (excluding password lines):

CONFIG=/var/jitsi-meet-cfg
HTTP_PORT=8000
HTTPS_PORT=8443
TZ=Europe/Amsterdam
PUBLIC_URL=https://meet.host.community:8443
DOCKER_HOST_ADDRESS=1.2.3.4 # public IP
ENABLE_LOBBY=1
ENABLE_PREJOIN_PAGE=1
ENABLE_NOISY_MIC_DETECTION=1
ENABLE_LETSENCRYPT=1
LETSENCRYPT_DOMAIN=meet.host.community
LETSENCRYPT_EMAIL=list-adm@host.community
ETHERPAD_TITLE=Video Chat
ETHERPAD_DEFAULT_PAD_TEXT=Welcome to Web Chat!\n\n
ETHERPAD_SKIN_NAME=colibris
ETHERPAD_SKIN_VARIANTS=super-light-toolbar super-light-editor light-background full-width-editor
ENABLE_AUTH=1
ENABLE_GUESTS=1
AUTH_TYPE=internal
XMPP_DOMAIN=meet.jitsi
XMPP_SERVER=xmpp.meet.jitsi
XMPP_BOSH_URL_BASE=http://xmpp.meet.jitsi:5280
XMPP_AUTH_DOMAIN=auth.meet.jitsi
XMPP_MUC_DOMAIN=muc.meet.jitsi
XMPP_INTERNAL_MUC_DOMAIN=internal-muc.meet.jitsi
XMPP_GUEST_DOMAIN=guest.meet.jitsi
XMPP_MODULES=
XMPP_MUC_MODULES=
XMPP_INTERNAL_MUC_MODULES=
JVB_BREWERY_MUC=jvbbrewery
JVB_AUTH_USER=jvb
JVB_STUN_SERVERS=meet-jit-si-turnrelay.jitsi.net:443
JVB_PORT=10000
JVB_TCP_HARVESTER_DISABLED=true
JVB_TCP_PORT=4443
JVB_TCP_MAPPED_PORT=4443
JICOFO_AUTH_USER=focus
JIGASI_XMPP_USER=jigasi
JIGASI_BREWERY_MUC=jigasibrewery
JIGASI_PORT_MIN=20000
JIGASI_PORT_MAX=20050
ENABLE_RECORDING=1
XMPP_RECORDER_DOMAIN=recorder.meet.jitsi
JIBRI_RECORDER_USER=recorder
JIBRI_RECORDING_DIR=/config/recordings
JIBRI_XMPP_USER=jibri
JIBRI_BREWERY_MUC=jibribrewery
JIBRI_PENDING_TIMEOUT=90
JIBRI_STRIP_DOMAIN_JID=muc
JIBRI_LOGS_DIR=/config/logs
DISABLE_HTTPS=0
ENABLE_HTTP_REDIRECT=1
ENABLE_HSTS=1
RESTART_POLICY=unless-stopped
ENABLE_XMPP_WEBSOCKET=0

Seeing this as well. JWT doesn´t work either. I have created a Github Issue Cannot start conferences anymore if LDAP Auth is active with latest stable 5765 · Issue #1018 · jitsi/docker-jitsi-meet · GitHub

1 Like

Facing same issue.

Same here, using AUTH_TYPE=internal.

A fix is coming soon.

helps.

I fixed this issue by updating ~/.jitsi-meet-cfg/web/config.js
It had below config line
config.hosts.muc = 'muc-meet' +'.subdomain' + 'meet.mydomain.com';
Due to this, in jicofo logs it was showing that XMPP request failed as it was sending requests to
room=test123@**muc-meet.meet.mydomain.com**

So I changed that line in config.js to
config.hosts.muc = 'muc-meet.mydomain.com';

Now it is working.

However it is getting reverted after restarting jicofo container.