Linux self-hosted runners offline since 2026-11-06 01:38 UTC: NotTimeValid on broker.actions.githubusercontent.com (Let's Encrypt YR1 / Root YR chain), same as #4560

Đang mở
#4,838 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, github-actions, linux
Lĩnh vực
devops, networking

Hướng nghiên cứu

Start by comparing this failure with issue #4560 and trace the BrokerMessageListener connection setup in the runner. Reproduce certificate validation with the reported Linux and .NET environment, then identify why SslStream rejects the served chain as NotTimeValid while OpenSSL accepts it. Done means new broker connections succeed with normal TLS verification and the runner remains online.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

Since about 2026-11-06 01:38 UTC, self-hosted runners on Linux cannot create a session with broker.actions.githubusercontent.com. Every attempt fails in BrokerMessageListener with:

System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: NotTimeValid

The runner shows as offline in GitHub and jobs stay queued. This looks like the same failure as #4560 (July 2026, macOS), now on Linux. Runners that already had an open connection kept working until that connection dropped; every new connection fails, including after restarting the service.

What changed on the server side

broker.actions.githubusercontent.com presented a newly issued certificate (leaf notBefore 2026-11-05 23:35:54 UTC):

0: CN=*.actions.githubusercontent.com  notBefore Nov  5 23:35:54 2026 GMT, notAfter Feb  3 23:35:53 2027 GMT
1: C=US, O=Let's Encrypt, CN=YR1        notBefore Sep  3 2025,               notAfter Sep  2 2028
2: C=US, O=ISRG, CN=Root YR             (cross-signed by ISRG Root X1) notBefore May 13 2026, notAfter Sep 2 2032

pipelines.actions.githubusercontent.com and vstoken.actions.githubusercontent.com still serve an older certificate (issuer YR2, notBefore Oct 14 2026).

Environment

  • Runner 2.338.2 (latest release), linux-x64, Ubuntu 24.04.5 LTS under WSL2
  • OpenSSL 3.0.13, ca-certificates 20260816ubuntu0.24.04.1
  • No proxy. System clock verified correct: it matches the Date header returned by the server to the second.
  • Three runners on the same machine fail identically.

Diagnosis (the OS trust and the network are healthy)

  1. curl and openssl s_client (IPv4 and IPv6, repeated 5 times each) connect and report Verify return code: 0 (ok).
  2. openssl verify -x509_strict -untrusted <served intermediates> <leaf> is OK. With -attime set to the present it is OK.
  3. No expired certificates exist in /etc/ssl/certs.
  4. Restarting the runner service does not help.
  5. Adding the official self-signed ISRG Root YR (from letsencrypt.org/certs/gen-y/root-yr.pem; its subject key identifier matches the served cross-signed certificate) to the system trust store and restarting does not help. Reverted afterwards.

So OpenSSL validates the served chain, but the runner's bundled .NET SslStream rejects it with NotTimeValid. This is the same pattern reported in #4560.

Impact

All self-hosted runners that are routed to the edge serving this certificate and have to open a new connection go offline, and all jobs stay queued. There is no client-side workaround other than disabling TLS verification, which should not be used.

Ask

  • Could the team confirm whether this is the same underlying cause as #4560 and what the fix was then?
  • A fix on the service side (certificate or chain) or a runner/.NET fix that handles this chain.
Ngôn ngữ chính
C#
Star
6.4k
Fork
1.5k
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
36

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của actions/runner

Tất cả issue của actions/runner

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.