Thor's VPS thread

How do you guys go about debugging wget if it retries and time outs the whole time.

-d

did not reveal much other than it's timing out.

( I tried a bunch of url's so it's not that. )
 
then it's the url thats issue?

nav to / and do it

what do you mean nav to / ?

This is what I did to test quickly: this happen to all the urls also when I try to copy from raw something something github

2016-07-27_19-29-05.png
 
I am trying to get my files from

https://raw.githubusercontent.com/<username>/<repo>/<branch>/some_directory/file.sh using wget.

Doesnt work

how do I debug
 
Lol, pulling your leg.

What is the problem exactly, don't feel like reading 88 posts.

Okey.

I have a file on github.

I want to put the contents of that file on my VPS, (it's a bash script I have for nginx)

However when I do this:

Code:
sudo wget -O newfilename https://raw.githubusercontent.com/<username>/<repo>/<branch>/some_directory/file.sh

I keep getting connection timeout.

However the url work in the browser.

I thought maybe wget is outdated

So I did wget --version

and saw I am on version 1.7

so I decided hey, perhaps I should update to 1.8.

However same issue:

2016-07-27_16-07-17.jpg

It will keep connection eventually times out and then try 1, 2 ,3 till I control C to stop
 
Last edited:
Pm me the url, let me try it.

Edit: can only try tomorrow.
 
[XC] Oj101;18051168 said:
Wow, this thread should be renamed "Thor's Brain in Realtime" :D

Or "Thor's free support / training" thread. Threads like these are the reason why forums are abandoned eventually.
 
My point is that you bring zero value to the community with a thread like this. ZERO

Don't talk k@k. Starting threads and asking questions and getting them answered makes it easier for the next person with the same or similar problem. And, free training is great. The world is better for it.
 
Don't talk k@k. Starting threads and asking questions and getting them answered makes it easier for the next person with the same or similar problem. And, free training is great. The world is better for it.

Correct, the community has contributed to the thread.
 
I am now convinced this is a host issue.

I rebuild the VPS selected Ubuntu 14.04 as the OS logged in as root

First thing I did is:

Code:
 apt-get update

Stuck on connecting to archive.ubuntu.com

I even did:
Code:
 sudo rm /var/lib/apt/lists/* -vf

and then

Code:
apt-get update
 
Last edited:
Even tried Debian 7

Code:
login as: thor
[email protected] password:
Linux vps 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u6 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jul 28 20:32:40 2016
thor@asgard:~# sudo apt-get update
-bash: sudo: command not found
thor@asgard:~# apt-get update
0% [Connecting to ftp.debian.org (130.89.148.12)] [Connecting to security.debian.org (212.211.132.32)]
Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

Cant wget mybb either

Code:
DEBUG output created by Wget 1.13.4 on linux-gnu.

URI encoding = `UTF-8'
--2016-07-28 20:42:41--  http://mybroadband.co.za/
Resolving mybroadband.co.za (mybroadband.co.za)... 104.20.72.110, 104.20.71.110, 2400:cb00:2048:1::6814:486e, ...
Caching mybroadband.co.za => 104.20.72.110 104.20.71.110 2400:cb00:2048:1::6814:486e 2400:cb00:2048:1::6814:476e
Connecting to mybroadband.co.za (mybroadband.co.za)|104.20.72.110|:80...

can't install cURL either

Code:
thor@asgard:~# apt-get install curl libcurl3 php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libonig2 libphp5-embed libqdbm14 librtmp0 libssh2-1 php5-common
Suggested packages:
  php-pear
The following NEW packages will be installed:
  curl libcurl3 libonig2 libphp5-embed libqdbm14 librtmp0 libssh2-1 php5-common php5-curl
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,459 kB of archives.
After this operation, 12.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  librtmp0 libssh2-1 libcurl3 php5-common libonig2 libqdbm14 libphp5-embed php5-curl curl
Install these packages without verification [y/N]? y
0% [Connecting to ftp.debian.org (130.89.148.12)] [Connecting to security.debian.org (128.101.240.215)]
Err http://ftp.debian.org/debian/ wheezy/main librtmp0 amd64 2.4+20111222.git4e06e21-1
  Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org/debian/ wheezy/main libonig2 amd64 5.9.1-1
  Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]
Err http://ftp.debian.org/debian/ wheezy/main libqdbm14 amd64 1.8.78-2
  Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:b000::148:12). - connect (101: Network is unreachable) [IP: 2001:610:1908:b000::148:12 80]

Pinging works
Code:
root@vps:~# ping za.archive.ubuntu.com
PING ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2) 56(84) bytes of data.
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=1 ttl=55 time=57.9 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=2 ttl=55 time=57.4 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=3 ttl=55 time=57.3 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=4 ttl=55 time=57.8 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=5 ttl=55 time=57.3 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=6 ttl=55 time=57.3 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=7 ttl=55 time=57.3 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=8 ttl=55 time=57.2 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=9 ttl=55 time=60.5 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=10 ttl=55 time=57.4 ms
64 bytes from ubuntu-archive.mirror.liquidtelecom.com (197.155.77.2): icmp_seq=11 ttl=55 time=57.5 ms
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X