Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Help with Error #503
#2
The problem is that you are doing zero error handling.  urllib.request.urlopen() will throw an exception (HTTPError) when the remote web server returns an error, such as 503.  You need to catch the exception and handle it appropriately.
Reply


Messages In This Thread
Need Help with Error #503 - by HiImNew - Dec-29-2017, 12:55 AM
RE: Need Help with Error #503 - by mpd - Dec-29-2017, 01:10 AM
RE: Need Help with Error #503 - by HiImNew - Dec-29-2017, 01:12 AM
RE: Need Help with Error #503 - by mpd - Dec-29-2017, 01:18 AM
RE: Need Help with Error #503 - by Larz60+ - Dec-29-2017, 04:31 AM
RE: Need Help with Error #503 - by HiImNew - Dec-29-2017, 05:59 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020