-
Notifications
You must be signed in to change notification settings - Fork 3.3k
NO_PROXY ignored when baseUrl is set #4303
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
Labels
Comments
Yeah, in Cypress 3.3.0 we added first-class support for proxies; unfortunately, this means that some new bugs are cropping up. I'm able to reproduce this behavior for HTTPS baseurls only, looking in to a fix now. |
thx a lot! 👍 |
The code for this is done in cypress-io/cypress#4309, but has yet to be released. |
Released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behavior:
I am behind a corporate proxy and want to test against an internal URL, no proxy should be used. To do so I added the host of the
baseUrl
to the environment variableNO_PROXY
andno_proxy
(I also haveHTTP_PROXY
,http_proxy
,HTTPS_PROXY
andhttps_proxy
set up, pointing to the corporate proxy).When I run cypress I get the error:
Output with
DEBUG=cypress:*
on:When I remove all the proxy env. variables everything is working.
Desired behavior:
NO_PROXY
should be considered.Steps to reproduce: (app code and test code)
Set env. variables
HTTP_PROXY
+HTTPS_PROXY
to a valid proxy.Set the domain of the
baseUrl
as value for the env. variableNO_PROXY
.Run the tests.
Versions
Cypress: 3.3.1
OS: Windows 7 Enterprise
Running with the included Electron client
Prior Cypress 3.3.1/3.3.0 I had no issues concerning proxies.
Thank you a lot, Cypress is awesome!!
The text was updated successfully, but these errors were encountered: