-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox WebDriver crashes with httplib.BadStatusLine #2524
Comments
This issue is also reproducible on MAC with firefox version 47.0 and selenium version 2.52 |
Can't reproduce in my system: $ cat taobao.py On Tue, Jul 26, 2016 at 7:00 PM, Sripathi Pai [email protected]
|
Additional version information, for what it's worth:
I'll try with the firefox-esr and see if that works then report back. |
Unfortunately, @HelioGuilherme66 even when using the ESR release (45.2.0) I still have this error.
Also tried with selenium==2.53.2 to further match your configuration and it still crashed. |
Looks like the problem is with httplib.py. File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py",
|
I've tried across a number of other configuration and in some cases it works fine, but I'm having difficulty pinning down what is broken on this one system (only major difference I haven't isolated is the kernel version). I would be happy to continue trying to help trouble shoot this bug if anyone has any other ideas, otherwise feel free to close this since it is inconsistently reproducible. To summarize The original system still fails (even with 2.7.10), tested the following configurations: On a fresh testing VM everything seems to work without issue (including python 2.7.9) On another system everything also seems to work without issue (python 2.7.9) |
I was just about to post that I got the same problem on my mac running Firefox 47 and Selenium 2.53.6. While checking the Firefox version (graphically) I updated to Firefox 47.0.1. Now, I don't know if it really had anything to do with it, but suddenly it works. No clue! |
![Firefox 47 is failing] https://www.evernote.com/l/AFMig-jiNV5IHoDd52bcfKe-2XqOYzrSuFoB/image.png |
If the browser is crashing, and by crashing I mean it is no longer open (the true meaning of a crash), then there is a bigger problem than Selenium just not doing things. Can you see if you can replicate this with Selenium 3.0 beta? |
I've also encountered the issue with selenium 2.53.6 / Firefox 47.0.1/Python 2.7.6, do you guys have anything that can fix this or something workaround about this? |
@HardenDev I had the same environment and met the same bug as yours. I solved this bug through updating firefox to 48.0. It worked perfectly on selenium 2.53.6 / Firefox 48.0 /Python 2.7.6. |
@royragsdale I also have the same issue with python 2.7.11/Chrome 54.0.2840.87 m/selenium 3.0.1,do you have something to solve?thanks a lot. |
@zqy16 unfortunately I never did pin down a good solution. |
I can reproduce it on my server, but not on my Mac. Instead using PhantomJS as the driver, instead of Firefox. Mac: OSX El Capitan 10.11.6 |
@royragsdale ,i use Chrome 52.0.2743.82 m (64-bit),and the problem solved. |
I had the same error on OSX 10.10, Chrome 55, Selenium 3.0.2. I grabbed the latest chromedriver 2.27 and its working now: https://chromedriver.storage.googleapis.com/index.html?path=2.27 |
@andrewgtp @zqy16 please stop suggesting Chrome as a bug patch to Firefox. |
@alexbegun that sounds like a completely different issue... not sure why you hijacked this thread |
Can not reproduce it. |
Guys look at this: https://code.google.com/archive/p/httplib2/issues/250 |
@bofinbabu |
I also experienced the same issue and found out that my server was running out of memory. |
Closing as this cannot be reproduced on newer versions. Please open a new issue with a reproducible test scenario of the issue is experienced again. |
Need newer versions? CentOS (in VirtualBox on Debian/buster), Py 2.7.5, Selenium 3.13.0, GeckoDriver 0.21.0, Mozilla Firefox 61.0.1 |
https://stackoverflow.com/questions/1767934/why-am-i-getting-this-error-in-python-httplib |
It seems that problem happens when my server has low memory. On my MAC everything seems working great by the same code happens to fail on a server with Linux: Debian 9 -> Does any one else have the sample problem when their server specification is low? |
Meta -
OS: Linux (Debian Jessie)
Selenium Version: 2.53.6 (python bindings)
Browser: Firefox
Browser Version: 47.0.1
Expected Behavior -
Selenium will successfully navigate to a page (http://taobao.com). When manually navigated in the browser this completes sucessfully.
Actual Behavior -
The webdriver and browser crash with
httplib.BadStatusLine
.Steps to reproduce -
The text was updated successfully, but these errors were encountered: