Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

SSL connection timeout - Exception thrown during specific time of day by Randy Shelford

$
0
0

Hi, I've been running an inventory sync between our system and several different Shopify stores for quite a few months now, and for the most part, everything works quite smoothly.  I am running the inventory sync every 15 minutes, and it works fine.

However, I have been noticing a number of connect time-out errors that start coming in starting around 7 pm Pacific time every day. This continues for for a couple of hours at least, and then clears up until the next day, same time.  These time-outs don't seem to be limited to specific domains, and seem to be happening pretty much across the board from what I can see.

I've tried a number of different options to try and resolve this, but so far I haven't had any luck.

All the changes I have made have involved changing/setting different CURL options.

 curl_setopt($ch, CURLOPT_SSLVERSION, 3);
 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);

So far I haven't noticed any change in the frequency of these time-outs.  Does any one know if I need to extend the time-out limits even more, or if there is some other issue that might be causing this time out to happen so frequently after a certain point in the day?

 

 


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>