Jump to content

Recommended Posts

Posted

My script uses get request and it suddenly stopped to work with timeout error.

PHP Warning: file_get_contents(https://api.telegram.org/bot{$token}/sendMessage?chat_id=287438493&text=hoho+09%3A06%3A56&parse_mode=html&disable_notification=0): Failed to open stream: Connection timed out in /home/jeanstonic.helioho.st/src/lightbot/v2/Messenger.php on line 27

I can perform this php script from my local machine or execute query from browser.

Script worked until 23d January

Posted

It's probably server load. I can't even load webpages from the server at the moment, and it looks like we were down overnight for an hour or so as well for an unknown reason (guessing either HE issue or DDoS again).

That said, the server is able to reach api.telegram.org (ping from Tommy2 to that API came back with round trips averaging 139ms), so it's likely that the server is just too slow to actually process these GETs without timing out. I would suggest trying again later once performance improves.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...