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

Better error reporting in case of DNS issues #241

Open
dhofverberg opened this issue Jun 21, 2015 · 3 comments
Open

Better error reporting in case of DNS issues #241

dhofverberg opened this issue Jun 21, 2015 · 3 comments

Comments

@dhofverberg
Copy link

Quite often I get errors when downloading from TV3 Play, and sometimes SVT Play as well. The errors are never consistent, so when trying again it never fails on the same place. This is how it looks like:

INFO: Outfile: revenge-avsnitt-22-tv3-play.srt
INFO: Selected to download hls, bitrate: 2796
INFO: Outfile: revenge-avsnitt-22-tv3-play.ts
[064/248][===========..................................] ETA: 0:08:45ERROR: Cant
find that page: [Errno 11004] getaddrinfo failed

Example URL: http://www.tv3play.se/program/revenge/619577?autostart=true

The problem does not appear to be specific to select episodes or shows, as it happens occasionally on all videos I tried with. I have never been able to reproduce the problem in a consistent manner, as it seems to be random whether it happens or not.

Any ideas why this is, or if it's possible to do something about it?

@Sopor
Copy link
Contributor

Sopor commented Jun 21, 2015

Sounds like a bad Internet connection. I have already reported a similar issue but it was on SVTPlay.

@dentarg
Copy link
Collaborator

dentarg commented Jul 27, 2015

Maybe svtplay-dl should catch "getaddrinfo failed" and print useful debugging information when it happens

@olof
Copy link
Collaborator

olof commented Oct 25, 2015

Yeah, maybe. But would be useful with a full stacktrace. When this happens, is it reproducible? If so, could you rerun with --verbose? (i reread the original report, no it wasn't reproducible) Also, this was prior to the requests rewrite I think, how is it working now?

@olof olof changed the title Occasional errors with getaddrinfo Better error reporting in case of DNS issues Oct 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants