none
"Failed to start the kernel - XSRF cookie does not match POST argument" RRS feed

  • Question

  • I'm not sure this is the right forum to post this question - but I don't know where else to go. BTW, I tried posting it as an issue over at Github, but received no response.

    In trying to open some of my notebooks (using Firefox in Windows 10) at notebooks.azure.com I recently started receiving this error message:

          Kernel Error:

          Failed to start the kernel

         XSRF cookie does not match POST argument

    This only happens on one particular computer, so it must be a local problem.

    Any idea what it is and how I can correct it?

    Thanks.


    Wednesday, August 29, 2018 1:02 PM

Answers

  • Thanks, Yutong, but I didn't try to pass anything. The notebooks (even a blank new one) just wouldn't start - always throwing up that error.

    And, as I mentioned, I tried github, but received no response.

    In the interim - and for future reference - I solved the problem (in the sense that I made it go away; still don't know what happened) by going to the Firefox settings and clearing all the cookies left by Azure Notebooks. After that, the notebooks loaded fine.

    Friday, August 31, 2018 10:27 PM
  • Hi, 

    If you are suffering from this issue when passing token as header, please try:

    headers = {'Authorization': 'token ' + token}

    Docs: http://jupyter-notebook.readthedocs.io/en/latest/security.html

    And also, you can ask for help from : https://github.com/jupyter

    Regards,

    Yutong

    Friday, August 31, 2018 7:44 PM
    Moderator

All replies

  • Hi, 

    If you are suffering from this issue when passing token as header, please try:

    headers = {'Authorization': 'token ' + token}

    Docs: http://jupyter-notebook.readthedocs.io/en/latest/security.html

    And also, you can ask for help from : https://github.com/jupyter

    Regards,

    Yutong

    Friday, August 31, 2018 7:44 PM
    Moderator
  • Thanks, Yutong, but I didn't try to pass anything. The notebooks (even a blank new one) just wouldn't start - always throwing up that error.

    And, as I mentioned, I tried github, but received no response.

    In the interim - and for future reference - I solved the problem (in the sense that I made it go away; still don't know what happened) by going to the Firefox settings and clearing all the cookies left by Azure Notebooks. After that, the notebooks loaded fine.

    Friday, August 31, 2018 10:27 PM
  • Sorry for your experience, can you please also share the link in Git?

    -Yutong

    Saturday, September 1, 2018 8:27 AM
    Moderator
  • Of course:

    https://github.com/Microsoft/AzureNotebooks/issues/448

    Saturday, September 1, 2018 10:11 AM
  • Hi,

    I try to contact the product group to solve your problem, at the same time, please also keep eyes on Git.

    Regards,

    Yutong

    Tuesday, September 4, 2018 12:30 AM
    Moderator
  • Will do; thanks.
    Tuesday, September 4, 2018 10:58 AM
  • Dunno if its related but i got the same error in Azure notebooks. It was working fine until yesterday. From now, impossible to have a working kernel in any of my notebooks in my Az Notebooks workspace. (Jupiter labs cant open any file also)
    Sunday, August 4, 2019 9:01 AM
  • Hi Eric,

    Sorry for your experience. I would suggest you to create a support ticket to live trouble shooting. If you don't have a support plan under your subscription ID, please send us an email at Azcommunity@microsoft.com with your Azure subscription ID and URL of this thread. Thank you.

    Regards,

    Yutong

    Monday, August 5, 2019 4:40 PM
    Moderator
  • What i use as an immediate fix is to clear the cache and cookies and re-login to Azure notebooks.Works fine every time.
    Friday, December 13, 2019 6:12 AM