Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to punch p2p #17

Open
bwrsandman opened this issue Sep 13, 2024 · 1 comment
Open

failed to punch p2p #17

bwrsandman opened this issue Sep 13, 2024 · 1 comment

Comments

@bwrsandman
Copy link

With a new Nanit pro. Tried the docker command mentioned in the readme. I get baby_uid and sensor stats:

13 Sep 24 11:01 UTC DBG Baby state updated baby_uid=xxx humidity=55.819 is_night=true temperature=27.711

However, I get no video output from the rtmp address and the log has a message about failed to punch p2p

13 Sep 24 11:01 UTC DBG Received message data="type:RESPONSE  response:{requestId:2  requestType:PUT_STREAMING  statusCode:500  statusMessage:\"failed to punch p2p\"}"
13 Sep 24 11:01 UTC WRN Failed to request local streaming, awaiting stream health check error="failed to punch p2p"
@bwrsandman
Copy link
Author

This is probaby due to my firewall router. I use firewalla to block much of the network traffic from leaving my LAN.
This doesn't prevent me from streaming from the app, but seems to prevent p2p punching.

Temporarily disabling my rules, allowed me to start streaming. I can then re-enable my rules.
However, this seems to be required every time the container starts.

Is there a hostname I can whitelist to allow punching?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant