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

[BUG] <qwen-vl api 在阿里云ecs 上调用出现 网络连接错误> #416

Open
2 tasks done
devinhee opened this issue Jun 17, 2024 · 0 comments
Open
2 tasks done

Comments

@devinhee
Copy link

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

HTTPSConnectionPool(host='dashscope.aliyuncs.com', port=443): Max retries exceeded with url: /api/v1/uploads?action=getPolicy&model=qwen-vl-plus (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4b78ef6880>: Failed to establish a new connection: [Errno 111] Connection refused')))

当前能确认并非是访问 太频繁 导致的。
更新过 几个版本的 dashscope,但是不解决问题。
尝试过设置:
with requests.session() as session:
....
session.trust_env = False
...
依然没有解决问题

期望行为 | Expected Behavior

No response

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?

No response

@devinhee devinhee changed the title [BUG] <qwen-vl api 再阿里云ecs 上调用出现 网络连接错误> [BUG] <qwen-vl api 再在阿里云ecs 上调用出现 网络连接错误> Jun 17, 2024
@devinhee devinhee changed the title [BUG] <qwen-vl api 再在阿里云ecs 上调用出现 网络连接错误> [BUG] <qwen-vl api 在阿里云ecs 上调用出现 网络连接错误> Jun 17, 2024
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