runner icon indicating copy to clipboard operation
runner copied to clipboard

Error: fatal: unable to access 'https://github.com/xxx/': error setting certificate verify locations: CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none

Open abhi-iac opened this issue 1 year ago • 0 comments

Describe the bug This is interesting behavior I am observing on the Self-Hosted GitHub runners.

When I install GH runners on my win server and start manually by running .\run.cmd, I can see the console and my deploy job is running fine but as soon as I cancel the .\run.cmd and start-service action-runner.* My deploy job is failing with SSL certificate error.

I can see GH service is running on Services. I tried to delete and installed it as a service Changed the git config --global http.sslBackend schannel Tried to run on different server still same issue.

To Reproduce Install latest runner and make it run as a service

Expected behavior A clear and concise description of what you expected to happen.

Runner Version and Platform

Version of your runner? '2.319.1' OS of the machine running the runner? OSX/Windows/Linux/... Win

What's not working?

Error: fatal: unable to access 'https://github.com/xxx/': error setting certificate verify locations: CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none

Job Log Output

[2024-08-23 15:39:00Z INFO HostContext] Configuring anonymous proxy http://uus_prod_proxy_ssl.upc:80 for all HTTP requests. [2024-08-23 15:39:00Z INFO HostContext] Configuring anonymous proxy http://uus_prod_proxy_ssl.upc:80 for all HTTPS requests. [2024-08-23 15:39:00Z INFO HostContext] Well known directory 'Bin': 'D:\runners\bin' [2024-08-23 15:39:00Z INFO HostContext] Well known directory 'Root': 'D:\runners' [2024-08-23 15:39:00Z INFO HostContext] Well known config file 'Credentials': 'D:\runners.credentials' [2024-08-23 15:39:00Z INFO HostContext] Well known directory 'Bin': 'D:\runners\bin' [2024-08-23 15:39:00Z INFO HostContext] Well known directory 'Root': 'D:\runners' [2024-08-23 15:39:00Z INFO HostContext] Well known config file 'Runner': 'D:\runners.runner' [2024-08-23 15:39:00Z INFO Worker] Version: 2.319.1 [2024-08-23 15:39:00Z INFO Worker] Commit: bc6614c04d3ddc20e5ca5d5a87ae2b58dda322ec [2024-08-23 15:39:00Z INFO Worker] Culture: en-US [2024-08-23 15:39:00Z INFO Worker] UI Culture: en-US [2024-08-23 15:39:00Z INFO Worker] Waiting to receive the job message from the channel. [2024-08-23 15:39:00Z INFO ProcessChannel] Receiving message of length 26605, with hash

Runner and Worker's Diagnostic Logs

If applicable, add relevant diagnostic log information. Logs are located in the runner's _diag folder. The runner logs are prefixed with Runner_ and the worker logs are prefixed with Worker_. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.

abhi-iac avatar Aug 23 '24 15:08 abhi-iac