Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

CURL returns connection time out

CURL returns connection time out

jbdejoya
Visitor
2 0 1

Hello there,

I have a private app using php to get Order details using Php CURL. 

 

$variantvalue="/admin/orders.json?name=".$ordernum."&status=any";
$sc=$this->SetCredentials($shop);
$orderdata = $sc->call('GET',$variantvalue);

 

I am getting CURL exception connection timed out. Curl default time out is set to 30 i changed it to 60, 90 still the same.  This code was working up until yesterday.    If i try to run same code from my local (localhost) connecting to shopify the CURL work fine. It is an issue from my app hosting server (Dream host).

 

Due to this my client could not use the app.

 

Any help appreciated.

Replies 0 (0)