-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Unknow bug - Video wasn't upload #323
Comments
Is your bot busy with uploading? By default pyrogram will only upload one file at a time. You may need to adjust |
I have tried shutting down all Masters and Workers. Only tested with 1 single download link. This is full log
|
From the log there's nothing strange. Can you try to adjust |
Hi Benny. I try remove 3 line:
on send video and it's can upload again. Maybe have a bug from crash before when select reply message or something. I will follow and update soon |
Good to know. It may also because of upload_hook |
I'm not sure if this is the cause. But it seems that if there is any error during the upload process, the redis.update_metrics("video_success") function will not be called, leading to the following tasks being affected including restarting the workers. |
Can you try to manually trigger an error when uploading files(like switch on/off your wifi)? I am not sure if |
I still get the error. really annoying. Common when restarting a worker to update a new image or using the /patch command. After that, all image and video upload tasks will not be able to be sent. Just gone. It can only be temporarily fixed by deleting 4 lines
and reboot. And if I encounter the problem again later, I have to re-add these 4 lines and restart again LOL. it seems that changing the submitted function's arguments solves the task hanging problem |
then most likely it's caused by |
Sometime my bot can not upload video to Archive Group. I try to track and debug but nothing error show on exception. It's just gone and stuck at this screen and logs
I'm using celery mode. How to debug status after send video?
The text was updated successfully, but these errors were encountered: