-
Notifications
You must be signed in to change notification settings - Fork 101
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
Should be able to recover from tcp errors #190
Comments
I suspect what is occurring is there is a DNS timeout when util.go DownloadData calls client.get during the hourly update interval, and the resulting error bubbles up in a way that everything stops. Perhaps a retry loop could be added around this call just in case the abnormal network condition fixes itself within three or four tries (which in my case it does). |
Any solution for this yet? I tried a few things, but testing appears to be a bit difficult, as disconnecting the device from internet doesn't cause this error, and instead resumes without issues. |
I just observed this for the first time, but oddly it was only the video portion that stopped downloading, while audio was unaffected. That said, I think that's a separate issue from this. |
Very frequently ytarchive hits a network error of some sort. Network interruption is typically only a matter of seconds, but it causes ytarchive to immediately stop the download in progress and begin final muxing when the stream in progress hasn't actually ended. ytarchive should instead attempt to retry and resume the download. This can also occur following the timer for waiting for stream to start, in which case the download never starts despite the stream being live.
Running v0.4.0 (Aug 20, 2023) on Windows 11 23H2.
See the following output:
The text was updated successfully, but these errors were encountered: