Fehler Discovergy EVU-Daten
Verfasst: Do Jun 08, 2023 12:14 pm
Hallo,
heute habe ich mitbekommen das die EVU-Daten von Discovergy nicht mehr dargestellt weren. Die Fehlenachricht sagt:
Die Verbindung zum Server https://api.discovergy.com/public/v1/la ... 33ecaf4cf1 ist fehlgeschlagen. Überprüfe Adresse und Netzwerk.
Im Browser bekomme ich mit meinen Login/PW die Daten angezeigt, d.H. das Login und die ID sind korrekt. Die Discovergy-APP zeigt auch alle Bezugs und Einspeisedaten an.
Woran kanns noch liegen?
MfG
Dieter
Hier noch die Daten: openWB Serie 2 Custom SW-Version: 1.9.301 im Betrieb seit Sommer 2022
Debug-Auszug:
heute habe ich mitbekommen das die EVU-Daten von Discovergy nicht mehr dargestellt weren. Die Fehlenachricht sagt:
Die Verbindung zum Server https://api.discovergy.com/public/v1/la ... 33ecaf4cf1 ist fehlgeschlagen. Überprüfe Adresse und Netzwerk.
Im Browser bekomme ich mit meinen Login/PW die Daten angezeigt, d.H. das Login und die ID sind korrekt. Die Discovergy-APP zeigt auch alle Bezugs und Einspeisedaten an.
Woran kanns noch liegen?
MfG
Dieter
Hier noch die Daten: openWB Serie 2 Custom SW-Version: 1.9.301 im Betrieb seit Sommer 2022
Debug-Auszug:
Code: Alles auswählen
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise ConnectionError(e, request=request)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 487, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 609, in send
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 488, in request
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 501, in get
timeout=3
File "/var/www/html/openWB/packages/modules/devices/discovergy/api.py", line 10, in get_last_reading
self.store(get_last_reading(session, self.__meter_id))
File "/var/www/html/openWB/packages/modules/devices/discovergy/utils.py", line 20, in update
component_updater=IndependentComponentUpdater(lambda component: component.update(session)),
File "/var/www/html/openWB/packages/modules/devices/discovergy/device.py", line 26, in <lambda>
self.__updater(component)
File "/var/www/html/openWB/packages/modules/common/configurable_device.py", line 24, in __call__
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise MaxRetryError(_pool, url, error or ResponseError(cause))
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/retry.py", line 592, in increment
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 786, in urlopen
timeout=timeout
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
ssl.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
raise ssl.SSLError("bad handshake: %r" % e)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 504, in wrap_socket
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
sock, context, tls_in_tls, server_hostname=server_hostname
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 450, in ssl_wrap_socket
tls_in_tls=tls_in_tls,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connection.py", line 424, in connect
conn.connect()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
self._validate_conn(conn)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 386, in _make_request
chunked=chunked,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 710, in urlopen
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
OpenSSL.SSL.Error: [('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')]
raise exception_type(errors)
File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
_raise_current_error()
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1174, in _raise_ssl_error
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1426, in do_handshake
cnx.do_handshake()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 498, in wrap_socket
Traceback (most recent call last):
2023-06-12 11:16:24: PID: 2499: modules.common.fault_state: Discovergy Zähler: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Server https://api.discovergy.com/public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise ConnectionError(e, request=request)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 487, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 609, in send
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 488, in request
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 501, in get
timeout=3
File "/var/www/html/openWB/packages/modules/devices/discovergy/api.py", line 10, in get_last_reading
self.store(get_last_reading(session, self.__meter_id))
File "/var/www/html/openWB/packages/modules/devices/discovergy/utils.py", line 20, in update
component_updater=IndependentComponentUpdater(lambda component: component.update(session)),
File "/var/www/html/openWB/packages/modules/devices/discovergy/device.py", line 26, in <lambda>
self.__updater(component)
File "/var/www/html/openWB/packages/modules/common/configurable_device.py", line 24, in __call__
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise MaxRetryError(_pool, url, error or ResponseError(cause))
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/retry.py", line 592, in increment
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 786, in urlopen
timeout=timeout
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
ssl.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
raise ssl.SSLError("bad handshake: %r" % e)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 504, in wrap_socket
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
sock, context, tls_in_tls, server_hostname=server_hostname
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 450, in ssl_wrap_socket
tls_in_tls=tls_in_tls,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connection.py", line 424, in connect
conn.connect()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
self._validate_conn(conn)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 386, in _make_request
chunked=chunked,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 710, in urlopen
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
OpenSSL.SSL.Error: [('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')]
raise exception_type(errors)
File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
_raise_current_error()
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1174, in _raise_ssl_error
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1426, in do_handshake
cnx.do_handshake()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 498, in wrap_socket
Traceback (most recent call last):
2023-06-12 11:16:14: PID: 2499: modules.common.fault_state: Discovergy Zähler: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Server https://api.discovergy.com/public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise ConnectionError(e, request=request)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 487, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 609, in send
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 488, in request
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 501, in get
timeout=3
File "/var/www/html/openWB/packages/modules/devices/discovergy/api.py", line 10, in get_last_reading
self.store(get_last_reading(session, self.__meter_id))
File "/var/www/html/openWB/packages/modules/devices/discovergy/utils.py", line 20, in update
component_updater=IndependentComponentUpdater(lambda component: component.update(session)),
File "/var/www/html/openWB/packages/modules/devices/discovergy/device.py", line 26, in <lambda>
self.__updater(component)
File "/var/www/html/openWB/packages/modules/common/configurable_device.py", line 24, in __call__
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise MaxRetryError(_pool, url, error or ResponseError(cause))
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/retry.py", line 592, in increment
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 786, in urlopen
timeout=timeout
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
ssl.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
raise ssl.SSLError("bad handshake: %r" % e)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 504, in wrap_socket
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
sock, context, tls_in_tls, server_hostname=server_hostname
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 450, in ssl_wrap_socket
tls_in_tls=tls_in_tls,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connection.py", line 424, in connect
conn.connect()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
self._validate_conn(conn)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 386, in _make_request
chunked=chunked,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 710, in urlopen
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
OpenSSL.SSL.Error: [('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')]
raise exception_type(errors)
File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
_raise_current_error()
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1174, in _raise_ssl_error
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1426, in do_handshake
cnx.do_handshake()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 498, in wrap_socket
Traceback (most recent call last):
2023-06-12 11:16:05: PID: 2499: modules.common.fault_state: Discovergy Zähler: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Server https://api.discovergy.com/public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise ConnectionError(e, request=request)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 487, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 609, in send
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 488, in request
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 501, in get
timeout=3
File "/var/www/html/openWB/packages/modules/devices/discovergy/api.py", line 10, in get_last_reading
self.store(get_last_reading(session, self.__meter_id))
File "/var/www/html/openWB/packages/modules/devices/discovergy/utils.py", line 20, in update
component_updater=IndependentComponentUpdater(lambda component: component.update(session)),
File "/var/www/html/openWB/packages/modules/devices/discovergy/device.py", line 26, in <lambda>
self.__updater(component)
File "/var/www/html/openWB/packages/modules/common/configurable_device.py", line 24, in __call__
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise MaxRetryError(_pool, url, error or ResponseError(cause))
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/retry.py", line 592, in increment
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 786, in urlopen
timeout=timeout
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
ssl.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
raise ssl.SSLError("bad handshake: %r" % e)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 504, in wrap_socket
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
sock, context, tls_in_tls, server_hostname=server_hostname
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 450, in ssl_wrap_socket
tls_in_tls=tls_in_tls,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connection.py", line 424, in connect
conn.connect()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
self._validate_conn(conn)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 386, in _make_request
chunked=chunked,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 710, in urlopen
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
OpenSSL.SSL.Error: [('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')]
raise exception_type(errors)
File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
_raise_current_error()
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1174, in _raise_ssl_error
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1426, in do_handshake
cnx.do_handshake()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 498, in wrap_socket
Traceback (most recent call last):
2023-06-12 11:15:54: PID: 2499: modules.common.fault_state: Discovergy Zähler: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Server https://api.discovergy.com/public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback:
TPSConnectionPool(host='api.discovergy.com', port=443): Max retries exceeded with url: /public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 (Caused by SSLError(SSLError("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",),))
raise MaxRetryError(_pool, url, error or ResponseError(cause))
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/retry.py", line 592, in increment
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 786, in urlopen
timeout=timeout
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
ssl.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
raise ssl.SSLError("bad handshake: %r" % e)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 504, in wrap_socket
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
sock, context, tls_in_tls, server_hostname=server_hostname
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 450, in ssl_wrap_socket
tls_in_tls=tls_in_tls,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connection.py", line 424, in connect
conn.connect()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
self._validate_conn(conn)
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 386, in _make_request
chunked=chunked,
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 710, in urlopen
Traceback (most recent call last):
During handling of the above exception, another exception occurred:
OpenSSL.SSL.Error: [('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')]
raise exception_type(errors)
File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
_raise_current_error()
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1174, in _raise_ssl_error
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1426, in do_handshake
cnx.do_handshake()
File "/home/pi/.local/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 498, in wrap_socket
Traceback (most recent call last):
2023-06-12 11:13:14: PID: 2499: modules.common.fault_state: Discovergy Zähler: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Server https://api.discovergy.com/public/v1/last_reading?meterId=eff654b9fe5b4d1998b4ca33ecaf4cf1 ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: