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

Port 8554 not opened #18

Open
vossim opened this issue Nov 22, 2021 · 3 comments
Open

Port 8554 not opened #18

vossim opened this issue Nov 22, 2021 · 3 comments

Comments

@vossim
Copy link

vossim commented Nov 22, 2021

I tried patching manually, and I tried a patch available on https://github.com/guino/ppsapp-rtsp for my device (firmware: ppstrong-a3-tuya2_lsc-4.0.6.20210311). When configured correctly I can use the cgi-bin scripts to get mjpeg and snap to work, but for some reason RTSP doesn't get started and I can't connect to port 8554 at all.

I have attached a log of my latest attempt of manually patching the ppsapp, if it would be better to include a log of the patch I found on ppsapp-rtsp, please let me know.

Could you tell me what I'm doing wrong here?
ppsapp.log

@guino
Copy link
Owner

guino commented Nov 22, 2021

@vossim did you try to just enable onvif in the tuya_config.json file to see if it works ? many people on 4.0.6 have been able to make it work without patching that way (it's what I would try first).

Your log shows rtsp_server module started but doesn't show the debug lines associated with starting onvif so it sounds like the patch didn't work. Most 4.0.6 firmware only have ONVIF (no old style rtsp code) which means you have to use rtsp://IP:8554//Streaming/Channels/101 and rtsp://IP:8554//Streaming/Channels/102 -- I have heard many reports that it doesn't always come up with port 8554 open (either becasue it's UDP or hidden somehow by the device) but still works.

If the json setting and/or the patch doesn't work let me know and I can take another look but usually I only post it to the list if it works, let me know.

@vossim
Copy link
Author

vossim commented Nov 26, 2021

I was able to figure out what was going on yesterday. The good news: both RTSP and ONVIF work fine, the not so good news for me: it doesn't work across VLANs. I've got my chinese devices on a separate VLAN in their own subnet, and for some reason I can't connect to the cameras if I'm not connected to the same VLAN.

@guino
Copy link
Owner

guino commented Nov 26, 2021

@vossim That's only good news as far as I'm concerned -- you really don't want the feed accessible other than from the same vlan/lan of the device. You can make firewall/network rules to limit/grant access to the feed as you like OR you can create iptables rules to enabled/disabled access on the device based on web requests or as you see fit.

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

2 participants