- 预审中
- 预审通过
- 3 已采纳
- 4 已实现
【产品缺陷】codearts agent 始终无法解决无法连接api问题 已采纳 编辑 删除
- CodeArts IDE Online
- 软件开发生产线 CodeArts
CodeArts Agent 无法连接 API(Cannot connect to API)
环境:Windows,CodeArts Agent 5.4.2 / 26.9.500
现象:启动后报错 Cannot connect to API: Unable to connect. Is the computer able to access the url?,无法正常使用。
已系统排查并排除的因素:
- 网络:curl / 浏览器访问
snap-access.cn-north-4.myhuaweicloud.com、collector-agents-access.cn-north-4.myhuaweicloud.com、sts.cn-north-4.myhuaweicloud.com均正常(TCP 443 通、TLS 成功、返回 401/404) - 代理:已彻底清空系统代理残留(注册表 ProxyServer=127.0.0.1:7897 已删除)、环境变量全空,日志确认
final proxy:为空、纯直连 - 已重装、清理全部用户配置、关闭迅雷 / 迅游、关闭防火墙,均无效
- 换手机热点 / USB 网络测试,报错依旧
核心日志证据: 程序连接 https://snap-access.cn-north-4.myhuaweicloud.com/api/v2/chat/completions(及 heartbeat、ragGateway)持续返回 ConnectionRefused / ECONNREFUSED,但同一网络下 curl 访问同域名正常。 日志同时显示:[domain-switch-block] would switch to standby .cn but domain switch disabled, keeping original URL(未切换备用域名)。
日志路径:
C:\Users\asus\AppData\Roaming\codearts-agent\logs\(最新会话)C:\Users\asus\.codeartsdoer\codearts-data\log\kernel-codeartsdoer-incognito-2026-10-07T211009-*.log(含 ConnectionRefused 详情)
请协助排查:程序内置 BUN 网络运行时连接华为云 Agent 服务被拒绝的原因。
yd_266655628
发布于 2026-10-07 21:07:34
2026-10-07
372 1
0/1000
仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB
删除建议
全部评论(1)
评论(1)
感谢您的反馈,您的问题已移交专业工程师跟进,可通过以下链接查看进展:https://console.huaweicloud.com/ticket/?region=cn-north-4&locale=zh-cn#/ticketindex/serviceTickets,紧急情况请拨打950808。
若有华为云产品的功能、体验或缺陷等建议,欢迎通过云声平台提出,我们会尽快确认并回复。感谢您的支持与关注!