Same Api, different environment, different result

Topic summary

Same Shopify Admin API request returns different results across environments: it succeeds locally but fails from a cloud server with a connection error.

Key question: whether Shopify is refusing connections from the cloud server.

Noted difference: the failing environment uses a significantly older cURL/lib stack and different SSL library (NSS vs OpenSSL) compared to the working local setup.

Outcome/status: No resolution provided yet; the thread remains open with the cause undetermined and no confirmed actions taken.

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

Hello everyone,

same API : xxxxx.myshopify.com/admin/api/2021-07/products.json?limit=200&created_at_min=2024-01-28T00:00:00+0800

On my local computer, send request to the api with CURL, it works.

curl version is:

curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

but, send request to the same api with CURL on my cloud server, it error, error message is: CURL(35) connect error

curl version is:

curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

Why does Shopify refuse to access my server?