Comments (4)
Yesterday when i test got the same problem in this case:
I host the TURN server on my MacBook with this configuration:
$ export USERS='user=password'
$ export REALM=192.168.0.101 <- this is my local IP address from my router (tp-link)
$ export UDP_PORT=3500
In router setting i open a port ( ex MY_REAL_IP:9090 ) and forward in to 192.168.0.101:3500 to can connect remotely to TURN server.
My application use WebRTC for calling and i host it like the STUN server with local webpack server and forwarding from router.
The problem comes when i test using my phone on 4G mobile internet and my MacBook behind router wireless connection. When i make a offer from my phone to my laptop everything works fine, but when i send offer from laptop to phone the server start logging "Packet unhandled in relay src 192.168.0.101 {SOME_PORT}"
For me the problem is because the TURN server is hosted on machine behind router connection. And when the phone is host is using a Static IP that can be reached from everywhere, but laptop send a offer from local 192.168.0.101 and the mobile can not reach local IP address.
My question is, are the problem will solve when i host TURN server on the machine that use directly Static IP ?
Because now the problem come only when machine in local network (my laptop in home wifi network) send offer to make peerConnection with machine with static ip (my phone 4g), but when machine with static ip (my phone 4g) send offer to make peerConnection with matching in local network (my laptop in home wifi network) this WORKS fine!
from turn.
I've got same error on Alibaba ECS. How could I investigate cause of issue? It works fine as STUN
from turn.
Hello,
Same problem here. "Packet unhandled in relay src ".
Any ideas?
Tks
from turn.
Sorry for the delay everyone!
This message can happen if you a peer without an Allocation/ChannelBind is attempting to use the TURN server's relay. This should be expected if you are attempting to contact the TURN server from behind a NAT but didn't tell the other side your public IP.
I am happy to help if you can describe your setup/how you are using the TURN server! I am also available on Slack and happy to help anytime!
thanks for using Pion
from turn.
Related Issues (20)
- Provide easier way to create a TURN client HOT 2
- Using TURN server with two public IPs HOT 2
- How to use log tracking in turn server? HOT 2
- Add AllocationHandler HOT 4
- github.com/pion/ice/[email protected]/gather.go:657:21: cannot use turnServerAddr (variable of type string) as net.Addr value in struct literal: string does not implement net.Addr (missing method Network) HOT 4
- Consider replacing MD5 HOT 2
- Crash in HandleInbound HOT 5
- no such user exists HOT 2
- NewClient() on Android 13: route ip+net: netlinkrib: permission denied HOT 4
- Memory leak because server.go nonces increasing
- Please add a new release tag HOT 1
- integrity check failed HOT 7
- Build simple- on windows HOT 1
- Payload modification HOT 1
- TURN-client tcp-alloc example HOT 8
- Go Client Example Consistently Receives Local Address Instead of Real IP When Connected to ICE/TURN Server on macOS HOT 2
- Help Wanted: Example for tls turn client ( pion webrtc ) HOT 1
- Cannot seem to locally stup turnserver. HOT 3
- Prometheus metrics based on allocation? HOT 1
- TURN server examples don't work properly for me HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turn.