https://cypress.io logo
Proxy Settings Retaining Old Value
# i-need-help
d
Greetings, I've been using Cypress off and on since version 7. Recently, I've started running into an issue where I can't run my tests because Cypress is picking up an old proxy server value from somewhere and errors out. I've worked with my IT department to figure out where this value is coming from, but we can't find it: there's no http/https_proxy values or other environment settings, there's nothing set in my cypress config files, there aren't any registry keys that we could find that stored a proxy value. I can sometimes get the tests to run, often for days in a row, but then I'll get stuck for several days waiting for the proxy issue to resolve itself, despite the fact that the value that Cypress sees never changes. Is there anywhere else that I can look to find this value? It's driving me nuts and no one has answers. I'm on 12.4.1, if that helps. Very similar issue to this stackoverflow question: https://stackoverflow.com/questions/65195342/removing-cypress-default-proxy-settings?newreg=34d7f069449e44989520a27ecea1fd4b
relevant error message:
Copy code
cy.request() failed trying to load:

redacted

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: no auth mechanism defined

-----------------------------------------------------------

The request we sent was:



Method: POST

URL: redacted

-----------------------------------------------------------

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

This error occurred while creating the session. Because the session setup failed, we failed the test.
15 Views