Skip to content
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 stops working in server #77

Closed
musobekmadrimov opened this issue Oct 7, 2022 · 1 comment
Closed

Bot stops working in server #77

musobekmadrimov opened this issue Oct 7, 2022 · 1 comment

Comments

@musobekmadrimov
Copy link

Hello, everyone. Now I am facing to a problem that after some time my bot stops working on server without any reason.

I used

nohup php artisan bot:start </dev/null &>/dev/null &

command and it is working some time, but after 2 or 3 days it stops working. I asked help from hosting service support, but they say problem is not on the server, it is in my code.

HELP, PLEASE!

@awohsen
Copy link
Contributor

awohsen commented Dec 28, 2022

Hi, I'm facing the same issue with the pulling mode.

Failed to call Telegram Bot Api, method: getUpdates, params: {
    "offset": 565190517,
    "limit": 100,
    "timeout": 50,
    "allowed_updates": []
}, reason: RuntimeException: Connection ended before receiving a response in /home/vendor/react/http/src/Client/Request.php:170

maybe zanzara doesn't catch this kind of error and when no pulling happens, the process does nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants