Closed allenporter closed 1 year ago
Hey there @natekspencer, @tkdrob, mind taking a look at this issue as it has been labeled with an integration (litterrobot
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
litterrobot documentation litterrobot source (message by IssueLinks)
Is this right after starting or while it's been running for a while?
Right after starting but I seem to only see this in the dev environment.
Yeah, around startup.
FWIW I have two of these devices.
@allenporter same
Perhaps that's why I've never encountered it. I only have one of each robot. I'll have to try to think through it
I've got three, and I'm getting it too. Right on startup or any time I reload the Litter Robot integration. I see the message twice, though, so it seems like it's once for each extra device beyond the first.
2022-12-24 12:34:55.446 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pylitterbot/robot/litterrobot3.py", line 304, in _monitor
msg = await websocket.receive(timeout=80)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 217, in receive
raise RuntimeError("Concurrent call to receive() is not allowed")
RuntimeError: Concurrent call to receive() is not allowed
2022-12-24 12:34:55.685 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pylitterbot/robot/litterrobot3.py", line 304, in _monitor
msg = await websocket.receive(timeout=80)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 217, in receive
raise RuntimeError("Concurrent call to receive() is not allowed")
RuntimeError: Concurrent call to receive() is not allowed
Just to pile on, 4 litter robots, 3 error messages
2023-01-04 17:56:02.734 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pylitterbot/robot/litterrobot3.py", line 304, in _monitor
msg = await websocket.receive(timeout=80)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 217, in receive
raise RuntimeError("Concurrent call to receive() is not allowed")
RuntimeError: Concurrent call to receive() is not allowed
2023-01-04 17:56:03.315 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pylitterbot/robot/litterrobot3.py", line 304, in _monitor
msg = await websocket.receive(timeout=80)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 217, in receive
raise RuntimeError("Concurrent call to receive() is not allowed")
RuntimeError: Concurrent call to receive() is not allowed
2023-01-04 17:56:03.705 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pylitterbot/robot/litterrobot3.py", line 304, in _monitor
msg = await websocket.receive(timeout=80)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_ws.py", line 217, in receive
raise RuntimeError("Concurrent call to receive() is not allowed")
RuntimeError: Concurrent call to receive() is not allowed
Can you let me know if this issue is resolved with 2023.1.4?
Looks good so far from my end, no errors in the log (though not sure how deterministic this was to begin with) Thanks!
Marking this completed. Tested this myself with making changes in the app. HA sees the change after like 5 seconds. Awesome.
@home-assistant close
The problem
The integration throws a runtime error in some circumstances:
What version of Home Assistant Core has the issue?
2022.12.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
Litter-Robot
Link to integration documentation on our website
https://www.home-assistant.io/integrations/litterrobot/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response