Unable to install AMP due to HTTP Client error

OS Name/Version: Ubuntu Server 24.04.3 LTS (just installed)

Product Name/Version: Pre-AMP Install

Problem Description:

Every time my friend tries to install AMP on his Ubuntu machine we run into this error at the exact same point each time. We have used the install commands bash <(curl -fsSL ``getamp.sh``) and bash <(wget -qO- ``getamp.sh``) (as suggested in this support ticket, Unable to install amp due to configured Http Client - #4 by Greelan ). Does anyone have any idea what is going on and how to fix it?

2025/10/26 17:39:30 [notice] 14035#14035: signal process started
[Info/1] Done!
Creating default instance...
[Info/1] AMP Instance Manager v2.6.3.2 built 22/10/2025 11:12
[Info/1] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Activity/1] Audit: Unknown/None [CreateInstance] Creating instance ADS01 using ADS module on port 8080.
[Error/9] TaskCanceledException
[Error/9] [0] (TaskCanceledException) : The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.
[Error/9]    at Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at ModuleShared.VersionManifest.FetchAsync(String forPlatform)
[Error/9] TimeoutException
[Error/9] [1] (TimeoutException) : A task was canceled.
[Error/9] TaskCanceledException
[Error/9] [2] (TaskCanceledException) : A task was canceled.
[Error/9]    at Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
[Error/11] TaskCanceledException
[Error/11] [0] (TaskCanceledException) : The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.
[Error/11]    at Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at ModuleShared.VersionManifest.FetchAsync(String forPlatform)
[Error/11] TimeoutException
[Error/11] [1] (TimeoutException) : A task was canceled.
[Error/11] TaskCanceledException
[Error/11] [2] (TaskCanceledException) : A task was canceled.
[Error/11]    at Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
[Info/11] Instance creation failed. Reason: "The core archive failed to download or unpack: Failed to find a release matching the specified version: Mainline/ - This version may no longer be available to download, you should update to a newer version."
Failed to create default instance.
Removing generated nginx config...
Aborting...

Steps to reproduce:

  • Step 1: Run bash <(curl -fsSL ``getamp.sh``) or bash <(wget -qO- ``getamp.sh``)
  • Step 2: Get to the [Activity/1] Audit: Unknown/None [CreateInstance] Creating instance ADS01 using ADS module on port 8080. line of the install
  • Step 3: Run into the same error every time no matter what command you use

Actions taken to resolve so far:

Use the alternative command suggested in the support ticket mentioned (this one, Unable to install amp due to configured Http Client - #4 by Greelan )

Usually due to misconfigured IPv6 on the host system

I fixed it by disabling IPv6 completly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.