Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Could not decode a text frame as UTF-8 #26

Closed
SolarisYan opened this issue Mar 19, 2019 · 3 comments
Closed

Could not decode a text frame as UTF-8 #26

SolarisYan opened this issue Mar 19, 2019 · 3 comments

Comments

@SolarisYan
Copy link
Contributor

Hi there, i use nb2kg with enterprise-gateway in k8s, and jupyterhub with jupyterlab
widgets itk-jupyter-widgets, when i run the code

image = itk.imread(file_name)
view(image)

it will have error like below(infact is the code view(image)):
WebSocket connection to 'wss://xxx.com/user/admin/api/kernels/33f732c2-9e84-4f3f-8ec5-827ebd793212/channels?session_id=af3a9dda-9ac6-47cf-a142-73087cde1ee2&token=bcc21fd62e2a4dba83d7e3f20d04d927' failed: Could not decode a text frame as UTF-8.
then it will disconnect the kernel connection , and reconnecting in 1 seconds.
I have test it without gateway,say use local kernel within jupyterlab, all will be ok.

@SolarisYan
Copy link
Contributor Author

solved, close

@kevin-bates
Copy link
Member

@SolarisYan - could you please indicate what you did to solve this in case its encountered by others?

@SolarisYan
Copy link
Contributor Author

@kevin-bates Sorry for the late reply, i will push the code back with a PR in a moment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants