Autor Thema: speedtest.pm  (Gelesen 179 mal)

Offline satprofi

  • Hero Member
  • *****
  • Beiträge: 1321
speedtest.pm
« am: 06 Februar 2019, 16:00:26 »
hallo.
heute im log gesehen das speedtest nicht mehr klappt. hatte vor 14 tagen fhem update gemacht, vorher klappte es aber.

AttributeError: SpeedtestHTTPSConnection instance has no attribute '_context'
2019.02.06 15:31:35 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at /opt/fhem/FHEM/32_speedtest.pm line 140.
Traceback (most recent call last):
  File "/usr/local/bin//speedtest-cli", line 1843, in <module>
    main()
  File "/usr/local/bin//speedtest-cli", line 1832, in main
    shell()
  File "/usr/local/bin//speedtest-cli", line 1729, in shell
    secure=args.secure
  File "/usr/local/bin//speedtest-cli", line 1009, in __init__
    self.get_config()
  File "/usr/local/bin//speedtest-cli", line 1042, in get_config
    uh, e = catch_request(request, opener=self._opener)
  File "/usr/local/bin//speedtest-cli", line 650, in catch_request
    uh = _open(request)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 439, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 626, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 401, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 419, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/local/bin//speedtest-cli", line 489, in https_open
    req
  File "/usr/lib/python2.7/urllib2.py", line 1178, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/usr/lib/python2.7/httplib.py", line 962, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 996, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 958, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 818, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 780, in send
    self.connect()
  File "/usr/local/bin//speedtest-cli", line 427, in connect
    self.sock = self._context.wrap_socket(self.sock, **kwargs)
hat wer tipp?
gruss
-----------------------------------------------------------------------
Raspberry - Fhem 5.7 CUL 868, FS20, NetIO230 CUL 433, REV, Unitec, FLS u. ELRO Funksteckdosen
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 19053
Antw:speedtest.pm
« Antwort #1 am: 06 Februar 2019, 16:23:58 »
das speedtest executable updaten
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline satprofi

  • Hero Member
  • *****
  • Beiträge: 1321
Antw:speedtest.pm
« Antwort #2 am: 06 Februar 2019, 17:03:45 »
aha, trotzdem danke

Gesendet mit Tapatalk

gruss
-----------------------------------------------------------------------
Raspberry - Fhem 5.7 CUL 868, FS20, NetIO230 CUL 433, REV, Unitec, FLS u. ELRO Funksteckdosen
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram