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

[BUG] The Ring device with Id "unknown" could not be found #29

Open
blackverde opened this issue Aug 24, 2024 · 9 comments
Open

[BUG] The Ring device with Id "unknown" could not be found #29

blackverde opened this issue Aug 24, 2024 · 9 comments
Assignees
Labels
Reviewing Item is being reviewed

Comments

@blackverde
Copy link

blackverde commented Aug 24, 2024

Describe the bug
In Windows 10 version and Mac, I downloaded ringdownloaded 4.0

But when I run The command I have next issues
image

Versions (please complete the following information):

  • OS: Windows 10, Mac
  • RingRecordingDownload: 4.0
@blackverde blackverde added the Reviewing Item is being reviewed label Aug 24, 2024
@blackverde blackverde changed the title [BUG] Brief description [BUG] The Ring device with Id "unknown" could not be found Aug 25, 2024
@abulsme
Copy link

abulsme commented Aug 29, 2024

I'm still getting these regularly too, but with successful downloads both before and after. But it looks like the same videos that fail if I try again. So some problem with the individual videos maybe?

@blackverde
Copy link
Author

blackverde commented Sep 12, 2024

The problem is with all the videos, I try different days, and different ranges and the result is always the same. The "unkown" seems like some casting or conversion error. Even with different PCs and different ring devices.

@blackverde
Copy link
Author

I have debugged the project and this request for example fails:
Request:
https://api.ring.com/clients_api/dings/7413806503440862020/share/download?disable_redirect=true
Response:
{StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Date: Thu, 12 Sep 2024 22:32:34 GMT
Connection: keep-alive
X-XSS-Protection: 1; mode=block
Strict-Transport-Security: max-age=10886400; includeSubDomains; preload
Server: api.ring.com api-sreqs.ring.com
x-upstream-resp: 404
Server-Version: 0b608e9059b88d30e86e6ee18877730162ed4ee8
X-Request-ID: fd5f742d7dd16ee43cbb85494685fada
Server-Region: us-east-1
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Content-Type: application/json
Content-Length: 53
}}

@blackverde
Copy link
Author

I found this link, apparently you need to have an active subscription
jimhigson/ring-api#12

@blackverde
Copy link
Author

Maybe controlling this error and displaying a custom message would be great.

@abulsme
Copy link

abulsme commented Sep 14, 2024

I definitely have examples where I get this failure on some videos but not others. Example from a few moments ago:

Ring Recordings Download Tool v4.0.0.0 by Koen Zomers

Connecting to Ring services
Got Refresh token at 09/13/2024 19:41:47
Authenticating using refresh token from previous session
Got Refresh token at 09/13/2024 19:41:47
Got Refresh token at 09/13/2024 19:41:49
Downloading all historical events between Thursday 1 August 2024 00:00:00 and Saturday 31 August 2024 23:59:59 for Ring device XXXXXXXXX
888 items found, downloading to /home/abulsme/RingPorchBUP
1 - 2024-08-31 22-45-15 (7409546647184476575).mp4... done (6 MB)
Waiting for 0 seconds before continuing...
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 2/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 3/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 4/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 5/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 6/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 7/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 8/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 9/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Retrying 10/10.
2 - 2024-08-31 20-52-49 (7409518038407317919).mp4... failed (The Ring device with Id 'unknown' could not be found). Giving up.
Waiting for 0 seconds before continuing...
3 - 2024-08-31 20-03-10 (7409504878627522975).mp4... done (7 MB)
Waiting for 0 seconds before continuing...
4 - 2024-08-31 19-54-07 (7409502546460281247).mp4... done (7 MB)
Waiting for 0 seconds before continuing...
5 - 2024-08-31 19-45-26 (7409500308782320031).mp4... done (6 MB)
Waiting for 0 seconds before continuing...
6 - 2024-08-31 19-23-16 (7409494596475816351).mp4... done (7 MB)
Waiting for 0 seconds before continuing...
7 - 2024-08-31 19-12-18 (7409492169819294111).mp4... done (5 MB)
Waiting for 0 seconds before continuing...
8 - 2024-08-31 19-04-55 (7409489867716823455).mp4... done (5 MB)
Waiting for 0 seconds before continuing...
9 - 2024-08-31 17-03-55 (7409458686254254495).mp4... done (6 MB)
Waiting for 0 seconds before continuing...
10 - 2024-08-31 17-03-24 (7409458553110268319).mp4... done (4 MB)
Waiting for 0 seconds before continuing...

Maybe there is more than one cause for this error.

If I repeat the command, it succeeds and fails on exactly the same videos, indicating it isn't something intermittent.

@blackverde
Copy link
Author

Basically we get that error when this file is not found on the server when trying to download it. It must be some kind of security imposed by Ring so that you can't download without paying.

@blackverde
Copy link
Author

Although it is curious that some of your files are allowed, I don't know what the pattern would be.

@abulsme
Copy link

abulsme commented Sep 14, 2024

In my case, I do have an active paid account, so I am guessing those files may be missing for other reasons. Now, no idea what those reasons are. Maybe a zero length file that never got uploaded to Ring properly or something? Or a corrupted file? Not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reviewing Item is being reviewed
Projects
None yet
Development

No branches or pull requests

3 participants