Azure Notebook service shows error when opening nobteook: "Error loading notebook" - azure

I'm trying to open a notebook: "index.ipynb"
When I click on the notebook, I receive this error:
I tried to restart my notebook server:
I click restart, I'm taken to this page:
Every time I click restart, I'm taken back to the above page.
So, I try to click on "connecting to it again" and get the following:
So, I'm stuck. I can't open a notebook and I can't restart the backend.
I'm guessing this will need to be fixed by the Azure Engineering Team, but I'm raising it here in case other users run into this issue.

I work for Azure Notebooks. Could you open an issue on GH - make sure to include a link to your (public) notebook?

Related

No details in KqlError when I try to use KqlMagic

I'm trying to connect to an azure data explorer but I keep getting a non descriptive error. I'm following this tutorial.
https://learn.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-kqlmagic?view=sql-server-ver16.
Has anyone seen this?
click here for screenshot
I was trying to connect to azure data explorer from Azure Machine Learning Studio notebooks. I also tried it in Jupyter notebooks with an anaconda environment and I got the same error.
However, the command %reload_ext Kqlmagic worked for me
Maybe its because that Azure login has multiple directories?

AKS - creating clusters is broken?

When I go to the "Networking" page of an existing AKS cluster, I get an error:
Extension: Microsoft_Azure_ContainerService
Content: ManagedClustersNetworkingBlade
Error reason: ErrorLoadingExtensionAndDefinition
Error: Failed to retrieve the blade definition for 'ManagedClustersNetworkingBlade' from the server.
self.importscripts failed for "ExtensionCore/Arm/RegisterProvider"
A similar error occurs if I try to click the "Create" button to make a new AKS cluster in Azure. Is it broken for everyone, or is it a specific issue I'm having? I'm just wanting to confirm that somebody out there, right now, could create a brand new AKS cluster if they wanted to.
CSharpRocks confirmed above in the comments that it's not an Azure issue happening globally.
Update May 2022:
Azure support eventually worked this out with me. A workaround we discovered in the process was to try from a different browser. So I used Chrome instead of Safari, for example. Also, clearing my browser state (cache) eventually got my account working again in the original browser after they pushed some updates.

Azure AAD authentication, clicked on wrong microsoft ID in browser and now authentication fails every time

I was running a python program to fetch data from Azure Data Explorer, process it and write. The way I authenticate is:
import os
os.system("az login")
#browser pops up, I click on the relevant microsoft account and login.
I can now go back to my IDE and continue with my program. After finishing coding my programs, I restarted the kernel and ran it again for testing. This time, on the browser, I accidently clicked on the wrong micrsoft azure account and the login succeeded (because it was a valid login), but I knew it was wrong so I immediately restarted my kernel again. But ever since then I've been stuck at an error when I actually run a query:
'Caller is not authorized to perform this action', '#type': 'Kusto.DataNode.Exceptions.UnauthorizedDatabaseAccessException',
I tried cleaning the cache with az
az cache purge
#no output on console
I tried going to a different browser, closing everything and restarting. I also tried to find kusto or azure-data-explorer folders under AppData in the windows system and manually deleting the cache, but didn't find any such folders. Note: I haven't restarted the system yet, it's an ec2 instance and I have a lot of work open.
I am able to run the same program normally on a different windows machine succesfully. How can I fix this in an easy way in the future? I normally don't use windows or Azure for development work.
The az logoutcommand should do the work and let you logout from the current active accounts.
But as your tests this don't work for you so a second alternative is to use az logout with all specific accounts az logout --username -Doc

How to troubleshoot jupyter lab http://localhost:888/api/kernels?403 (Forbidden)

Today, I was going to continue working on a remote notebook that I was working on yesterday. However, now the notebook (JupyterLab 3.0.9) will not load. Upon reload I get a password request, which is quite unusual to get every time and the Chrome console shows:
jupyter lab http://localhost:888/api/kernels?403 (Forbidden)
for many different components. Any idea what could have caused this behavior?
I restarted the remote server and now it works. But is unclear to me what happend.

Deep Learning Virtual Machine can't run jupyter "No such notebook dir: ''/dsvm/Notebooks''"

I've set up a vm with Deep Learning Virtual Machine (Microsoft Azure).
Normally, I connect to the vm thanks to ssh etc
Then I run jupyter by writing jupyter notebook --no-browser.
But this time I have can't run jupyter notebook because there is this message Bad config encountered during initialization: "No such notebook dir: ''/dsvm/Notebooks''"
How can I fix that ?
Thanks for your help !
I presume you are trying to run Jupyter Notebook and with that goal in mind, I suggest you follow the following steps:
Move your notebook to ~/notebooks/
Find your Pubic IP Address of your VM from Azure Dashboard
Access https://your_public_ip_address:8000 in your web browser and log in using your vm login credentials
You should be able to see all the files you have in ~/notebooks/
I presume this method is defined by Azure for security reasons, to prevent people from having an open port without authentication. Hope this helps!
It worked for me :
jupyter notebook --notebook-dir=/home/$USER/notebooks --no-browser

Resources