Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
knowlimit opened this issue Aug 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@knowlimit
Copy link

错误报告 🐞

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

感谢您的反馈!🙏

@knowlimit knowlimit added the bug Something isn't working label Aug 25, 2023
@Eventidus
Copy link

+1 我也是这个问题 请问您解决了吗?

@knowlimit
Copy link
Author

knowlimit commented Nov 21, 2023 via email

@20082010
Copy link

20082010 commented Dec 6, 2023

蹲一个

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants