gateio / gateapi-python

247 stars 92 forks source link

500 Internal Server Error #64

Closed HFLeon closed 3 years ago

HFLeon commented 3 years ago

最近时有发生这样的500错误 ERROR Gate api exception, label: SERVER_ERROR, message: Internal server error

`ERROR Exception when calling MarginApi->get_cross_margin_account: (500) Reason: Internal Server Error HTTP response headers: HTTPHeaderDict({'Date': 'Tue, 29 Jun 2021 04:09:50 GMT', 'Content-Type': 'text/html', 'Content-Length': '174', 'Connection': 'keep-alive', 'Server': 'openresty'}) HTTP response body:

500 Internal Server Error

500 Internal Server Error


openresty

`

HFLeon commented 3 years ago

repay_cross_margin_loan 一直500 是挂了吗?

QQ20210630-164120@2x
revilwang commented 3 years ago

这个问题我们确认下

revilwang commented 3 years ago

麻烦提供下具体的还款参数?

revilwang commented 3 years ago

有一种可能是提供的 amount 参数格式是科学技术法,可以先尝试检查下输入的参数是否存在类似的情况

HFLeon commented 3 years ago

currency='fil', amount=8.261830242682716

revilwang commented 3 years ago

最近的请求是否恢复正常?

HFLeon commented 3 years ago

最近一小时没发现异常,这个是什么原因呢?

HFLeon commented 3 years ago

但现在 get_cross_margin_account 500

QQ20210630-180546@2x
revilwang commented 3 years ago

应该已经恢复了,现在还会继续有 server_error 吗

HFLeon commented 3 years ago

恩,目前没有了,这两个是什么情况呢?

revilwang commented 3 years ago

全仓杠杆引擎出现了瓶颈,导致一段时间的请求没有正常处理,大概在北京时间 6 月 30 号下午 6 左右恢复了

HFLeon commented 3 years ago

好的,谢谢