actions / actions/runner

The request was canceled due to the configured HttpClient. Timeout of 100 seconds elapsing

Open
#2,470 10 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

[2023-03-01 11:44:22Z INFO HostContext] No proxy settings were found based on environmental variables (http_proxy/https_proxy/HTTP_PROXY/HTTPS_PROXY)
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Root': '/app/actions-runner'
[2023-03-01 11:44:22Z INFO HostContext] Well known config file 'Credentials': '/app/actions-runner/.credentials'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Root': '/app/actions-runner'
[2023-03-01 11:44:22Z INFO HostContext] Well known config file 'Runner': '/app/actions-runner/.runner'
[2023-03-01 11:44:22Z INFO Listener] Runner is built for Linux (X64) - linux-x64.
[2023-03-01 11:44:22Z INFO Listener] RuntimeInformation: Linux 3.10.0-862.11.6.el7.x86_64 #1 SMP Fri Aug 10 16:55:11 UTC 2018.
[2023-03-01 11:44:22Z INFO Listener] Version: 2.289.4
[2023-03-01 11:44:22Z INFO Listener] Commit: 3c64f263211f021532a212db171229415cb0f074
[2023-03-01 11:44:22Z INFO Listener] Culture:
[2023-03-01 11:44:22Z INFO Listener] UI Culture:
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Root': '/app/actions-runner'
[2023-03-01 11:44:22Z INFO Listener] Validating directory permissions for: '/app/actions-runner'
[2023-03-01 11:44:22Z INFO CommandLineParser] Parse
[2023-03-01 11:44:22Z INFO CommandLineParser] Parsing 5 args
[2023-03-01 11:44:22Z INFO CommandLineParser] parsing argument
[2023-03-01 11:44:22Z INFO CommandLineParser] HasArgs: False
[2023-03-01 11:44:22Z INFO CommandLineParser] Adding Command: configure
[2023-03-01 11:44:22Z INFO CommandLineParser] parsing argument
[2023-03-01 11:44:22Z INFO CommandLineParser] HasArgs: True
[2023-03-01 11:44:22Z INFO CommandLineParser] arg: url
[2023-03-01 11:44:22Z INFO CommandLineParser] parsing argument
[2023-03-01 11:44:22Z INFO CommandLineParser] HasArgs: True
[2023-03-01 11:44:22Z INFO CommandLineParser] Adding option 'url': 'https://github.net '
[2023-03-01 11:44:22Z INFO CommandLineParser] parsing argument
[2023-03-01 11:44:22Z INFO CommandLineParser] HasArgs: True
[2023-03-01 11:44:22Z INFO CommandLineParser] arg: token
[2023-03-01 11:44:22Z INFO CommandLineParser] parsing argument
[2023-03-01 11:44:22Z INFO CommandLineParser] HasArgs: True
[2023-03-01 11:44:22Z INFO CommandLineParser] Adding option 'token': ''
[2023-03-01 11:44:22Z INFO Listener] Arguments parsed
[2023-03-01 11:44:22Z INFO Runner] ExecuteCommand
[2023-03-01 11:44:22Z INFO ConfigurationStore] currentAssemblyLocation: /app/actions-runner/bin/Runner.Listener.dll
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO ConfigurationStore] binPath: /app/actions-runner/bin
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Root': '/app/actions-runner'
[2023-03-01 11:44:22Z INFO ConfigurationStore] RootFolder: /app/actions-runner
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Root': '/app/actions-runner'
[2023-03-01 11:44:22Z INFO HostContext] Well known config file 'Runner': '/app/actions-runner/.runner'
[2023-03-01 11:44:22Z INFO ConfigurationStore] ConfigFilePath: /app/actions-runner/.runner
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Root': '/app/actions-runner'
[2023-03-01 11:44:22Z INFO HostContext] Well known config file 'Credentials': '/app/actions-runner/.credentials'
[2023-03-01 11:44:22Z INFO ConfigurationStore] CredFilePath: /app/actions-runner/.credentials
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Root': '/app/actions-runner'
[2023-03-01 11:44:22Z INFO HostContext] Well known config file 'MigratedCredentials': '/app/actions-runner/.credentials_migrated'
[2023-03-01 11:44:22Z INFO ConfigurationStore] MigratedCredFilePath: /app/actions-runner/.credentials_migrated
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Bin': '/app/actions-runner/bin'
[2023-03-01 11:44:22Z INFO HostContext] Well known directory 'Root': '/app/actions-runner'
[2023-03-01 11:44:22Z INFO HostContext] Well known config file 'Service': '/app/actions-runner/.service'
[2023-03-01 11:44:22Z INFO ConfigurationStore] ServiceConfigFilePath: /app/actions-runner/.service
[2023-03-01 11:44:22Z INFO CommandSettings] Flag 'help': 'False'
[2023-03-01 11:44:22Z INFO CommandSettings] Flag 'version': 'False'
[2023-03-01 11:44:22Z INFO CommandSettings] Flag 'commit': 'False'
[2023-03-01 11:44:22Z INFO CommandSettings] Flag 'check': 'False'
[2023-03-01 11:44:22Z INFO CommandSettings] Command 'configure': 'True'
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE:
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: --------------------------------------------------------------------------------
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: | ____ _ _ _ _ _ _ _ _ |
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: | / () || | | | | |_ / \ | |() ___ _ __ ___ |
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: | | | | | __| || | | | | '
\ / _ \ / | | |/ _ | ' / | |
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: | | || | | || _ | || | |) | / ___ \ (
| || | () | | | _
\ |
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: | _
||_|| ||_,|./ /_/ __|_||_/|| ||_/ |
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: | |
[2023-03-01 11:44:22Z INFO Terminal] WRITE: |
[2023-03-01 11:44:22Z INFO Terminal] WRITE: Self-hosted runner registration
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: |
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: | |
[2023-03-01 11:44:22Z INFO Terminal] WRITE LINE: --------------------------------------------------------------------------------
[2023-03-01 11:44:22Z INFO ConfigurationManager] ConfigureAsync
[2023-03-01 11:44:22Z INFO ConfigurationStore] IsConfigured()
[2023-03-01 11:44:22Z INFO ConfigurationStore] IsConfigured: False
[2023-03-01 11:44:22Z INFO ConfigurationManager] Is configured: False
[2023-03-01 11:44:22Z INFO CommandSettings] Arg 'url': 'https://github.net'
[2023-03-01 11:44:22Z INFO CommandSettings] Remove url from Arg dictionary.
[2023-03-01 11:44:22Z INFO CommandSettings] Arg 'token': '
'
[2023-03-01 11:44:22Z INFO CommandSettings] Remove token from Arg dictionary.
[2023-03-01 11:46:03Z ERR ConfigurationManager] Failed to get tenant credentials -- Atempt: 1
[2023-03-01 11:46:03Z ERR ConfigurationManager] System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ConfigurationManager.ConfigureAsync and the self-hosted runner registration path indicated by the log. Reproduce the configuration request against the supplied URL and trace the tenant-credentials request through the runner's HTTP client. Done means the timeout's cause and an actionable fix or configuration requirement are documented and covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, github
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.