Error Installing AMP

OS Name/Version:
Ubuntu 24.04.1 LTS

Product Name/Version: (Always use the full version number - not ‘Latest’)
AMP 2.6.0.6

Problem Description:
I was trying to install AMP with the bash <(wget -qO- getamp.sh) command, but it did nothing. On discord tech support I was asked to use these commands

wget -O getamp.sh getamp.sh
chmod +x getamp.sh
./getamp.sh 

but it did not work, I got

--2024-11-22 03:42:15--  http://getamp.sh/
Resolving getamp.sh (getamp.sh)... p.sh198.244.186.213
Connecting to getamp.sh (getamp.sh)|198.244.186.213|:80... failed: No route to host. 

So I was asked to use

wget -O getamp.sh https://cubecoders.com/getamp.sh

and this did work, I was able to run the getamp.sh and when it was installing I ran into this problem

Error/10] HttpRequestException
[Error/10] [0] (HttpRequestException) : No route to host (downloads.cubecoders.com:443)
[Error/10]    at Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   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)
   at ModuleShared.VersionManifest.FetchAsync(String forPlatform)
[Error/10] SocketException
[Error/10] [1] (SocketException) : No route to host
[Error/10]    at Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
[Error/10] HttpRequestException
[Error/10] [0] (HttpRequestException) : No route to host (downloads.cubecoders.com:443)
[Error/10]    at Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   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)
   at ModuleShared.VersionManifest.FetchAsync(String forPlatform)
[Error/10] SocketException
[Error/10] [1] (SocketException) : No route to host
[Error/10]    at Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|285_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)

Here are the logs

Fri Nov 22 03:31:58 AM UTC 2024
Hit:1 http://us.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:5 https://repo.cubecoders.com debian/ InRelease
Get:6 https://packages.adoptium.net/artifactory/deb noble InRelease [7,511 B]
Fetched 7,511 B in 1s (7,219 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following upgrades have been deferred due to phasing:
  python3-distupgrade ubuntu-release-upgrader-core
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
dirmngr is already the newest version (2.4.4-2ubuntu17).
software-properties-common is already the newest version (0.99.49.1).
apt-transport-https is already the newest version (2.7.14build2).
gpg-agent is already the newest version (2.4.4-2ubuntu17).
dnsutils is already the newest version (1:9.18.28-0ubuntu0.24.04.1).
jq is already the newest version (1.7.1-3build1).
git is already the newest version (1:2.43.0-1ubuntu7.1).
unzip is already the newest version (6.0-28ubuntu4.1).
wget is already the newest version (1.21.4-1ubuntu4.1).
gpg is already the newest version (2.4.4-2ubuntu17).
qrencode is already the newest version (4.1.1-1build2).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Steps to reproduce:

  • Step 1: ssh to Ubuntu 24.04.1 LTS
  • Step 2: sudo su -
  • Step 3: bash <(wget -qO- getamp.sh)

Actions taken to resolve so far:

    1. wget -O getamp.sh https://cubecoders.com/getamp.sh
    1. chmod +x getamp.sh
    1. ./getamp.sh

This is the AMP forum. We can’t solve your host’s networking issues. You will have to contact them directly (guessing Hostinger?).

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