V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
zoranz
V2EX  ›  Python

求助 Win 平台 vpn 在 pycharm 运行不同不同包代理异常

  •  
  •   zoranz · 2022-04-20 18:46:19 +08:00 · 287 次点击
    这是一个创建于 743 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题 使用 requests 访问翻墙 https 无问题 使用 aiohttp 会报错 ssl 信号灯连接超时

    zoranz
        1
    zoranz  
    OP
       2022-04-21 09:44:20 +08:00
    已解决 问题:aiohttp 在全局代理模式下无法访问墙外的网址,而 requests 可以
    aiohttp 不支持 https 代理,无论访问的网址是 http 还是 https ,使用代理是字符串 proxy='http://127.0.0.1:10080'
    解决方案为:https://blog.csdn.net/lwdfzr/article/details/105426686(转载侵删)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   764 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:23 · PVG 04:23 · LAX 13:23 · JFK 16:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.