Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

报错Unexpected end of JSON input #265

Open
4 tasks
RichardMiku opened this issue Nov 15, 2024 · 0 comments
Open
4 tasks

报错Unexpected end of JSON input #265

RichardMiku opened this issue Nov 15, 2024 · 0 comments

Comments

@RichardMiku
Copy link

RichardMiku commented Nov 15, 2024

⚠️不按照以下格式创建的issue将不会获得回复⚠️

提bug前先检查以下是否已经执行

  • 我已更新了最新版本的代码
  • 我已经仔细地阅读了readme 文档
  • 我已在FAQ里查找了可能寻找的答案
  • 我已经尝试搜索过历史关闭issue寻找可能的答案

bug描述

[2024-11-15T05:43:19.764] [INFO] - starting fetching api: http://sdtbubot:8080/MessageReceive
[2024-11-15T05:43:19.768] [ERROR] - uncaughtException SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Response.json (/app/node_modules/.pnpm/[email protected]/node_modules/node-fetch-commonjs/index.js:707:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async handleResSendMsg (/app/src/service/msgSender.js:612:20)
[2024-11-15T05:43:40.332] [INFO] - Message: Message#Unknown[🗣Contact]
[2024-11-15T05:43:42.184] [INFO] - Message: Message#Unknown[🗣Contact@👥Room<23金财闲聊群>]
[2024-11-15T05:44:05.733] [INFO] - Message: Message#Text[🗣Contact@👥Room<loading...>] 当前时间
[2024-11-15T05:44:05.734] [INFO] - starting fetching api: http://sdtbubot:8080/MessageReceive
[2024-11-15T05:44:06.158] [INFO] - 调用 bot api 发送 消息 给 Contact: 11/15/2024 13:44:05
[2024-11-15T05:44:06.174] [ERROR] - uncaughtException SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Response.json (/app/node_modules/.pnpm/[email protected]/node_modules/node-fetch-commonjs/index.js:707:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async handleResSendMsg (/app/src/service/msgSender.js:612:20)

所以请按以下格式描述问题:

  • 场景:消息接收
  • 操作
  • 表现
    image

提供有用的信息

  • 目前使用的版本号:最新源码构建的docker镜像(很可能最新版本已经修复了)
  • 提供任何代码片段/日志/输出/截图 以便于帮助快速定位问题
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant