QwenLM / Qwen-VL

The official repo of Qwen-VL (通义千问-VL) chat & pretrained large vision language model proposed by Alibaba Cloud.
Other
4.27k stars 327 forks source link

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

Open devinhee opened 2 weeks ago

devinhee commented 2 weeks ago

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

该问题是否在FAQ中有解答? | Is there an existing answer for this in 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