help.nextcloud.com is for home/non-enterprise users. If youâre running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isnât supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 20.0.8 (snap)
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.17.10
PHP version (eg, 7.4): version included in the snap
The issue you are facing:
I used to have Nextcloud (snap) running using itâs own Apache web server. My coturn server worked fine then, the test (in NC settings) reported success.
I now put Nextcloud (still snap) behind Nginx reverse proxy. Since then, it doesnât seem to see my coturn server. The test keeps failing.
The coturn server is installed via apt, and the service is up and running.
Is this the first time youâve seen this error? (Y/N): Y
Steps to replicate it:
Run Nextcloud snap behind Nginx reverse proxy.
Install coturn via apt.
Run TURN test from Nextcloud settings.
If there is a specific log or something specific I can look for in the logs, I would appreciate some pointers.
I suspect NC running behind Nginx has something to do with it, but no idea how I could fix it.
usually coturn uses a different port than normal web (http/https).
The fact that you use a reverse proxy means that it is not directly connected to the internet.
Therefore you will need a port forwarding (NAT) for the chosen port of coturn.
I do not know which port that is in nextcloud snap image but you can look into the configuration yourself. (search for âturnserver.confâ)
Thank you for your input.
I am running coturn on port 6666 on the same server as Nextcloud.
Are you saying that NC is not connected directly to the internet? Everything else works fine, including most Talk calls, Collabora connectivity, WebDAV and CalDAV, etc.
Do I need some sort of NAT set up for NC or for coturn?
I am using a reverse proxy because I want to run more than one website on the same server on port 443. This cannot be done if the snap is allowed to manage the web connection.
Coturn is not included in the snap (that Iâm aware of), Iâve installed it separately.
My nginx config is below:
server {
listen 443;
server_name my.domain;
ssl on;