-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot stop working on a server #82
Comments
How often? sometimes it stops pulling updates but there was always an error log like time out. Personally, I use webhook with ReactPHP and TDLight bot API server and seems no problem. |
I think, it stops every three days (aproximetly) |
try this: $config->setPollingRetry(10);
$config->setPollingTimeout(120); If didn't help, try using TDLight Telegram Bot API or Telegram Bot API server itself: $config->setApiTelegramUrl('http://127.0.0.1:8580'); // local bot API server port This might be helpful as well:
|
…bot sudden stopping. (habr issue badfarm/zanzara#82 )
Tryed Try |
You should install it and set it on that specific port, follow this build instructions generator If you don't get it read about it here : Using a Local Bot API Server) and here: Local Bot API Server Usage. |
Thank you so much, and I really sorry: I use a virtual hosting for my projects, and, as it turned out, it is not permitted to use any kind of bots, so they just stoped it forced. |
…prevent bot sudden stopping. (habr issue badfarm/zanzara#82 )" This reverts commit 2e707ae.
…opping. (habr issue badfarm/zanzara#82 )" This reverts commit 428b084.
Bot stop working on a server started as
php start_bot.php
with no log informationShould I make some extra settings for my server?
The text was updated successfully, but these errors were encountered: