m1k1o / neko-rooms

Selfhosted collaborative browser - room management for n.eko
Apache License 2.0
437 stars 59 forks source link

Inaccessible outside of LAN #113

Closed uhidontkno closed 7 months ago

uhidontkno commented 7 months ago

Connecting to my Neko session over Neko Rooms, setting NAT1TO1 to my external IP address, all the UDP ports are opened, the frontend TCP port is opened.... just sits on a green circle.

yesBad commented 7 months ago

Sadly this really doesn't tell us anything...

uhidontkno commented 7 months ago

I'm trying to connect to my Neko instance, going to the URL, and logging in... just hangs on a green circle. My docker-compose.yml file:

services:
  neko-rooms:
    image: "m1k1o/neko-rooms:latest"
    restart: "unless-stopped"
    environment:
      - "TZ=America/New_York"
      - "NEKO_ROOMS_MUX=true"
      - "NEKO_ROOMS_EPR=59000-59100" // 59000-59100 are open over tcp AND udp
      - "NEKO_ROOMS_NAT1TO1=108.86.__.__" # IP address of your server that is reachable from client
      - "NEKO_ROOMS_INSTANCE_URL=http://bak-ba_____.deblok.me/" # external URL
      - "NEKO_ROOMS_INSTANCE_NETWORK=neko-rooms-net"
      - "NEKO_ROOMS_TRAEFIK_ENABLED=false"
      - "NEKO_ROOMS_PATH_PREFIX=/i/"
    ports:
      - "8080:8080"
    volumes:
      - "/var/run/docker.sock:/var/run/docker.sock"

Am I doing something wrong? The WebSockets connection was made, but I'm assuming something is wrong with the UDP or WebRTC connection.

m1k1o commented 7 months ago

Please take look at troubleshooting:

https://neko.m1k1o.net/#/getting-started/troubleshooting

Are you connecting from your local network? Id yes: Maybe your router does not support nat hairpinning or you didn't allow firewall rule to the lan? Tr connecting over mobile from remote location if that changes anything.

And since this is neko rooms, the issue should be moved there.