doitandbedone / ispyagentdvr-docker

GNU General Public License v3.0
119 stars 45 forks source link

Unable to fully access AgentDVR UI through cloud server and Traefik #729

Open black-fake opened 6 months ago

black-fake commented 6 months ago

Description

I am running AgentDVR on my homelab and have set up a cloud server with Traefik to make the service accessible through a domain. The cloud server is connected to the homelab via a mesh VPN. The UI loads and prompts for login, but after logging in, it gets stuck on the loading screen with a message to try another browser. This occurs regardless of the browser used.

Dev Console Error

The developer console indicates an ICE connection failure. My research suggests this is due to port 3478 not being correctly accessible. I'm unable to establish a UDP connection to port 3478 on the original host.

Steps to Reproduce

  1. Set up AgentDVR on a homelab server.
  2. Use a cloud server with Traefik, connected via Tailscale, to access AgentDVR through a domain.
  3. Attempt to log in to the AgentDVR UI.

Expected Behavior

After logging in, the AgentDVR UI should load successfully.

Actual Behavior

The UI remains stuck on the loading screen with a message to try another browser.

Additional Information

Any assistance in resolving this issue would be greatly appreciated.

vasquezmi commented 1 month ago

I wanted to inquire if you ever got this fixed.
I had the same issue and I am working through it now. You can modify the config.xml file which is located in \AgentDVR\Media\XML and update the TURN SERVER value. I am using 53478. If you are using any Unifi products or others that use adoption for APs this could be causing your issue or another web service that is on the same network segment.