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 · 3 comments

Comments

3 participants
@perceboisElisa
Copy link

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

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented May 17, 2019

Released in 3.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.