ring icon indicating copy to clipboard operation
ring copied to clipboard

Ring Version 11.0.7 broke any live streaming of any cameras. Hoobs shows everything is up to date

Open databoy01 opened this issue 3 years ago • 23 comments

Bug Report

Describe the Bug

Upgrade to 11.0.7 I am not able to see any live streams of any of my cameras. The hoobs doesn’t show any errors and you can see the attempt, but home app doesn’t see the stream. Says it’s offline. If I use the ring app I see everything perfectly.

To Reproduce

Steps to reproduce the behavior:

  • Start Homebridge
  • Attempt to ...
  • See error

Expected behavior

Live stream that isn’t shown.

Screenshots/Logs

If applicable, add screenshots and log output to help explain your problem.

7/25/2022, 1:45:47 AMRing BridgeRingPreparing Live Stream for XXXXXXX
7/25/2022, 1:45:47 AMRing BridgeRingStream Prepared for XXXXXXX (0.33s)
7/25/2022, 1:45:47 AMRing BridgeRingActivating stream for XXXXXXX (0.386s)
7/25/2022, 1:45:48 AMRing BridgeRingiceConnectionStateChange: completed
7/25/2022, 1:45:48 AMRing BridgeRingStopped Live Stream for XXXXXXX
7/25/2022, 1:45:48 AMRing BridgeRingconnectionStateChange: closed
7/25/2022, 1:45:48 AMRing BridgeRingiceConnectionStateChange: closed
7/25/2022, 1:45:50 AMRing BridgeERROR[Ring Bridge 0F18@Selected RTP Stream Configuration] The write handler for the characteristic 'Selected RTP Stream Configuration' on the accessory 'XXXXXXX' was slow to respond!
7/25/2022, 1:45:57 AMRing Bridge starting
7/25/2022, 1:46:02 AMRing BridgeLoaded plugin 'homebridge-ring'

Additional context

Add any other context about the problem here.

Homebridge Ring Config

Post homebridge-ring platform config without sensitive information


### Environment
<!-- ✍️edit: -->
- Hoobs version 4.2.8
- node 16.16.0
- homebridge version 1.5.0

databoy01 avatar Jul 24 '22 04:07 databoy01

Hey - I'm having the same issue.

HOOBS: 4.2.8 Node: 16.16.0 Homebridge: 1.5.0

constantly getting "configuration change" in log, and no live stream available in any home devices.

NickRivait avatar Jul 25 '22 01:07 NickRivait

I will add this above, but wanted to comment that this is what I’m seeing. The bridge drops and shuts down and restarts every time I try a live stream in the home app. I replaced camera name for “ XXXXXXX”

7/25/2022, 1:45:47 AMRing BridgeRingPreparing Live Stream for XXXXXXX 7/25/2022, 1:45:47 AMRing BridgeRingStream Prepared for XXXXXXX (0.33s) 7/25/2022, 1:45:47 AMRing BridgeRingActivating stream for XXXXXXX (0.386s) 7/25/2022, 1:45:48 AMRing BridgeRingiceConnectionStateChange: completed 7/25/2022, 1:45:48 AMRing BridgeRingStopped Live Stream for XXXXXXX 7/25/2022, 1:45:48 AMRing BridgeRingconnectionStateChange: closed 7/25/2022, 1:45:48 AMRing BridgeRingiceConnectionStateChange: closed 7/25/2022, 1:45:50 AMRing BridgeERROR[Ring Bridge 0F18@Selected RTP Stream Configuration] The write handler for the characteristic 'Selected RTP Stream Configuration' on the accessory 'XXXXXXX' was slow to respond! 7/25/2022, 1:45:57 AMRing Bridge starting 7/25/2022, 1:46:02 AMRing BridgeLoaded plugin 'homebridge-ring'

databoy01 avatar Jul 25 '22 05:07 databoy01

Having the exact same issue here. Commenting to follow thread.

Ehreckk avatar Jul 26 '22 17:07 Ehreckk

Unfortunately, I don’t see much use of GitHub for this though…. No one ever updates or lets you know anything. They usually just close the issue as resolved…. Since this is one of many, I’d guess it is a universal problem with this software. I knew what I was getting into when I bought the device, although sadly I just don’t understand why create a platform for issues and then just ignore it.

databoy01 avatar Jul 26 '22 18:07 databoy01

@databoy01 I do read the issues and take care of them when I have time, but I haven't had a lot of free time recently. The main problem with issues like this one is that they are very hard to replicate. Ring has added a lot of cameras over the last few years, and has drastically changed how they handle streaming from the cameras. It's hard to pin down the exact issue because there are so many variables.

Looking at this issue thread specifically, I see most of you are on HOOBS. Based on the logs, it seems like HOOBS might be ending the stream before it has a chance to start. If you have a fairly small setup, it might be worth trying simple homebridge instead of HOOBS to see if it works there

dgreif avatar Jul 31 '22 15:07 dgreif

Not sure if others find this in their logs, however manually restarted Ring plugin and each of the entries are doubled in logs see example below

8/1/2022, 11:30:15 AMRing Bridge starting
8/1/2022, 11:30:15 AMRing Bridge starting
8/1/2022, 11:30:22 AMRing BridgeLoaded plugin 'homebridge-ring'
8/1/2022, 11:30:22 AMRing BridgeLoaded plugin 'homebridge-ring'
8/1/2022, 11:30:22 AMRing BridgeLoading 1 platforms...
8/1/2022, 11:30:22 AMRing BridgeLoading 1 platforms...
8/1/2022, 11:30:22 AMRing BridgeRingConfiguring cached accessory Device hex - Name
8/1/2022, 11:30:22 AMRing BridgeRingConfiguring cached accessory Device hex - Name
8/1/2022, 11:30:22 AMRing BridgeRingConfiguring cached accessory Device hex - Name1
8/1/2022, 11:30:22 AMRing BridgeRingConfiguring cached accessory Device hex - Name1
8/1/2022, 11:30:22 AMRing BridgeRingConfiguring cached accessory Device hex - Name2
8/1/2022, 11:30:22 AMRing BridgeRingConfiguring cached accessory Device hex - Name2
.....
.....
.....
.....
8/1/2022, 11:30:22 AMRing BridgeBridge is running on port 52826.
8/1/2022, 11:30:22 AMRing BridgeBridge is running on port 52826.
8/1/2022, 11:30:23 AMRing BridgeRingFound the following locations:
8/1/2022, 11:30:23 AMRing BridgeRingFound the following locations:
8/1/2022, 11:30:23 AMRing BridgeRing  locationId: HEX code - Axxxxxxx
8/1/2022, 11:30:23 AMRing BridgeRing  locationId: HEX code - Axxxxxxx
8/1/2022, 11:30:23 AMRing BridgeRingCreating location socket.io connection - Axxxxxxx
8/1/2022, 11:30:23 AMRing BridgeRingCreating location socket.io connection - Axxxxxxx
8/1/2022, 11:30:24 AMRing BridgeRingRing connected to socket.io server
8/1/2022, 11:30:24 AMRing BridgeRingRing connected to socket.io server
8/1/2022, 11:30:24 AMRing BridgeRingConfiguring 4 cameras and 24 devices for location "Axxxxxxx" - locationId: HEX code
8/1/2022, 11:30:24 AMRing BridgeRingConfiguring 4 cameras and 24 devices for location "Axxxxxxx" - locationId: HEX code
8/1/2022, 11:30:24 AMRing BridgeConfiguration change
8/1/2022, 11:30:24 AMRing BridgeConfiguration change```

cleanev avatar Aug 01 '22 15:08 cleanev

@cleanev the double logging seems like a HOOBS issue.

I've released a new beta version (11.1.0-beta*) that adds a new unbridgeCameras option. I'm interested to see if unbridging the cameras fixes this for any of you.

dgreif avatar Aug 01 '22 15:08 dgreif

@dgreif - thanks for the update. I will make a note with hoobs developer so they can fix this issue. How do I get latest beta installed in Hoobs to test? I checked from Hoobs front end and the only one update shows is still 11.0.7, while Ring is already at 11.0.7

cleanev avatar Aug 01 '22 15:08 cleanev

HOOBS is a bit restrictive on which versions they make available for install via the UI. I'm honestly not sure how to install a beta version on HOOBS if you can't see it in the list. Maybe ask HOOBS support?

dgreif avatar Aug 01 '22 15:08 dgreif

https://postimg.cc/dZyBKxLV

that is where the beta shows for an example.

I downloaded it and so far, I don’t see anything different. The home app still doesn’t see any live streams.

@dgreif, Dusty that sounded meaner then I meant up above. I appreciate your help. Sorry I was frustrated and mostly vented about it to you. Again thank you.

databoy01 avatar Aug 01 '22 16:08 databoy01

No problem! I haven't been super active on the project, so it's understandable that people are impatient when things are broken.

Regarding the beta, did you turn on the unbridgeCameras setting? That will remove your current cameras and expose them as separate accessories that you can add to HomeKit. Note, you will lose any associated settings and automations on the cameras

dgreif avatar Aug 01 '22 16:08 dgreif

@dgreif - I dont see any area to check that setting. Is it something I have to add in the configuration? All the areas to add a check mark do not show anything labeled unbridgeCameras

databoy01 avatar Aug 01 '22 16:08 databoy01

databoy01 avatar Aug 01 '22 16:08 databoy01

@databoy01 you may have to add it to the config manually. A new line with "unbridgeCameras": true should be all you need. You may be on beta.0 which didn't show the option, but I've added it in beta.1 (not sure if HOOBS gives you this option for update yet as I released it this morning).

dgreif avatar Aug 01 '22 16:08 dgreif

@dgreif I’ve upgraded to 11.1.0 beta.0 and added the “unbridgeCameras”: true configuration. I noticed I had to add my cameras back to the Home app manually after that. I tried one and it made no difference. Snapshots still working. Live streaming does not. The error in the logs is the same.

8/1/2022, 11:08:14 PMHOOBSConfiguration change 8/1/2022, 11:08:35 PMHOOBSRingPreparing Live Stream for XXXXXXXXXX 8/1/2022, 11:08:36 PMHOOBSRingStream Prepared for XXXXXXXXXX (0.566s) 8/1/2022, 11:08:36 PMHOOBSRingActivating stream for XXXXXXXXXX (0.704s) 8/1/2022, 11:08:37 PMHOOBSRingiceConnectionStateChange: completed 8/1/2022, 11:08:37 PMHOOBSRingStopped Live Stream for XXXXXXXXXX 8/1/2022, 11:08:37 PMHOOBSRingconnectionStateChange: closed 8/1/2022, 11:08:37 PMHOOBSRingiceConnectionStateChange: closed 8/1/2022, 11:08:39 PMHOOBSERROR[XXXXXXXXXX@Selected RTP Stream Configuration] The write handler for the characteristic 'Selected RTP Stream Configuration' on the accessory 'XXXXXXXXXX' was slow to respond!

owellsjr avatar Aug 02 '22 04:08 owellsjr

Didn’t work for me either… Still broken.

databoy01 avatar Aug 03 '22 21:08 databoy01

@databoy01 and @dgreif Based on some posts in the /hoobs sub in Reddit it would appear that removing and reinstalling the 11.0.7 plugin resolves the issue. We’ll see if that’s just temporary. But for the moment I’m able to live stream again.

owellsjr avatar Aug 03 '22 21:08 owellsjr

Hi, I have the sam issue on home-bridge, it broke all the cameras. terminal show no errors and acts like it started the stream.

aimbdd avatar Aug 04 '22 21:08 aimbdd

@databoy01 and @dgreif Based on some posts in the /hoobs sub in Reddit it would appear that removing and reinstalling the 11.0.7 plugin resolves the issue. We’ll see if that’s just temporary. But for the moment I’m able to live stream again.

Works after reinstall. All accessories have to be reconfigured.

farhad-a avatar Aug 05 '22 00:08 farhad-a

@farhad-a how did you get it to work? I literally just started fully over. Formatted the SD card that runs my hoobs, redownloaded and flashed it using the etcher, updated the software after I restarted the hoobs as new. After all updates, unplugged the unit and restarted it, then downloaded 11.0.7 and after linking it to my account, nothing shows, I don’t even see the cameras like I did with earlier releases. The HomeKit takes the scan in code and even there nothing on the home app. Even the “accessories” tab in the hoobs software, doesn’t show any devices. This is truly a mess. You’d think a fresh new start would fix it. But nope. Are you sure you got it working?

databoy01 avatar Aug 05 '22 00:08 databoy01

Facebook group says Hoobs & DEV are in talks.

NickRivait avatar Aug 06 '22 15:08 NickRivait

That's correct. @mkellsy from the HOOBS side is looking into the issue

dgreif avatar Aug 06 '22 16:08 dgreif

Hello Dusty @dgreif, Just out of curiosity, do you know how they are making out with a fix for this or even a possible timeframe for the fix? Thanks again

databoy01 avatar Aug 11 '22 00:08 databoy01

hi Yall I'm haveing the same issue but on home bridge I know there's still not a fix but is there any indication of a fix/patch soon because this started happing when i switched over from my PI to my server.

Noddley avatar Aug 14 '22 02:08 Noddley

hi Yall I'm haveing the same issue but on home bridge I know there's still not a fix but is there any indication of a fix/patch soon because this started happing when i switched over from my PI to my server.

Yeah, it’s not only a hoobs issue. Same with me here on home bridge.

aimbdd avatar Aug 14 '22 03:08 aimbdd

@aimbdd as far as I have heard, this is a HOOBS only issue. You may be having some unrelated issues on homebridge. Would you mind opening a new issue and filling out the issue template?

dgreif avatar Aug 14 '22 03:08 dgreif

Mine works finally too…. Yay. Not sure what fixed it because nothing really changed and still no update on my side.

databoy01 avatar Aug 14 '22 06:08 databoy01

Mines not working still. 3348570C-1235-4C9E-BF13-D6CE2599F2A2

NickRivait avatar Aug 14 '22 11:08 NickRivait

Am using HomeBridge on a Synology not HOOBS.

Issue started with 11.0.7 (although like to use 11.1.0 due to unbridge mode being available for cameras).

Log of output when connecting to Doorbell Pro v1:

[8/16/2022, 9:43:21 AM] [homebridge-ring] Preparing Live Stream for Front Door
[8/16/2022, 9:43:21 AM] [homebridge-ring] Stream Prepared for Front Door (0.625s)
[8/16/2022, 9:43:22 AM] [homebridge-ring] WebSocket connected for Front Door
[8/16/2022, 9:43:22 AM] [homebridge-ring] Activating stream for Front Door (0.761s)
[8/16/2022, 9:43:22 AM] [homebridge-ring] iceConnectionStateChange: completed
[8/16/2022, 9:43:22 AM] [homebridge-ring] connectionStateChange: connecting
[8/16/2022, 9:43:22 AM] [homebridge-ring] iceConnectionStateChange: new
[8/16/2022, 9:43:22 AM] [homebridge-ring] iceConnectionStateChange: checking
[8/16/2022, 9:43:22 AM] [homebridge-ring] Activating Session
[8/16/2022, 9:43:22 AM] [homebridge-ring] Streaming active for Front Door (1.501s)
[8/16/2022, 9:43:32 AM] [homebridge-ring] Return Audio (Front Door): Input #0, sdp, from 'pipe:':
  Metadata:
    title           : Talk
  Duration: N/A, bitrate: N/A

[8/16/2022, 9:43:32 AM] [homebridge-ring] Return Audio (Front Door):   Stream #0:0: Audio: opus, 48000 Hz, mono, s16
Stream mapping:
  Stream #0:0 -> #0:0 (opus (libopus) -> opus (libopus))

[8/16/2022, 9:43:32 AM] [homebridge-ring] From Ring (Front Door): Input #0, sdp, from 'pipe:':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Audio: opus, 48000 Hz, stereo, s16
Stream mapping:
  Stream #0:0 -> #0:0 (opus (libopus) -> opus (libopus))

[8/16/2022, 9:43:42 AM] [homebridge-ring] Return Audio (Front Door): pipe:: Connection timed out

[8/16/2022, 9:43:42 AM] [homebridge-ring] From Ring (Front Door): pipe:: Connection timed out

[8/16/2022, 9:43:42 AM] [homebridge-ring] Return Audio (Front Door): [libopus @ 0x55ecd7454740] No bit rate set. Defaulting to 96000 bps.

[8/16/2022, 9:43:42 AM] [homebridge-ring] Return Audio (Front Door): Output #0, rtp, to 'rtp://127.0.0.1:53685':
  Metadata:
    title           : Talk
    encoder         : Lavf59.16.100
  Stream #0:0: Audio: opus, 48000 Hz, stereo, s16, 96 kb/s
    Metadata:
      encoder         : Lavc59.18.100 libopus
size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

[8/16/2022, 9:43:42 AM] [homebridge-ring] From Ring (Front Door): Output #0, rtp, to 'rtp://127.0.0.1:57827?pkt_size=188':
  Metadata:
    encoder         : Lavf59.16.100
  Stream #0:0: Audio: opus, 24000 Hz, mono, s16, 24 kb/s
    Metadata:
      encoder         : Lavc59.18.100 libopus
size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

[8/16/2022, 9:43:42 AM] [homebridge-ring] connectionStateChange: closed
[8/16/2022, 9:43:42 AM] [homebridge-ring] From Ring (Front Door): stopped gracefully
[8/16/2022, 9:43:42 AM] [homebridge-ring] iceConnectionStateChange: closed
[8/16/2022, 9:43:42 AM] [homebridge-ring] Return Audio (Front Door): stopped gracefully
[8/16/2022, 9:43:50 AM] [homebridge-ring] Stopped Live Stream for Front Door

Log when connecting to Floodlight Cam v1 (192.168.75.210 is the iPhone used to connect):

[8/16/2022, 10:20:14 AM] [homebridge-ring] Preparing Live Stream for Garage Camera
[8/16/2022, 10:20:15 AM] [homebridge-ring] Stream Prepared for Garage Camera (0.596s)
[8/16/2022, 10:20:15 AM] [homebridge-ring] Activating stream for Garage Camera (0.693s)
[8/16/2022, 10:20:15 AM] [homebridge-ring] WebSocket connected for Garage Camera
[8/16/2022, 10:20:15 AM] [homebridge-ring] iceConnectionStateChange: completed
[8/16/2022, 10:20:15 AM] [homebridge-ring] connectionStateChange: connecting
[8/16/2022, 10:20:15 AM] [homebridge-ring] iceConnectionStateChange: new
[8/16/2022, 10:20:15 AM] [homebridge-ring] iceConnectionStateChange: checking
[8/16/2022, 10:20:15 AM] [homebridge-ring] Activating Session
[8/16/2022, 10:20:15 AM] [homebridge-ring] Streaming active for Garage Camera (1.209s)
[8/16/2022, 10:20:19 AM] [homebridge-ring] Snapshot cached for Garage Camera (5.586s)
[8/16/2022, 10:20:19 AM] [homebridge-ring] Snapshot cached for Front Door (5.856s)
[8/16/2022, 10:20:25 AM] [homebridge-ring] From Ring (Garage Camera): Input #0, sdp, from 'pipe:':
  Duration: N/A, bitrate: N/A

[8/16/2022, 10:20:25 AM] [homebridge-ring] From Ring (Garage Camera):   Stream #0:0: Audio: opus, 48000 Hz, stereo, s16

[8/16/2022, 10:20:25 AM] [homebridge-ring] Return Audio (Garage Camera): Guessed Channel Layout for Input Stream #0.0 : mono

[8/16/2022, 10:20:25 AM] [homebridge-ring] Return Audio (Garage Camera): Input #0, sdp, from 'pipe:':
  Metadata:
    title           : Talk
  Duration: N/A, bitrate: N/A
  Stream #0:0: Audio: aac, 16000 Hz, mono, s16

[8/16/2022, 10:20:25 AM] [homebridge-ring] From Ring (Garage Camera): Stream mapping:
  Stream #0:0 -> #0:0 (opus (libopus) -> aac (libfdk_aac))

[8/16/2022, 10:20:25 AM] [homebridge-ring] Return Audio (Garage Camera): Stream mapping:
  Stream #0:0 -> #0:0 (aac (libfdk_aac) -> opus (libopus))

[8/16/2022, 10:20:35 AM] [homebridge-ring] Return Audio (Garage Camera): pipe:: Connection timed out

[8/16/2022, 10:20:35 AM] [homebridge-ring] From Ring (Garage Camera): pipe:: Connection timed out

[8/16/2022, 10:20:35 AM] [homebridge-ring] Return Audio (Garage Camera): [libopus @ 0x1970d00] No bit rate set. Defaulting to 96000 bps.

[8/16/2022, 10:20:35 AM] [homebridge-ring] Return Audio (Garage Camera): Output #0, rtp, to 'rtp://127.0.0.1:45682':
  Metadata:
    title           : Talk
    encoder         : Lavf58.76.100
  Stream #0:0: Audio: opus, 48000 Hz, stereo, s16, 96 kb/s
    Metadata:
      encoder         : Lavc58.134.100 libopus

[8/16/2022, 10:20:35 AM] [homebridge-ring] From Ring (Garage Camera): Output #0, rtp, to 'srtp://192.168.75.210:49587?pkt_size=188':
  Metadata:
    encoder         : Lavf58.76.100
  Stream #0:0: Audio: aac (ELD), 16000 Hz, mono, s16, 24 kb/s
    Metadata:
      encoder         : Lavc58.134.100 libfdk_aac
size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    age Camera): size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

[8/16/2022, 10:20:35 AM] [homebridge-ring] From Ring (Garage Camera): [libfdk_aac @ 0x6b7700] Trying to remove 512 samples, but the queue is empty

[8/16/2022, 10:20:35 AM] [homebridge-ring] From Ring (Garage Camera): [rtp @ 0x6b6680] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[rtp @ 0x6b6680] Encoder did not produce proper pts, making some up.
size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    

[8/16/2022, 10:20:35 AM] [homebridge-ring] From Ring (Garage Camera): video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 45.833332%

[8/16/2022, 10:20:35 AM] [homebridge-ring] Return Audio (Garage Camera): stopped gracefully
[8/16/2022, 10:20:35 AM] [homebridge-ring] connectionStateChange: closed
[8/16/2022, 10:20:35 AM] [homebridge-ring] From Ring (Garage Camera): stopped gracefully
[8/16/2022, 10:20:35 AM] [homebridge-ring] iceConnectionStateChange: closed
[8/16/2022, 10:20:46 AM] [homebridge-ring] Stopped Live Stream for Garage Camera

Uninstalling/reinstalling did not fix.

Should it be trying to RTP to 127.0.0.1?

metalshark avatar Aug 16 '22 08:08 metalshark

127.0.0.1 is localhost, which is used for ffmpeg - this is normal. I think your issue is caused by failing WebRTC connections, which may be from the update to the werift dependency. I'll get an update out as soon as a newer version of werift is available.

dgreif avatar Aug 16 '22 14:08 dgreif