[GH-ISSUE #1006] [Bug] 发送模板消息到飞书失败 #690

Closed
opened 2026-03-03 01:05:16 +03:00 by kerem · 0 comments
Owner

Originally created by @FeilongAI on GitHub (Oct 24, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1006

Originally assigned to: @FeilongAI on GitHub.

软件版本 / Release Version

V0.4.1

缺陷描述 / Description

带有模板消息的通知发送会超时

复现步骤 / Steps to reproduce

域名监控模板直接修改了一个域名

日志 / Logs

#OMprocl4jGzwgPk7GB1n 开始
[2025-10-24 18:37:32]
the workflow is starting
#07HdBv6M_MW4QLBCWSgN9 监控
[2025-10-24 18:37:32]
ready to monitor certificate ...
[2025-10-24 18:37:32]
retrieving certificate at (domain: m)
[2025-10-24 18:37:37]
ssl certificate retrieved (serial='5793102621031614', subject='CN=', issuer='CN=R11,O=Let's Encrypt,C=US', not_before='2025-08-10T00:29:16Z', not_after='2025-11-08T00:29:15Z', sans='')
[2025-10-24 18:37:37]
the certificate is valid, and will expire in 14 day(s)
[2025-10-24 18:37:37]
monitoring completed
#VPqd962TexsCJTVd2wyMx 若网站证书即将过期…
[2025-10-24 18:37:37]
enter this branch, because condition met
#ow8xKN0vcR-BlHts2-eqt 通知
[2025-10-24 18:37:37]
ready to send notification ...
config:
{"provider":"larkbot","providerAccessId":"2mgwlyiq0z6","subject":"证书过期提醒!","message":"域名:{{ $certificate.domain }}\n过期时间:{{ $certificate.notAfter }}\n剩余天数:{{ $certificate.daysLeft }}","skipOnAllPrevSkipped":false}
[2025-10-24 18:37:42]
could not send notification
[2025-10-24 18:37:42]
lark api error: Post "h21": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
#oclLIy9bFhItbNXmUdVWd 若网站证书已过期…
[2025-10-24 18:37:42]
skip this branch, because condition not met
#FCuxrW-TYJW2DSgFRcG1R 结束
[2025-10-24 18:37:42]
the workflow is ending

# 请在此粘贴日志 / Paste logs here

其他 / Miscellaneous

#OMprocl4jGzwgPk7GB1n 开始
[2025-10-24 18:37:32]
the workflow is starting
#07HdBv6M_MW4QLBCWSgN9 监控
[2025-10-24 18:37:32]
ready to monitor certificate ...
[2025-10-24 18:37:32]
retrieving certificate at (domain: m)
[2025-10-24 18:37:37]
ssl certificate retrieved (serial='5793102621031614', subject='CN=', issuer='CN=R11,O=Let's Encrypt,C=US', not_before='2025-08-10T00:29:16Z', not_after='2025-11-08T00:29:15Z', sans='')
[2025-10-24 18:37:37]
the certificate is valid, and will expire in 14 day(s)
[2025-10-24 18:37:37]
monitoring completed
#VPqd962TexsCJTVd2wyMx 若网站证书即将过期…
[2025-10-24 18:37:37]
enter this branch, because condition met
#ow8xKN0vcR-BlHts2-eqt 通知
[2025-10-24 18:37:37]
ready to send notification ...
config:
{"provider":"larkbot","providerAccessId":"2mgwlzvv9yiq0z6","subject":"证书过期提醒!","message":"域名:{{ $certificate.domain }}\n过期时间:{{ $certificate.notAfter }}\n剩余天数:{{ $certificate.daysLeft }}","skipOnAllPrevSkipped":false}
[2025-10-24 18:37:42]
could not send notification
[2025-10-24 18:37:42]
lark api error: Post "h21": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
#oclLIy9bFhItbNXmUdVWd 若网站证书已过期…
[2025-10-24 18:37:42]
skip this branch, because condition not met
#FCuxrW-TYJW2DSgFRcG1R 结束
[2025-10-24 18:37:42]
the workflow is ending

贡献 / Contribution

  • 我乐意为此贡献 PR! / I am interested in contributing a PR for this!
Originally created by @FeilongAI on GitHub (Oct 24, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/1006 Originally assigned to: @FeilongAI on GitHub. ### 软件版本 / Release Version V0.4.1 ### 缺陷描述 / Description 带有模板消息的通知发送会超时 ### 复现步骤 / Steps to reproduce 域名监控模板直接修改了一个域名 ### 日志 / Logs #OMprocl4jGzwgPk7GB1n 开始 [2025-10-24 18:37:32] the workflow is starting #07HdBv6M_MW4QLBCWSgN9 监控 [2025-10-24 18:37:32] ready to monitor certificate ... [2025-10-24 18:37:32] retrieving certificate at (domain: m) [2025-10-24 18:37:37] ssl certificate retrieved (serial='5793102621031614', subject='CN=', issuer='CN=R11,O=Let's Encrypt,C=US', not_before='2025-08-10T00:29:16Z', not_after='2025-11-08T00:29:15Z', sans='') [2025-10-24 18:37:37] the certificate is valid, and will expire in 14 day(s) [2025-10-24 18:37:37] monitoring completed #VPqd962TexsCJTVd2wyMx 若网站证书即将过期… [2025-10-24 18:37:37] enter this branch, because condition met #ow8xKN0vcR-BlHts2-eqt 通知 [2025-10-24 18:37:37] ready to send notification ... config: {"provider":"larkbot","providerAccessId":"2mgwlyiq0z6","subject":"证书过期提醒!","message":"域名:{{ $certificate.domain }}\n过期时间:{{ $certificate.notAfter }}\n剩余天数:{{ $certificate.daysLeft }}","skipOnAllPrevSkipped":false} [2025-10-24 18:37:42] could not send notification [2025-10-24 18:37:42] lark api error: Post "h21": context deadline exceeded (Client.Timeout exceeded while awaiting headers) #oclLIy9bFhItbNXmUdVWd 若网站证书已过期… [2025-10-24 18:37:42] skip this branch, because condition not met #FCuxrW-TYJW2DSgFRcG1R 结束 [2025-10-24 18:37:42] the workflow is ending <details> ```console # 请在此粘贴日志 / Paste logs here ``` </details> ### 其他 / Miscellaneous #OMprocl4jGzwgPk7GB1n 开始 [2025-10-24 18:37:32] the workflow is starting #07HdBv6M_MW4QLBCWSgN9 监控 [2025-10-24 18:37:32] ready to monitor certificate ... [2025-10-24 18:37:32] retrieving certificate at (domain: m) [2025-10-24 18:37:37] ssl certificate retrieved (serial='5793102621031614', subject='CN=', issuer='CN=R11,O=Let's Encrypt,C=US', not_before='2025-08-10T00:29:16Z', not_after='2025-11-08T00:29:15Z', sans='') [2025-10-24 18:37:37] the certificate is valid, and will expire in 14 day(s) [2025-10-24 18:37:37] monitoring completed #VPqd962TexsCJTVd2wyMx 若网站证书即将过期… [2025-10-24 18:37:37] enter this branch, because condition met #ow8xKN0vcR-BlHts2-eqt 通知 [2025-10-24 18:37:37] ready to send notification ... config: {"provider":"larkbot","providerAccessId":"2mgwlzvv9yiq0z6","subject":"证书过期提醒!","message":"域名:{{ $certificate.domain }}\n过期时间:{{ $certificate.notAfter }}\n剩余天数:{{ $certificate.daysLeft }}","skipOnAllPrevSkipped":false} [2025-10-24 18:37:42] could not send notification [2025-10-24 18:37:42] lark api error: Post "h21": context deadline exceeded (Client.Timeout exceeded while awaiting headers) #oclLIy9bFhItbNXmUdVWd 若网站证书已过期… [2025-10-24 18:37:42] skip this branch, because condition not met #FCuxrW-TYJW2DSgFRcG1R 结束 [2025-10-24 18:37:42] the workflow is ending ### 贡献 / Contribution - [x] 我乐意为此贡献 PR! / I am interested in contributing a PR for this!
kerem 2026-03-03 01:05:16 +03:00
  • closed this issue
  • added the
    bug
    stale
    labels
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#690
No description provided.