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

gg --node 使用 http 协议如何指定用户名和密码 #93

Open
inQDrNWP8 opened this issue Feb 17, 2025 · 0 comments
Open

gg --node 使用 http 协议如何指定用户名和密码 #93

inQDrNWP8 opened this issue Feb 17, 2025 · 0 comments

Comments

@inQDrNWP8
Copy link

以下三种方式均可以成功:

gg -n socks://admin:[email protected]:10810 curl 4.ipw.cn
123.123.123.123

gg -n socks://127.0.0.1:10810 curl 4.ipw.cn
123.123.123.123


gg -n http://127.0.0.1:10810 curl 4.ipw.cn
123.123.123.123

当使用 http 需要指定账号密码时,出现了错误

gg -n http://admin:[email protected]:10810 curl 4.ipw.cn
FATA[0000] GetDialer:unable to connect to the proxy node: connectivity test failed: Get "https://connectivitycheck.gstatic.com/generate_204": connect server using proxy error, StatusCode [407] 

gg -n -vv http://admin:[email protected]:10810 curl 4.ipw.cn
FATA[0000] exec.LookPath:exec: "http://admin:[email protected]:10810": stat http://admin:[email protected]:10810: no such file or directory 

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

1 participant