Closed XHawk87 closed 2 months ago
After a lot more experimenting, it appears that the issue is caused by the Traefik reverse-proxy. It works fine if I remove all of the Traefik labels and the neko docker network from startup and publish a port instead.
I use the following labels on the neko docker service:
traefik.http.routers.neko-local.entryPoints=https
traefik.http.routers.neko-local.rule=Host(`neko.local`) && PathPrefix(`/`)
traefik.http.routers.neko-local.service=neko
traefik.http.routers.neko-public.entryPoints=neko
traefik.http.routers.neko-public.rule=PathPrefix(`/`)
traefik.http.routers.neko-public.service=neko
traefik.http.services.neko.loadbalancer.server.port=8080
With this in the traefik.toml:
...
entrypoints.https.address=':443'
entrypoints.https.http.tls=true
entrypoints.neko.address=':8444'
entrypoints.neko.http.tls=true
...
Trying to figure out how to configure it so that it doesn't disrupt the peer data channel. Though not entirely sure how it's doing it, or why it just started now.
The interesting thing is that Traefik isn't preventing WSS access. That works fine, I get messages back and forth. The problem is with the peer data connection over the EPR on UDP. It opens the connection, I see a ton of data going through on EPR ports to the server in wireshark, and then the connection just closes itself after roughly 2 seconds. The UDP ports don't even go through Traefik, they're published by docker and open in the router. So how is using Traefik making the difference?
I don't think I actually changed anything since my last test, but it appears to have spontaneously fixed itself, for now. :eyes:
Glad it is working now, but I don't like not understanding why it stopped working in the first place and then started working again. I'll close the issue for now.
I've been running a self-build XFCE server on NVidia for many months now, and today after updating to the latest master branch commit, I have a new error occurring.
It appears to connect fine, I get sound and video, the desktop loads, I can interact with it, however every second or two it reconnects with the message "peer data channel closed".
I get this error on the client console:
After turning on debug mode for the server, I get these logs:
I've tried this on the latest release Firefox and Chromium browsers with the same result.
Any idea why this is happening?