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.

Jitsi update breaks NGINX (modules?) configuration, blocks start via occupied port 443

See original GitHub issue

Description


Yesterday (2020-03-31) I did a dist-upgrade on my server. After this the local NGINX server no longer starts. I have an existing NGINX configuration, serving a mattermost instance (via dedicated NGINX sites-enabled config), installed jitsi according to quick-install, which worked flawless until the update.

Current behavior


NGINX fails to start:

Mar 31 17:31:34 communication nginx[2045]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
Mar 31 17:31:35 communication nginx[2045]: nginx: [emerg] still could not bind()
Mar 31 17:31:35 communication systemd[1]: nginx.service: Control process exited, code=exited status=1
Mar 31 17:31:35 communication systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 31 17:31:35 communication systemd[1]: Failed to start A high performance web server and a reverse proxy server.
 Subject: Unit nginx.service has failed

Asked the forum Link and a user mentioned that this might be related to the latest release and that the modules configuration is what blocks the start.

As I require the mattermost instance, I modified the port in /etc/nginx/modules-enabled/60-jitsi-meet.conf to listen 4443;

This obviously breaks something in Jitsi, but at least the webserver comes up again.

Expected Behavior


Jitsi site configuration can coexist with another site on the same NGINX instance, with different hostnames

Possible Solution


Steps to reproduce


Environment details


apt list --installed
jicofo/stable,now 1.0-539-1 all [installed,automatic]
jitsi-meet/stable,now 1.0.4335-1 all [installed]
jitsi-meet-prosody/stable,now 1.0.3928-1 all [installed,automatic]
jitsi-meet-turnserver/stable,now 1.0.3928-1 all [installed,automatic]
jitsi-meet-web/stable,now 1.0.3928-1 all [installed,automatic]
jitsi-meet-web-config/stable,now 1.0.3928-1 all [installed,automatic]
jitsi-videobridge2/stable,now 2.1-157-g389b69ff-1 all [installed,automatic]
prosody/bionic,bionic,now 0.10.0-1build1 amd64 [installed,automatic]
nginx/bionic-updates,bionic-security,now 1.14.0-0ubuntu1.7 all [installed]
nginx-common/bionic-updates,bionic-security,now 1.14.0-0ubuntu1.7 all [installed,automatic]
nginx-core/bionic-updates,bionic-security,now 1.14.0-0ubuntu1.7 amd64 [installed,automatic]

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
damenchocommented, Apr 1, 2020

You can just delete /etc/nginx/modules-enabled/60-jitsi-meet.conf and move the jitsi-meet virtual host to port 443 and this will solve it for you. We are working on a fix for this situation (that include new stable push).

2reactions
damenchocommented, Apr 1, 2020

PR #5545 should fix this, by not configuring turn server if there is already a virtual host listening on port 443.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bind() to 0.0.0.0:443 failed - Jitsi Community Forum
Tried installing Nginx first then install jitsi and it always results ... NGINX (modules?) configuration, blocks start via occupied port 443.
Read more >
Run Jitsi on Custom Ports - Super Library of Solutions
Step 1: I found that when Jitsi installs it is expecting to have the default ports 80 and 443 available. The easiest way...
Read more >
grommunio Administrator Documentation
nginx is a fast, robust and modern web server acting as the main web server and providing major services via HTTP and RPC...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/24 17 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >
Overview - SolusVM Documentation
It is now possible to add and remove additional IP addresses during the upgrade and downgrade of the product's configuration options in the...
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