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.

Failed to register GitHub runner.

See original GitHub issue

Failed to register GitHub runner. os: window 2008 R2 powerShell: 5.1

Yes, I upgraded the original 2.0 to 5.1

runner :2.275.1

System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.

Runner and Worker’s Diagnostic Logs

Runner_20210111-111521-utc.log

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
zjslqshqzcommented, Jul 7, 2022

Hi, can we reopen that? I’m running Windows Server 2012 R2 and experiencing the same problem Here is the response I get Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a receive. At line:1 char:1

  • Invoke-WebRequest -Uri https://pipelines.actions.githubusercontent.com/AqwOkDKd9
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], Web
     eption
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
    

I Have Already tried a proposed solution of setting the Tls Version with: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 But still not working

I think you should recreate a new question

0reactions
danielscatigno-ncpccommented, Jul 6, 2022

Hi, can we reopen that? I’m running Windows Server 2012 R2 and experiencing the same problem Here is the response I get Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a receive. At line:1 char:1

  • Invoke-WebRequest -Uri https://pipelines.actions.githubusercontent.com/AqwOkDKd9
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], Web
     eption
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
    
    

I Have Already tried a proposed solution of setting the Tls Version with: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 But still not working

Read more comments on GitHub >

github_iconTop Results From Across the Web

Runner failed to register itself to GitHub in timely manner
Checks I've already read https://github.com/actions/actions-runner-controller/blob/master/TROUBLESHOOTING.md and I'm sure my issue is not ...
Read more >
Self hosted runner reports access error during registration; ...
Steps to reproduce the behavior: generate a Github personal access token (PAT) with admin:org permission; use the Github Rest API to get a...
Read more >
Unable to Register an Org runner with Github App creds
Checks I've already read https://github.com/actions/actions-runner-controller/blob/master/TROUBLESHOOTING.md and I'm sure my issue is not ...
Read more >
Unable to connect self hosted runner to github · Issue #1603
A session for this runner already exists. 2022-01-12 00:32:27Z: Runner connect error: The actions runner lab_ubuntu already has an active ...
Read more >
Self-hosted runner registration for windows fail · Issue #2032
Discussed in #2024 Originally posted by Ankit-Sharma-ggn July 26, 2022 I am trying to register the self-hosted runner in our Windows server.
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