ocpp: Error in connection handler
Maybe you have a clue why this happens quite often.
Logger: websockets.server Source: custom_components/ocpp/sensor.py:254 First occurred: 9:26:24 (42 occurrences) Last logged: 9:51:27
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/websockets/server.py", line 191, in handler
await self.ws_handler(self, path)
File "/config/custom_components/ocpp/sensor.py", line 108, in on_connect
await cp.start()
File "/config/custom_components/ocpp/sensor.py", line 270, in start
await asyncio.gather(super().start(), self.post_connect())
File "/config/custom_components/ocpp/sensor.py", line 145, in post_connect
await self.trigger_boot_notification()
File "/config/custom_components/ocpp/sensor.py", line 177, in trigger_boot_notification
resp = await self.call(req)
File "/usr/local/lib/python3.8/site-packages/ocpp/charge_point.py", line 264, in call
await self._get_specific_response(call.unique_id,
File "/config/custom_components/ocpp/sensor.py", line 254, in _get_specific_response
resp = await super()._get_specific_response(unique_id, timeout)
File "/usr/local/lib/python3.8/site-packages/ocpp/charge_point.py", line 292, in _get_specific_response
response = await asyncio.wait_for(self._response_queue.get(),
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
Used HA: Home Assistant 2021.3.4 (Home Assistant OS) Used component: 35df000
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 82 (73 by maintainers)
Commits related to this issue
- Squashed commit of the following: commit 47cac610e8ebb3e9ed0df7cb7040af302a1ae572 Author: drc38 <derek_Caudwell@hotmail.com> Date: Sat Jul 17 09:04:56 2021 +1200 tests: tidy up assert commit ... — committed to lbbrhzn/ocpp by drc38 3 years ago
- Update api.py Fixes maxlength error recently reported in #2 — committed to lbbrhzn/ocpp by drc38 3 years ago
- Update api.py (#193) * Update api.py Fixes maxlength error recently reported in #2 * Update api.py add whitespace * Update api.py Fix error * Update api.py Fix linting * Updat... — committed to lbbrhzn/ocpp by drc38 3 years ago
well, at least it is dping something. Finally!
i addded a PR for handling the timestamps