NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000019FF0C76DB0> #2720
Replies: 1 comment
-
I hope I might be able to help you (or others reporting this error). To be clear, that error occurs simply when no webdriver has been configured (or changedetection has not been configured properly to use an implementation of one). You mention the docs for that, and I'll clarify for readers that the URL is here. I realize you say you followed the steps there for the Windows install of that driver. It would seem you may have missed a step. Let's consider a couple of possibilities.
I only press this point because if instead you may have been looking instead at the line in the settings for a given detection (under its "Request" menu and then its "Fetch method" setting), I don't find that changes to depict the URL used for the driver.
And in the "Windows" section of that page, it shows using a
Of course, it does have to be running. The doc page shows running the downloaded chromedriver.exe, as found in the Windows temp folder for the user who took the screenshot, as this seems to be where their browser saved such a downloaded file. You might have saved yours to a downloads folder, etc. And note how the screenshot also shows it reporting that it was indeed now "starting...on port 9515". Did you see such a message?
You'd need to repeat the steps above each time you wanted to run changedetect, of course. (That said, it is possible to set env vars permanently on Windows using SETX instead, at least when running a command prompt as admin.)
Once I did those couple of steps then the detections which failed (when I chose to use the "fetch method" of "WebDriver Chrome/Javascript") now worked. I no longer got the error you got: so I really think the solution is just about getting that correctly configured for your setup. Hope that helps (or maybe it may help future readers finding this discussion). |
Beta Was this translation helpful? Give feedback.
-
I followed the steps described in the section titled "Microsoft Windows - Running ChromeDriver natively (without Docker)." The interface doesn't display "via localhost" part in any way. Everything else seems normal. I also tried using the Chrome API but got the same error. I added the folder where ChromeDriver is located to the path, but that wasn’t enough. I copied it to every folder I could think of.
However, I keep getting this error:
I’m thinking there’s an issue with ChromeDriver or something is blocking it, but I have other bots that use ChromeDriver, and they work fine. However, I’m not using Chrome on top of ChromeDriver. I'm using Chromium. Chrome keeps updating itself constantly, and it won’t allow me to install an older version that is compatible with ChromeDriver.
I would think this is the issue, but why are my other bots still working?
If this is indeed the problem, how can I solve this issue of installing an older version of Chrome?
Beta Was this translation helpful? Give feedback.
All reactions