nek0us / nonebot-plugin-twitter

订阅推文推送
MIT License
31 stars 2 forks source link

TypeError: __init__() got an unexpected keyword argument 'proxy_ssl_context' #14

Open simpleYOTO opened 10 months ago

simpleYOTO commented 10 months ago

大佬好,我在开始启动运行时发生了报错 image 我看了之前有人问的问题,我也试了并且换了几个网站发现认证失败 image k'qing恳请大佬指教

nek0us commented 10 months ago

也许是代理的问题,你可以试试把配置文件里的 twitter_proxy注释掉,有一个是可以直连的

simpleYOTO commented 10 months ago

也许是代理的问题,你可以试试把配置文件里的 twitter_proxy注释掉,有一个是可以直连的

我把代理关掉之后并且注释twitter_proxy就没问题,但是我其他需要代理,我现在只注释不关代理好像就不行?

nek0us commented 10 months ago
pip list|findstr httpx

看一下你的httpx版本

simpleYOTO commented 10 months ago
pip list|findstr httpx

看一下你的httpx版本

版本是0.25.1

nek0us commented 10 months ago

你的代理工具是什么? 代理端口协议是http还是socks? 代理工具是开的全局吗?

simpleYOTO commented 10 months ago

你的代理工具是什么? 代理端口协议是http还是socks? 代理工具是开的全局吗?

代理工具是uinio 端口是http 我没有开全局

nek0us commented 10 months ago

你的代理工具是什么? 代理端口协议是http还是socks? 代理工具是开的全局吗?

代理工具是uinio 端口是http 我没有开全局

ok,我想办法复现一下

nek0us commented 9 months ago

我试用了一下这个软件,路由模式默认智能,好像也没问题,没复现出来。你试试配置文件里

# .env.xxx
twitter_proxy = "http://127.0.0.1:17890"
simpleYOTO commented 9 months ago

我试用了一下这个软件,路由模式默认智能,好像也没问题,没复现出来。你试试配置文件里

# .env.xxx
twitter_proxy = "http://127.0.0.1:17890"

还是不行,不过应该不是这个插件的问题,我把配置里的参数proxy_ssl_context注释掉就可以了 感谢大佬!

nek0us commented 9 months ago

我试用了一下这个软件,路由模式默认智能,好像也没问题,没复现出来。你试试配置文件里

# .env.xxx
twitter_proxy = "http://127.0.0.1:17890"

还是不行,不过应该不是这个插件的问题,我把配置里的参数proxy_ssl_context注释掉就可以了 感谢大佬!

ok,有问题可以再反馈