# Rest admin api error

**URL:** <https://community.shopify.com/t/rest-admin-api-error/284042>\
**Category:** Extensions\
**Tags:** troubleshooting\
**Created:** [January 11, 2024, 2:26am UTC](https://community.shopify.com/t/rest-admin-api-error/284042 "2024-01-11T02:26:11Z")\
**Posts on this page:** 3\
**Page:** 1

## AI-generated summary

Connection failures to Shopify’s REST Admin API from a specific server, returning: “cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL” when connecting to carpetsall.myshopify.com:443.

- Context: The PHP code previously worked. The same code and environment succeed on a different server, pointing to a server-specific/environmental issue rather than an API-wide outage.
- Error detail: cURL error 35 typically indicates an SSL/TLS handshake or transport-layer problem between OpenSSL and the remote host. An attached screenshot (image) shows the error and is central to the report.

- Responses: A responder suggests an environmental cause and asks whether the issue reoccurs. Another participant reports the same problem and asks how it was resolved.

- Status/outcome: No confirmed fix or root cause provided. Discussion remains open. Key unresolved question: which server/network or TLS/OpenSSL configuration on the affected host is causing the SSL handshake failure with Shopify.

<div class="post-metadata">

**Author:** ![wandows](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@wandows](https://community.shopify.com/u/wandows)\
**Post date:** [January 11, 2024, 2:26am UTC](https://community.shopify.com/t/rest-admin-api-error/284042/1 "2024-01-11T02:26:11Z")

</div>

I am using the remaining management APIs, PHP language, and previously valid code. However, I suddenly couldn’t connect and displayed an error message as follows:

Curl failed 35: OpenSSL SSL\_connect: SSL\_ERROR\_SYSCALL in connection to [Carpetsall.myshopify.com:443](http://Carpetsall.myshopify.com:443)

Why does Shopify refuse to access my server?

PS:After switching to a different server, the same environment and code ran normally

 ![微信图片_20240110215953.png](https://canada1.discourse-cdn.com/shopifyforum/original/3X/0/3/038d6b63e2d8dd1800bc9af844d330c485cc511f.png)

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/liam/32/223867_2.png) [@Liam](https://community.shopify.com/u/Liam)\
**Post date:** [January 11, 2024, 2:28pm UTC](https://community.shopify.com/t/rest-admin-api-error/284042/2 "2024-01-11T14:28:18Z")

</div>

Hi Wandows,

It sounds like there could have been some environmental issue causing this - have you seen this reoccur?

---

<div class="post-metadata">

**Author:** ![ocean3](https://avatars.discourse-cdn.com/v4/letter/o/97f17d/32.png) [@ocean3](https://community.shopify.com/u/ocean3)\
**Post date:** [January 19, 2024, 7:15am UTC](https://community.shopify.com/t/rest-admin-api-error/284042/3 "2024-01-19T07:15:44Z")

</div>

I also encountered the same problem. How did you solve it?
