FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

http: use ProxyFromEnvironment by qustavo · Pull Request #3 · mempool/mempool-cli · GitHub

http: use ProxyFromEnvironment - #3

Open
qustavo wants to merge 1 commit into
masterfrom
http-proxy-client
Open

http: use ProxyFromEnvironment#3
qustavo wants to merge 1 commit into
masterfrom
http-proxy-client

Conversation

qustavo commented Nov 2, 2021

Copy link
Copy Markdown
Collaborator

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

Closes #2

Copy link
Copy Markdown

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 commented Nov 2, 2021

Copy link
Copy Markdown
Collaborator Author

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 ?

Copy link
Copy Markdown

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 commented Nov 3, 2021

Copy link
Copy Markdown
Collaborator Author

Are you behind an HTTP or SOCKS proxy?

Copy link
Copy Markdown

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

2 participants


Back | FazBrowse Home | New Git URL