Jupyter Notebook won't load in ML Studio

Katelan 0 Reputation points
2026-07-03T18:10:02.39+00:00

Hi all!

I'm having troubles with loading any of my .ipynb notebooks in ML Studio. I can navigate through other files like CSVs, but when I try to open a jupyter notebook, the entire page becomes unresponsive and completely frozen. When I try to refresh my page, it takes me to a connection error.

Has anyone encountered a similar issue?

Azure Machine Learning

1 answer

Sort by: Most helpful
  1. AI answer

    2026-07-03T18:10:21.4833333+00:00

    The behavior described is consistent with notebook connectivity issues in Azure Machine Learning studio that rely on WebSocket connections.

    Use these checks and fixes:

    1. Verify WebSocket connectivity
      • Notebook execution and interaction require WebSocket communication.
      • Ensure the network or firewall allows WebSocket connections to:
        • *.instances.azureml.net
        • *.instances.azureml.ms
      • If behind a corporate firewall/proxy, ask the network administrator to confirm outbound WebSocket traffic to those hosts is not blocked.
    2. Check private endpoint / VNet setup (if used)
      • If the workspace uses a private endpoint and the compute instance is deployed in a virtual network, it can only be accessed from within that VNet.
      • If using custom DNS or a hosts file, ensure there is an entry for:
        • <instance-name>.<region>.instances.azureml.ms pointing to the private IP of the workspace private endpoint.
    3. Sign out and back in (expired token)
      • If the connection error is related to an expired token, sign out of Azure Machine Learning studio, sign back in, and then reopen the notebook.
    4. Check compute and kernel status
      • In the notebook UI, verify the compute instance status indicator:
        • Green: running
        • Red: failed
        • Black: stopped
        • Light blue: creating/starting/restarting/setting up
        • Gray: deleting/stopping
      • Also check the kernel status indicator:
        • Green: connected/idle/busy
        • Gray: not connected
      • If compute or kernel is not running/connected, start the compute instance and wait for the kernel to connect before interacting with the notebook.
    5. Try another network or machine
      • If possible, open the same workspace and notebook from a different network (e.g., outside corporate network) or a different workstation.
      • If it works elsewhere, this strongly indicates a local network/firewall or browser environment issue blocking WebSockets.
    6. Check Jupyter logs if kernel crashes
      • If the kernel is crashing and causing the page to hang, use:
        • sudo journalctl -u jupyter on the compute instance to inspect Jupyter logs.
      • If kernel issues persist, consider using a compute instance with more memory.

    If after these steps notebooks still freeze while other files (like CSVs) open fine, focus on WebSocket/network restrictions and any private endpoint/DNS configuration, as those are the primary causes of notebook-only loading issues.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.