Jump to content

GET request issue


jeanstonic

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...