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
GET request with proxy doesn't work on v1.1.2 #5079
Comments
same issue here |
@geomad @sabindev The issue seems to be the host. Axios is trying to connect to However, both the colon ( The working config for Axios 1.1.2 should be: proxy: {
protocol: 'https:',
hostname: proxy.host,
// ... other options
} |
I can confirm this is working! Thanks! |
Describe the bug
Making requests with proxy and an agent is broken on v1.x while its working on v0.27
To Reproduce
The above code while workling on 0.27, now returns
If
protocol: 'https'
is replaced withprotocol: 'https:'
there is still an errorExpected behavior
v1 works like v0.27
Environment
The text was updated successfully, but these errors were encountered: