-
-
Notifications
You must be signed in to change notification settings - Fork 427
"Received 0" using webkit but not selenium #674
Comments
This could be an issue with Qt and the OS X CA trust chain. Could you try setting |
Very nice, you nailed it. Test passes with ignore_ssl_errors. Can't say I completely understand the interactions between qt and the CA trust chain - is this something that is addressable without ignore_ssl_errors? Or, is there something that I can do to verify exactly what the issue/error is? I'm mostly happy with just being able to get the test green again, but want to do diligence here. Thanks again for your (very prompt) help! |
I've been contemplating shipping a CA chain along with capybara-webkit. However, that would mean we'd be forcing our users to trust the chain that we bundle. Ideally the system trust chain would just work, but it seems that on some systems, it doesn't. I've actually seen this on my machine, which is how I knew about it. It seems to come and go, depending on what library version I'm using and the phase of the moon. I'll give it some more thought and let you know what we come up with. In the meantime, ignoring SSL errors should work. I'd also imagine that the official Qt binaries don't have this problem, so it could be a problem with (assuming you're using Homebrew) whatever got installed via |
FYI qt5 seemed to give the same failure (but with some additional warnings), so I'm back to qt(4). Will continue to track here for updates, but feel free to close as you see fit. Thanks again! |
I've got the same error. In my case it is Yosemite and the SSL host Here is my pry session log
|
qt5 5.5 just landed in Homebrew and uses Secure Transport instead of OpenSSL, which fixes this problem! |
Thank you. I will try to update qt5 |
I'm going to close this, as it appears to be resolved by Qt 5.5. Fell free to comment if you're still having trouble. |
Getting "Received 0" for an external url, and I'm not sure how to further debug. Test runs fine using selenium (firefox) driver.
This may or may not have to do with upgrading to Yosemite. I know this test used to work on this machine sometime in the past, but I've only recently re-run this test on this machine *after upgrading to Yosemite. Not very useful info since I didn't run the test just before upgrading the OS, but I figured I'd mention it.
Also important to note is that this test runs fine using webkit on two other machines not upgraded to Yosemite, but with same versions of qt/capybara-webkit/capybara. So, I'm not very confident that this is an issue with capybara-webkit itself, but definitely looking for some debugging tips or insight. Anything would be greatly appreciated. Thanks in advance!
webkit_debug log snippet:
Versions:
The text was updated successfully, but these errors were encountered: