cypress: 3.3.1 - cypress often fails to load in open mode - websocket error

Current behavior:

image

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.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 22 (12 by maintainers)

Most upvoted comments

For sure, you can use shell redirection:

DEBUG=cypress:* cypress open > log-file.txt 2>&1