502 Bad Gateway Error During Open Orders Query (Futures Testnet)

I’m experiencing a critical issue with the Binance Futures Testnet API that’s blocking our automated trading system testing. Here are the key details:

  1. Error Details:
  • Endpoint: GET /fapi/v1/openOrders
  • Error: 502 Bad Gateway
  • First Occurrence: 2025-03-20 19:05:36 UTC
  • Current Status: Ongoing for 9+ hours (as of 2025-03-21 04:15 UTC)
  1. Important Context:
  • The system was working flawlessly for weeks before this error suddenly occurred.
  • No changes were made to our code or configuration prior to the error.
  • The issue affects only this specific endpoint; other endpoints are working normally.
  1. Error Message Received:
502 Bad Gateway

502 Bad Gateway

Sorry for the inconvenience.
Please report this message and include the following information to us.
Thank you very much!

URL: http://testnet.binancefuture.com/fapi/v1/openOrders?timestamp=1742531932864&recvWindow=60000&signature=976f2d65c4e405e421b7f5cde58d9365f8bb8a6ca2cfd1a0ebf4a3b57a03515d
Server: tk_prod_dispatcher_pg
Date: 2025/03/21 04:38:52

Powered by Bengine
tengine

{‘Content-Type’: ‘text/html’, ‘Content-Length’: ‘722’, ‘Connection’: ‘keep-alive’, ‘Date’: ‘Fri, 21 Mar 2025 04:38:52 GMT’, ‘Server’: ‘Bengine’, ‘Access-Control-Allow-Origin’: ‘*’, ‘Access-Control-Allow-Methods’: ‘GET, POST, PUT, DELETE, OPTIONS’, ‘X-Cache’: ‘Error from cloudfront’, ‘Via’: ‘1.1 48bf5adc2925386f020a8608d1c7edbe.cloudfront.net (CloudFront)’, ‘X-Amz-Cf-Pop’: ‘NRT20-C3’, ‘X-Amz-Cf-Id’: ‘g29px2j7mAzf-33_2RXz4Yn1WSTNbC67OzKhpWL4QWkjYLbGQfl6Mw==’}

Hi,
I have been getting the same error for about 2 days now.

502 Bad Gateway

502 Bad Gateway

Sorry for the inconvenience.
Please report this message and include the following information to us.
Thank you very much!

URL: http://testnet.binancefuture.com/fapi/v1/openOrders?timestamp=1742706748533&recvWindow=60000&signature=c2580fb403fc6ac61693121503cc63edde734f6df4ece174976276d23d665428
Server: tk_prod_dispatcher_pg
Date: 2025/03/23 05:12:38

Powered by Bengine
tengine

那你边目前恢复正常了吗?我也遇到了同样的问题

The issue occurs consistently, even though it briefly resolves, but then continues to happen. Does Binance team are currently performing maintenance on the futures testnet?

Hi, it doesn’t work again

(post deleted by author)

Me too:
RuntimeError: Failed to fetch open orders: binance GET https://testnet.binancefuture.com/fapi/v1/openOrders?timestamp=1742735838498&signature=06238f7a64a3f3e9e24aeeac9533ecab2859c7b0884df171dee6fe38adbf7bb1 502 Bad Gateway

Hey,
Could you retry it?
It seems there was a temporary issue on the API side when you made that request, but it looks back to normal now.

Hi @albin,
It’s not working again! Since 2025-03-25 05:33 UTC, the same issue has been occurring consistently.

I just want to confirm that this issue will not occur in the production environment.

Error message:

(502, '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\r\n<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>http://testnet.binancefuture.com/fapi/v1/openOrders?recvWindow=5000&amp;timestamp=1742881594285&amp;signature=ba0d5338023b187fd652c727fd9e9c6d5ee78a24a562f00da6f168621d2b82a8</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>tk_prod_dispatcher_pg</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2025/03/25 05:46:34</td>\r\n</tr>\r\n</table>\r\n<hr/>Powered by Bengine<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n')

It was working yesterday but today it’s the same!!! :((((