The resource loading... loading...

How to handle 504 error

Author: allenfrostline, Created: 2018-06-27 21:52:54, Updated:

The following:

GetTicker: 504: <html> <head><title>504 Gateway Time-out</title></head> <body bgcolor="white"> <center><h1>504 Gateway Time-out</h1></center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

This situation (including the 502 error) has occurred many times before, and I'm using the py policy to do this.try...except...If you can't handle it, the robot will just hang up. Is there a way?


More

allenfrostlineI see, is it better to have a null value for other visits like GetAccount?

Inventors quantify - small dreamsThe cause of the bot stopping should have been that the GetTicker access returned a null value, which caused the error return to stop later using this null value property. For example, ticker = GetTicker (((), ticker gets to the empty value, then retrieve it again. (Robot Programs will stop if there is an error while running, not offline. GetTicker: 504: 504 Gateway Time-out</text> This error log message should have a message at the top.)