Cypress invalid proxy certificate affects disk cache
See original GitHub issueCurrent behavior:
Information that certificate error is purely cosmetic problem as specified here docs.cypress.io/faq/questions/using-cypress-faq.html is misleading.
Chrome, as reported here bugs.chromium.org/p/chromium/issues/detail?id=110649 ignores http caching when any error with ssl certificate occurs. This means that the application under the test is affected and not behaving as intended (http caching is fully disabled, app load time can be significantly slower…).
Desired behavior:
- Inform about this potential problem in FAQ
- Maybe inform that this problem can be resolved by importing
CypressProxyCA
fromcy/production/proxy/certs/ca.pem
to the Trusted Root Certification Authority store
Test code to reproduce
https://github.com/jsantha/cypress-invalid-cert
Versions
Chrome from version ~16 to actual (81) Windows 10 Cypress 4.5.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Proxy Configuration - Cypress Documentation
When connecting through a proxy, oftentimes a self signed certificate is used as a CA. In order to handle this configuration, Cypress automatically...
Read more >Memory and storage in After Effects - Adobe Support
Caches : RAM cache, disk cache, and media cache. As you work on a composition, After Effects temporarily stores some rendered frames and...
Read more >MilitaryCAC's Common Problems and Solutions for CAC ...
This error message only affects Government Computers. Solution 2-1: Have another person logon to the computer with their CAC and update the DoD...
Read more >@cypress/request | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
Read more >Citrix Workspace app for Mac
The keyboard configuration changes take effect once you reconnect to the ... If there are no valid certificates in your keychain, the Citrix ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@valter11111 I’ve just tried this workaround again for latest cypress version and it still works, follow these steps:
AppData/Roaming/Cypress/cy/production/proxy/certs/ca.pem
I agree with the original post, this is not only the cosmetic problem. Chromium browsers also block webRTC access (media devices are disabled) if there is “Not secure” connection.
Using Cypress 7.3