Solved

Rest Api Timeout Error

BoxBo
Shopify Partner
3 0 1

I tried both version 2022-04 and 2022-07 but both received below error start today 5PM 08/26

 

Failed to connect to xxxxx.myshopify.com port 443 after 127339 ms: Connection timed out

 

How do I fix this issue?

Accepted Solution (1)
aars
Shopify Partner
4 1 0

This is an accepted solution.

Shoot me a DM if you want, and I'll send you screenshot of what he did.

View solution in original post

Replies 13 (13)

aars
Shopify Partner
4 1 0

Exact same issue here, started a few hours ago.

 

curl: (7) Failed connect to xxxx.myshopify.com:443; Connection timed out

 

My server guys are stumped. Nothing has changed on our server and the firewall looks fine from what we can see. What have you done so far? 

aars
Shopify Partner
4 1 0

I'm back in action btw. The Shopify IP was blocked as it was behaving in "a malicious manner" according to server admin. 

BoxBo
Shopify Partner
3 0 1

my server provider did a test and said our ip address was blocked by Shopify.

aars
Shopify Partner
4 1 0

My server guy did find the block on our server and removed it. They initially said it was on Shopify's end too. 

aars
Shopify Partner
4 1 0

This is an accepted solution.

Shoot me a DM if you want, and I'll send you screenshot of what he did.

Dhiraj_C
Shopify Partner
11 0 0

Send me the solution please. I am having same issue of curl timeout

kishan_gohel
Shopify Partner
9 0 4

Can you pls send the solution here? It will be very grateful for us. I have been trying to solve this issue for ages. However, it fails to get access tokens via REST API in the server. However, it's working in the local environment. Please share the solution asap. Thanks in advance!

ZTippetts
Visitor
1 0 0

Hi Aars
I can't get a DM to you for some reason so I'm writing here. Can you please tell me how to fix this issue?

Thanks

kishan_gohel
Shopify Partner
9 0 4

Hello developers,

After many tries to resolve this issue, I found an ultimate solution. I recently changed my VM and it resolved the issue of time out. Still, determining what exactly the problem was with the previous VM, but it solved my problem.

Still, I cannot find out what is the root cause of this time-out issue. I came back after some months to see if anyone posted the root cause or not.
Eager to know more.   

BoxBo
Shopify Partner
3 0 1

For future if any one has this issue please make sure whitelist Shopify ip address

jupagar77
Shopify Partner
2 0 0

Hi, we are facing the exact same error but in our case is completely random it happens out of nowhere sometimes gives timeout and sometimes it works, this is driving me crazy. 

SherpasDesign
Shopify Expert
55 0 23

Did you find the cause of these timeouts or any solution?

jupagar77
Shopify Partner
2 0 0

Hi, we ended up moving the list products calls from REST to GRAPHQL, it seems that change impacted the amount of calls we were doing and Shopify stopped giving us time outs.