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

Curl command in ReadMe no works #160

Open
Roboxkin opened this issue Sep 17, 2023 · 3 comments
Open

Curl command in ReadMe no works #160

Roboxkin opened this issue Sep 17, 2023 · 3 comments

Comments

@Roboxkin
Copy link

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
Copy link
Owner

nfx commented Sep 20, 2023

Https should work

@Roboxkin
Copy link
Author

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\[email protected]\pkg\gohacks
C:\Users\user\go\pkg\mod\github.com\klauspost\[email protected]\gunzip.go:26:2: github.com/klauspost/[email protected]: 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
Copy link
Owner

nfx commented Oct 22, 2023

@Roboxkin Will look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants