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

x509: cannot validate certificate for 192.168.100.1 because it doesn't contain any IP SANs #15

Closed
johntdyer opened this issue Aug 24, 2022 · 5 comments
Labels
question Further information is requested

Comments

@johntdyer
Copy link

Trying to connect to a unifi camera that only support RTSPS and I am getting the following error:

 20:00:43.701 ERR [streams] probe producer error="x509: cannot validate certificate for 192.168.100.1 because it doesn't contain any IP SANs" url=rtsps://192.168.100.1:7441/ubxWpFU376QD1eOm?enableSrtp

How do i disable TLS verification ?

@AlexxIT AlexxIT added the question Further information is requested label Aug 25, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Aug 25, 2022

rtspx://

@johntdyer
Copy link
Author

@AlexxIT thanks for responding, I tried this and its still not working

1:36:33.178 ERR [api.ws] readJSON error="websocket: close 1000 (normal)"
11:36:33.713 ERR [streams] probe producer error="unsupported scheme: rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK" url=rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK
11:36:33.716 ERR [streams] probe producer error="unsupported scheme: rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK" url=rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK
11:36:36.963 ERR [api.ws] readJSON error="websocket: close 1000 (normal)"
{"level":"warn","error":"couldn't find the matching tracks","time":1661513799277,"message":"[api.mse] Add consumer"}
11:36:39.277 ERR [streams] probe producer error="unsupported scheme: rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK" url=rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK
11:36:39.277 ERR [streams] probe producer error="unsupported scheme: rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK" url=rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK
11:36:50.654 ERR [api.ws] readJSON error="websocket: close 1000 (normal)"
11:36:54.047 ERR [streams] probe producer error="unsupported scheme: rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK" url=rtspx://192.168.100.1:7441/fD6ouM72bWoFijxK
11:36:54.047 WRN [api.frame] add consumer error="couldn't find the matching tracks"

I am running 0.0.10

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 26, 2022

Oh, you're right. I'll bring it back in the next version

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 28, 2022

Fixed in alpha.11

@kweitzner
Copy link

@AlexxIT i am still getting this error on my UniFi cameras in latest docker image.

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

No branches or pull requests

3 participants