pyscript
pyscript copied to clipboard
hass_pyscript_kernel: request failed with 400: Bad Request
What can be the reason of 400: Bad Request ?
[I 16:40:16.757 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports hass_pyscript_kernel: request failed with 400: Bad Request (url=http://192.168.2.112:8123/api/services/pyscript/jupyter_kernel_start)
Sam here. Did you find solution?
The error on the Home Assistant side is:
2023-02-07 10:46:18.840 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 1] Operation not permitted, transport: <_SelectorDatagramTransport fd=26 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=26, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_DGRAM, proto=0, laddr=('::', 41778, 0, 0)>
I also have this issue, did anyone find a solution?
Are you trying to run Jupiter in container?
HomeAssistant is running in a docker container. I'm just trying to run Jupiter on my pc.