Skip to content
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

Proxy request fails #1877

Closed
b12k opened this issue Nov 13, 2018 · 2 comments
Closed

Proxy request fails #1877

b12k opened this issue Nov 13, 2018 · 2 comments

Comments

@b12k
Copy link

b12k commented Nov 13, 2018

Requests through proxy

Greetings!
I have a problem running axios with configured proxy.
I'm creating a tool to validate proxy lists.
To check if proxy is active I use its credentials as

axios.get(SOME_URL, {
  proxy: {
    host: proxy.host, // 81.162.195.121
    post: proxy.port // 3128
  }
})

And i receive either timeout error (thats OK) or write EPROTO 14216:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:openssl\ssl\record\ssl3_record.c:252:

I assume that this proxy is alive but something goes wrong.
Would be thankful for any hints!

Thank you in advance!

PS: Proxies are actually alive. Checked with request lib.

Context

  • axios version: 0.18.0
  • Environment: node v10.12.0, windows 10
@b12k
Copy link
Author

b12k commented Nov 17, 2018

This issue is solved in Axios v0.19.0-beta.1.
Thanx.

@webjohnjiang
Copy link

i got the same issue. axios throw the error although i set proxy:false. But the npm package request is ok.

@axios axios locked and limited conversation to collaborators May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants