dgreif / ring

Unofficial packages for Ring Doorbells, Cameras, Alarm System, and Smart Lighting
MIT License
1.2k stars 162 forks source link

Unable to get snapshot or live view on a specific cam - Failed to parse SDP from Ring #447

Closed stevehoek closed 3 years ago

stevehoek commented 4 years ago

One cam in 4 is having an issue at one of my properties. It was working earlier in the day. I have reset the camera (a wired spotlight cam), as well as my Homebridge Pi I can access the camera with the Ring app just fine, just not via HomeKit.

I did have the Ring web page open to the camera dashboard for much of the day... perhaps my IP is blacklisted by api.ring.com? But the Ring iOS app works fine on the same network...

Any ideas?

[9/10/2020, 20:48:06] [Ring] Preparing Live Stream for Cottage Shed View
[9/10/2020, 20:48:07] [Ring] Failed to parse SDP from Ring
[9/10/2020, 20:48:07] [Ring] v=0
o=Wantajobinstead? 1529310922 1529310923 IN IP4 
s=Wantajobinstead?
c=IN IP4 44.225.209.50
t=0 0

m=audio 25348 RTP/SAVPF 0
a=rtpmap:0 PCMU/8000
a=rtcp:61351 IN IP4 44.225.209.50
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:CvjjJqhy3tjnJ5nOU2sdBsJQCZCZU5/iOprGjoKj
a=ptime:20

m=video 42325 RTP/SAVPF 99
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=42000a
a=rtcp:10887 IN IP4 44.225.209.50
a=rtcp-fb:99 nack
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:BMrs/7yoe/f3Y1XBK6FkhgARVTeJ98fJ7f3D+AeA

[9/10/2020, 20:48:07] [Ring] Failed to prepare stream for Cottage Shed View (1.108s)
[9/10/2020, 20:48:07] [Ring] TypeError: Cannot read property 'match' of undefined
    at getRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:24:54)
dgreif commented 4 years ago

@stevehoek this is a duplicate of #438, but it's useful to know it's happening for other users. Would you mind following the instructions in https://github.com/dgreif/ring/wiki/Data-Discovery and posting the results here? Might help me pin-point any difference on that one camera. Also, are you participating in any beta programs from Ring at the moment?

stevehoek commented 4 years ago

@dgreif good to hear this isn't a unique problem. Here is my data discovery. I have 2 locations, Home and Cottage. No issues with the Home location, and just one camera at the Cottage location (Shed View) is giving me the issue. File is attached.

DataDiscovery.json.log

macBender commented 3 years ago

Please let me know if you need any logs or info.

aabramovich commented 3 years ago

Same issue here... Only one camera is having this issue. It is a wired spotlight cam.

[9/17/2020, 12:07:56 PM] [Ring] Preparing Live Stream for Deck Camera
[9/17/2020, 12:07:56 PM] [Ring] Failed to parse SDP from Ring
[9/17/2020, 12:07:56 PM] [Ring] v=0
o=Wantajobinstead? 1529310922 1529310923 IN IP4 
s=Wantajobinstead?
c=IN IP4 3.210.125.56
t=0 0

m=audio 58770 RTP/SAVPF 0
a=rtpmap:0 PCMU/8000
a=rtcp:25236 IN IP4 3.210.125.56
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:VFtUJJJXhAhCVR2bE7wpgTeYQqZvitdzlMag7qEN
a=ptime:20

m=video 40917 RTP/SAVPF 99
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=42000a
a=rtcp:21738 IN IP4 3.210.125.56
a=rtcp-fb:99 nack
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:q/Uoh/Xeim29PvdVTtWeJGTegZt4ubdYC27u8KGv

[9/17/2020, 12:07:56 PM] [Ring] Failed to prepare stream for Deck Camera (0.141s)
[9/17/2020, 12:07:56 PM] [Ring] TypeError: Cannot read property 'match' of undefined
    at getRtpDescription (/homebridge/node_modules/homebridge-ring/lib/api/sip-call.js:24:54)
    at parseRtpDescription (/homebridge/node_modules/homebridge-ring/lib/api/sip-call.js:36:16)
    at SipCall.<anonymous> (/homebridge/node_modules/homebridge-ring/lib/api/sip-call.js:204:20)
    at Generator.next (<anonymous>)
    at fulfilled (/homebridge/node_modules/homebridge-ring/lib/api/sip-call.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
huggi001 commented 3 years ago

Same issue here. Also only with a wired spotlight cam. Doorbell and wired floodlight work fine. Started about 4 days ago.

9/17/2020, 11:14:55 AM [Ring] Preparing Live Stream for Frontyard 9/17/2020, 11:14:56 AM [Ring] Failed to parse SDP from Ring 9/17/2020, 11:14:56 AM [Ring] v=0 o=Wantajobinstead? 1529310922 1529310923 IN IP4 s=Wantajobinstead? c=IN IP4 54.244.194.24 t=0 0

m=audio 59222 RTP/SAVPF 0 a=rtpmap:0 PCMU/8000 a=rtcp:25391 IN IP4 54.244.194.24 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:dqHPMDaHXmWsLn5JYQvv2/OujvNz/qt9S/md/Hlj a=ptime:20

m=video 52066 RTP/SAVPF 99 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42000a a=rtcp:43239 IN IP4 54.244.194.24 a=rtcp-fb:99 nack a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:9FgGrX/7dyEE+9BV4X05ZNak+vY5fgoqjHaTqSIt 9/17/2020, 11:14:56 AM [Ring] Failed to prepare stream for Frontyard (0.969s) 9/17/2020, 11:14:56 AM [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:94:5)

ellev commented 3 years ago

Same problem here with Wired Spotlight Cam and with Doorbell Pro

halfpress commented 3 years ago

Precisely the situation cited above involving:

9/17/2020, 11:14:56 AM [Ring] TypeError: Cannot read property 'match' of undefined

Feel like mine started in the last 24 hours or so and I worried there was something in iOS14 (freshly installed) not playing ball, but I see now that's likely unrelated based on the error being on the Homebridge side.

Mine is a Ring Elite (ethernet).

macBender commented 3 years ago

I though ios 14 at first so I disabled my ios 14 homekit hub and re-tested with an ios 13 hub & device to no avail. I wonder if Ring has changed something on their side and just it's coincidence.

halfpress commented 3 years ago

Feels like the Ring side. Occurs to me my hub situation would be currently mixed in this case, too. HomePods still sitting on 13.x, everything else (including AppleTV 4K) on 14.x (and it's often and currently the active/main).

ellev commented 3 years ago

I don’t think it has anything to do with iOS 14. I had all my devices including the hub on the iOS beta since June and it worked perfectly until I think about a week ago.

ellev commented 3 years ago

Even the PiP on Apple TV when someone rings the doorbell worked perfect.

dgreif commented 3 years ago

Correct, if you see the same error as the one at the top of this thread, it is unrelated to iOS 14. Ring appears to be making backend changes that break the way I currently establish video connections. If you are seeing this exact error, please post which camera model you are seeing it on. I have an alternate approach for establishing streams that I used in the past, so I'll look to pull that back in soon, which should fix this for all of you.

ellev commented 3 years ago

Same problem here with both my Wired Spotlight Cam and with Doorbell Pro

Exact same issue as described above. I haven’t payed much attention but I think that notification alerts still work. Only the live feed doesn’t and it doesn’t update the video thumbnail.

carlstewart commented 3 years ago

I am also having this issue. Some things I've noticed:

As requested, here's a list of devices I have that have the issue:

Hope the above info helps.

Regardless, very impressive plugin you've created. I hate Ring makes it so difficult for all of us.

B-a-d-m-a-n commented 3 years ago

I've got a similar issue:

[9/19/2020, 20:23:13] [Ring] Preparing Live Stream for Back Door [9/19/2020, 20:23:14] [Ring] Failed to parse SDP from Ring [9/19/2020, 20:23:14] [Ring] v=0 o=Wantajobinstead? 1529310922 1529310923 IN IP4 s=Wantajobinstead? c=IN IP4 34.254.93.233 t=0 0

m=audio 18762 RTP/SAVPF 0 a=rtpmap:0 PCMU/8000 a=rtcp:33468 IN IP4 34.254.93.233 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:lR26uCCRqH6kZCfumNseUgTOOcXDThh8TvStouJB a=ptime:20

m=video 36540 RTP/SAVPF 99 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42000a a=rtcp:25580 IN IP4 34.254.93.233 a=rtcp-fb:99 nack a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:TUxa8noLUHxymwVv2TFGw1fge69heuK/Mm9dGVVn

[9/19/2020, 20:23:14] [Ring] Failed to prepare stream for Back Door (0.818s) [9/19/2020, 20:23:14] [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5)

I've got a Ring Pro doorbell, and 5 Ring Stickup Elites.

It shows snapshots, and sends push notifications with a snapshot when motion is detected, but it won't stream video.

My neighbor's cameras that I've got access to worked fine, and I've just set up another Stickup Elite that also works fine. Here's the log of the one that works.

[9/19/2020, 20:23:09] [Ring] Preparing Live Stream for Test [9/19/2020, 20:23:09] [Ring] Stream Prepared for Test (0.496s) [9/19/2020, 20:23:09] [Ring] Received stream data from Test (0.525s) [9/19/2020, 20:23:09] [Ring] Streaming active for Test [9/19/2020, 20:23:12] [Ring] Stopped Live Stream for Test

So I'm gonna assume it has something to do with firmwares, as I've been part of a few Ring beta trials.

captainbri commented 3 years ago

I’m having the same problems. Failed to parse SDP. I am getting motion alerts with stills, but can put view the video streams. Doorbell pro, and spotlight came wired.

Failed to parse SDP from Ring [9/21/2020, 9:06:37 AM] [Ring] v=0 o=Wantajobinstead? 1529310922 1529310923 IN IP4 s=Wantajobinstead? c=IN IP4 54.155.200.70 t=0 0

m=audio 25952 RTP/SAVPF 0 a=rtpmap:0 PCMU/8000

m=video 57410 RTP/SAVPF 99 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42000a a=rtcp:55536 IN IP4 54.155.200.70 a=rtcp-fb:99 nack

[9/21/2020, 9:06:37 AM] [Ring] Failed to prepare stream for Front Door (1.152s) [9/21/2020, 9:06:37 AM] [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/usr/lib/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/usr/lib/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/usr/lib/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/usr/lib/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5)

ambronet commented 3 years ago

I am having the same issue, Wired Spotlight Cam doesn't work but Ring Doorbell Pro does work just fine.

N-Hott commented 3 years ago

I have a Video Doorbell Pro that started having this issue last night.

Johnrr6 commented 3 years ago

I am having the same issue, Wired Spotlight Cam doesn't work but Ring Doorbell Pro works perfectly.

Issue started yesterday 9/22. Both have worked perfectly since updating to Catalina on the Mac as well as iOS 14 on phone and iPad about 4 days ago.

From posts above.....it appears the Wired Spotlight Cam seems to be a main problem.

[9/23/2020, 2:44:38 PM] [Ring] Preparing Live Stream for Front [9/23/2020, 2:44:39 PM] [Ring] Failed to parse SDP from Ring [9/23/2020, 2:44:39 PM] [Ring] v=0 o=Wantajobinstead? 1529310922 1529310923 IN IP4 s=Wantajobinstead? c=IN IP4 3.214.195.132 t=0 0

m=audio 63990 RTP/SAVPF 0 a=rtpmap:0 PCMU/8000 a=rtcp:22737 IN IP4 3.214.195.132 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:cTGAthJqVMVx9XKagjymjfUuLEBPF834khkCxXPh a=ptime:20

m=video 60726 RTP/SAVPF 99 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42000a a=rtcp:47569 IN IP4 3.214.195.132 a=rtcp-fb:99 nack a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:1YBosoLMUmaXlF6W6KuSfm7cemTVmHn4bAN/QooV

[9/23/2020, 2:44:39 PM] [Ring] Failed to prepare stream for Front (0.586s) [9/23/2020, 2:44:39 PM] [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5)

earlthesquirrel commented 3 years ago

I'm on IOS 14, and same issue. Copying info from previous ticke (in case it's useful)

{"locations":[{"name":"Alpharetta","cameras":[{"description":"Front Door","subscribed":true,"subscribed_motions":true,"battery_life":"4011","external_connection":false,"firmware_version":"Up to Date","kind":"lpd_v1","settings":{"cv_settings":{"detection_types":{"human":{"enabled":false,"mode":null,"record":null},"motion":{"enabled":false,"mode":"edge","record":null}},"threshold":{}},"cv_paid_features":{},"offline_motion_event_settings":{"subscribed":true,"enabled":false,"max_upload_kb":5000,"resolution_p":360,"frequency_after_secs":1,"period_after_secs":30},"lite_24x7":{"subscribed":true,"enabled":false,"frequency_secs":180,"resolution_p":360},"enable_vod":true,"motion_zones":{"enable_audio":false,"active_motion_filter":1,"sensitivity":5,"advanced_object_settings":{"human_detection_confidence":{"day":0.8,"night":0.8},"motion_zone_overlap":{"day":0.2,"night":0.3},"object_time_overlap":{"day":0.2,"night":1.2},"object_size_minimum":{"day":0.01,"night":0.01},"object_size_maximum":{"day":0.7,"night":0.7}},"zone1":{"name":"Zone 1","state":2,"vertex1":{"x":0.16548415,"y":0.19614244},"vertex2":{"x":0.33555928,"y":0.20949554},"vertex3":{"x":0.4755843,"y":0.19762611},"vertex4":{"x":0.48309684,"y":0.49851632},"vertex5":{"x":0.46640235,"y":0.9537092},"vertex6":{"x":0.2996661,"y":0.97151333},"vertex7":{"x":0.19720367,"y":0.8439169},"vertex8":{"x":0.18969116,"y":0.4480712}},"zone2":{"name":"Zone 2","state":2,"vertex1":{"x":0.47683638,"y":0.1694362},"vertex2":{"x":0.6293823,"y":0.14569733},"vertex3":{"x":0.8545492,"y":0.14569733},"vertex4":{"x":0.85955757,"y":0.5756677},"vertex5":{"x":0.8537145,"y":0.93590504},"vertex6":{"x":0.654424,"y":0.9922849},"vertex7":{"x":0.48601836,"y":0.9804154},"vertex8":{"x":0.48768783,"y":0.4925816}},"zone3":{"name":"Zone 3","state":2,"vertex1":{"x":0.8666527,"y":0.27181008},"vertex2":{"x":0.91318864,"y":0.24362017},"vertex3":{"x":1,"y":0.14866468},"vertex4":{"x":1,"y":0.6083086},"vertex5":{"x":0.9931135,"y":0.9655786},"vertex6":{"x":0.9073456,"y":0.968546},"vertex7":{"x":0.8616444,"y":0.8810089},"vertex8":{"x":0.86999166,"y":0.55934715}}},"motion_snooze_preset_profile":"low","live_view_preset_profile":"highest","live_view_presets":["low","middle","high","highest"],"motion_snooze_presets":["none","low","medium","high"],"doorbell_volume":11,"chime_settings":{"type":0,"enable":false,"duration":10},"video_settings":{"ignore_zones":{"zone1":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"birton":"","brightness":16,"contrast":80,"saturation":48,"ae_level":32,"ae_mode":null,"ae_mask":null,"encryption_enabled":null},"motion_announcement":false,"stream_setting":0,"advanced_motion_detection_enabled":false,"advanced_motion_detection_human_only_mode":false,"luma_night_threshold":0,"enable_audio_recording":true,"people_detection_eligible":true,"live_view_disabled":false,"ignore_zones":{"zone1":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"enable_rich_notifications":null,"rich_notifications_billing_eligible":true,"loitering_threshold":10,"advanced_motion_detection_types":[],"motion_detection_enabled":true,"rich_notifications_scene_source":"cloud","recording_storage_type":"default_s3","rich_notifica-uuid":null},"features":{"motions_enabled":true,"show_recordings":true,"advanced_motion_enabled":false,"people_only_enabled":false,"shadow_correction_enabled":false,"motion_message_enabled":false,"night_vision_enabled":false,"rich_notifications_eligible":false,"show_24x7_lite":false,"show_offline_motion_events":false,"cfes_eligible":null},"owned":true,"alerts":{"connection":"online","ota_status":"successful"},"motion_snooze":null,"stolen":false,"is_sidewalk_gateway":false,"created_at":"2017-06-11T01:40:06Z","shared_at":null,"night_mode_status":"unknown"}],"chimes":[],"devices":[]}],"amazonKeyLocks":[]}

AND

9/23/2020, 18:30:50] [Ring] Preparing Live Stream for Front Door [9/23/2020, 18:30:51] [Ring] Failed to parse SDP from Ring [9/23/2020, 18:30:51] [Ring] v=0 o=Wantajobinstead? 1529310922 1529310923 IN IP4 s=Wantajobinstead? c=IN IP4 107.20.160.128 t=0 0

m=audio 24709 RTP/SAVPF 0 a=rtpmap:0 PCMU/8000 a=rtcp:32241 IN IP4 107.20.160.128 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:T2duoUExQCXmPqGOrZaL2w+MAmDw8ouGjbGT8PS0 a=ptime:20

m=video 60519 RTP/SAVPF 99 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42000a a=rtcp:10507 IN IP4 107.20.160.128 a=rtcp-fb:99 nack a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:Wlp0PvAhobTWqBQI4x6wGxLPlJAQwdVlGxgojE9x

[9/23/2020, 18:30:51] [Ring] Failed to prepare stream for Front Door (1.181s) [9/23/2020, 18:30:51] [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5)

earlthesquirrel commented 3 years ago

FYI -- I tried uninstalling plugin and rebooting and then re-installing. Didn't fix.
I also have another plugin (Homebridge FFMPG) for raspberry pi cameras. Just in case that might cause a dependency issue.

d34vbd5 commented 3 years ago

Having the same issue with Ring Video Doorbell v2

[9/24/2020, 11:27:39 PM] [Ring] Failed to prepare stream for Haustür (25.765s) [9/24/2020, 11:27:39 PM] [Ring] Error: SIP Session has already ended at SipSession. (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-session.js:54:23) at Generator.next () at /usr/local/lib/node_modules/homebridge-ring/lib/api/sip-session.js:8:71 at new Promise () at __awaiter (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-session.js:4:12) at SipSession.start (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-session.js:48:16) at SipSession. (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-session.js:81:33) at Generator.next () at fulfilled (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-session.js:5:58) at runMicrotasks ()

danTHAman152000 commented 3 years ago

I have a Ring Doorbell Pro and am getting the same error, started a few days ago, and worked intermittently but now hasn't had any stream loading since. I can post my logs too if it's needed, but they appear the same as the ones posted above.

ultrathew commented 3 years ago

Ring Pro owner here. Same issue started within the last couple of days. Getting alerts with correct/current still on motion, but getting the "No response. This camera is not responding." message when trying to open a stream.

My logs are showing: [9/26/2020, 09:52:42] [Ring] Failed to prepare stream for Front Door (0.655s) [9/26/2020, 09:52:42] [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5)

fallingrock commented 3 years ago

Same problem here ... connecting to doorbell pro.

[9/25/2020, 18:01:33] [Ring] Preparing Live Stream for Front Door [9/25/2020, 18:01:35] [Ring] Failed to parse SDP from Ring [9/25/2020, 18:01:35] [Ring] v=0 o=Wantajobinstead? 1529310922 1529310923 IN IP4 s=Wantajobinstead? c=IN IP4 44.232.207.90 t=0 0

m=audio 22013 RTP/SAVPF 0 a=rtpmap:0 PCMU/8000 a=rtcp:34284 IN IP4 44.232.207.90 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:iwPkQcLufeo6QkMN41+kPK41B5usV1qRkoJtdlqM a=ptime:20

m=video 21753 RTP/SAVPF 99 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42000a a=rtcp:51442 IN IP4 44.232.207.90 a=rtcp-fb:99 nack a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:uevItLDxxWu1ryWjBouZEiiDadqDnX0hM6LtiWnh

[9/25/2020, 18:01:35] [Ring] Failed to prepare stream for Front Door (2.192s) [9/25/2020, 18:01:35] [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5)

{"locations":[{"name":"Hoffman Estates","cameras":[{"description":"Front Door","subscribed":true,"subscribed_motions":true,"battery_life":"4003","external_connection":false,"firmware_version":"Up to Date","kind":"lpd_v2","settings":{"cv_settings":{"detection_types":{},"threshold":{}},"cv_paid_features":{},"offline_motion_event_settings":{"subscribed":true,"enabled":false,"max_upload_kb":5000,"resolution_p":360,"frequency_after_secs":1,"period_after_secs":30},"lite_24x7":{"subscribed":true,"enabled":true,"frequency_secs":180,"resolution_p":360},"enable_vod":true,"motion_zones":{"enable_audio":false,"active_motion_filter":2,"sensitivity":5,"advanced_object_settings":{"human_detection_confidence":{"day":0.9,"night":0.9},"motion_zone_overlap":{"day":0.4,"night":0.5},"object_time_overlap":{"day":1,"night":2},"object_size_minimum":{"day":0.06,"night":0.11},"object_size_maximum":{"day":0.5,"night":0.5}},"zone1":{"name":"Default Zone","state":2,"vertex1":{"x":0.014754098,"y":0.67567635},"vertex2":{"x":0.6540984,"y":0.37684253},"vertex3":{"x":0.8818033,"y":0.38996208},"vertex4":{"x":0.90229505,"y":0.51166177},"vertex5":{"x":0.9039344,"y":0.97338486},"vertex6":{"x":0.4827869,"y":0.97921574},"vertex7":{"x":0.09590164,"y":0.9733848},"vertex8":{"x":0,"y":0.909621}},"zone2":{"name":"Zone 2","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}},"zone3":{"name":"Zone 3","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}}},"motion_snooze_preset_profile":"low","live_view_preset_profile":"highest","live_view_presets":["low","middle","high","highest"],"motion_snooze_presets":["none","low","medium","high"],"doorbell_volume":11,"chime_settings":{"type":0,"enable":false,"duration":10},"video_settings":{"ignore_zones":{"zone1":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"birton":null,"brightness":16,"contrast":80,"saturation":48,"ae_level":32,"ae_mode":0,"ae_mask":"","encryption_enabled":null},"motion_announcement":false,"stream_setting":0,"advanced_motion_detection_enabled":false,"advanced_motion_detection_human_only_mode":false,"luma_night_threshold":0,"enable_audio_recording":true,"people_detection_eligible":true,"live_view_disabled":false,"ignore_zones":{"zone1":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"enable_rich_notifications":false,"rich_notifications_billing_eligible":true,"loitering_threshold":10,"advanced_motion_detection_types":[],"motion_detection_enabled":true,"rich_notifications_scene_source":"firmware","recording_storage_type":"default_s3","rich_notifica-uuid":false},"features":{"motions_enabled":true,"show_recordings":true,"advanced_motion_enabled":false,"people_only_enabled":false,"shadow_correction_enabled":false,"motion_message_enabled":false,"night_vision_enabled":false,"rich_notifications_eligible":false,"show_24x7_lite":true,"show_offline_motion_events":false,"cfes_eligible":null},"owned":true,"alerts":{"connection":"online","ota_status":"successful"},"motion_snooze":null,"stolen":false,"is_sidewalk_gateway":false,"created_at":"2019-07-06T19:19:24Z","shared_at":null,"night_mode_status":"unknown"},{"description":"Driveway ","subscribed":true,"subscribed_motions":true,"battery_life":100,"external_connection":false,"firmware_version":"Up to Date","kind":"stickup_cam_elite","settings":{"cv_settings":{"detection_types":{"human":{"enabled":false,"mode":null,"record":null},"motion":{"enabled":false,"mode":"edge","record":null}},"threshold":{}},"cv_paid_features":{},"offline_motion_event_settings":{"subscribed":true,"enabled":false,"max_upload_kb":5000,"resolution_p":360,"frequency_after_secs":1,"period_after_secs":30},"lite_24x7":{"subscribed":true,"enabled":true,"frequency_secs":60,"resolution_p":360},"enable_vod":true,"motion_zones":{"enable_audio":false,"active_motion_filter":1,"sensitivity":5,"advanced_object_settings":{"human_detection_confidence":{"day":0.8,"night":0.8},"motion_zone_overlap":{"day":0.2,"night":0.3},"object_time_overlap":{"day":0.2,"night":1.2},"object_size_minimum":{"day":0.04,"night":0.07},"object_size_maximum":{"day":0.7,"night":0.7}},"zone1":{"name":"Default Zone","state":2,"vertex1":{"x":0.0040983604,"y":0.409621},"vertex2":{"x":0.92768997,"y":0.43776244},"vertex3":{"x":1,"y":0.54063004},"vertex4":{"x":0.7152789,"y":0.55346674},"vertex5":{"x":0.97193456,"y":0.8483312},"vertex6":{"x":1,"y":0.9865044},"vertex7":{"x":0.5005012,"y":1},"vertex8":{"x":0.01582718,"y":1}},"zone2":{"name":"Zone 2","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}},"zone3":{"name":"Zone 3","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}},"pir_settings":{"sensitivity1":10,"sensitivity2":10,"sensitivity3":10,"zone_mask":7}},"motion_snooze_preset_profile":"low","live_view_preset_profile":"highest","live_view_presets":["low","middle","high","highest"],"motion_snooze_presets":["none","low","medium","high"],"doorbell_volume":11,"chime_settings":{"type":2,"enable":true,"duration":10},"video_settings":{"ignore_zones":{"zone1":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"birton":null,"brightness":16,"contrast":80,"saturation":48,"ae_level":32,"ae_mode":0,"ae_mask":"","encryption_enabled":null},"motion_announcement":false,"stream_setting":0,"advanced_motion_detection_enabled":false,"advanced_motion_detection_human_only_mode":false,"luma_night_threshold":0,"enable_audio_recording":true,"people_detection_eligible":true,"live_view_disabled":false,"ignore_zones":{"zone1":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"enable_rich_notifications":false,"rich_notifications_billing_eligible":true,"loitering_threshold":10,"advanced_motion_detection_types":[],"motion_detection_enabled":true,"rich_notifications_scene_source":"firmware","recording_storage_type":"default_s3","enable_ir_led":true,"rich_notifica-uuid":false},"features":{"motions_enabled":true,"show_recordings":true,"advanced_motion_enabled":false,"people_only_enabled":false,"shadow_correction_enabled":false,"motion_message_enabled":false,"night_vision_enabled":false,"rich_notifications_eligible":false,"show_24x7_lite":true,"show_offline_motion_events":false,"cfes_eligible":null,"light_schedule_enabled":false},"owned":true,"alerts":{"connection":"online","ota_status":"successful"},"motion_snooze":null,"stolen":false,"is_sidewalk_gateway":false,"created_at":"2019-09-06T18:29:40Z","shared_at":null,"motion_detection_enabled":true,"camera_location_indoor":false,"facing_window":false,"enable_ir_led":true,"siren_status":{"seconds_remaining":0}},{"description":"Downstairs","subscribed":true,"subscribed_motions":true,"battery_life":100,"external_connection":false,"firmware_version":"Up to Date","kind":"stickup_cam_mini","settings":{"cv_settings":{"detection_types":{},"threshold":{}},"cv_paid_features":{},"offline_motion_event_settings":{"subscribed":true,"enabled":false,"max_upload_kb":5000,"resolution_p":360,"frequency_after_secs":1,"period_after_secs":30},"lite_24x7":{"subscribed":true,"enabled":true,"frequency_secs":180,"resolution_p":360},"enable_vod":true,"motion_zones":{"enable_audio":false,"active_motion_filter":1,"sensitivity":5,"advanced_object_settings":{"human_detection_confidence":{"day":0.8,"night":0.8},"motion_zone_overlap":{"day":0.2,"night":0.3},"object_time_overlap":{"day":0.2,"night":1.2},"object_size_minimum":{"day":0.04,"night":0.07},"object_size_maximum":{"day":0.7,"night":0.7}},"zone1":{"name":"Default Zone","state":2,"vertex1":{"x":0.058,"y":0.199},"vertex2":{"x":0.5,"y":0.199},"vertex3":{"x":0.94,"y":0.199},"vertex4":{"x":0.94,"y":0.5},"vertex5":{"x":0.94,"y":0.797},"vertex6":{"x":0.5,"y":0.797},"vertex7":{"x":0.058,"y":0.797},"vertex8":{"x":0.058,"y":0.5}},"zone2":{"name":"Zone 2","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}},"zone3":{"name":"Zone 3","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}},"pir_settings":{"sensitivity1":10,"sensitivity2":10,"sensitivity3":10,"zone_mask":7}},"motion_snooze_preset_profile":"low","live_view_preset_profile":"highest","live_view_presets":["low","middle","high","highest"],"motion_snooze_presets":["none","low","medium","high"],"doorbell_volume":11,"chime_settings":{"type":2,"enable":true,"duration":10},"video_settings":{"ignore_zones":null,"birton":null,"brightness":0,"contrast":64,"saturation":64,"ae_level":16,"ae_mode":0,"ae_mask":"","encryption_enabled":null,"rotate_180_deg":false},"motion_announcement":false,"stream_setting":0,"advanced_motion_detection_enabled":false,"advanced_motion_detection_human_only_mode":false,"luma_night_threshold":0,"enable_audio_recording":true,"people_detection_eligible":true,"live_view_disabled":false,"ignore_zones":null,"enable_rich_notifications":false,"rich_notifications_billing_eligible":true,"loitering_threshold":10,"advanced_motion_detection_types":[],"motion_detection_enabled":false,"rich_notifications_scene_source":"firmware","recording_storage_type":"default_s3","enable_ir_led":true,"rich_notifica-uuid":false},"features":{"motions_enabled":true,"show_recordings":true,"advanced_motion_enabled":false,"people_only_enabled":false,"shadow_correction_enabled":false,"motion_message_enabled":false,"night_vision_enabled":false,"rich_notifications_eligible":false,"show_24x7_lite":true,"show_offline_motion_events":false,"cfes_eligible":null,"light_schedule_enabled":false},"owned":true,"alerts":{"connection":"online","ota_status":"successful"},"motion_snooze":null,"stolen":false,"is_sidewalk_gateway":false,"created_at":"2020-05-08T23:46:24Z","shared_at":null,"camera_location_indoor":true,"facing_window":false,"siren_status":{"seconds_remaining":0}},{"description":"Backyard","subscribed":true,"subscribed_motions":true,"battery_life":100,"external_connection":false,"firmware_version":"Up to Date","kind":"stickup_cam_elite","settings":{"cv_settings":{"detection_types":{},"threshold":{}},"cv_paid_features":{},"offline_motion_event_settings":{"subscribed":true,"enabled":false,"max_upload_kb":5000,"resolution_p":360,"frequency_after_secs":1,"period_after_secs":30},"lite_24x7":{"subscribed":true,"enabled":true,"frequency_secs":180,"resolution_p":360},"enable_vod":true,"motion_zones":{"enable_audio":false,"active_motion_filter":2,"sensitivity":5,"advanced_object_settings":{"human_detection_confidence":{"day":0.9,"night":0.9},"motion_zone_overlap":{"day":0.4,"night":0.5},"object_time_overlap":{"day":1,"night":2},"object_size_minimum":{"day":0.06,"night":0.11},"object_size_maximum":{"day":0.5,"night":0.5}},"zone1":{"name":"Default Zone","state":2,"vertex1":{"x":0.39242622,"y":0.27625945},"vertex2":{"x":0.48688522,"y":0.24127404},"vertex3":{"x":0.70311475,"y":0.30978712},"vertex4":{"x":1,"y":0.2521866},"vertex5":{"x":1,"y":1},"vertex6":{"x":0.47131148,"y":0.9850466},"vertex7":{"x":0.057180326,"y":0.94714576},"vertex8":{"x":0.012918033,"y":0.52478135}},"zone2":{"name":"Zone 2","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}},"zone3":{"name":"Zone 3","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0},"vertex3":{"x":0,"y":0},"vertex4":{"x":0,"y":0},"vertex5":{"x":0,"y":0},"vertex6":{"x":0,"y":0},"vertex7":{"x":0,"y":0},"vertex8":{"x":0,"y":0}},"pir_settings":{"sensitivity1":10,"sensitivity2":10,"sensitivity3":10,"zone_mask":7}},"motion_snooze_preset_profile":"low","live_view_preset_profile":"highest","live_view_presets":["low","middle","high","highest"],"motion_snooze_presets":["none","low","medium","high"],"doorbell_volume":11,"chime_settings":{"type":0,"enable":true,"duration":10},"video_settings":{"ignore_zones":{"zone1":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"birton":null,"brightness":16,"contrast":80,"saturation":48,"ae_level":32,"ae_mode":0,"ae_mask":"","encryption_enabled":null},"motion_announcement":false,"stream_setting":0,"advanced_motion_detection_enabled":false,"advanced_motion_detection_human_only_mode":false,"luma_night_threshold":0,"enable_audio_recording":true,"people_detection_eligible":true,"live_view_disabled":false,"ignore_zones":{"zone1":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone2":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone3":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}},"zone4":{"name":"undefined","state":0,"vertex1":{"x":0,"y":0},"vertex2":{"x":0,"y":0}}},"enable_rich_notifications":false,"rich_notifications_billing_eligible":true,"loitering_threshold":10,"advanced_motion_detection_types":[],"motion_detection_enabled":true,"rich_notifications_scene_source":"firmware","recording_storage_type":"default_s3","enable_ir_led":true,"rich_notifica-uuid":false},"features":{"motions_enabled":true,"show_recordings":true,"advanced_motion_enabled":false,"people_only_enabled":false,"shadow_correction_enabled":false,"motion_message_enabled":false,"night_vision_enabled":false,"rich_notifications_eligible":false,"show_24x7_lite":true,"show_offline_motion_events":false,"cfes_eligible":null,"light_schedule_enabled":false},"owned":true,"alerts":{"connection":"online","ota_status":"successful"},"motion_snooze":null,"stolen":false,"is_sidewalk_gateway":false,"created_at":"2019-07-25T22:20:01Z","shared_at":null,"motion_detection_enabled":true,"camera_location_indoor":false,"facing_window":false,"enable_ir_led":true,"siren_status":{"seconds_remaining":0}}],"chimes":[],"devices":[]}],"amazonKeyLocks":[]}

ZoneMR commented 3 years ago

@dgreif I have the same issue. I’m happy to make my homebridge box accessible to you over SSH if that makes replicating the issue or testing fixes easier for you.

danieljimenez commented 3 years ago

Same issue but with Doorbell Pro. I will spare the thread the heaps of debug info.

dgreif commented 3 years ago

Thanks for all the input everyone. I'm still working on a fix, but haven't been successful in connecting to the new media servers so far. At this point new reports/logs are not useful. I'll post again if I make any progress.

tuncos commented 3 years ago

Same issue here. Thanks for looking into it!

adk749 commented 3 years ago

Same issue here, you efforts in resolving this are GREATLY APPRECIATED!

pinsonlawrimore commented 3 years ago

Had this issue come up last night. Captured the log below. This is with a Ring Doorbell Pro.

[9/30/2020, 9:13:35 PM] [Ring] Front Door Detected Motion. Loading snapshot before sending event to HomeKit
[9/30/2020, 9:13:41 PM] [Ring] Front Door Button Pressed. Loading snapshot before sending event to HomeKit
[9/30/2020, 9:13:41 PM] [Ring] Snapshot for Front Door is still within its life time (6.636s old)
[9/30/2020, 9:13:41 PM] [Ring] Preparing Live Stream for Front Door
[9/30/2020, 9:13:42 PM] [Ring] Failed to parse SDP from Ring
[9/30/2020, 9:13:42 PM] [Ring] v=0
o=Wantajobinstead? 1529310922 1529310923 IN IP4 
s=Wantajobinstead?
c=IN IP4 44.238.16.55
t=0 0

m=audio 28104 RTP/SAVPF 0
a=rtpmap:0 PCMU/8000
a=rtcp:11705 IN IP4 44.238.16.55
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:YDqFFhNMnSpNf+wwjS+xymCFoNwvZnIFrPIJ2epB
a=ptime:20

m=video 24836 RTP/SAVPF 99
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=42000a
a=rtcp:22660 IN IP4 44.238.16.55
a=rtcp-fb:99 nack
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:2uoA1ww4+VdCENN3+p97GuVWc+nnPVUXHgwSm2af

[9/30/2020, 9:13:42 PM] [Ring] Failed to prepare stream for Front Door (1.151s)
[9/30/2020, 9:13:42 PM] [Ring] TypeError: Cannot read property 'match' of undefined
    at getRtpDescription (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:24:54)
    at parseRtpDescription (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:36:16)
    at SipCall.<anonymous> (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:204:20)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:5:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
[10/1/2020, 7:19:39 AM] [ISYMaker] WebSocket => type:  2  id:  3  value:  0
[10/1/2020, 9:57:35 AM] [Ring] Preparing Live Stream for Front Door
[10/1/2020, 9:57:36 AM] [Ring] Failed to parse SDP from Ring
[10/1/2020, 9:57:36 AM] [Ring] v=0
o=Wantajobinstead? 1529310922 1529310923 IN IP4 
s=Wantajobinstead?
c=IN IP4 44.235.35.228
t=0 0

m=audio 38324 RTP/SAVPF 0
a=rtpmap:0 PCMU/8000
a=rtcp:46418 IN IP4 44.235.35.228
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:QVQGQfj0TThGfYCKqrWYv+pzUKBPLLOxC1zXrzBI
a=ptime:20

m=video 62262 RTP/SAVPF 99
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=42000a
a=rtcp:43954 IN IP4 44.235.35.228
a=rtcp-fb:99 nack
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:4T9a7kZ/7oNY6Cavr5UmnaAnP8+LGA0HxrWosgz6

[10/1/2020, 9:57:36 AM] [Ring] Failed to prepare stream for Front Door (1.069s)
[10/1/2020, 9:57:36 AM] [Ring] TypeError: Cannot read property 'match' of undefined
    at getRtpDescription (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:24:54)
    at parseRtpDescription (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:36:16)
    at SipCall.<anonymous> (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:204:20)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:5:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
[10/1/2020, 9:57:42 AM] [Ring] Preparing Live Stream for Front Door
[10/1/2020, 9:57:43 AM] [Ring] Failed to parse SDP from Ring
[10/1/2020, 9:57:43 AM] [Ring] v=0
o=Wantajobinstead? 1529310922 1529310923 IN IP4 
s=Wantajobinstead?
c=IN IP4 44.235.35.228
t=0 0

m=audio 19054 RTP/SAVPF 0
a=rtpmap:0 PCMU/8000
a=rtcp:56380 IN IP4 44.235.35.228
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:k0EZGJrcXgLXar72j8lf91HzHb6qik2LpNOsloLI
a=ptime:20

m=video 13276 RTP/SAVPF 99
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=42000a
a=rtcp:19958 IN IP4 44.235.35.228
a=rtcp-fb:99 nack
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WMHjyKGIL4eYwPyafK1ITp5blZ5V3vnivFiZsGW/

[10/1/2020, 9:57:43 AM] [Ring] Failed to prepare stream for Front Door (0.405s)
[10/1/2020, 9:57:43 AM] [Ring] TypeError: Cannot read property 'match' of undefined
    at getRtpDescription (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:24:54)
    at parseRtpDescription (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:36:16)
    at SipCall.<anonymous> (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:204:20)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\XXX\AppData\Roaming\npm\node_modules\homebridge-ring\lib\api\sip-call.js:5:58)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
[10/1/2020, 11:14:51 AM] [Ring] Front Door Detected Motion. Loading snapshot before sending event to HomeKit
[10/1/2020, 11:25:12 AM] [Ring] Front Door Detected Motion. Loading snapshot before sending event to HomeKit
[10/1/2020, 11:29:27 AM] [Ring] Front Door Detected Motion. Loading snapshot before sending event to HomeKit
earlthesquirrel commented 3 years ago

FYI -- After the latest update to Homebridge, I lost connectivity to Homekit (at least via the Home App) I just went thru a full restore, everything from scratch. I still receive the error, so as another data point, starting from scratch doesn't fix it... Not sure that helps but figured I'd share.

eddiem5 commented 3 years ago

I updated to the 9.10.0 version just released yesterday and am still seeing the issue with the camera's failing. Love HOOBS, Love the Ring Plugin - Weird thing is the camera's often work on my iPad but rarely on my iPhone and/or Mac.

10/2/2020, 6:47:14 PM [Ring] Preparing Live Stream for Driveway 10/2/2020, 6:47:15 PM [Ring] Failed to parse SDP from Ring 10/2/2020, 6:47:15 PM [Ring] v=0 o=Wantajobinstead? 1529310922 1529310923 IN IP4 s=Wantajobinstead? c=IN IP4 44.241.114.161 t=0 0

m=audio 43142 RTP/SAVPF 0 a=rtpmap:0 PCMU/8000 a=rtcp:44893 IN IP4 44.241.114.161 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:SnMol1qNp7Aoo/xVxxnBPPHgiqcHgS6kDMs3PN/a a=ptime:20

m=video 31538 RTP/SAVPF 99 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42000a a=rtcp:24965 IN IP4 44.241.114.161 a=rtcp-fb:99 nack a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:5i9IOV5idSyLBtefI22+EU1lOuKVXjEmiUeITzzo 10/2/2020, 6:47:15 PM [Ring] Failed to prepare stream for Driveway (0.752s) 10/2/2020, 6:47:15 PM [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) 10/2/2020, 6:47:23 PM [Ring] Preparing Live Stream for Main Floor 10/2/2020, 6:47:23 PM [Ring] Stream Prepared for Main Floor (0.719s) 10/2/2020, 6:47:23 PM [Ring] Received stream data from Main Floor (0.78s) 10/2/2020, 6:47:23 PM [Ring] Streaming active for Main Floor 10/2/2020, 6:47:28 PM [Ring] Stopped Live Stream for Main Floor 10/2/2020, 6:47:29 PM [Ring] Preparing Live Stream for MasterPorch 10/2/2020, 6:47:30 PM [Ring] Failed to parse SDP from Ring 10/2/2020, 6:47:30 PM [Ring] v=0 o=Wantajobinstead? 1529310922 1529310923 IN IP4 s=Wantajobinstead? c=IN IP4 44.239.5.94 t=0 0

m=audio 40966 RTP/SAVPF 0 a=rtpmap:0 PCMU/8000 a=rtcp:20484 IN IP4 44.239.5.94 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:eDRBglBEMNro2qyViufYtYlOdQEW4aLscTb7s3hZ a=ptime:20

m=video 53791 RTP/SAVPF 99 a=rtpmap:99 H264/90000 a=fmtp:99 profile-level-id=42000a a=rtcp:58612 IN IP4 44.239.5.94 a=rtcp-fb:99 nack a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:vyvyWybTptgoddzRNPg2X7Oav3J6H+AYu+sBZaut 10/2/2020, 6:47:30 PM [Ring] Failed to prepare stream for MasterPorch (1.014s) 10/2/2020, 6:47:30 PM [Ring] TypeError: Cannot read property 'match' of undefined at getRtpDescription (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:24:54) at parseRtpDescription (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:36:16) at SipCall. (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:204:20) at Generator.next () at fulfilled (/home/hoobs/.hoobs/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5)

dgreif commented 3 years ago

There was not a fix for this issue in 9.10.0. I'm still working on possible solutions, and will try some more ideas tomorrow. It would be helpful is someone could share access to one of the effected cameras if you have one that isn't in a private area. I only need one, so please respond if you do share so that I don't get access to 15 cameras :grin:. My email is dustin.greif@gmail.com

@earlthesquirrel if you are seeing this error (TypeError: Cannot read property 'match' of undefined), then resetting homebridge won't help. I have to find a way to connect to Rings new media servers and I don't have a working solution quite yet.

dgreif commented 3 years ago

Got access to an effected camera. Should have some time to dive in again tomorrow morning

adk749 commented 3 years ago

Dusty, thanks for looking into this! Very frustrating that it is not working. Your time is greatly appreciated!

ios-oli commented 3 years ago

If you need further examples, I can also provide access to 5 cameras:

adk749 commented 3 years ago

I hope access to those cams proved helpful to Dusty.

iANGELgr commented 3 years ago

Thanks for the answer to my problem at #466 I send you email to give you access to my video doorbell pro to help your progress if you want ;)

adk749 commented 3 years ago

Any updates? Go, Dusty, Go!!

dgreif commented 3 years ago

I appreciate the enthusiasm! I had a fair amount of time over the past two weekends to dive in, and I have the code as close as I can get it. Unfortunately, Ring has some magic trick that I haven't figured out yet to trigger the media to flow on these new servers. I have a couple more long-shot ideas that I'll try out over the next week, but I'm guessing this will end with me reaching out directly to Ring for help. So far they have been open to talking with me, but have not actually been willing to tell me anything useful. If I'm not able to get it figured out and Ring is unwilling to help, I'm not sure live streams will be restored for the cameras that are currently broken 😞 . I'll post back here as soon as I have an update.

Locking this thread for now to prevent a further spiral of "I have this issue too" comments.

dgreif commented 3 years ago

Still haven't gotten streams working with the new media servers, but I have made some progress with Ring. I reached out to Ring directly and have gotten through to some engineers for the first time. They started looking into my issue on Wednesday night, but I haven't heard anything back since then. Will update here when I do.

dgreif commented 3 years ago

Heard back from Ring today and they helped me identify the last detail that I had wrong. I'm now able to get a stream from the new media servers! I'll need to do some cleanup in the code, but should have an update out by this weekend to get everyone back online. Thank you all for your patience, and huge thanks to Ring for support in tracking down the issue.

dgreif commented 3 years ago

Alright, all cameras should be working again in v9.12.0. Give it a try and give this comment a 👍 if it's working! Thank you all for your patience and huge thanks to Ring for helping track this one down.

anthonyallure commented 3 years ago

I thought my issue with the Ring cameras was this issue as they all suddenly stopped working one day, so I was just waiting for an update as I'm pretty new to Homebridge and not great at coding lol.

But, it seems my issue affects all cameras I have on Homebridge; one on FFMPEG, my Nest Camera and all 5 of my Ring cameras.

Here is the log of what seems to happen - would anyone be so kind as to point me in the direction of fixing this as it used to work great.

[10/17/2020, 11:19:22 PM] [Camera FFmpeg] [Cars] Starting video stream: 1280 x 720, 30 fps, 299 kbps [10/17/2020, 11:19:26 PM] [Camera FFmpeg] [Cars] FFmpeg exited with code: null and signal: SIGABRT (Unexpected) [10/17/2020, 11:19:52 PM] [Camera FFmpeg] [Cars] Stopped video stream. [10/17/2020, 11:20:53 PM] [Camera FFmpeg] [Cars] Starting video stream: 1280 x 720, 30 fps, 299 kbps [10/17/2020, 11:20:55 PM] [Camera FFmpeg] [Cars] Device appears to be inactive. Stopping stream. [10/17/2020, 11:20:55 PM] [Camera FFmpeg] [Cars] Stopped video stream. [10/17/2020, 11:20:59 PM] [Ring] Preparing Live Stream for Drive [10/17/2020, 11:20:59 PM] [Ring] Stream Prepared for Drive (0.5s) [10/17/2020, 11:20:59 PM] [Ring] Streaming active for Drive (node:1047) UnhandledPromiseRejectionWarning: Error: SIP request made after call was destroyed at SipCall.request (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:115:35) at SipCall.sendKeyFrameRequest (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:186:21) at SipCall. (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:214:24) at Generator.next () at fulfilled (/usr/local/lib/node_modules/homebridge-ring/lib/api/sip-call.js:5:58) (node:1047) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12) [10/17/2020, 11:21:29 PM] [Ring] Stopped Live Stream for Drive

dgreif commented 3 years ago

@anthonyallure would you mind enabling the debug option for the plugin and opening a new GitHub issue? Please fill out the issue template as it will give me more context into what might be causing your issue

anthonyallure commented 3 years ago

Sure - thanks so much for your help! I'll do that :-) Thanks again!

volcore79 commented 3 years ago

It works now :-)

fallingrock commented 3 years ago

Working well for me. Small token of my thanks on its way to you @dgreif.

ios-oli commented 3 years ago

It works!! Amazing!! Huge thanks and appreciation for all your hard work! :-) @dgreif