adam2314 / linet3

Linet accounting application
16 stars 18 forks source link

timeout issue with update server #552

Closed dan-omniscience closed 9 years ago

dan-omniscience commented 9 years ago

../protected/models/Update.php(34): Curl->post("https://update3.linet.org.il/update/msg/?version=3.01234", "[]")

29                 ->setOptions(array('Content-Type: application/xml',
30                     CURLOPT_CAINFO => Yii::app()->basePath . '/data/rootCA.pem',
31                     CURLOPT_USERAGENT => $this->_sversion,
32                 ))
33                 //
34                 ->post($updatesrv . $url, CJSON::encode($params));
35         $response = CJSON::decode($output);
36 
37         if (!isset($response["status"]))
38             throw new CHttpException(500, $output);
39         if ($response["status"] != 200)
adam2314 commented 9 years ago

the update server is up and running

dan-omniscience commented 9 years ago

It's good to hear. I think that the app shouldn't crash when it's off.

Dan Aharon-Shalom On Oct 4, 2015 3:47 PM, "adam2314" notifications@github.com wrote:

Closed #552 https://github.com/adam2314/linet3/issues/552.

— Reply to this email directly or view it on GitHub https://github.com/adam2314/linet3/issues/552#event-426200061.

starnetwork commented 9 years ago

the problem is that if the Update server is down, it's Down linet and it's should not happen

adam2314 commented 9 years ago

ok