Git Product home page Git Product logo

Comments (3)

welcome avatar welcome commented on May 24, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

from enterprise_gateway.

roshan3133 avatar roshan3133 commented on May 24, 2024

i am getting KERNEL_NAME is empty in newly created remote kernel pod while launching ipython kernel in jupyterhub vai JEG. is this error because of this empty KERNEL_NAME ? in JEG pod i can see {"name":"KERNEL_NAME","value":"python_kubernetes"}]

launch_ipykernel] JSON Payload 'b'{"shell_port": 55055, "iopub_port": 44507, "stdin_port": 56833, "control_port": 60735, "hb_port": 57375, "ip": "0.0.0.0", "key": "17fd8e85-7e4d-4e29-946e-9a6975c2b0cc", "transport": "tcp", "signature_scheme": "hmac-sha256", "kernel_name": "", "pid": 9, "pgid": 7, "comm_port": 33997, "kernel_id": "d80c56dc-8da1-4da4-a023-a65cc99ee0ca"}'

from enterprise_gateway.

roshan3133 avatar roshan3133 commented on May 24, 2024

looks like empty string passing to json.decoder() function as per error, am i missing passing any extraEnv in jupyterhub yaml ?

[D 2024-01-18 13:23:40.540 EnterpriseGatewayApp] Connecting to: tcp://10.1.35.142:60601 [D 2024-01-18 13:23:40.546 EnterpriseGatewayApp] Nudge: attempt 1 on kernel d80c56dc-8da1-4da4-a023-a65cc99ee0ca [D 2024-01-18 13:23:40.553 EnterpriseGatewayApp] activity on d80c56dc-8da1-4da4-a023-a65cc99ee0ca: status (busy) [D 2024-01-18 13:23:40.553 EnterpriseGatewayApp] Nudge: IOPub received: d80c56dc-8da1-4da4-a023-a65cc99ee0ca [D 2024-01-18 13:23:40.553 EnterpriseGatewayApp] Nudge: resolving iopub future: d80c56dc-8da1-4da4-a023-a65cc99ee0ca 2024-01-18T13:23:40.553663000Z [D 2024-01-18 13:23:40.553 EnterpriseGatewayApp] Nudge: shell info reply received: d80c56dc-8da1-4da4-a023-a65cc99ee0ca [D 2024-01-18 13:23:40.553 EnterpriseGatewayApp] Nudge: resolving shell future: d80c56dc-8da1-4da4-a023-a65cc99ee0ca [D 2024-01-18 13:23:40.554 EnterpriseGatewayApp] activity on d80c56dc-8da1-4da4-a023-a65cc99ee0ca: status (busy) [D 2024-01-18 13:23:40.555 EnterpriseGatewayApp] activity on d80c56dc-8da1-4da4-a023-a65cc99ee0ca: status (idle) [D 2024-01-18 13:23:40.561 EnterpriseGatewayApp] activity on d80c56dc-8da1-4da4-a023-a65cc99ee0ca: status (idle) [E 240118 13:23:40 web:1798] Uncaught exception GET /api/kernels/d80c56dc-8da1-4da4-a023-a65cc99ee0ca/channels (10.1.56.241) HTTPServerRequest(protocol='http', host='enterprise-gateway.enterprise-gateway.svc.cluster.local:8888', method='GET', uri='/api/kernels/d80c56dc-8da1-4da4-a023-a65cc99ee0ca/channels', version='HTTP/1.1', remote_ip='10.1.56.241') 2024-01-18T13:23:40.802899366Z Traceback (most recent call last): File "/opt/conda/lib/python3.10/site-packages/tornado/websocket.py", line 635, in _run_callback 2024-01-18T13:23:40.802907546Z result = callback(*args, **kwargs) 2024-01-18T13:23:40.802914544Z File "/opt/conda/lib/python3.10/site-packages/jupyter_server/services/kernels/handlers.py", line 521, in on_message msg = json.loads(ws_msg) File "/opt/conda/lib/python3.10/json/__init__.py", line 346, in loads 2024-01-18T13:23:40.802927209Z return _default_decoder.decode(s) File "/opt/conda/lib/python3.10/json/decoder.py", line 337, in decode 2024-01-18T13:23:40.802935284Z obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/opt/conda/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None 2024-01-18T13:23:40.802948320Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) [D 2024-01-18 13:23:40.802 EnterpriseGatewayApp] Websocket closed d80c56dc-8da1-4da4-a023-a65cc99ee0ca:d0497c42-79f383cb00eeb05ff1480647

from enterprise_gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.