CURL ERROR OPENSSL CONNECT: SSL_ERROR_SYSCALL IN CONNECTION API.BINANCE.COM:443

HI TEAM

Facing this Curl error when we hitting /fapi/v1/klines and In spot also same issue with api v3/klines any idea what will be the issue?

Hi,

Could you give more details, such as request query string, response and if this issue happens on other endpoints, to better diagnose the issue?

Thanks for your response

I am trying to hit the KLINE candlestick API for getting OHLC price for both SPOT and FUTURES Symbols during that i am facing this error and i am facing this error till yesterday night before it was good.

Is there any possibility of IP block due to multiple time hitting the KLINES API?
I am trying to hit this API multiple time to collect historical data also from year 2020 and 2021 and in today data .

E.g. in 5 mins of time i will hit KLINE API for 6 times (2020 spot, 2020 FUT and 2021 January data SPOT and 2021 January data FUT and today data) whether this will leads to block IP? What is the process to unblock API? How i can validated it’s get unblocked?

This might be a known issue of curl and openssl integration. Here is a workaround provided in the discussion on curl github issue: https://github.com/curl/curl/issues/4684

Btw, if you are collecting the historical data, please take a look at the data collection here. ( https://data.binance.vision/ ) If you prefer executing the scripts to download it, public-data github repo ( https://github.com/binance/binance-public-data ) maybe helpful too.

1 Like

Thanks for your response :slight_smile: