question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Github actions not updating

See original GitHub issue

The github action application is not updating as it was about 16 hours ago.

This started last night, Runners were using 2.293.0, which previously successfully updated to 2.303.0, however, this suddenly stopped running and we saw ‘Peer reset connection’ errors in our runner logs.

We then manually updated the image to 2.302.0 (left it a few versions behind to potentially view update errors) and while we are not seeing any errors yet, this still isn’t updating.

To Reproduce Steps to reproduce the behavior:

  1. Raise PR / Merge to main
  2. newer syntax of Github actions fail due to old version

Expected behavior Runner sees that it is running an old version and autoupdates.

Autoupdates is confirmed to be enabled.

Runner Version and Platform

3.302.0 - x64

OS of the machine running the runner? OSX/Windows/Linux/… Linux

What’s not working?

Autoupdates are not successfully updating Runner version.

image

Runner and Worker’s Diagnostic Logs

– This error may / may not be related.- these are from 2.293.0 - we are not seeing this errors in new version.–

[2023-04-28 08:39:15Z ERR JobServer] ##################################################### [2023-04-28 08:39:15Z ERR JobServer] System.Net.Sockets.SocketException (104): Connection reset by peer at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendAsyncForNetworkStream(Socket socket, CancellationToken cancellationToken) at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory1 buffer, CancellationToken cancellationToken) at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory1 buffer) at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](TIOAdapter writeAdapter, ReadOnlyMemory1 buffer) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at System.Net.Security.SslStream.WriteAsync(ReadOnlyMemory1 buffer, CancellationToken cancellationToken) at System.Net.Http.HttpConnection.WriteToStreamAsync(ReadOnlyMemory1 source, Boolean async) at System.Net.Http.HttpConnection.RawConnectionStream.WriteAsync(ReadOnlyMemory1 buffer, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory1 payloadBuffer, Task lockTask, CancellationToken cancellationToken) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory1 payloadBuffer, Task lockTask, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendAsync(ArraySegment1 buffer, WebSocketMessageType messageType, Boolean endOfMessage, CancellationToken cancellationToken) at GitHub.Runner.Common.JobServer.AppendTimelineRecordFeedAsync(Guid scopeIdentifier, String hubName, Guid planId, Guid timelineId, Guid timelineRecordId, Guid stepId, IList1 lines, Nullable1 startLine, CancellationToken cancellationToken) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at GitHub.Runner.Common.JobServer.AppendTimelineRecordFeedAsync(Guid scopeIdentifier, String hubName, Guid planId, Guid timelineId, Guid timelineRecordId, Guid stepId, IList1 lines, Nullable1 startLine, CancellationToken cancellationToken) at GitHub.Runner.Common.JobServerQueue.ProcessWebConsoleLinesQueueAsync(Boolean runOnce) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task.DelayPromise.CompleteTimedOut() at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool) at System.Threading.TimerQueue.FireNextTimers() at System.Threading.UnmanagedThreadPoolWorkItem.ExecuteUnmanagedThreadPoolWorkItem(IntPtr callback, IntPtr state) at System.Threading.UnmanagedThreadPoolWorkItem.ExecuteUnmanagedThreadPoolWorkItem(IntPtr callback, IntPtr state) at System.Threading.UnmanagedThreadPoolWorkItem.System.Threading.IThreadPoolWorkItem.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() — End of stack trace from previous location —

[2023-04-28 08:39:15Z INFO JobServer] Websocket is not open, let’s attempt to connect back again with random backoff 00:00:00.3820000 ms (total calls: 22, failed calls: 1). [2023-04-28 08:39:15Z INFO JobServer] Creating websocket client …wss://pipelines.actions.githubusercontent.com/dZhU5NhB4yqTeYAyIQrYaBEUK0a5ngA10LkEgxQR99SN4nOVmf/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/bcbe21b3-d4f9-467f-aa54-48720283652b/ti melines/bcbe21b3-d4f9-467f-aa54-48720283652b/records/80ed3a07-afd1-5a19-6386-267d64db85f1/feedstream?api-version=6.0-preview [2023-04-28 08:39:15Z INFO JobServer] Attempting to start websocket client with delay 00:00:00.3820000. [2023-04-28 08:39:15Z INFO JobServerQueue] Try to append 1 batches web console lines for record ‘ef5854cf-bdd4-5d6c-d949-99d35fd812df’, success rate: 1/1. [2023-04-28 08:39:16Z INFO JobServer] Successfully started websocket client. [2023-04-28 08:39:16Z INFO JobServerQueue] Try to append 1 batches web console lines for record ‘ef5854cf-bdd4-5d6c-d949-99d35fd812df’, success rate: 1/1…

Issue Analytics

  • State:open
  • Created 5 months ago
  • Reactions:6
  • Comments:6

github_iconTop GitHub Comments

1reaction
BenChiverton-Calcommented, May 2, 2023

@Hdom sorry my comment was unhelpful, I’ve updated it now.

0reactions
Hdomcommented, May 12, 2023

Our self hosted runners started to successfully update to 2.304.0 again, no changes made.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Github Actions Secrets: value not updating after changing it ...
I have some github workflows using secrets in the repository. I created the secret, but I used the wrong value for it so...
Read more >
Updating GitHub Actions Workflows
The first step is going to the repository that already has GitHub actions provisioned. Navigating to the Actions tab no longer shows the...
Read more >
App not updating from automatic commits from github ...
I have an app from a repo that I set up github actions to check for new data and push a commit each...
Read more >
GitHub Actions: Job summary updates
January 31, 2023. We are making changes to job summaries and logs in GitHub Actions that will impact customers using self-hosted runners.
Read more >
Update a GitHub version 1 source action to ...
To replace your version 1 GitHub action · Under Connection, if you have not already created a connection to your provider, choose Connect...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found