Closed jaw20 closed 7 years ago
Same with me. I also got this problem after downloading video with hls.
The problem is that the streaming server sometimes just likes to random kill connections, which is why the existing restart logic exists in first place. There is just no logic to retry connects as well.
I try download again and compare with the old download, the video stop at same time and have same size.
Can you give me an URL to try to reproduce this?
Yea sure, Try the script with this link: http://www.crunchyroll.com/rezero-starting-life-in-another-world-/episode-12-return-to-the-capital-702423
@jaw20 works fine here.
Hmm... Is it possible that it only occurs after downloading episodes for a period of time @jsonn ? I know that for when it stops downloading, it stops in different places every single time, but the error effects all downloads. (as in trying to download a different episode doesn't help)
Additionally you could just increase the time it takes to Timeout in the restart script. (I'll test some possible solutions later today)
When I start downloading a show, the script runs fine, but about half way through the script errors out saying,
ssl.SSLError: ('The read operation timed out',)
. This is after the most recent update to the script. (also is it possible to make it so that if hls fails it automatically rolls over to rtmp, and redownloads the video? maybe try/except code where if an error is returned it immediately switches to code that runs only rtmp, sort of like #84 )Full Trace Back