question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jicofo and Prosody containers keep restarting with fatal error "Jicofo component secret and auth password must be set"

See original GitHub issue

After running docker-compose, the Jicofo and Prosody containers keep restarting every few seconds. The logs provide a fatal error. Below they are in full. The log pattern repeats identically after every restart and from what I can see they are identical for both containers (jicofo and prosody).

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-set-timezone: executing... 
[cont-init.d] 01-set-timezone: exited 0.
[cont-init.d] 10-config: executing... 
FATAL ERROR: Jicofo component secret and auth password must be set
[cont-init.d] 10-config: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

I have tried it with the currently most recent branch (1fa5048). What I don’t understand is why the error message appears in the logs, although it is only echoed in prosody/rootfs/etc/cont-init.d/10-config of the last stable branch (tags/stable-5390-3).

If I add a JICOFO_COMPONENT_SECRET to .env, the containers don’t keep restarting. However, the Websocket connection of the web interface returns 403, but that might be for another issue.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

7reactions
saghulcommented, Apr 5, 2021

Do not use master unless you build the unstable images yourself. Use a release.

2reactions
FlambierterHamburgercommented, Apr 5, 2021

Hi, I had the same problem yesterday after reinstalling because of changed domains. It seems, that a recent commit broke the JiFoCo setup script. I pulled git checkout cb4d9413b7481b9767ff5d2ec09e22bdc76e74e3, deleted all config folders and made a new setup and it was working again. Hope this helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jicofo and Prosody keep restarting (xmpp.meet.jitsi:5222 not ...
And therefore the JVB and such cannot connect. This is also a strange one FATAL ERROR: Jicofo component secret and auth password must...
Read more >
Self-Hosting Guide - Docker | Jitsi Meet - GitHub Pages
This setup used to have default passwords for internal accounts used across components. In order to make the default setup secure by default...
Read more >
Jitsi Meet on Docker default passwords - how bad is it, how to ...
Jitsi Meet on Docker had default credentials that could run administrative XMPP commands. How do you check for this and what is the...
Read more >
VIDEO GUIDE ** How to Setup Jitsi in Docker with a Reverse ...
FATAL ERROR: Jicofo component secret and auth password must be set [cont-init.d] 10-config: exited 1. [cont-finish.d] executing container ...
Read more >
Setting up authentication on a jitsi server - NixOS Discourse
Can anyone help me figure out how to set up authentication on … ... Further, I can find no errors in the prosody,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found