KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Solutions JupyterQ(Docker) fails to get license

  • JupyterQ(Docker) fails to get license

    Posted by jackie on August 22, 2022 at 12:00 am

    Hi all,

    I am trying to run jupyterq with the docker run command on github page:

    http://docker%20run -it –name myjupyterq -p 8888:8888 kxsys/jupyterq

    jupyter server process works find and then open kdb+Notebooks, a dialog having title “unlicensed workstation” comes up, but the page shows 404. It seems the license agreement page somewhere on the kx website is down.

    Does anyone have the same issue?

    jackie replied 8 months, 2 weeks ago 4 Members · 3 Replies
  • 3 Replies
  • davidcrossey

    Member
    August 25, 2022 at 12:00 am

    Hi Jackie,

    Thanks for raising this.

    I can also see the same error. I will pass this along internally and get back to you as soon as we have an update.

    Kind regards,

    David

  • Laura

    Administrator
    February 1, 2024 at 12:00 am

    Hi David,
    Has this been fixed?

    I’m having the same issue trying to run the kdb+ machine learning jupyter notebooks with docker:
    docker run -it –rm –name kdbml -p 8888:8888 kxsys/mlnotebooks

    The directory opens fine, but when i try to open one of the notebooks:
    [W 15:30:45.114 NotebookApp] Notebook 12 Time Series Forecasting.ipynb is not trusted
    [I 15:30:45.721 NotebookApp] Kernel started: 64ff72a0-238f-4f6e-a889-24aa73fb1fe4, name: qpk
    ‘2024.02.01T15:30:45.753 k4.lic
    [I 15:30:45.820 NotebookApp] jupyterq_licensemgr check request
    [I 15:30:48.729 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
    ‘2024.02.01T15:30:48.815 k4.lic
    [I 15:30:51.766 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
    ‘2024.02.01T15:30:51.853 k4.lic
    [I 15:30:54.799 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
    ‘2024.02.01T15:30:54.883 k4.lic
    [I 15:30:57.829 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
    ‘2024.02.01T15:30:57.915 k4.lic
    [W 15:31:00.862 NotebookApp] KernelRestarter: restart failed
    [W 15:31:00.865 NotebookApp] Kernel 64ff72a0-238f-4f6e-a889-24aa73fb1fe4 died, removing from map.
    [I 15:31:05.889 NotebookApp] jupyterq_licensemgr check request
    [W 15:31:06.796 NotebookApp] Replacing stale connection: 64ff72a0-238f-4f6e-a889-24aa73fb1fe4:bcaf4eb8d59841c7af436d111abe94cf
    [I 15:31:27.233 NotebookApp] jupyterq_licensemgr check request
    [W 15:31:29.128 NotebookApp] Replacing stale connection: 64ff72a0-238f-4f6e-a889-24aa73fb1fe4:bcaf4eb8d59841c7af436d111abe94cf
    [W 15:31:45.852 NotebookApp] Timeout waiting for kernel_info reply from 64ff72a0-238f-4f6e-a889-24aa73fb1fe4
    [E 15:31:45.867 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 64ff72a0-238f-4f6e-a889-24aa73fb1fe4)

    Would be very grateful for help !

  • rocuinneagain

    Member
    February 2, 2024 at 12:00 am

    Pass your license through and this should run:

    docker run -it –name myjupyterq -v $QHOME/kc.lic:/home/kx/kc.lic -p 8888:8888 kxsys/jupyterq

    • Replace kc.lic with k4.lic if that is your license type
    • You can use /a/path/to/kc.lic if you have not set QHOME

Log in to reply.