用codex cli 一直出现 stream disconnected before completion: error sending request for url (http:localhost:8317v1responses) 错误
- 内容介绍
- 文章标签
- 相关推荐
cpa部署在本地,codex cli 在wsl。手搓了几个gpt号导入cpa准备自用,结果一直出现stream disconnected before completion: error sending request for url (http://localhost:8317/v1/responses) 错误。这是为什么呢?
网友解答:--【壹】--:
这是开了dhcp,电脑自动获取ip了,可以电脑里面设置个静态的ip
--【贰】--:
这是wsl里面的cli连不上宿主机的CPA
--【叁】--:
谢谢佬了,还真是这个原因。突然想起来第一次在wsl下用codex遇到过这种问题
--【肆】--:
wsl 这个网络怎么共享的不是很清楚
不过你可以试一下将 wsl里面的 cli 配置
http 的请求地址改成你宿主机 Windows 的真实 ip 不要用 localhost 或者 127 这种
--【伍】--: pzsci:
stream disconnected before completion: error sending request for url (http://localhost:8317/v1/responses)
这玩意每次重启还会变ip我真的服了,我才知道。
--【陆】--:
咋解决呢佬,不知道咋搞了,都是按站内教程来的
cpa部署在本地,codex cli 在wsl。手搓了几个gpt号导入cpa准备自用,结果一直出现stream disconnected before completion: error sending request for url (http://localhost:8317/v1/responses) 错误。这是为什么呢?
网友解答:--【壹】--:
这是开了dhcp,电脑自动获取ip了,可以电脑里面设置个静态的ip
--【贰】--:
这是wsl里面的cli连不上宿主机的CPA
--【叁】--:
谢谢佬了,还真是这个原因。突然想起来第一次在wsl下用codex遇到过这种问题
--【肆】--:
wsl 这个网络怎么共享的不是很清楚
不过你可以试一下将 wsl里面的 cli 配置
http 的请求地址改成你宿主机 Windows 的真实 ip 不要用 localhost 或者 127 这种
--【伍】--: pzsci:
stream disconnected before completion: error sending request for url (http://localhost:8317/v1/responses)
这玩意每次重启还会变ip我真的服了,我才知道。
--【陆】--:
咋解决呢佬,不知道咋搞了,都是按站内教程来的

