CoolFool / Ravager

A telegram bot that downloads content in the form of torrent and direct download links and mirrors them 1:1 to google drive
MIT License
40 stars 54 forks source link

'Error Occurred while handling request' while using download/upload #6

Closed Topkek6969 closed 2 years ago

Topkek6969 commented 2 years ago

Screenshot

P.S. I did everything according to the steps given. In case it's something minor, i apologize, a newbie here :)

Topkek6969 commented 2 years ago

Just noticed, the same error occurs even for abort command. Above logs are for when I try to download direct link while they are similar for magnet links too.

CoolFool commented 2 years ago

Can you restart the app? and send the full log by clicking on save by the bottom right after reproducing the error

CoolFool commented 2 years ago

added a fix,re-deploy and let me know if it works

Topkek6969 commented 2 years ago

added a fix,re-deploy and let me know if it works

Alright.

CoolFool commented 2 years ago

Deleted your log comment cause it leaked your telegram bot token and database url Please revoke your current bot token as well as database url and get a new one

Topkek6969 commented 2 years ago

Deleted your log comment cause it leaked you telegram bot token and database url

Thanks, btw I don't know if I messed something or what but the bot isn't responding to any commands. heroku logs show that it starts alright but no output for any commands.

Edit : Nevermind, changed the bot like you suggested and it works fine now.

CoolFool commented 2 years ago

Does the shared drive selection menu work fine now?

Topkek6969 commented 2 years ago

Does the shared drive selection menu work fine now?

It does. So does the sys_info.

Edit: Awesome, mirroring working well now. Thanks a lot @CoolFool , it's rare to see a dev acknowledge issues and respond so quick :)

CoolFool commented 2 years ago

Haha thank you, I appreciate it :v:

Feel free to create a new issue if you face any problems

Topkek6969 commented 2 years ago

Can I keep the _keepalive variable false and use external tools like cronjob for customized waking? I don't need the bot to stay alive while I sleep only to waste dynos.

CoolFool commented 2 years ago

Yes, I added that feature cause I was too lazy to use services like uptime robot

Topkek6969 commented 2 years ago

Yes, I added that feature cause I was too lazy to use services like uptime robot

Haha, cool. Have a great day!

Topkek6969 commented 2 years ago

@CoolFool I'm still getting POST requests to my heroku from old bot token. Any idea?

2022-05-29T17:00:45.826936+00:00 heroku[router]: at=info method=POST path="/2014201801:AAFQAA8AMyKYmeX6_IXQ_UDWs5KBsKQS47Y" host=ravagervala-bot.herokuapp.com request_id=9fc64f40-1147-4e2c-85bc-780a286ab6b9 fwd="91.108.6.136" dyno=web.1 connect=0ms service=1ms status=404 bytes=393 protocol=https

CoolFool commented 2 years ago

Maybe telegram has two registered webhooks? Wait for a day and if it still occurs create a new instance

Topkek6969 commented 2 years ago

Maybe telegram has two registered webhooks? Wait for a day and if it still occurs create a new instance

new instance of?

Edit: No new request since past few mins, probably fixed :)