-
Notifications
You must be signed in to change notification settings - Fork 90
Description
I get this from time to time. I think the hackthissite.org site becomes non responsive or hangs a socket from time to time. Can't seem to find it in the server list to pull out.
./tespeed.py
Getting ready. Use parameter -h or --help to see available features.
Loading speedtest configuration...
IP: 71.56.253.165; Lat: 39.534700; Lon: -104.958200; ISP: Comcast Cable
Loading server list...
Looking for closest and best server...
Testing latency...
45 ms latency for http://speedtest-a.isccorp.net/speedtest/ (ISC Inc., Englewood, CO, United States) [4.57 km]
17 ms latency for http://speedtest02.cmc.co.ndcwest.comcast.net/speedtest/ (Comcast, Denver, CO, United States) [6.54 km]
17 ms latency for http://216.241.39.64/speedtest/speedtest/ (FORETHOUGHT.net, Denver, CO, United States) [6.54 km]
50 ms latency for http://test.host-engine.com/speedtest/ (Host-Engine.com, Denver, CO, United States) [6.54 km]
Traceback (most recent call last):
File "./tespeed.py", line 661, in
main(args)
File "./tespeed.py", line 636, in main
chunksize=args.chunksize
File "./tespeed.py", line 148, in init
self.TestSpeed()
File "./tespeed.py", line 584, in TestSpeed
self.FindBestServer()
File "./tespeed.py", line 420, in FindBestServer
best=self.TestLatency(self.Closest([self.config['lat'], self.config['lon']], self.server_list, self.bestServers))
File "./tespeed.py", line 194, in TestLatency
now=self.TestSingleLatency(server['url']+"latency.txt?x=" + str( time.time() ))_1000
File "./tespeed.py", line 234, in TestSingleLatency
response = urllib2.urlopen(request, timeout = 5)
File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 378, in _call_chain
result = func(_args)
File "/usr/lib64/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1180, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib64/python2.7/httplib.py", line 1030, in getresponse
response.begin()
File "/usr/lib64/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib64/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
socket.timeout: timed out
the next run it works...
./tespeed.py
Getting ready. Use parameter -h or --help to see available features.
Loading speedtest configuration...
IP: 71.56.253.165; Lat: 39.534700; Lon: -104.958200; ISP: Comcast Cable
Loading server list...
Looking for closest and best server...
Testing latency...
46 ms latency for http://speedtest-a.isccorp.net/speedtest/ (ISC Inc., Englewood, CO, United States) [4.57 km]
17 ms latency for http://speedtest02.cmc.co.ndcwest.comcast.net/speedtest/ (Comcast, Denver, CO, United States) [6.54 km]
16 ms latency for http://216.241.39.64/speedtest/speedtest/ (FORETHOUGHT.net, Denver, CO, United States) [6.54 km]
52 ms latency for http://test.host-engine.com/speedtest/ (Host-Engine.com, Denver, CO, United States) [6.54 km]
16 ms latency for http://speedtest1.hackthissite.org/speedtest/ (HackThisSite, Denver, CO, United States) [6.54 km]
Download size: 1.96 MiB; Downloaded in 0.21 s
Download speed: 9.30 Mbit/s