4XX Client Error, but not one of 40 Xiaomi Communications

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
zoomandsee
Posts: 2
Joined: Sat Apr 20, 2024 9:35 am

4XX Client Error, but not one of 40 Xiaomi Communications

Post by zoomandsee »

I wonder if this Nedis / Xiaomi Communications / WIFICO20CWT is possible one to get working?

Two sites of other software say to use this source:
rtsp://user%40mail.com:pass@192.168.0.104:8554/Streaming/Channels/101
I'm just getting:
"4/20/24, 11:50:39 AM GMT+3",zmc_m1,,78959,ERR,"Failed to prime capture of initial monitor",zmc.cpp,258
"4/20/24, 11:50:39 AM GMT+3",zmc_m1,,78959,ERR,"Unable to open input rtsp://192.168.0.104:8554/Streaming/Channels/101 due to: Server returned 4XX Client Error, but not one of 40{0,1,3,4}",zm_ffmpeg_camera.cpp,325

sudo nmap -sn 192.168.0.0/24
MAC Address: XX:XX:XX:3A:DD:F6 (Xiaomi Communications)
Nmap scan report for 060265714.Home (192.168.0.104)

Nedis App On Cellp. & camera work ok.
mikb
Posts: 604
Joined: Mon Mar 25, 2013 12:34 pm

Re: 4XX Client Error, but not one of 40 Xiaomi Communications

Post by mikb »

zoomandsee wrote: Sat Apr 20, 2024 9:51 am I wonder if this Nedis / Xiaomi Communications / WIFICO20CWT is possible one to get working?

Two sites of other software say to use this source:
rtsp://user%40mail.com:pass@192.168.0.104:8554/Streaming/Channels/101
I'm just getting:
"4/20/24, 11:50:39 AM GMT+3",zmc_m1,,78959,ERR,"Failed to prime capture of initial monitor",zmc.cpp,258
"4/20/24, 11:50:39 AM GMT+3",zmc_m1,,78959,ERR,"Unable to open input rtsp://192.168.0.104:8554/Streaming/Channels/101 due to: Server returned 4XX Client Error, but not one of 40{0,1,3,4}",zm_ffmpeg_camera.cpp,325

sudo nmap -sn 192.168.0.0/24
MAC Address: XX:XX:XX:3A:DD:F6 (Xiaomi Communications)
Nmap scan report for 060265714.Home (192.168.0.104)

Nedis App On Cellp. & camera work ok.
Can you access the camera at rtsp://192.168.0.104:8554/Streaming/Channels/101 in VLC media player?

I note the URL ZM is using is missing the user@mail.com:password bit, so you may be having authentication trouble.

It would helpful if the error message said what *exactly* the camera *did* return. A 4XX error "but not 400,401,403 or 404" is indicating the client (ZM, you) made an error in the request, it can't be handled. "It's you, not me!" whereas 5XX codes are "It's me, not you!"

https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

There's many possible 4XX codes, and the manufacturer probably returns some text after it to say what the problem is. You may see/find out more from VLC.
zoomandsee
Posts: 2
Joined: Sat Apr 20, 2024 9:35 am

Re: 4XX Client Error, but not one of 40 Xiaomi Communications

Post by zoomandsee »

"I note the URL ZM is using is missing the user@mail.com:password bit, so you may be having authentication trouble."
I have used correct user and passwd. The line was just example.

VLC:
live555 error: Failed to connect with rtsp://192.168.0.104:8554/Streaming/Channels/101
satip error: Failed to setup RTSP session
access_realrtsp warning: Cseq mismatch, got 1, assumed 0
access_realrtsp warning: only real/helix rtsp servers supported for now
VLC other:
main debug: creating access: rtsp://user%40replaced:passwd@192.168.0.104:8554/Streaming/Channels/101
main debug: looking for access module matching "rtsp": 29 candidates
satip debug: try to open 'rtsp://user%40replaced:passwd@192.168.0.104:8554/Streaming/Channels/101'
satip debug: connect to host '192.168.0.104'
main debug: net: connecting to 192.168.0.104 port 8554
main debug: connection succeeded (socket = 41)
main debug: net: opening 0.0.0.0 datagram port 9052
main debug: net: opening 0.0.0.0 datagram port 9053
satip error: read error: Connection reset by peer
satip error: Failed to setup RTSP session
main debug: net: connecting to 192.168.0.104 port 8554
main debug: connection succeeded (socket = 41)
access_realrtsp warning: Cseq mismatch, got 1, assumed 0
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
Post Reply