-
Notifications
You must be signed in to change notification settings - Fork 3.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
write EPROTO: SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure when visiting https site #4394
Comments
@PWAlessi Is Does switching the URL to |
I'm reading the url from const testEnvironment = Cypress.env('testEnvironment')
const environment = Cypress.env(testEnvironment)
const testUserRole = Cypress.env('testUserRole')
const credentials = environment[testUserRole]
Cypress.Commands.add('login', () => {
cy.visit(environment.url)
cy.get('[placeholder$="Email"]').type(credentials.email)
cy.get('[placeholder$="Password"]').type(credentials.password)
cy.get('form')
.contains('Log In')
.should('be.enabled')
.click()
cy.url().should('include', '/activity')
})
Cypress.Commands.add('logout', () => {
cy.get('.bold').contains(credentials.name)
cy.get('.lightweight').contains(credentials.roleName)
cy.get('#dropdownArrow').click()
cy.get('#logout').click()
}) environment.url is https://local.avoxi.com. Same issue with |
Changing to a
|
I believe we're experiencing this bug: nodejs/node#19359 This was introduced somewhere after Node 8.2.1 and fixed starting with Node 10. Cypress 3.2.0 was pegged to 8.2.1, 3.3.0 upgraded it to 8.9.3 and so that's why you're seeing this issue now. #3568 will upgrade Node and fix this problem. It might temporarily fix it for you to run Cypress with all SSL validation disabled, eg, |
Yep, I think so too. I saw that issue but I didn't investigate what version of node Cypress is using. I tried running with Thanks for your help! |
@flotwig I am currently running into this issue and I have exhausted all proposed solutions. I have even installed the updated electron branch #4354 (comment) to see if it would resolve this issue, and it does not. |
Hi there! We are experiencing the same issue after updating cypress to 3.3.x. Do you have any solutions or workarounds? We are still using 3.2.0. |
If you have come here from Google because you've upgraded Cypress and have an Error:
Then rollback to version 3.2.0 and lock it down until the Cypress team sort the problem out. |
Hi, some advanced about this..? |
The code for this is done in cypress-io/cypress#4720, but has yet to be released. |
1 similar comment
The code for this is done in cypress-io/cypress#4720, but has yet to be released. |
Just tested out #4720 and it doesnt actually fix this issue.
cc: @brian-mann |
Hey @NickMele, those changes should fix it, since Node was updated to 12.0.0. Can you share the URL of a site that still fails or debug logs from the failure? |
@flotwig The URL is an internal dev url that we can only access on our VPN. Here are the logs with the issue still occurring after installing the latest build.
https://gist.github.com/NickMele/56bb0953ad19a9198c740b3fec00eca9 |
@NickMele It's probably some bug with the SSL cipher you're using and Node 12. Can you share with me the commands you use to create the SSL certificate that is failing to verify? That will help me to reproduce the issue. |
Released in |
thaaaaaaaaaaaaaaaaanks a lot :) 👍 |
Hello, im on the latest cypress version https://1mgr.qpay123.biz/v2/aoa We attempted to make an http request to this URL but the request failed without a response. We received this error at the network level:
Common situations why this would fail:
|
I'm on OS X and I've trusted my self signed cert in keychain. Chrome lets me into the site with no warnings or indication that I'm using a self-signed cert. However, when I try to
cy.visit
I get the following error in the cypress UI:The issue is new to 3.3.x. This test ran correctly in 3.2.x.
Here's the debug log:
Originally posted by @PWAlessi in #771 (comment)
The text was updated successfully, but these errors were encountered: