504のエラーを処理する

作者: リン・ハーンアレン・フロストライン作成日: 2018-06-27 21:52:54,更新日:

フォローしている:

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 -->

この問題は502のエラーを含めて,何度も起こっています.try...except...操作できない場合,ロボットはすぐにオフラインになります.何か方法がありますか?


もっと

アレン・フロストラインこれは,GetAccountのような他のアクセスでも,空白値が間違えるようにすれば良いのでしょうか?

小さな夢ロボットが停止する原因は,GetTicker アクセスが空値を返し,この空値の属性が後に使用されるため,返信が停止するエラーである. getTickerに対してエラー処理をします.例えば ticker = GetTicker (((), ticker が空値を取得すると,再び取得します. ロボット プログラム 実行時にエラーがある場合は停止する. 接続停止ではなく. GetTicker: 504: 504 Gateway Time-out</ This error log message should have a message at the top. ]