Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


VPS pings but doest downloads any files through wget / yum
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

VPS pings but doest downloads any files through wget / yum

CasterCaster Member

I got a vps from a provider

and when i do this :
wget -p -k http://google.com

i get :

--2016-07-30 01:11:33--  http://google.com/
Resolving google.com... 173.194.122.233, 173.194.122.238, 173.194.122.228, ...
Connecting to google.com|173.194.122.233|:80...

and it times out.

I tried clearing the repo and checked the resolvers. All seems Ok. Any idea what's wrong with this ?

Comments

  • sharuusharuu Member

    Have you checked your firewall configuration? Ping uses icmp protocol and download uses tcp.

  • greenwebpagegreenwebpage Member, Patron Provider

    Yes probably you have to check firewall configuration

  • CasterCaster Member

    Firewall is disabled.
    Checked that 10 times.

  • blackblack Member

    run a traceroute or mtr to google.com

    Also what does route -n show?

  • FuslFusl Member
    edited July 2016

    black said: Also what does route -n show?

    FYI, route is deprecated and has been replaced by ip route in most Linux systems, your command translates to ip route list

  • blackblack Member

    Fusl said: FYI, route is deprecated and has been replaced by ip route in most Linux systems, your command translates to ip route list

    Learning something new everyday, thanks for the info :)

    Thanked by 1theroyalstudent
  • CasterCaster Member

    Anyone ?

  • Still haven't pasted the results of ip route list, have you?

  • CasterCaster Member
    edited July 2016
        <ip>.0/24 dev eth1  proto kernel  scope link  src <ip>
    
        169.254.0.0/16 dev eth1  scope link  metric 1002
    
        default via <ip>.1 dev eth1
    
  • what do you get for yum update?

  • ClouviderClouvider Member, Patron Provider

    what would the result of mtr google.com or traceroute google.com or tracepath google.com be ?

  • CasterCaster Member
    edited July 2016

    @Clouvider said:
    what would the result of mtr google.com or traceroute google.com or tracepath google.com be ?

    http://prntscr.com/bzhett

    Tracert :

     1 <ip>  0.372 ms  0.321 ms  0.245 ms
     2  172.18.8.5 (172.18.8.5)  0.423 ms  0.354 ms  0.520 ms
     3  AlphaCom2.ural.net (82.193.130.196)  33.416 ms  33.157 ms  33.310 ms
     4  Aesdaishar.Ural.Net (87.251.181.49)  46.854 ms  46.784 ms  46.630 ms
     5  rascom.w-ix.net (193.106.112.103)  67.004 ms  67.377 ms  33.208 ms
     6  google-gw.rascom.as20764.net (81.27.254.18)  33.171 ms  33.077 ms  33.215 ms
     7  72.14.233.106 (72.14.233.106)  40.081 ms  40.009 ms  42.863 ms
     8  72.14.236.242 (72.14.236.242)  33.204 ms  33.561 ms  33.412 ms
     9  173.194.32.132 (173.194.32.132)  33.403 ms  33.345 ms  33.261 ms
    
  • CasterCaster Member

    @century1stop said:
    what do you get for yum update?

    yum update
    Loaded plugins: fastestmirror
    Determining fastest mirrors
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
    14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable"
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=extras error was
    14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable"
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates error was
    14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable"
    
  • ClouviderClouvider Member, Patron Provider

    Since your yum issue is when it goes over IPv6, can you do traceroute6 ipv6.google.com, please ?

    Also ip -6 route would be useful.

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    Most VPS have eth1 as the private LAN so you probably want to confirm things are on the right interface.

    Francisco

  • what would be your resolv.conf?

  • CasterCaster Member

    @Clouvider said:
    Since your yum issue is when it goes over IPv6, can you do traceroute6 ipv6.google.com, please ?

    Also ip -6 route would be useful.

    I have disabled ipv6 but still same problem.

    @Francisco said:
    Most VPS have eth1 as the private LAN so you probably want to confirm things are on the right interface.

    Francisco

    Already did that. No luck.

    @century1stop said:
    what would be your resolv.conf?

    It's set to google's resolver's.

  • ClouviderClouvider Member, Patron Provider

    @Caater when you disabled v6, just to confirm, it now resolved to v4 only, with precisely the same error ?

  • CasterCaster Member

    @Clouvider said:
    @Caater when you disabled v6, just to confirm, it now resolved to v4 only, with precisely the same error ?

    Yep same error on v4. Connection timed out.

  • ClouviderClouvider Member, Patron Provider
    edited July 2016

    For me it looks like there is something blocking connectivity for your IPs for specific ports or protocols only. I'd bet it might be ACLing on provider's end, or a provider to your provider's end.

    Technically you have the connectivity. ICMP comes through, so routing must be ok. You can reach the very destination with tracert, with no apparent issues on the way. At the same time you're saying you have no sort of firewall enabled on this machine (just to make sure, have you done iptables -F INPUT iptables -F OUTPUT, and iptables -L shows you default policy as ACCEPT?) there is not much you can do really, maybe with exception of wiretapping your own traffic with tcpdump and looking what you get back on that level.

    You could also run a tcptraceroute to see where exactly it gets stuck, but I don't know if you'll have much luck installing it when your connectivity is in this state. It's by no means a default system utility.

    It looks like a problem that has to be raised with support so they can check their network.

    Out of curiosity, is that a new server ? How did it happened ?

    Thanked by 1FlamesRunner
  • rincewindrincewind Member
    edited July 2016

    strace your wget command and check which system call it blocks on.

    Is your host-name mapped to loop-back in your hosts file in etc?

    EDIT: Cl0udFl@re sucks

  • RizRiz Member

    Any proxy configured in /etc/wgetrc?

  • randvegetarandvegeta Member, Host Rep

    MTU issue? Whats the max size you can ping with ?

  • I had a similar issue once with a VPS at HVH and i tried all the tricks including reinstalling OS but no success i wasn't even able to use yum update and always had connection time out/fail and in the end i came to know the issue was at provider end. Changing the node fixed the issue.

  • IkoulaIkoula Member, Host Rep
    edited August 2016

    Hello,

    Maybe you're filtered outside your VPS ? If you have nmap can you run :

    nmap -p 80 any_webserver_ip

Sign In or Register to comment.