Comments (13)
Same issue here with stock Raspberry Pi 4 Homebrige image and new Blink Mini cam.
Extract from Homebridge protocol when trying to open live view in Home App:
listening on 0.0.0.0:46555
client connected from 127.0.0.1:45358
conencting to: 52.59.224.249
Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1501:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:936:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:710:12) {
code: 'DEPTH_ZERO_SELF_SIGNED_CERT'
}
[11/5/2020, 20:10:09] [Blink] [Video] ffmpeg exited with code: 1 and signal: null (error)
from homebridge-blink-for-home.
Same issue here!
from homebridge-blink-for-home.
Live view working well it seems for v3.5.13.
from homebridge-blink-for-home.
Live view is not working for me. Here are the logs (with Debug enabled).
[11/1/2020, 19:11:39] [Blink] handleStreamRequest
[11/1/2020, 19:11:39] [Blink] {
sessionID: '2a5c4fda-ab61-48df-ab67-3370fe18fb55',
type: 'start',
video: {
profile: 2,
level: 2,
packetizationMode: 0,
cvoId: undefined,
width: 1280,
height: 720,
fps: 30,
pt: 99,
ssrc: 1326552295,
max_bit_rate: 299,
rtcp_interval: 0.5,
mtu: 1378
},
audio: {
codec: 'OPUS',
channel: 1,
bit_rate: 0,
sample_rate: 24,
packet_time: 20,
pt: 110,
ssrc: 1297153708,
max_bit_rate: 24,
rtcp_interval: 5,
comfort_pt: 13,
comfortNoiseEnabled: false
}
}
[11/1/2020, 19:11:39] [Blink] FFMPEG: received first frame
client connected from 127.0.0.1:43046
conencting to: 52.90.181.199
(node:18872) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
Error: self signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1501:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:936:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:710:12) {
code: 'DEPTH_ZERO_SELF_SIGNED_CERT'
}
[11/1/2020, 19:11:39] [Blink] [Video] ffmpeg exited with code: 1 and signal: null (error)
from homebridge-blink-for-home.
from homebridge-blink-for-home.
So, I think this has to do with the Official Raspberry Pi image. It has Nginx and a self-signed cert. I didn't realize before. Now, I don't have the SSL in use but may need to figure out how to disable it.
from homebridge-blink-for-home.
Based on only a few minutes of testing, I'm unable to disable the use of the proxy on the official pi image. You can disable it, but it turns itself right back on. I'm assuming your instance has no cert at all. Is that right?
from homebridge-blink-for-home.
The weird part here is that the issue comes in when we are trying to make a TLS connection upstream to blink's RTSP server.
Here is the TLS proxy that we need to relay ffmpeg through:
https://github.com/colinbendell/homebridge-blink-for-home/blob/main/src/proxy.js#L29
which is setup from the call to get the live view stream from the API:
https://github.com/colinbendell/homebridge-blink-for-home/blob/main/src/blink-camera-deligate.js#L170
and
https://github.com/colinbendell/homebridge-blink-for-home/blob/main/src/blink.js#L269
The error above though, shows the servername being set to 52.90.181.199 and the TLS connection complaining because that's an invalid use of SNI. This would imply the liveview api got a .server
url with that IP and the complaint is that it is a self serve cert.
There is another explanation, which might actually be more plausible, and that has to do with the blink hardware you are using. Can you tell me what blink cameras you are using? Could you enable the 'diagnostic on startup' flag and send me (twitter/email) the output from the logs? I suspect that perhaps the newer cameras might be relaying through a local ICE/STUN server, and we are interfacing directly with the local camera. In this case I need to do more testing and design (I've only got the original gen1 cameras)
from homebridge-blink-for-home.
Got it, just pulled the logs and sent to you on Discord. My cameras are XT2 and the new Indoor/Outdoor.
from homebridge-blink-for-home.
I have the exact problem. I have a Blink Mini in use.
from homebridge-blink-for-home.
Live view doesnt seem to be working for me with the XT2 cameras. I get this when trying to bring up live view (logs)
/2020, 9:54:10 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
listening on 0.0.0.0:34275
[11/4/2020, 9:54:15 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
listening on 0.0.0.0:36433
[11/4/2020, 9:54:22 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
[11/4/2020, 9:54:50 PM] [Blink] Blink Dewberry Lane Armed (Target) for Blink Dewberry Lane is: 2
[11/4/2020, 9:54:52 PM] [Blink] Blink Dewberry Lane Armed (Target) for Blink Dewberry Lane is: 3
[11/4/2020, 9:55:07 PM] [Blink] Enabled for Blink Patio Right is: true
[11/4/2020, 9:55:07 PM] [Blink] Enabled for Blink Patio Right is: true
listening on 0.0.0.0:45509
[11/4/2020, 9:55:14 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
[11/4/2020, 9:55:22 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
[11/4/2020, 9:55:23 PM] [Blink] Temperature for Blink Driveway is: 25
[11/4/2020, 9:55:29 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
[11/4/2020, 9:55:34 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
listening on 0.0.0.0:36023
[11/4/2020, 9:56:42 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
[11/4/2020, 9:56:59 PM] [Blink] [Video] Failed to start video stream: spawn ffmpeg ENOENT
[11/4/2020, 9:59:06 PM] [Blink] Temperature for Blink Patio Right is: 27.8
from homebridge-blink-for-home.
Getting the exact same issues as @swadhwani51 on XT2's
from homebridge-blink-for-home.
Ok. I just ordered the newer camera hardware to experiment. I suspect that the protocol is different and I just need to debug it
Will you answer here when you have the Live view resolved?
Thanks Colinbendell, you are amazing! :)
from homebridge-blink-for-home.
Related Issues (20)
- Thumbnails refresh rate
- Multiple accounts
- Black screens
- help config
- Fix for latest API changes HOT 4
- Are doorbells part of the functionality of the plugin? HOT 37
- Sirens Error after 3.9.2 Update
- Cameras only work in Homekit when armed away HOT 1
- Camera Disabled in Homekit HOT 7
- All devices show up in Homebridge, not in home app
- Camera(s), No Response
- Blink
- Blink Authentication Failed (Unexpected end of JSON input) HOT 1
- TX Ultimate 1 Gang HOT 1
- Camera offline HOT 3
- Blink on Hoobs show cameras as Privacy Mode or Camera Offline and no doorbell HOT 1
- Throttle login requests on a 429 response HOT 3
- Motion Sensor / notifications not working properly - time-shiftet HOT 2
- Authentication issue HOT 1
- Auth Error HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-blink-for-home.