3.3.1 - cypress often fails to load in open mode - websocket error
See original GitHub issueCurrent behavior:
Desired behavior:
No error
Steps to reproduce: (app code and test code)
This happens intermittently but very often on 3.3.1. If you log off and on again it is fine.
If you switch back to cypress 3.3.0, even without logging off it is fine.
Versions
3.3.1 (3.3.0 is fine) OS: windows
Most of us use proxies, usually fiddler. When 3.3.0 was release we had to have this:
$ env | grep PROXY
HTTP_PROXY=http://127.0.0.1:8888
NO_PROXY=undefined
HTTPS_PROXY=http://127.0.0.1:8888 (edited)
One of our devs reckons the following proxy settings in 3.3.1 fix this bug:
$ env | grep -i proxy
HTTP_PROXY=
NO_PROXY=undefined
HTTPS_PROXY=
I believe the NO_PROXY needing “undefined” was due to another bug you had in your network code.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:22 (12 by maintainers)
Top Results From Across the Web
cypress-io/cypress - Gitter
I getting weird issue where cypress opens empty Chrome window with following in ... failed: Error during WebSocket handshake: net::ERR_INVALID_HTTP_RESPONSE.
Read more >Cypress test not starting and throwing handshake error in ...
My laptop is an office laptop is behind proxy. I checked the cypress proxy setting and I see that the proxy is correctly...
Read more >Changelog - Cypress Documentation
Fixed an issue where the Cypress migration wizard would fail to run in global mode on newer versions of Cypress. Addressed in #25138....
Read more >cypress: Versions - Openbase
Fixed an issue with cy.session() such that re-running tests in open mode will now correctly recreate a session. Before this change, an error...
Read more >Changelog — elabftw 4.4.2 documentation
In that case, they can fix it by going in edit mode of the experiment, clicking the top right ... If this value...
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
For sure, you can use shell redirection:
@vijesh-koroth – how do we use this in the index.js in plugins?Is this correct. not working for me module.exports = (on, config) => {
args.push(‘–disable-gpu’) args.push(‘–disable-gpu-compositing’) args.push(‘–disable-gpu-rasterization’) args.push(‘–config baseUrl=http://localhost:3000’) //
on
is used to hook into various events Cypress emits //config
is the resolved Cypress config }