Skip to content

发生了一个错误 #1

Open
Open

Description

@Chenmengangzhi-888

apiadj填上那个网站的api了 还是报错?
VM9 asdebug.js:1 POST https://stream.api2d.net/v1/chat/completions net::ERR_CONNECTION_RESET(env: Windows,mp,1.06.2303060; lib: 2.30.0)
b @ VM9 asdebug.js:1
createRequestTask @ VM9 asdebug.js:1
invoke @ VM9 asdebug.js:1
r @ VM9 asdebug.js:1
invoke @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
s @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
q @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
R @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
B @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
A @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
D @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
T @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
createRequestTask @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
Promise.then (async)
execute @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
s @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
d @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WASubContext.js?t=wechat&s=1679575969323&v=2.30.0:1
value @ apihook.js?t=wechat&s=1679575969323&v=ba438b60544b405c159933f21b91456e:1
U @ vendor.js?t=wechat&s=1679575969323&v=410f966a810ccbed5afc68c8651c98c1:1
(anonymous) @ vendor.js?t=wechat&s=1679575969323&v=410f966a810ccbed5afc68c8651c98c1:1
sendMsg @ index.js?t=wechat&s=1679575969323&v=0c59b1cf8b5f863dc49ef9bb02a1792f:150
(anonymous) @ vendor.js?t=wechat&s=1679575969323&v=410f966a810ccbed5afc68c8651c98c1:1
(anonymous) @ vendor.js?t=wechat&s=1679575969323&v=410f966a810ccbed5afc68c8651c98c1:1
wt @ vendor.js?t=wechat&s=1679575969323&v=410f966a810ccbed5afc68c8651c98c1:1
o.safeCallback @ WASubContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WASubContext.js?t=wechat&s=1679575969323&v=2.30.0:1
Pn @ WASubContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WASubContext.js?t=wechat&s=1679575969323&v=2.30.0:1
he @ WASubContext.js?t=wechat&s=1679575969323&v=2.30.0:1
fe @ WASubContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WASubContext.js?t=wechat&s=1679575969323&v=2.30.0:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
emit @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
dispatch @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
cb @ WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1
a @ VM9 asdebug.js:1
c @ VM9 asdebug.js:1
(anonymous) @ VM9 asdebug.js:1
g @ VM9 asdebug.js:1
f @ VM9 asdebug.js:1
(anonymous) @ VM9 asdebug.js:1
_ws.onmessage @ VM9 asdebug.js:1
Show 20 more frames
WAServiceMainContext.js?t=wechat&s=1679575969323&v=2.30.0:1 call failed:, {errMsg: "request:fail "}

Activity

  1. feixiangcode commented on Mar 24, 2023

    @feixiangcode
    Owner

    挂代理了吧?提示是连接重置了,应该是网络的问题。
    ping stream.api2d.net 域名对不对。

  2. Chenmengangzhi-888 commented on Mar 24, 2023

    @Chenmengangzhi-888
    Author

    挂代理了吧?提示是连接重置了,应该是网络的问题。 ping stream.api2d.net 域名对不对。

    成功了 问题是实机测试没问题 小程序上传后就没法用了?

  3. feixiangcode commented on Mar 25, 2023

    @feixiangcode
    Owner

    挂代理了吧?提示是连接重置了,应该是网络的问题。 ping stream.api2d.net 域名对不对。

    成功了 问题是实机测试没问题 小程序上传后就没法用了?

    是的。小程序的域名需要备案。而且得是https的。得找个自己的服务器做个反向代理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions