fails on proxy connection but curl succeeds #30542
Unanswered
KuniyoshiKamimuraCreationline
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
My server needs proxy but I can't connect with Cypress.
However, I can connect without Cypress.
How to reproduce
I ran
cy:e2e
with the following settings inpackage.json
, which triggeredcy.visit('/')
, resulting in an error.What I checked
I confirmed the proxy setting were correctly applied to Cypress by checking the settings screen on Cypress.
Error details
When I checked the network log, there were no requests to my server.
However Cypress log indicated that
A connection to the upstream proxy could not be established
, suggesting it attempted to connect to my server.Error message
But the same thing with curl succeeds
Accessing with Chrome without Cypress also succeeds
Accessing with Chrome with Cypress fails
When I manually opened a new tab on chrome with Cypress and entered the URL, it fails with
ERR_EMPTY_RESPONSE
.Question
What does
SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
mean and how can I connect to the proxy?I've read Cypress' Proxy Configuration but haven't found the solution.
My environment
Internet settings
My PC uses an auto-configuration script with proxy for my server.
Beta Was this translation helpful? Give feedback.
All reactions