Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat bug: connecting to jupyter notebook #227

Open
bendichter opened this issue Jan 1, 2025 · 0 comments
Open

Chat bug: connecting to jupyter notebook #227

bendichter opened this issue Jan 1, 2025 · 0 comments

Comments

@bendichter
Copy link
Contributor

copy/pasting this command: jupyter lab --NotebookApp.allow_origin='https://neurosift.app' --no-browser --port=8889

and then hitting "refresh":

% jupyter lab --NotebookApp.allow_origin='https://neurosift.app' --no-browser --port=8889
[W 2024-12-31 19:12:48.588 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[W 2024-12-31 19:12:48.592 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2024-12-31 19:12:48.592 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-12-31 19:12:48.593 ServerApp] jupyter_server_terminals | extension was successfully linked.
[W 2024-12-31 19:12:48.594 LabApp] 'allow_origin' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2024-12-31 19:12:48.595 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-12-31 19:12:48.597 ServerApp] notebook | extension was successfully linked.
[I 2024-12-31 19:12:48.701 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-12-31 19:12:48.718 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-12-31 19:12:48.720 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-12-31 19:12:48.720 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-12-31 19:12:48.721 LabApp] JupyterLab extension loaded from /opt/miniconda3/lib/python3.12/site-packages/jupyterlab
[I 2024-12-31 19:12:48.721 LabApp] JupyterLab application directory is /opt/miniconda3/share/jupyter/lab
[I 2024-12-31 19:12:48.721 LabApp] Extension Manager is 'pypi'.
[I 2024-12-31 19:12:48.722 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-12-31 19:12:48.724 ServerApp] notebook | extension was successfully loaded.
[I 2024-12-31 19:12:48.727 ServerApp] Serving notebooks from local directory: /Users/bendichter/dev/sandbox
[I 2024-12-31 19:12:48.727 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-12-31 19:12:48.727 ServerApp] http://localhost:8889/lab?token=1bc07e6d7cdbe3f92acae0f272ddf1f7f68146be9764c4aa
[I 2024-12-31 19:12:48.727 ServerApp]     http://127.0.0.1:8889/lab?token=1bc07e6d7cdbe3f92acae0f272ddf1f7f68146be9764c4aa
[I 2024-12-31 19:12:48.727 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2024-12-31 19:12:48.730 ServerApp] 
    
    To access the server, open this file in a browser:
        file:///Users/bendichter/Library/Jupyter/runtime/jpserver-45871-open.html
    Or copy and paste one of these URLs:
        http://localhost:8889/lab?token=1bc07e6d7cdbe3f92acae0f272ddf1f7f68146be9764c4aa
        http://127.0.0.1:8889/lab?token=1bc07e6d7cdbe3f92acae0f272ddf1f7f68146be9764c4aa
[I 2024-12-31 19:12:49.283 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
[W 2024-12-31 19:12:53.143 ServerApp] wrote error: 'Forbidden'
    Traceback (most recent call last):
      File "/opt/miniconda3/lib/python3.12/site-packages/tornado/web.py", line 1788, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/miniconda3/lib/python3.12/site-packages/tornado/web.py", line 3289, in wrapper
        url = self.get_login_url()
              ^^^^^^^^^^^^^^^^^^^^
      File "/opt/miniconda3/lib/python3.12/site-packages/jupyter_server/base/handlers.py", line 783, in get_login_url
        raise web.HTTPError(403)
    tornado.web.HTTPError: HTTP 403: Forbidden
[W 2024-12-31 19:12:53.144 ServerApp] 403 GET /api/sessions (@::1) 1.10ms referer=None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant