Skip to content

Conversation

@qustavo
Copy link
Collaborator

@qustavo qustavo commented Nov 2, 2021

@samthelion17, could you confirm this is working as expected?

Closes #2

@samthelion17
Copy link

It's not working for me, i'm getting:
dial tcp: lookup mempool.space on 127.0.0.53:53: server misbehaving
and sometimes:
dial tcp: lookup mempool.space on 127.0.0.53:53: read udp 127.0.0.1:39758->127.0.0.53:53: i/o timeout
and I tried setting the proxy on /etc/environment and via the export command.

@qustavo
Copy link
Collaborator Author

qustavo commented Nov 2, 2021

Looks like a DNS issue, what environment variable are you using? Any of these: https://cs.opensource.google/go/x/net/+/4a448f88:http/httpproxy/proxy.go;l=92-93 ?

@samthelion17
Copy link

I tried both of those, none worked. It sounded like a DNS issue to me too but, in my case DNS is handled by the parent proxy. I'm completely disconnected from the internet, my only window is that proxy server. OR, maybe I'm doing something wrong...
I downloaded the "http-proxy-client" branch, ran directly from the code go run main.go... didn't work, then I compiled it go build and neither way worked.

@qustavo
Copy link
Collaborator Author

qustavo commented Nov 3, 2021

Are you behind an HTTP or SOCKS proxy?

@samthelion17
Copy link

HTTP, but I can test with Socks too if I use TOR...

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

Successfully merging this pull request may close these issues.

Add http(s) and/or socks proxy support

3 participants