Interface lädt nicht mehr

Oeffly
Beiträge: 25
Registriert: Mo Mär 07, 2022 9:35 am

Re: Interface lädt nicht mehr

Beitrag von Oeffly »

Hallo,

bei mir lädt das Interface seit heute mittag nicht mehr....

Kann es das gleiche sein?
Wie kann ich das am besten feststellen?

Kernel: Linux 4.19.66-v7+ GNU/Linux
Python 3.5.3
openWB Version: 1.9.304.0 (2024-03-11 14:39:13 +0100 [5a6a1a6d] )

openwb.log (letze paar zeigen)
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/pub.py", line 60, in pub_single
publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/publish.py", line 228, in single
protocol, transport, proxy_args)
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/publish.py", line 163, in multiple
client.connect(hostname, port, keepalive)
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 937, in connect
return self.reconnect()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1071, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 3522, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File "/usr/lib/python3.5/socket.py", line 712, in create_connection
raise err
File "/usr/lib/python3.5/socket.py", line 703, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
Traceback (most recent call last):
File "runs/mqttpub.py", line 31, in <module>
main()
File "runs/mqttpub.py", line 18, in main
client.connect("localhost")
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 937, in connect
return self.reconnect()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1071, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 3522, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File "/usr/lib/python3.5/socket.py", line 712, in create_connection
raise err
File "/usr/lib/python3.5/socket.py", line 703, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Traceback (most recent call last):
File "runs/mqttpub.py", line 31, in <module>
main()
File "runs/mqttpub.py", line 18, in main
client.connect("localhost")
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 937, in connect
return self.reconnect()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1071, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 3522, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File "/usr/lib/python3.5/socket.py", line 712, in create_connection
raise err
File "/usr/lib/python3.5/socket.py", line 703, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
2024-03-30 19:26:33: PID: 23503: legacy run server: Unhandled exception
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/fault_state.py", line 117, in wrapper
return delegate(*args, **kwargs)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcount.py", line 36, in sim_count
return store.initialize(prefix, topic, power_present, timestamp_present)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcounter_store.py", line 129, in initialize
timestamp, power, restore_value(prefix, POSTFIX_IMPORT), restore_value(prefix, POSTFIX_EXPORT)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcounter_store.py", line 93, in restore_value
mqtt_value = read_mqtt_topic(topic)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcounter_store.py", line 48, in read_mqtt_topic
client.connect("localhost", 1883)
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 937, in connect
return self.reconnect()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1071, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 3522, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File "/usr/lib/python3.5/socket.py", line 712, in create_connection
raise err
File "/usr/lib/python3.5/socket.py", line 703, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/var/www/html/openWB/packages/legacy_run_server.py", line 49, in redirect_stdout_stderr_exceptions_to_log
yield
File "/var/www/html/openWB/packages/legacy_run_server.py", line 88, in handle_connection
self.__callback(read_all_bytes(connection))
File "/var/www/html/openWB/packages/legacy_run_server.py", line 110, in handle_message
importlib.import_module(parsed[0]).main(parsed[1:])
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 141, in main
{"bat": read_legacy_bat, "counter": read_legacy_counter}, argv
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 123, in read_legacy_bat
counter_import, counter_export = sim_count(power, prefix="speicher")
File "/var/www/html/openWB/packages/modules/common/fault_state.py", line 122, in wrapper
raise FaultState.error(module_name + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ("modules.common.simcount._simcount <class 'ConnectionRefusedError'> [Errno 111] Connection refused", <FaultStateLevel.ERROR: 2>)
Error: Connection refused
Error: Connection refused
Error: Connection refused
Error: Connection refused
2024-03-30 19:26:35: PID: 23503: helpermodules.pub: Fehler im pub-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/fault_state.py", line 117, in wrapper
return delegate(*args, **kwargs)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcount.py", line 36, in sim_count
return store.initialize(prefix, topic, power_present, timestamp_present)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcounter_store.py", line 129, in initialize
timestamp, power, restore_value(prefix, POSTFIX_IMPORT), restore_value(prefix, POSTFIX_EXPORT)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcounter_store.py", line 93, in restore_value
mqtt_value = read_mqtt_topic(topic)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcounter_store.py", line 48, in read_mqtt_topic
client.connect("localhost", 1883)
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 937, in connect
return self.reconnect()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1071, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 3522, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File "/usr/lib/python3.5/socket.py", line 712, in create_connection
raise err
File "/usr/lib/python3.5/socket.py", line 703, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 49, in update_components
component.update(client)
File "/var/www/html/openWB/packages/modules/devices/e3dc/counter.py", line 53, in update
imported, exported = self.sim_counter.sim_count(power)
File "/var/www/html/openWB/packages/modules/common/simcount/_simcounter.py", line 14, in sim_count
self.data = sim_count(power, self.topic, self.data, self.prefix)
File "/var/www/html/openWB/packages/modules/common/fault_state.py", line 122, in wrapper
raise FaultState.error(module_name + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ("modules.common.simcount._simcount <class 'ConnectionRefusedError'> [Errno 111] Connection refused", <FaultStateLevel.ERROR: 2>)
PV 1: 13,4 kWp
PV 2: in Planung (16,4 kWp)
Hausakku: E3DC S10 Pro
WB 1: openWB series2 custom
WB 2: openWB series2 custom
BEV 1: VW ID.3
BEV 2: AUDI Q4
Antworten