Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

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

Closed
MondoPIX opened this issue Jul 18, 2021 · 24 comments
Closed
Labels
issue A issue with the Bot

Comments

@MondoPIX
Copy link

ttv

@ghost
Copy link

ghost commented Jul 18, 2021

Same

@ghost
Copy link

ghost commented Jul 18, 2021

image

@Zaarrg
Copy link
Owner

Zaarrg commented Jul 18, 2021

@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.

@Zaarrg Zaarrg added the issue A issue with the Bot label Jul 18, 2021
@Pwnyhof
Copy link

Pwnyhof commented Jul 18, 2021

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

@ghost
Copy link

ghost commented Jul 18, 2021

Yeah same as me

@MondoPIX
Copy link
Author

MondoPIX commented Jul 18, 2021

for the moment 1.3.3.1 does not give me any errors 😇

@Zaarrg
Copy link
Owner

Zaarrg commented Jul 18, 2021

@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
Copy link

ghost commented Jul 18, 2021

@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
Copy link

Pwnyhof commented Jul 18, 2021

@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
Copy link

Pwnyhof commented Jul 18, 2021

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

@MondoPIX
Copy link
Author

@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
Copy link

ghost commented Jul 18, 2021

@Pwnyhof thanks for letting me know it works.

@Zaarrg
Copy link
Owner

Zaarrg commented Jul 18, 2021

@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
Copy link

ghost commented Jul 19, 2021

@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
Copy link

ghost commented Jul 19, 2021

Still giving the error
image

@Pwnyhof
Copy link

Pwnyhof commented Jul 19, 2021

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

@ghost
Copy link

ghost commented Jul 19, 2021

same

@TrapStoner
Copy link

TrapStoner commented Jul 19, 2021

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
Copy link

ghost commented Jul 19, 2021

@TrapStoner Exactly same thing to me

@Zaarrg
Copy link
Owner

Zaarrg commented Jul 21, 2021

@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
Copy link

ghost commented Jul 22, 2021

@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
Copy link

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
Copy link

TrapStoner commented Sep 3, 2021

This time i woke up to a different error
image

@Zaarrg
Copy link
Owner

Zaarrg commented Feb 6, 2022

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

@Zaarrg Zaarrg closed this as completed Feb 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue A issue with the Bot
Projects
None yet
Development

No branches or pull requests

4 participants