Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Trying ARC for first time, but having issue with connectionreset to actions.githubusercontent.com #2591

Unanswered
dashap asked this question in Questions
Trying ARC for first time, but having issue with connectionreset to actions.githubusercontent.com #2591
May 15, 2023 * 2 comments
Return to top
Discussion options

dashap
May 15, 2023

Hello,

I ran:

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.yaml
kubectl apply -f https://github.com/actions/actions-runner-controller/releases/download/v0.27.4/actions-runner-controller.yaml
kubectl create secret generic controller-manager -n actions-runner-system --from-literal=github_token="token-here"

I then made a file runner.yml with:
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: ghrunners
namespace: actions-runner-system
spec:
replicas: 2
template:
spec:
enterprise: our-github-cloud-emu
group: "self-hosted-k8s"
labels:
- aksrunners
#organization: an-org-in-our-emu

It seems to show with kubectl get runners and kubectl get pods that I have runners running.

However, I do not see the runners. I see this error in the _diag log on one of the runners repeated over and over:

[2023-05-15 14:38:56Z WARN GitHubActionsService] Attempt 2 of GET request to https://pipelines.actions.githubusercontent.com/fIaFnqL9YhKvSh615wBUzaGSSOMbrm0cFzhb8bXbkDiV6MaLcX/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed (Socket Error: ConnectionReset). The operation will be retried in 12.985 seconds.

I was told we do have a firewall rule for the *.actions.githubusercontent.com for the subnet our aks cluster uses. Any ideas what this might be and what the fix is? I tried using organization and enterprise as options in the runner.yml. Both did not show runners.

You must be logged in to vote

Replies: 2 comments

Comment options

dashap
May 15, 2023
Author

I did not wait long enough. It eventually shows:

[2023-05-15 15:01:15Z ERR Runner] System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
---> System.Net.Sockets.SocketException (104): Connection reset by peer
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.Thro wException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Security.SslStream.g__InternalFillHandshakeBuffer Async|189_0[TIOAdapter](TIOAdapter adap, ValueTask1 task, Int32 minSize) at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](T IOAdapter adapter) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAd apter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(Ss lClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) --- End of inner exception stack trace --- at GitHub.Services.Common.VssHttpRetryMessageHandler.SendAsync( HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at GitHub.Services.WebApi.VssHttpClientBase.SendAsync(HttpReque stMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken) at GitHub.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRe questMessage message, Object userState, CancellationToken cancellationToken) at GitHub.Services.Location.Client.LocationHttpClient.GetConnec tionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState) at GitHub.Services.WebApi.Location.VssServerDataProvider.GetCon nectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken) at GitHub.Services.WebApi.Location.VssServerDataProvider.Connec tAsync(ConnectOptions connectOptions, CancellationToken cancellationToken) at GitHub.Runner.Common.RunnerService.EstablishVssConnection(Ur i serverUrl, VssCredentials credentials, TimeSpan timeout) at GitHub.Runner.Common.RunnerServer.ConnectAsync(Uri serverUrl, VssCredentials credentials) at GitHub.Runner.Listener.Configuration.ConfigurationManager.Co nfigureAsync(CommandSettings command) at GitHub.Runner.Listener.Runner.ExecuteCommand(CommandSettings command) [2023-05-15 15:01:15Z ERR Runner] ##################################################### [2023-05-15 15:01:15Z ERR Runner] System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer. ---> System.Net.Sockets.SocketException (104): Connection reset by peer --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.Thro wException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Security.SslStream.g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask1 task, Int32 minSize)
at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](T IOAdapter adapter)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAd apter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(Ss lClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
[2023-05-15 15:01:15Z ERR Runner] #####################################################
[2023-05-15 15:01:15Z ERR Runner] System.Net.Sockets.SocketException (104): Connection reset by peer
[2023-05-15 15:01:15Z ERR Terminal] WRITE ERROR: The SSL connection could not be established, see inner exception.
[2023-05-15 15:01:15Z INFO Listener] Runner execution has finished with return code 1

You must be logged in to vote
0 replies
Comment options

pulkitanz
Jul 26, 2025

hey @dashap did you find a fix to this, I have randomly started seeing the same error.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Questions
Labels
None yet
2 participants