No Internet Environment Openvidu start error

If you start openvidu while there is no internet, it fails to start and an error appears.

In the system configuration, a PC is connected to the router through an internal network.
The error is:
dig: couldn’t get address for ‘resolver1.opendns.com’: failure
dig: couldn’t get address for ‘ns1.google.com’: failure
dig: couldn’t get address for ‘ns1-1.akamaitech.net’: failure
[/usr/local/bin/discover_my_public_ip.sh] Discovery failed

What’s the problem?
The same error occurs even if I try to set the DOMAIN_OR_PUBLIC_IP item value in the .env file to 210.111.220.29 and to set the internal IP to 192.168.2.10.

What do you think is the problem? :wink: There is no internet and OpenVidu defaults are set for common cloud environments.

Try this:

  1. Define in your /opt/openvidu/.env this environment variables:
COTURN_IP=<PRIVATE_IP_REACHABLE_BY_CLIENTS>
PROXY_PUBLIC_IP=<PRIVATE_IP_REACHABLE_BY_CLIENTS>
DOMAIN_OR_PUBLIC_IP=<PRIVATE_IP_REACHABLE_BY_CLIENTS>

More info on advanced configuration parameters here

Thank you Solved.
It works fine.

1 Like