apify / proxy-chain

Node.js implementation of a proxy server (think Squid) with support for SSL, authentication and upstream proxy chaining.

Home Page:https://www.npmjs.com/package/proxy-chain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use the CONNECT method

by-nari opened this issue · comments

commented

I don't see any examples.
When I try to access HTTPS sites from this proxy I always receive the message:
ProxyServer[14702]: Listening...
ProxyServer[14702]: 1 | !!! Handling GET https://api.ipify.org/?format=json HTTP/1.1
ProxyServer[14702]: Request failed (status 400): Only HTTP protocol is supported (was https:)

commented

Never mind, it's a bug of Axios.

Hoe

Never mind, it's a bug of Axios.

How do you solve that?

commented

Hoe

Never mind, it's a bug of Axios.

How do you solve that?

use got instead

Got the same error using axios