pyscript icon indicating copy to clipboard operation
pyscript copied to clipboard

hass_pyscript_kernel: request failed with 400: Bad Request

Open gorodilov opened this issue 2 years ago • 5 comments

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)

gorodilov avatar Jan 26 '23 13:01 gorodilov

Sam here. Did you find solution?

mdczaplicki avatar Feb 07 '23 10:02 mdczaplicki

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)>

mdczaplicki avatar Feb 07 '23 11:02 mdczaplicki

I also have this issue, did anyone find a solution?

Quadrubo avatar Apr 28 '23 20:04 Quadrubo

Are you trying to run Jupiter in container?

mdczaplicki avatar Apr 28 '23 21:04 mdczaplicki

HomeAssistant is running in a docker container. I'm just trying to run Jupiter on my pc.

Quadrubo avatar Apr 29 '23 10:04 Quadrubo