Zepol
Zepol

Reputation: 347

Selenium error - ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

I was using the selenium module but all of a sudden I get this error

ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

here is my simple code that gives me the error

from selenium import webdriver

browser = webdriver.Firefox()
browser.get('https://www.instagram.com/')

Upvotes: 3

Views: 8345

Answers (3)

M F
M F

Reputation: 31

I came across this post as I had the same problem. Updating to newest version of geckodriver fixed the problem for me

Upvotes: 0

Luis
Luis

Reputation: 61

May be is time to upgrade Webdriver for your navigator. I had the same problem using Chrome, and it was solved replacing the existing chromedriver.exe (windows in my case) with the latest version.

Upvotes: 1

Zepol
Zepol

Reputation: 347

I figured out that the new firefox 47 update was the problem and I had to downgrade it to firefox 46

i got the infor from here Selenium Webdriver halting with [Errno 10054]

Upvotes: 0

Related Questions