go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

mse: streams: wrong user/pass

Open spretto opened this issue 1 year ago • 3 comments

Getting unauthorized/wrong user/pass, but the RTSP url is tested and working in VLC. Stopped working last night after camera local IP address changed (updated in config). Credentials are correct.

TP Link Tapo C110

Suspect this is the underlying same issue as #1065 which spontaneously resolved itself.

Trace level logs:

2024-06-20 19:20:18.796565674  19:20:18.796 TRC [rtsp] client response:
2024-06-20 19:20:18.796567272  RTSP/1.0 401 Unauthorized
2024-06-20 19:20:18.796568051  Cseq: 2
2024-06-20 19:20:18.796568951  Date: Thu, Jun 20 2024 19:20:18 GMT
2024-06-20 19:20:18.796569810  Www-Authenticate: Basic realm="TP-Link IP-Camera"
2024-06-20 19:20:18.796570527  
2024-06-20 19:20:18.796571226  
2024-06-20 19:20:18.796572249  19:20:18.796 TRC [streams] skip prod=rtsp://Username:[email protected]/stream1 error="wrong user/pass"
2024-06-20 19:20:18.796573033  19:20:18.796 DBG [streams] can't stop none producer
2024-06-20 19:20:18.796590968  19:20:18.796 WRN [rtsp] error="streams: wrong user/pass" stream=birdfeeder
2024-06-20 19:20:18.796591768  19:20:18.796 TRC [rtsp] server response:
2024-06-20 19:20:18.796592509  RTSP/1.0 404 Not Found
2024-06-20 19:20:18.796593172  Cseq: 2

spretto avatar Jun 20 '24 19:06 spretto

Same issue, but started when i reset and connected my camera to a new network. I did the same to another camera but it was fine.

I have tapo c100

Ultra-bob avatar Jun 23 '24 21:06 Ultra-bob

Interestingly, I can play the stream fine with ffplay on my computer, but on my server the command fails with 401 unauthorized

Ultra-bob avatar Jun 24 '24 15:06 Ultra-bob

I just restarted the camera and everything started working again

Ultra-bob avatar Jun 24 '24 15:06 Ultra-bob

There can't be any magic here. Login/password is wrong. Sometimes illegal characters are used in the password. Which must be escaped in the go2rtc configuration (urlencoding).

AlexxIT avatar Jul 22 '24 07:07 AlexxIT

I have the same issue. What did you do to resolve this? Multiple camera reboots have not helped.

partytimeexcellent avatar Nov 04 '24 01:11 partytimeexcellent

It was just the wrong password too many times locking things out for 24 hours. Had to turn everything off and it started working again a day later.

On Mon, Nov 4, 2024 at 2:22 AM partytimeexcellent @.***> wrote:

I have the same issue. What did you do to resolve this? Multiple camera reboots have not helped.

— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/go2rtc/issues/1217#issuecomment-2453678126, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMAI53VLM3X2Q5TYR4X56TZ62455AVCNFSM6AAAAABJUR45SKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGY3TQMJSGY . You are receiving this because you authored the thread.Message ID: @.***>

spretto avatar Nov 04 '24 10:11 spretto