question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Notebook v4.3.1 enabled xsrf

See original GitHub issue

Need to update ajax calls to send the xsrf token in the X-XSRF-Token header. This is currently causing CI builds to fail.

Example here for how the notebook js does it.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
magsolcommented, Jan 12, 2017

Just put that together two seconds before your post came in–works like a charm now. Thank you very much! 😃

1reaction
lgpagecommented, Jan 12, 2017

@magsol you may also need to reinstall the assignment_list nbextension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Security release: Jupyter Notebook 4.3.1
The biggest change in 4.3 is the addition of token-based authentication, which is enabled by default. Several of the security issues the notebook...
Read more >
How can I add a tab next to "Files" "Running" "Clusters" in the ...
... Notebook v4.3.1 enabled xsrf so use "notebooks ajax call" that includes the // xsrf token in the header data // This is...
Read more >
Changelog — JupyterHub 3.1.0 documentation
Spawner.start may return a URL for connecting to a notebook instead of (ip, port) . This enables Spawners to ...
Read more >
Prevent Cross-Site Request Forgery (XSRF/CSRF) attacks in ...
Calling AddControllers does not enable antiforgery tokens. AddControllersWithViews must be called to have built-in antiforgery token support ...
Read more >
Jupyter Notebook Documentation - Read the Docs
originate from pages served by this server (validated with XSRF cookie and ... DISABLED: use %pylab or %matplotlib in the notebook to enable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found