wangrongding / wechat-bot

🤖一个基于 WeChaty 结合 OpenAi ChatGPT / Kimi / 讯飞等Ai服务实现的微信机器人 ,可以用来帮助你自动回复微信消息,或者管理微信群/好友,检测僵尸粉等...
MIT License
4.34k stars 652 forks source link

bot error❌: GError: Parse Error: Invalid status code #165

Open bochennn opened 2 months ago

bochennn commented 2 months ago

我给我自己发没问题,别人给我发就报下面的错

20240407-224053

xiaobujun commented 2 months ago

遇到了相似的问题,但我的是报502 1

yanglgtm commented 1 month ago

+1, 启动后,没有发送消息,过一会就自动就弹出这个错误。

wangrongding commented 1 month ago

选的哪个ai服务?

xiaobujun commented 1 month ago

选的哪个ai服务?

Kimi

bochennn commented 1 month ago

选的哪个ai服务?

我也是kimi,目测可能是没等第一句回复完就发了第二句

yanglgtm commented 1 month ago

我用的 chatgtp

jiaxinonly commented 2 weeks ago

感觉跟微信状态有关,保持手机上微信分身前台运行,没有问题,一当打开主微信,发送消息,就报错,估计分身上微信离线了

newTechAccount commented 1 week ago

我这边是这样的 bot error?: GError [AggregateError] at AxiosError.from (/root/wechat-bot/node_modules/axios/dist/node/axios.cjs:841:14) at RedirectableRequest.handleRequestError (/root/wechat-bot/node_modules/axios/dist/node/axios.cjs:3106:25) at RedirectableRequest.emit (node:events:531:35) at eventHandlers. (/root/wechat-bot/node_modules/follow-redirects/index.js:38:24) at ClientRequest.emit (node:events:519:28) at TLSSocket.socketErrorListener (node:_http_client:500:9) at TLSSocket.emit (node:events:519:28) at emitErrorNT (node:internal/streams/destroy:169:8) at emitErrorCloseNT (node:internal/streams/destroy:128:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (/root/wechat-bot/node_modules/axios/dist/node/axios.cjs:4224:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 2, details: 'AggregateError\n' + ' at AxiosError.from (/root/wechat-bot/node_modules/axios/dist/node/axios.cjs:841:14)\n' + ' at RedirectableRequest.handleRequestError (/root/wechat-bot/node_modules/axios/dist/node/axios.cjs:3106:25)\n' + ' at RedirectableRequest.emit (node:events:531:35)\n' + ' at eventHandlers. (/root/wechat-bot/node_modules/follow-redirects/index.js:38:24)\n' + ' at ClientRequest.emit (node:events:519:28)\n' + ' at TLSSocket.socketErrorListener (node:_http_client:500:9)\n' + ' at TLSSocket.emit (node:events:519:28)\n' + ' at emitErrorNT (node:internal/streams/destroy:169:8)\n' + ' at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n' + ' at Axios.request (/root/wechat-bot/node_modules/axios/dist/node/axios.cjs:4224:41)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)' } ? 程序退出,请重新运行程序

newTechAccount commented 1 week ago

感觉跟微信状态有关,保持手机上微信分身前台运行,没有问题,一当打开主微信,发送消息,就报错,估计分身上微信离线了

没看懂,主微信不就是手机上的吗?

jiaxinonly commented 1 week ago

感觉跟微信状态有关,保持手机上微信分身前台运行,没有问题,一当打开主微信,发送消息,就报错,估计分身上微信离线了

没看懂,主微信不就是手机上的吗?

我是小号用的微信分身,手机后台会休眠之类的吧