docker-jitsi-meet icon indicating copy to clipboard operation
docker-jitsi-meet copied to clipboard

Stun not work with jvt port other than 10000

Open somzoli opened this issue 2 years ago • 12 comments

After a few weeks ago the STUN configuration is not work. Tried google and jitsi stun servers but not worked.

Log: java.lang.IllegalArgumentException: No socket found for 172.25.0.5:10000/udp->100.121.102.50:63022/udp

The public IP is always 100.121.102.50.

Can you help with this?

Thanks, Z

somzoli avatar Apr 21 '22 09:04 somzoli

This is not a real problem but a harmless error that unfortunately bubbles up. Can we do something to squelch it and avoid confusion @bgrozev ?

saghul avatar Apr 21 '22 10:04 saghul

Other result: Pair failed: 172.25.0.5:10000/udp/host -> 100.121.102.50:59927/udp/host

The 100.121.102.50 ip address is not valid public IP.

What can cause this?

somzoli avatar Apr 21 '22 11:04 somzoli

That is a valid IP address.

saghul avatar Apr 21 '22 11:04 saghul

Yes, but not owned by any client or the server where jitsi-docker installed

somzoli avatar Apr 21 '22 12:04 somzoli

The server didn't just come up with it. It must be the public IP of one of the connected clients.

saghul avatar Apr 21 '22 12:04 saghul

No, its not. My ip addres and the server ip address different from this. Where come from this IP?

somzoli avatar Apr 21 '22 12:04 somzoli

I obviously don't know. Check your server access logs.

At any rate this has nothing to do with STUN not working.

saghul avatar Apr 21 '22 12:04 saghul

Can i change the JVB port to 10001?

somzoli avatar Apr 21 '22 13:04 somzoli

Sure you can, just change the env var.

saghul avatar Apr 21 '22 18:04 saghul

I tried, but it looks that cause the problem. Can you test it with jvb port 10001?

somzoli avatar Apr 21 '22 18:04 somzoli

What do you mean by "STUN doesn't work"? What is the expected behavior, what do you see instead?

bgrozev avatar Apr 21 '22 19:04 bgrozev

Can we do something to squelch it and avoid confusion @bgrozev ?

Yes, this change removes the stack trace from the logs (hasn't made it to jvb master yet): https://github.com/jitsi/ice4j/pull/257

bgrozev avatar Apr 21 '22 20:04 bgrozev