xuzhengyi1995 / Manga_downloader

A Manga download framework using selenium.
651 stars 58 forks source link

undetected-chromedriver: "cannot connect to chrome at 127.0.0.1:55783" #136

Open ulyssesric opened 1 year ago

ulyssesric commented 1 year ago

macOS 13.2 (Intel), Python 3.11.

Since Chrome V110, I randomly get "cannot connect to chrome at 127.0.0.1:55783" error message from undetected-chromedriver package. I've do many tests and so far the only workaround is: (1) quit and restart Chrome, and (2) must be undetected-chromedriver v3.4x

Another weird phenomenon: when it worked, I'll have two Chrome instances running. Never had this issue on Chrome V109 or earlier. Not sure whether it's an issue caused Manga_downloader and not sure whether these two are correlated, though.

flapjack3 commented 1 year ago

Thank you so much for posting this. I came across the exact same thing. Also on a mac, Python 3.10, using chrome 110. I'm a newbie at this so I thought it was just me missing something. I did the workaround you found and can get it working that way now. When the downloader is running, I also get two Chromes which I've never seen before.

mslmn commented 1 year ago

Thank you so much for posting this. I came across the exact same thing. Also on a mac, Python 3.10, using chrome 110. I'm a newbie at this so I thought it was just me missing something. I did the workaround you found and can get it working that way now. When the downloader is running, I also get two Chromes which I've never seen before.

How did you get it to work on Mac?

mel0n0 commented 1 year ago

You can try it.

https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/743#issuecomment-1455680643