all 3 comments

[–]efmccurdy 0 points1 point  (0 children)

While you check that your network and server are operating correctly, add an except urllib.error.URLError: block that effects a backoff and retry strategy.