question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ECC SSL Certificates not supported

See original GitHub issue

Current behavior:

Using an ECC SSL certificate Cypress fails to load the website. The browser reports that the connection is insecure, so the certificate hasn’t loaded correctly. However, then manually opening the website on one of the Cypress browser tabs (Chrome or Electron) it loads correctly.

This is the error that is reported in the test:

We received this error at the network level:

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

***

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: read ECONNRESET

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: read ECONNRESET
    at _errnoException (util.js:1024:11)
    at TLSWrap.onread (net.js:615:25)

Desired behavior:

Tests to run successfully when ECC SSL certificates are being used for HTTPS.

Steps to reproduce: (app code and test code)

Install and use an ECC SSL certificate for an https based test.

Versions

3.3.1 OS: windows Browsers: Chrome 74 and Electron 61

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
flotwigcommented, Sep 4, 2019

I think this is the bug you’re running in to: nodejs/node#16196

Looks like certain ECC configurations are broken in our version of Node. The Electron upgrade (#4720) should resolve this issue.

0reactions
cypress-bot[bot]commented, Oct 23, 2019

Released in 3.5.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ECC Compatibility
ECC Compatibility. ECC stands for Elliptic Curve Cryptography and is an alternative approach to public key cryptography over other standards such as RSA....
Read more >
Elliptic Curve Cryptography (ECC Certificates)
Most importantly, not all browsers and servers support ECC certificates and support in mobile platforms has not been thoroughly tested.
Read more >
ECC TLS Certificate - TechNet - Microsoft
First problem, Snapshots on exchange are not supported. if you have an SSL cert (.pfx) you can import it into IIS on the...
Read more >
Elliptic Curve Cryptography Support for Certificates
The DNSimple team is pleased to announce support for Elliptic Curve Cryptography (ECC) for SSL certificates! Previously, we only supported SSL ...
Read more >
Which browsers and OSes supports ECC based SSL ...
Currently all major OSes and web browsers do support ECC certificates. · So all meaningful Android, Chrome, Safari, iOS, iPhone, Firefox, Opera, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found