My setup is a hassio install in a vm, on a vlan. I have roku’s on another vlan so discovery does not work. Rules are set up to allow the hassio install talk to any other network. The roku’s are defined in configuration.yaml and service calls will work, turning them off/on, changing sources, etc. But there is an exception in the logs whenever I call a service to them. It causes scripts to stop execution before completing. I can use curl and make command line ecp calls directly from the hassio command line with no errors. What is causing this error?
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1233, in async_call
await asyncio.shield(self._execute_service(handler, service_call))
File "/usr/src/homeassistant/homeassistant/core.py", line 1258, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
self._platforms.values(), func, call, service_name, required_features
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/roku/remote.py", line 62, in send_command
getattr(self.roku, single_command)()
File "/usr/local/lib/python3.7/site-packages/roku/core.py", line 183, in command
self._post(path)
File "/usr/local/lib/python3.7/site-packages/roku/core.py", line 212, in _post
return self._call('POST', path, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/roku/core.py", line 229, in _call
raise RokuException(resp.content)
roku.core.RokuException: b''