Capture of python exception

raise MaxRetryError (_ pool, url, error or ResponseError (cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool (host="XXXXX.com", port=443): Max retries exceeded with url: / proapi/user_device (Caused by NewConnectionError ("< urllib3.connection.VerifiedHTTPSConnection object at 0x107ec2a20 >: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known",))

try:  response=requests.get(url,headers=headers,cookies=self.cookies,proxies=get_ip_content())
        except (ConnectionError), e:
            print e-sharp-sharp-sharp 



Mar.25,2021

doesn't know what you're going to do.


the server reports an error. Please write down the error report in more detail and try to access the domain name directly

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ef37-2c447.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ef37-2c447.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?