Skip to content
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

EPROTO Error testing https-hosted site behind proxy #1459

Closed
perceboisElisa opened this issue Mar 14, 2018 · 6 comments · May be fixed by schanne/cypress#1, schanne/cypress#4 or schanne/cypress#11
Closed

EPROTO Error testing https-hosted site behind proxy #1459

perceboisElisa opened this issue Mar 14, 2018 · 6 comments · May be fixed by schanne/cypress#1, schanne/cypress#4 or schanne/cypress#11
Assignees

Comments

@perceboisElisa
Copy link

@perceboisElisa perceboisElisa commented Mar 14, 2018

  • Operating System: Windows 10 64bits
  • Cypress Version: 2.0.4
  • Browser Version: Version 64.0.3282.167 (Official Build) (64-bit)

I would like to use cypress.io with a corporate proxy. I don't know if something must be configured in Cypress.io (on the client) in adding with a configuration on the corporate proxy.

When I use cy.visit(), I get this error:

CypressError: cy.visit() failed trying to load:

https://----/gateway/mesure/

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:

Error: write EPROTO 101057795:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:c:\projects\electron\vendor\node\deps\openssl\openssl\ssl\s3_pkt.c:1494:SSL alert number 40
101057795:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:c:\projects\electron\vendor\node\deps\openssl\openssl\ssl\s3_pkt.c:659:

Common situations why this would fail:

  • you don't have internet access
  • you forgot to run / boot your web server
  • your web server isn't accessible
  • you have weird network configuration settings on your computer

The stack trace for this error is:

Error: write EPROTO 101057795:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:c:\projects\electron\vendor\node\deps\openssl\openssl\ssl\s3_pkt.c:1494:SSL alert number 40
101057795:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:c:\projects\electron\vendor\node\deps\openssl\openssl\ssl\s3_pkt.c:659:

at exports._errnoException (util.js:1024:11)
at WriteWrap.afterWrite (net.js:851:14)

Thanks for your helping

@jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Mar 16, 2018

We're aware of issues with visiting under a corporate proxy and have listed some workarounds here: #1469 But there is no permanent fix. Closing this issue as duplicate of: #672

@cypress-bot
Copy link

@cypress-bot cypress-bot bot commented Apr 1, 2019

The code for this is done in cypress-io/cypress#3531, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@flotwig flotwig changed the title EPROTO Error EPROTO Error testing https-hosted site behind proxy Apr 11, 2019
@cypress-bot
Copy link

@cypress-bot cypress-bot bot commented May 17, 2019

Released in 3.3.0.

@VinothArasu
Copy link

@VinothArasu VinothArasu commented Jun 16, 2020

HI, I'm too facing similar kind of issue, While i try to access my corporate application.
cypressIssue

please help us to resolve this issue !!

@VinothArasu
Copy link

@VinothArasu VinothArasu commented Jun 16, 2020

i have set the proxy based on my corporate account.
image

@flotwig
Copy link
Member

@flotwig flotwig commented Jun 16, 2020

@VinothArasu please open a new issue, this one is closed and is no longer being tracked

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Jun 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants