Zaarrg / DropBot

Drop Bot. Automaticlly Farms every Drop available like Rust for ya and now also your Custom Channel's
396 stars 121 forks source link

UnhandledPromiseRejectionWarning: Error: Protocol error (Page.navigate) #23

Closed MondoPIX closed 2 years ago

MondoPIX commented 3 years ago

ttv

ghost commented 3 years ago

Same

ghost commented 3 years ago

image

Zaarrg commented 3 years ago

@tw0zh This error should be fixed in the 1.3.3.1 Release.

@MondoPIX Can u check if you still get this error in 1.3.3.1, the error is caused because the bot can't open the channels url (https://twitch.tv/streamer). Could be either caused by your network not loading the page in, chrome crashing or not opening the tab... can't tell for sure, the only sure thing is that it fails at going to the streamers ch. (https://twitch.tv/streamer). Check 1.3.3.1 if u still get this error.

Pwnyhof commented 3 years ago

@Zaarrg using the 1.3.3.1 .exe only version still getting UnhandledPromiseRejectionWarning: Error: Protocol error (Page.navigate)

ghost commented 3 years ago

Yeah same as me

MondoPIX commented 3 years ago

for the moment 1.3.3.1 does not give me any errors 😇

Zaarrg commented 3 years ago

@Pwnyhof Do u also get the error when using the uncompressed version with the modules folder? Can't recreate the error... For me the Bot runs just fine, also u could try using it as the nodejs version. Just follow the steps here for the npm version. Also try restarting your pc and manually opening chrome and checking if everything is fine on the twitch page

ghost commented 3 years ago

@Zaarrg it happens when no one is online and the bot will wait 10 minutes to search other stream and if it doesn't get anyone live the error will happen after the 10 minutes, try it when the streamers are all offline

Pwnyhof commented 3 years ago

@tw0zh exactly this problem I have after the bot waits the 10mins you get: UnhandledPromiseRejectionWarning: Error: Protocol error (Page.navigate) error.

@Zaarrg I installed the module's version 40mins ago +- the bot is botting SONII's right now after the bot is done with him I will find out if I get the error or not, i will let you know.

Pwnyhof commented 3 years ago

@Zaarrg looks like the uncompressed version works without any problem, it's just the standalone .exe version that spits out this error code.

MondoPIX commented 3 years ago

@Zaarrg it happens when no one is online and the bot will wait 10 minutes to search other stream and if it doesn't get anyone live the error will happen after the 10 minutes, try it when the streamers are all offline

image

for me its work

ghost commented 3 years ago

@Pwnyhof thanks for letting me know it works.

Zaarrg commented 3 years ago

@tw0zh Can u check this temp fix i made, should solve your issue for now, or more ingore it and let the bot work instead of crashing. Try this version: TTVDropBot uncompressed tempfix

ghost commented 3 years ago

@Zaarrg thanks for the quick fix. I am running the bot on two different computers, my day to day computer and a vps, on the normal computer the 1.3.3.1 version works like a charm but on the vps running windows server 2012 r2 it keeps getting all sorts of errors. Unfortnatly I can't test right now your uncompressed tempfix because the vps is bussin but once its working I will give feedback.

ghost commented 3 years ago

Still giving the error image

Pwnyhof commented 3 years ago

@tw0zh Worked fine for 6hrs+- left it on overnight got the error again for some reason

ghost commented 3 years ago

same

TrapStoner commented 3 years ago

Yep it happens when no one is online with 1.3.3.1. Left it overnight too and woke up to this. Train was last one online and when he went off the bot threw this error. image

ghost commented 3 years ago

@TrapStoner Exactly same thing to me

Zaarrg commented 3 years ago

@tw0zh @TrapStoner Can someone of you try this version with the debug enabled and send me the full log, maybe then i can find the exact cause of the error, not really sure whats happening can not recreate the error, everything fine on my site... @TrapStoner The bot checks if all channels are offline and then shows, atleast for me, "All channels offline waiting 10mins for new ones to go online" ... And thought mabye if only one ch is online, but added a check for that and the error still happens for you so not really sure what the bot does there... Link to the debug version of the bot: https://mega.nz/file/3tBgFb4R#YO9q4hMJrf5dtmvnL73N9Ids858q6tljnmywIhi4OhM Somehow cant upload it here gives me an error.

ghost commented 3 years ago

@Zaarrg tried it last night and for some weird reason I got a timeout error but I will try it again, I know that this error also happens while using the custom channel setting.

TrapStoner commented 3 years ago

I am sorry i was busy and couldn't try it before the round got over, but if there is a way to help still i would be glad to do it.

TrapStoner commented 3 years ago

This time i woke up to a different error image

Zaarrg commented 2 years ago

Not active anymore, if this still occurs you can reopen this issue. (Navigation timeout is fixed)