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

请问 setting.py 中的代理修改了没生效,还需要什么修改哪里吗 #7

Open
rtfghd opened this issue Mar 27, 2022 · 4 comments

Comments

@rtfghd
Copy link

rtfghd commented Mar 27, 2022

确定我的代理是正常能用的,setting.py 文件中把代理修改如下

proxy = {'http': '127.0.0.1:10809'}

但是运行的时候貌似没用生效,如下图google,twitter等也没有连接成功,是还需要修改代码什么地方吗,或者运行的时候需要加什么代理参数?

image

@Taonn
Copy link
Owner

Taonn commented Mar 30, 2022

确定我的代理是正常能用的,setting.py 文件中把代理修改如下

proxy = {'http': '127.0.0.1:10809'}

但是运行的时候貌似没用生效,如下图google,twitter等也没有连接成功,是还需要修改代码什么地方吗,或者运行的时候需要加什么代理参数?

image

我这边是可以用的,配置的参数没错。至于是否可用,你可以通过配置SwitchyOmega插件的代理,如果可以访问的话,应该是没问题的。

@mrknow001
Copy link

我尝试代理到bp,bp都没收到请求

@c0okB
Copy link

c0okB commented Jun 1, 2023

我也是同样的问题,配置了,不能用的

@wanghaisheng
Copy link

代理格式应该是http https都要有
proxy = {'http': '127.0.0.1:2333', 'https': '127.0.0.1:2333'}

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

5 participants