Howdy, Stranger!

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


Multi-Ping | Latency is king
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.

Multi-Ping | Latency is king

NeoonNeoon Community Contributor, Veteran

Hey,

curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3

Github: https://github.com/Ne00n/Multi-Ping

Any suggestions? lemme know
Have fun.

«13

Comments

  • My results returns blank.

    ~ $  curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3
    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    fping 100 of 1281
    fping 200 of 1281
    fping 300 of 1281
    fping 400 of 1281
    fping 500 of 1281
    fping 600 of 1281
    fping 700 of 1281
    fping 800 of 1281
    fping 900 of 1281
    fping 1000 of 1281
    fping 1100 of 1281
    fping 1200 of 1281
    --- Top 15 ---
    
    -- Results ---
    
  • mcgreemcgree Member
    edited November 2021

    Seems like you should check if fping is installed first.

    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    fping 100 of 1281
    fping 200 of 1281
    fping 300 of 1281
    fping 400 of 1281
    fping 500 of 1281
    fping 600 of 1281
    fping 700 of 1281
    fping 800 of 1281
    fping 900 of 1281
    fping 1000 of 1281
    fping 1100 of 1281
    fping 1200 of 1281
    --- Top 24 ---
    0.237ms (151.101.129.67)  hostingchecker.com (https://hostingchecker.com/tools/ping/) 
    0.259ms (84.33.15.2)      webhosting24.com   (lg.au.webhosting24.com)                 
    0.262ms (27.100.36.5)     hostus.us          (syd-lg.hostus.us)                       
    0.278ms (103.25.58.141)   mrvm.net           (lg-au-syd.mrvm.net)                     
    0.291ms (139.99.149.97)   bluevps.com        (syd-speedtest.lg.bluevps.com)           
    0.333ms (108.61.212.117)  vultr.com          (http://syd-au-ping.vultr.com)           
    0.357ms (103.73.65.65)    hosthatch.com      (http://lg.syd.hosthatch.com)            
    0.393ms (103.126.137.101) psychz.net         (http://lg.syd.psychz.net/)              
    0.425ms (172.105.174.7)   linode.com         (speedtest.syd1.linode.com)              
    0.501ms (203.96.179.3)    shockhosting.net   (au-lg.shockhosting.net/)                
    0.75ms  (103.246.250.3)   quantumcore.com.au (https://lg.quantumcore.com.au/)         
    0.756ms (146.185.214.47)  G-Core Labs        (looking.house/point.php?id=300)         
    0.806ms (103.25.58.100)   ransomit.com.au    (http://sydney-lg.ransomit.com.au/)      
    0.809ms (45.114.116.50)   dediserve.com      (http://speedtest.c1.syd1.dediserve.com/)
    0.852ms (139.99.190.146)  KhanWebHost        (looking.house/point.php?id=474)         
    0.862ms (103.126.137.120) Psychz Networks    (looking.house/point.php?id=440)         
    1.01ms  (103.1.187.96)    binarylane.cloud   (http://lg.binarylane.cloud/)            
    1.22ms  (54.206.199.218)  prowhost.com       (lg.sydney.prowhost.com)                 
    11.4ms  (64.112.56.10)    nexusbytes.com     (lgmel.nexusbytes.com)                   
    11.6ms  (45.248.77.43)    ransomit.com.au    (http://brisbane-lg.ransomit.com.au/)    
    11.8ms  (104.250.108.61)  dediserve.com      (http://speedtest.c1.mel1.dediserve.com) 
    12.1ms  (144.48.37.201)   ransomit.com.au    (http://melbourne-lg.ransomit.com.au)    
    12.2ms  (103.230.157.80)  binarylane.cloud   (bne-lg.binarylane.cloud)                
    12.6ms  (45.124.55.30)    binarylane.cloud   (mel-lg.binarylane.cloud)                
    21.2ms  (103.25.56.1)     ransomit.com.au    (lg.ransomit.com.au)                     
    -- Results ---
    
    Thanked by 2Ouji dosai
  • dosaidosai Member
    edited November 2021

    @Ouji said:
    My results returns blank.

    ~ $  curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3
    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    fping 100 of 1281
    fping 200 of 1281
    fping 300 of 1281
    fping 400 of 1281
    fping 500 of 1281
    fping 600 of 1281
    fping 700 of 1281
    fping 800 of 1281
    fping 900 of 1281
    fping 1000 of 1281
    fping 1100 of 1281
    fping 1200 of 1281
    --- Top 15 ---
    
    -- Results ---
    

    I got the same as above.

    Edit: works after installing fping

  • @mcgree said:
    Seems like you should check if fping is installed first.

    I thought exactly that as soon as I posted the comment. Lmao

  • @dosai said:

    @Ouji said:
    My results returns blank.

    ~ $  curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3
    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    fping 100 of 1281
    fping 200 of 1281
    fping 300 of 1281
    fping 400 of 1281
    fping 500 of 1281
    fping 600 of 1281
    fping 700 of 1281
    fping 800 of 1281
    fping 900 of 1281
    fping 1000 of 1281
    fping 1100 of 1281
    fping 1200 of 1281
    --- Top 15 ---
    
    -- Results ---
    

    I got the same as above.

    If you are on a apt distro, just sudo apt install fping -y

  • ns110621ns110621 Member
    edited November 2021
    [user@hostname ~]$ curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3
    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    fping 100 of 1281
    fping 200 of 1281
    fping 300 of 1281
    fping 400 of 1281
    fping 500 of 1281
    fping 600 of 1281
    fping 700 of 1281
    fping 800 of 1281
    fping 900 of 1281
    fping 1000 of 1281
    fping 1100 of 1281
    fping 1200 of 1281
    --- Top 15 ---
    0.83ms (92.38.135.95)    G-Core Labs        (looking.house/point.php?id=539)
    1.47ms (151.101.129.67)  hostingchecker.com (https://hostingchecker.com/tools/ping/)
    1.75ms (103.140.45.195)  Full VPS Server    (looking.house/point.php?id=257)
    1.78ms (103.212.222.1)   oneilonline.com    (www.oneilonline.com/ourdatacenter-status.php?city=Seoul)
    1.81ms (172.107.194.22)  Psychz Networks    (looking.house/point.php?id=437)
    1.97ms (141.164.34.61)   vultr.com          (http://sel-kor-ping.vultr.com)
    2.14ms (172.107.194.37)  psychz.net         (https://lg.icn.psychz.net/)
    2.34ms (61.97.239.5)     oneilonline.com    (www.oneilonline.com/ourdatacenter-status.php?city=Seoul)
    3.42ms (3.37.142.76)     prowhost.com       (lg.seoul.prowhost.com)
    30.5ms (4.2.2.2)         check-host.net     (https://check-host.net/check-ping)
    30.9ms (172.107.231.230) Psychz Networks    (looking.house/point.php?id=444)
    30.9ms (103.102.160.243) psychz.net         (http://lg.jp.psychz.net/)
    33.1ms (18.177.199.243)  prowhost.com       (lg.tokyo.prowhost.com)
    33.6ms (108.61.201.151)  vultr.com          (http://hnd-jp-ping.vultr.com/)
    34.0ms (92.38.178.249)   G-Core Labs        (looking.house/point.php?id=28)
    34.5ms (109.169.63.5)    dediserve.com      (http://speedtest.c1.jap1.dediserve.com/)
    -- Results ---
    [user@hostname ~]$ 
    

    in Seoul, South Korea

  • NeoonNeoon Community Contributor, Veteran

    @Ouji said:
    My results returns blank.

    ~ $  curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3
    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    fping 100 of 1281
    fping 200 of 1281
    fping 300 of 1281
    fping 400 of 1281
    fping 500 of 1281
    fping 600 of 1281
    fping 700 of 1281
    fping 800 of 1281
    fping 900 of 1281
    fping 1000 of 1281
    fping 1100 of 1281
    fping 1200 of 1281
    --- Top 15 ---
    
    -- Results ---
    

    fixed, the fping check was broken.

    Thanked by 1Ouji
  • @Neoon said: fixed, the fping check was broken.

    Nice

    ~ $ curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3 - -c15
    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    Please install fping
    
  • curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3 | curl -F 'clbin=<-' https://clbin.com

    Thanked by 1Ouji
  • My network is too bad.

    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    fping 100 of 1281
    fping 200 of 1281
    fping 300 of 1281
    fping 400 of 1281
    fping 500 of 1281
    fping 600 of 1281
    fping 700 of 1281
    fping 800 of 1281
    fping 900 of 1281
    fping 1000 of 1281
    fping 1100 of 1281
    fping 1200 of 1281
    --- Top 15 ---
    11.1ms (151.101.129.67)  hostingchecker.com (https://hostingchecker.com/tools/ping/)    
    19.8ms (92.223.79.250)   G-Core Labs        (looking.house/point.php?id=25)             
    20.3ms (176.105.254.252) breezle.net        (lg-it.breezle.net)                         
    20.9ms (193.234.225.89)  mrvm.net           (http://lg-it-mil.mrvm.net/)                
    21.5ms (37.247.53.10)    prometeus.net      (http://lg-milano.prometeus.net/)           
    25.4ms (79.142.69.29)    AltusHost          (looking.house/point.php?id=338)            
    25.5ms (185.73.240.197)  sinavps.ch         (http://lg.zug.sinavps.ch/)                 
    25.6ms (185.32.124.192)  FSIT AG            (looking.house/point.php?id=329)            
    28.2ms (31.7.184.196)    core-backbone.com  (fra.lg.core-backbone.com)                  
    28.2ms (108.61.210.117)  vultr.com          (http://fra-de-ping.vultr.com)              
    28.5ms (212.83.44.9)     greencloudvps.com  (https://greencloudvps.com/data-centers.php)
    28.6ms (185.164.184.102) swissnode.ch       (lg.swissnode.ch)                           
    28.7ms (62.113.211.7)    1fire.de           (https://lg.1fire.de/)                      
    28.8ms (91.200.102.128)  deinserverhost.de  (https://lg.deinserverhost.de/)             
    28.9ms (160.20.144.59)   combahton.net      (https://lg.combahton.net/)                 
    28.9ms (45.80.188.188)   v.ps               (fra.lg.v.ps)                               
    -- Results ---
    
  • Nice little util
    Thank You

  • NeoonNeoon Community Contributor, Veteran

    As by Request, Maxmind geo data will now be displayed.
    However later partially replaced by the source geo data, which is not collected yet.

  • Interesting to note that Manassas, VA, US from G-Core has same latency as Miami to me, which is rather amazing.

  • NeoonNeoon Community Contributor, Veteran

    @Ouji said:
    Interesting to note that Manassas, VA, US from G-Core has same latency as Miami to me, which is rather amazing.

    Maxmind will be wrong, on a few locations.

    Thanked by 1Ouji
  • ralfralf Member
    edited November 2021

    That looking glass list is a DDOS list you don't want to be on when everyone's trying out their BF VPSes... :wink:

  • NeoonNeoon Community Contributor, Veteran

    @ralf said:
    That looking glass list is a DDOS list you don't want to be on when everyone's trying out their BF VPSes... :wink:

    Well, people do setup looking glasses and post ip's so you can send them packages.
    However of course, they don't want that you send them a lot of packages.

  • trewqtrewq Administrator, Patron Provider

    @mcgree said:
    Seems like you should check if fping is installed first.

    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    fping 0 of 1281
    fping 100 of 1281
    fping 200 of 1281
    fping 300 of 1281
    fping 400 of 1281
    fping 500 of 1281
    fping 600 of 1281
    fping 700 of 1281
    fping 800 of 1281
    fping 900 of 1281
    fping 1000 of 1281
    fping 1100 of 1281
    fping 1200 of 1281
    --- Top 24 ---
    0.237ms (151.101.129.67)  hostingchecker.com (https://hostingchecker.com/tools/ping/) 
    0.259ms (84.33.15.2)      webhosting24.com   (lg.au.webhosting24.com)                 
    0.262ms (27.100.36.5)     hostus.us          (syd-lg.hostus.us)                       
    0.278ms (103.25.58.141)   mrvm.net           (lg-au-syd.mrvm.net)                     
    0.291ms (139.99.149.97)   bluevps.com        (syd-speedtest.lg.bluevps.com)           
    0.333ms (108.61.212.117)  vultr.com          (http://syd-au-ping.vultr.com)           
    0.357ms (103.73.65.65)    hosthatch.com      (http://lg.syd.hosthatch.com)            
    0.393ms (103.126.137.101) psychz.net         (http://lg.syd.psychz.net/)              
    0.425ms (172.105.174.7)   linode.com         (speedtest.syd1.linode.com)              
    0.501ms (203.96.179.3)    shockhosting.net   (au-lg.shockhosting.net/)                
    0.75ms  (103.246.250.3)   quantumcore.com.au (https://lg.quantumcore.com.au/)         
    0.756ms (146.185.214.47)  G-Core Labs        (looking.house/point.php?id=300)         
    0.806ms (103.25.58.100)   ransomit.com.au    (http://sydney-lg.ransomit.com.au/)      
    0.809ms (45.114.116.50)   dediserve.com      (http://speedtest.c1.syd1.dediserve.com/)
    0.852ms (139.99.190.146)  KhanWebHost        (looking.house/point.php?id=474)         
    0.862ms (103.126.137.120) Psychz Networks    (looking.house/point.php?id=440)         
    1.01ms  (103.1.187.96)    binarylane.cloud   (http://lg.binarylane.cloud/)            
    1.22ms  (54.206.199.218)  prowhost.com       (lg.sydney.prowhost.com)                 
    11.4ms  (64.112.56.10)    nexusbytes.com     (lgmel.nexusbytes.com)                   
    11.6ms  (45.248.77.43)    ransomit.com.au    (http://brisbane-lg.ransomit.com.au/)    
    11.8ms  (104.250.108.61)  dediserve.com      (http://speedtest.c1.mel1.dediserve.com) 
    12.1ms  (144.48.37.201)   ransomit.com.au    (http://melbourne-lg.ransomit.com.au)    
    12.2ms  (103.230.157.80)  binarylane.cloud   (bne-lg.binarylane.cloud)                
    12.6ms  (45.124.55.30)    binarylane.cloud   (mel-lg.binarylane.cloud)                
    21.2ms  (103.25.56.1)     ransomit.com.au    (lg.ransomit.com.au)                     
    -- Results ---
    

    Just curious, which network is this from?

  • AXYZEAXYZE Member
    edited November 2021
    5.34ms  104.244.76.191  buyvm.net             Luxembourg, Luxembourg        speedtest.lu.buyvm.net                                                               
    6.07ms  198.251.86.22   buyvm.net             Las Vegas, United States      https://speedtest.lv.buyvm.net                               
    

    Test from Frankfurt. Second IP is Anycast so it routes to LUX, but it says LV. What's your take on that? Shouldnt Anycast IPs be hidden or at least marked as such?

    Thanked by 1dosai
  • DPDP Administrator, The Domain Guy

    Yes, I started using this occasionally ever since you shared this earlier this month :smiley:

    Good stuff 👍

  • jebwizoscarjebwizoscar Member
    edited November 2021

    some Huawei server from Guangzhou

    Top 15 Latency IP address Domain Location (Maxmind) Looking Glass ------- ------- ------- ------- ------- 10.4ms 156.251.168.20 80vps.com Seychelles 80vps.com/lgvps.htm 10.9ms 103.253.40.191 bluevps.com Hong Kong hkg-speedtest.lg.bluevps.com 11.8ms 103.253.40.148 BlueVPS Hong Kong looking.house/point.php?id=395 12.0ms 103.16.229.254 hosthongkong.net Hong Kong http://hkp.lg.hosthongkong.net 12.1ms 43.247.70.141 SakuraServer Shenzhen, China looking.house/point.php?id=260 13.1ms 107.148.130.61 Raksmart United States looking.house/point.php?id=309 32.6ms 101.230.13.253 SakuraServer Shanghai, China looking.house/point.php?id=259 55.1ms 61.97.239.5 oneilonline.com Seongnam-si, South Korea www.oneilonline.com/ourdatacenter-status.php?city=Seoul 55.9ms 104.233.163.179 Raksmart United States looking.house/point.php?id=308 60.1ms 103.204.175.10 starrydns.com Osaka, Japan jp2.lg.starrydns.com 74.9ms 103.27.184.7 starrydns.com Tokyo, Japan jp4.lg.starrydns.com 93.5ms 41.216.180.13 webhorizon.in Tokyo, Japan tyo.lg.webhorizon.in 93.7ms 194.68.27.10 edis.at Tokyo, Japan jp.edis.at 93.7ms 43.230.163.3 shockhosting.net Tokyo, Japan jp-lg.shockhosting.net 93.8ms 180.149.230.11 ransomit.com.au Tokyo, Japan http://tokyo-lg.ransomit.com.au/ 96.1ms 50.7.159.4 fdcservers.net Tokyo, Japan lg-tok.fdcservers.net

  • NeoonNeoon Community Contributor, Veteran

    @AXYZE said:
    5.34ms 104.244.76.191 buyvm.net Luxembourg, Luxembourg speedtest.lu.buyvm.net
    6.07ms 198.251.86.22 buyvm.net Las Vegas, United States https://speedtest.lv.buyvm.net

    Test from Frankfurt. Second IP is Anycast so it routes to LUX, but it says LV. What's your take on that? Shouldnt Anycast IPs be hidden or at least marked as such?

    The data is pulled in automatically, I will add them to the blacklist.

  • I am still getting the please install fping message when it is installed, how to fix that?

  • NeoonNeoon Community Contributor, Veteran

    @NewToTheGame said:
    I am still getting the please install fping message when it is installed, how to fix that?

    Well, I don't know.
    You need to give me more information, apparently fping is not returning anything which may indicate fping is not installed properly.

    Like python version, operating system, fping version.... anything you can tell me.

    Thanked by 1NewToTheGame
  • @Neoon said:

    @NewToTheGame said:
    I am still getting the please install fping message when it is installed, how to fix that?

    Well, I don't know.
    You need to give me more information, apparently fping is not returning anything which may indicate fping is not installed properly.

    Like python version, operating system, fping version.... anything you can tell me.

    Fping version 4.2
    Python3 3.8.10
    Linux is Ubuntu 20.04.3

  • NeoonNeoon Community Contributor, Veteran
    edited November 2021

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:
    I am still getting the please install fping message when it is installed, how to fix that?

    Well, I don't know.
    You need to give me more information, apparently fping is not returning anything which may indicate fping is not installed properly.

    Like python version, operating system, fping version.... anything you can tell me.

    Fping version 4.2
    Python3 3.8.10
    Linux is Ubuntu 20.04.3

    Can't reproduce that, took a bare Ubuntu 20.04.3 machine, installed fping and curl, and it worked without any errors.

    Same version too.
    Likely something is broken with your machine.

    Maybe try reinstalling fping.

    edit:

    @NewToTheGame What do you get if you run:
    fping -c1 1.1.1.1

    Thanked by 1NewToTheGame
  • speedypagespeedypage Member, Patron Provider

    How do you get added to the list of providers? Would be nice to have the same host as the actual server is on show up o:)

    https://lon.lg.speedypage.uk/

    Thanked by 1Neoon
  • @Neoon said:

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:
    I am still getting the please install fping message when it is installed, how to fix that?

    Well, I don't know.
    You need to give me more information, apparently fping is not returning anything which may indicate fping is not installed properly.

    Like python version, operating system, fping version.... anything you can tell me.

    Fping version 4.2
    Python3 3.8.10
    Linux is Ubuntu 20.04.3

    Can't reproduce that, took a bare Ubuntu 20.04.3 machine, installed fping and curl, and it worked without any errors.

    Same version too.
    Likely something is broken with your machine.

    Maybe try reinstalling fping.

    edit:

    @NewToTheGame What do you get if you run:
    fping -c1 1.1.1.1

    fping -c1 1.1.1.1
    1.1.1.1 : [0], 84 bytes, 63.4 ms (63.4 avg, 0% loss)

    1.1.1.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 63.4/63.4/63.4

  • NeoonNeoon Community Contributor, Veteran

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:
    I am still getting the please install fping message when it is installed, how to fix that?

    Well, I don't know.
    You need to give me more information, apparently fping is not returning anything which may indicate fping is not installed properly.

    Like python version, operating system, fping version.... anything you can tell me.

    Fping version 4.2
    Python3 3.8.10
    Linux is Ubuntu 20.04.3

    Can't reproduce that, took a bare Ubuntu 20.04.3 machine, installed fping and curl, and it worked without any errors.

    Same version too.
    Likely something is broken with your machine.

    Maybe try reinstalling fping.

    edit:

    @NewToTheGame What do you get if you run:
    fping -c1 1.1.1.1

    fping -c1 1.1.1.1
    1.1.1.1 : [0], 84 bytes, 63.4 ms (63.4 avg, 0% loss)

    1.1.1.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 63.4/63.4/63.4

    Maybe try reducing the batch size.
    curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3 - -p10

    Thanked by 1NewToTheGame
  • NewToTheGameNewToTheGame Member
    edited November 2021

    @Neoon said:

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:
    I am still getting the please install fping message when it is installed, how to fix that?

    Well, I don't know.
    You need to give me more information, apparently fping is not returning anything which may indicate fping is not installed properly.

    Like python version, operating system, fping version.... anything you can tell me.

    Fping version 4.2
    Python3 3.8.10
    Linux is Ubuntu 20.04.3

    Can't reproduce that, took a bare Ubuntu 20.04.3 machine, installed fping and curl, and it worked without any errors.

    Same version too.
    Likely something is broken with your machine.

    Maybe try reinstalling fping.

    edit:

    @NewToTheGame What do you get if you run:
    fping -c1 1.1.1.1

    fping -c1 1.1.1.1
    1.1.1.1 : [0], 84 bytes, 63.4 ms (63.4 avg, 0% loss)

    1.1.1.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 63.4/63.4/63.4

    Maybe try reducing the batch size.
    curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3 - -p10

    `curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3 - -p10
    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
    File "", line 3, in raise_from
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
    File "/usr/lib/python3.8/http/client.py", line 1344, in getresponse
    response.begin()
    File "/usr/lib/python3.8/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
    File "/usr/lib/python3.8/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
    File "/usr/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
    File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
    File "/usr/lib/python3.8/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
    socket.timeout: The read operation timed out

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
    retries = retries.increment(
    File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
    File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
    raise value
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 330, in _raise_timeout
    raise ReadTimeoutError(
    urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=3)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "", line 17, in
    File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
    File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
    File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
    File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
    File "/usr/lib/python3/dist-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
    requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=3)`

    Can anybody tell me what i am doing wrong with the code qyotes?

  • NeoonNeoon Community Contributor, Veteran

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:

    @Neoon said:

    @NewToTheGame said:
    I am still getting the please install fping message when it is installed, how to fix that?

    Well, I don't know.
    You need to give me more information, apparently fping is not returning anything which may indicate fping is not installed properly.

    Like python version, operating system, fping version.... anything you can tell me.

    Fping version 4.2
    Python3 3.8.10
    Linux is Ubuntu 20.04.3

    Can't reproduce that, took a bare Ubuntu 20.04.3 machine, installed fping and curl, and it worked without any errors.

    Same version too.
    Likely something is broken with your machine.

    Maybe try reinstalling fping.

    edit:

    @NewToTheGame What do you get if you run:
    fping -c1 1.1.1.1

    fping -c1 1.1.1.1
    1.1.1.1 : [0], 84 bytes, 63.4 ms (63.4 avg, 0% loss)

    1.1.1.1 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 63.4/63.4/63.4

    Maybe try reducing the batch size.
    curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3 - -p10

    `curl -so- https://raw.githubusercontent.com/Ne00n/Multi-Ping/master/ping.py | python3 - -p10
    Fetching https://raw.githubusercontent.com/Ne00n/Looking-Glass/master/data/everything.json
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
    File "", line 3, in raise_from
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
    File "/usr/lib/python3.8/http/client.py", line 1344, in getresponse
    response.begin()
    File "/usr/lib/python3.8/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
    File "/usr/lib/python3.8/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
    File "/usr/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
    File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
    File "/usr/lib/python3.8/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
    socket.timeout: The read operation timed out

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
    retries = retries.increment(
    File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
    File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
    raise value
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 423, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
    File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 330, in _raise_timeout
    raise ReadTimeoutError(
    urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=3)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "", line 17, in
    File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
    File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
    File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
    File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
    File "/usr/lib/python3/dist-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
    requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=3)`

    Yea no error handling ups.
    Fixed, try again.

    https://github.com/Ne00n/Multi-Ping/commit/eabd253ea1e88c5e6e04e86737668792c136bbea

    Thanked by 1NewToTheGame
Sign In or Register to comment.