Skip to content

🐞 错误报告【直接代码部署,openai,飞书webhook能通过,发消息给机器人没回复】 #261

@knowlimit

Description

@knowlimit

错误报告 🐞

root@racknerd-d74fdc:/home/starhqking/house02/Feishu-OpenAI/code# go run main.go
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

  • using env: export GIN_MODE=release
  • using code: gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET /ping --> main.main.func2 (3 handlers)
[GIN-debug] POST /webhook/event --> main.main.NewEventHandlerFunc.func4 (3 handlers)
[GIN-debug] POST /webhook/card --> main.main.NewCardActionHandlerFunc.func5 (3 handlers)
2023/08/25 13:44:12 http server started: http://localhost:9000/webhook/event

[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on :9000
2023/08/25 13:45:04 [Error] [handle event,path:/webhook/event,err: event unmarshal failed,encrypted message is blank]
[GIN] 2023/08/25 - 13:45:04 | 500 | 245.570013ms | 123.58.10.239 | POST "/webhook/event"
2023/08/25 13:46:32 [Info] [AuthByChallenge Success]
[GIN] 2023/08/25 - 13:46:32 | 200 | 244.089889ms | 123.58.10.239 | POST "/webhook/card"
2023/08/25 13:46:34 [Info] [AuthByChallenge Success]
[GIN] 2023/08/25 - 13:46:34 | 200 | 228.889736ms | 123.58.10.238 | POST "/webhook/card"
2023/08/25 13:46:51 [Info] [AuthByChallenge Success]
[GIN] 2023/08/25 - 13:46:51 | 200 | 231.552976ms | 123.58.10.238 | POST "/webhook/event"

错误描述 🤔

请详细地描述您遇到的问题,包括出现问题的环境和步骤,以及您已经尝试过的解决方法。

另外,如果您在解决问题时已经查看过其他 GitHub Issue,请务必在文本中说明并引用相关信息。

附加信息 📝

请提供以下信息以帮助我们更快地解决问题:

  • 输出日志,包括错误信息和堆栈跟踪
  • 相关的代码片段或文件
  • 您的操作系统、软件版本等环境信息
    image

感谢您的反馈!🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions