Open bahunov opened 3 weeks ago
Hi @bahunov - this is a use case I haven't explored until now. Tried it out and it works fine on my machine (OS X) with the latest Cypress version. From the logs I guess there is some mixup of how to process the IPv6 variant of localhost ::1
, but it would be easier to locate it if I could reproduce it.
cypress open
)?Tack Bjorn! For the swift reply, appreciated.
What environment are you on? - MacOS 13.4, Electron 100, Cypress@9.7.0 Does the file access work when you try it with plain Cypress (cypress open)? - Yes What are the settings for Cypress? - Default
It works flawless sometimes (especially after restart). Anyways, I'm using cy.intercept() as workaround for now..
Tried it again with Cypress 9.7.0 but could not reproduce. Are you behind a corporate proxy?
Please rerun with
DEBUG=cypress:plugin:ntlm-auth* cypress-ntlm open
as this will include debug logs from the tunneling agent used with upstream proxies.
Hi, I'm getting an error when trying to route to local file after using ntlm: DEBUG=cypress:plugin:ntlm-auth cypress-ntlm open
After starting, I try following:
cy.visit('./file.html');
but getting:
cypress:plugin:ntlm-auth Created agent for client 127.0.0.1:52160 to target http://localhost:52003/ +0ms cypress:plugin:ntlm-auth PROXY_TO_SERVER_REQUEST_ERROR on /file.html: Error: connect ECONNREFUSED ::1:52003 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) { errno: -61, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 52003 } Destroying client socket. +1ms
Any idea on why I can't route to local file?