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.

Docker Swarm: JVB networking problems

See original GitHub issue

As reported in this community thread I’m experiencing problems when using Jitsi Meet in a Docker Swarm.

Relevant nginx error:

jitsi_web.1.ki9oj4h7bary@aws-master    | 2021/04/20 12:22:36 [error] 1654#1654: *8 connect() failed (110: Connection timed out) while connecting to upstream, client: 10.0.0.2, server: _, request: "GET /colibri-ws/172.18.0.6/a1f3e6f6ce668ba5/a36db68d?pwd=5uqb98od1frm6tk6q74875iqg2 HTTP/1.1", upstream: "http://172.18.0.6:9090/colibri-ws/172.18.0.6/a1f3e6f6ce668ba5/a36db68d?pwd=5uqb98od1frm6tk6q74875iqg2", host: "jitsi.example.com"
jitsi_web.1.ki9oj4h7bary@aws-master    | 10.0.0.2 - - [20/Apr/2021:12:22:36 +0200] "GET /colibri-ws/172.18.0.6/a1f3e6f6ce668ba5/a36db68d?pwd=5uqb98od1frm6tk6q74875iqg2 HTTP/1.1" 502 580 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36"

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
slauthcommented, Oct 22, 2021

@saghul thanks for your efforts 👍

I’ll try to allocate some time for testing this next week.

1reaction
slauthcommented, Oct 7, 2021

@prayagsingh I’d like to stick with the officially supported Docker setup, which already works in swarm mode except for one tiny workaround (in JVB container use hostname -i as LOCAL_ADDRESS).

@saghul had an idea how to improve the JVB container’s network configuration so that it works out-of-the-box in swarm mode also.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot docker swarm networking issue
In this article, we will dig more into the docker swarm network troubleshooting. This article is based on the awesome work done by...
Read more >
JVBs on Docker Swarm - Install & Config
I am setting up a jitsi meet server with docker. The main server (jm01) runs jicofo, jvb, prosody and meet-web with an nginx...
Read more >
Overlay network not working between two swarm containers
Although the worker node has worked in the past - the container can't start because the overlay network isn't reachable. Here are the...
Read more >
Lessons learned from using Docker Swarm mode in production
Beware of issues in the network stack. We've coded our application to make it easy to deploy: instead of servicing inbound requests, it...
Read more >
Docker Swarm, persistent connections and Spring Boot ...
The problem. Spring Boot containers still receiving requests after a shutdown is triggered in Docker Swarm, leading to errors.
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