nfx / slrp

rotating open proxy multiplexer
MIT License
170 stars 26 forks source link

Curl command in ReadMe no works #160

Open Roboxkin opened 1 year ago

Roboxkin commented 1 year ago

Curl command in ReadMe no works

Curl -D - -x http://127.0.0.1:8090 -k http://httpbin.org/get curl: (7) Failed to connect to 127.0.0.1 port 8090 after 2028 ms: Couldn't connect to server

nfx commented 1 year ago

Https should work

Roboxkin commented 1 year ago

this no work `F:\slrp>go run main.go go: downloading github.com/klauspost/compress v1.16.5 package command-line-arguments imports github.com/nfx/slrp/dialer imports golang.zx2c4.com/wireguard/tun/netstack imports gvisor.dev/gvisor/pkg/bufferv2 imports gvisor.dev/gvisor/pkg/atomicbitops imports gvisor.dev/gvisor/pkg/state imports gvisor.dev/gvisor/pkg/state/wire imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in C:\Users\user\go\pkg\mod\gvisor.dev\gvisor@v0.0.0-20221203005347-703fd9b7fbc0\pkg\gohacks C:\Users\user\go\pkg\mod\github.com\klauspost\pgzip@v1.2.6\gunzip.go:26:2: github.com/klauspost/compress@v1.16.5: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.16.5.zip: 403 Forbidden

F:\slrp>curl -D - -x https://127.0.0.1:8090 -k https://httpbin.org/get curl: (4) Unsupported proxy 'https://127.0.0.1:8090', libcurl is built without the HTTPS-proxy support.

F:\slrp>curl -D - -x http://127.0.0.1:8090 -k https://httpbin.org/get curl: (7) Failed to connect to 127.0.0.1 port 8090 after 2049 ms: Connection refused`

nfx commented 1 year ago

@Roboxkin Will look into it