API ERROR

Topic summary

API call to Shopify’s endpoint /admin/api/2022-01/orders.json?status=any&limit=1 failed with an SSL handshake error: “HTTPSConnectionPool… Max retries exceeded… SSLError (bad handshake: SysCallError(-1, ‘Unexpected EOF’)).”

Technical notes: The SSL handshake is the process that establishes a secure HTTPS connection. “Unexpected EOF” indicates the connection closed abruptly. “HTTPSConnectionPool” with “Max retries exceeded” means multiple connection attempts failed.

Possible causes suggested: outdated SSL/TLS library, issues with the server’s SSL certificate, client-side problems establishing a secure connection, intermittent network connectivity or a bad route, and firewall/security software interfering with the handshake.

No resolution yet. Suggested next steps: update/verify SSL/TLS libraries, check certificate validity and configuration, test network stability and routes, and review firewall/proxy settings that may block or inspect SSL. Discussion remains open.

Summarized with AI on January 7. AI used: gpt-5.

Hello, when I called the API today, the interface returned the following error: , what is the reason for this?

HTTPSConnectionPool(host=‘pupupulakids.myshopify.com’, port=443): Max retries exceeded with url: /admin/api/2022-01/orders.json?status=any&limit=1 (Caused by SSLError(SSLError(“bad handshake: SysCallError(-1, ‘Unexpected EOF’)”)))

Hi Lee,

This sounds like it could be related to issues in the network communication between your application and the Shopify API. This can be due to a variety of reasons like an outdated SSL library, issues with the SSL certificate on the server, or problems with your client’s ability to establish a secure connection. Sometimes, network-related problems like intermittent connectivity or a bad network route can cause these errors. Another possibility is that there’s a firewall or security software on your network or computer, which might be interfering with the SSL handshake process.