Page 1 of 1

API telldus : Unable to connect

Posted: Fri Mar 17, 2023 9:45 am
by Manticus2
Sometimes api.telldus.com doesn't response ...

Appache error.log :

Code: Select all

PHP Fatal error:  Uncaught <table style="border: 1px" cellspacing="0">\n<tr><td colspan="3" style="background: #ff9999"> <b>HTTP_OAuth_Exception</b>: Unable to connect to tcp://api.telldus.com:80. Error: Connection timed out in <b>/usr/share/php/HTTP/OAuth/Consumer.php</b> on line <b>257</b></td></tr>\n<tr><td colspan="3" style="background-color: #aaaaaa; text-align: center; font-weight: bold;">Exception trace</td></tr>\n<tr><td style="text-align: center; background: #cccccc; width:20px; font-weight: bold;">#</td><td style="text-align: center; background: #cccccc; font-weight: bold;">Function</td><td style="text-align: center; background: #cccccc; font-weight: bold;">Location</td></tr>\n<tr><td style="text-align: center;">0</td><td>HTTP_OAuth_Consumer_Request->send()</td><td>/usr/share/php/HTTP/OAuth/Consumer.php:257</td></tr>\n<tr><td style="text-align: center;">1</td><td>HTTP_OAuth_Consumer->sendRequest('http://api.telld&hellip;', Array, 'GET')</td><td>[.......]:193</td></t in /usr/share/php/HTTP/OAuth/Consumer/Request.php on line 232

Re: API telldus : Unable to connect

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
Do you have a timestamp when this happens?

Re: API telldus : Unable to connect

Posted: Fri Mar 17, 2023 9:45 am
by Manticus2

Re: API telldus : Unable to connect

Posted: Fri Mar 17, 2023 9:45 am
by stefan.persson
These errors occurred when it seems that our hosting company had temporary (< 3 minutes) network problems. They haven't given us any information about these glitches. There where another shorter interruption about three hours later that you also might have seen in your logs. If you get more errors it's good if you post them here, to maybe help us find any bugs.

Also, please check out out https://twitter.com/telldus for the latest operational status of our servers.

Re: API telldus : Unable to connect

Posted: Fri Mar 17, 2023 9:45 am
by Manticus2
more errors :

52 errors in gz logs : http://files.manticus.info/telldus/othe ... ror-gz.log

have fun :)

Re: API telldus : Unable to connect

Posted: Fri Mar 17, 2023 9:45 am
by stefan.persson
Thanks, but these are a bit harder to compare with our logs and examine, since they are a bit old. Log files have been rotated or archived.

Most of the errors occurred July 7, when our hosting company had a really bad day, with complete network failure for several hours. We wrote about it in the forum, but perhaps only in Swedish. Our twitter feed is always in English though, and we are really trying to get better in reporting about Telldus Live!- and API-problems there.