Comments (6)
Beat me to it! Yeah, the location to the image recently changed.
We clearly need to get some proxy recommendations in place, but for the moment: CORS policies tend to be buried in browser settings. They will, in general, be different from browser-to-browser. In particular, it seems the CORB (note B) problem you are seeing might be specific to Chrome.
from dask-labextension.
It was suggested in the linked issue to use nbserverproxy
but I'm not sure that helps with my particular usecase?
My JupyterLab instance is spawned in a container via JupyterHub on a HPC grid. In JupyterLab I can spawn a dask cluster on the same HPC grid and I would like to use this extension to monitor the progress of the dask cluster from within the JupyterLab app. The scheduler isn't running within the JupyterLab container itself so isn't available from localhost which IIUC is all nbserverproxy
is intended for?
I can open a separate tab and monitor the dask cluster that way but it would be very cool to be able to do so from within JupyterLab itself, in particular to be able to arrange several windows and monitor different metrics at the same time... as shown in #18 (comment)
from dask-labextension.
As an interim workaround how would I disable CORS as mentioned in #22 (comment)?
from dask-labextension.
I'm not sure it's relevant, but considering the below:
dask-labextension/src/widget.tsx
Lines 433 to 438 in 1d2e87a
In a new tab I can access http://server:54542/statics/dask_horizontal.svg
but when I try http://server:54542/statics/dask-logo.svg
I get a 404.
If I can't even access that url outside of JupyterLab, maybe that codepath won't work for me and causes the below error even though it is a dask dashboard:
http://server:54542 does not appear to host a valid Dask dashboard
Private.testDaskDashboard.then.result @ widget.js:130
from dask-labextension.
Ok, it appears that dask-logo.svg
was only added 5 days ago:
...so I'm likely just using too old of a version!
It does appear to be in the latest release so I jsut need to update...
https://github.com/dask/distributed/blob/1.23.0/distributed/bokeh/templates/base.html#L24
from dask-labextension.
Wondering if jupyter/notebook#3886 will help at all
from dask-labextension.
Related Issues (20)
- Dashboard doesn't show when scheduler does not listen on localhost HOT 1
- Update branding
- Open Dashboard programmatically HOT 3
- Specify default address to look for scheduler HOT 13
- Dashboard shows cluster of different user HOT 1
- No visibility (black background) with JupyterLab in Dark theme HOT 3
- Can't connect to local cluster using local IP and port HOT 1
- 5.3.0 does not create a schemas/dask-labextension/plugin.json file on install HOT 11
- Default layout HOT 4
- Need to press the new "Launch in JupyterLab" button twice HOT 1
- Help connecting to existing KubeCluster using the build-in Discovery Mechanism HOT 2
- Using +NEW freezes Jupyterlab completely HOT 3
- JLab 4.0 side-effect: Class 'RenderedCommon' incorrectly implements interface 'IRenderer'. HOT 12
- Logos no longer working well HOT 4
- Conflicting dependencies with jupyterlab=4.0.2 HOT 3
- Inject client code adds an empty cell. HOT 3
- Release HOT 3
- Button Launch Dashboard in Jupyterlab not available HOT 1
- JLab 4-compatible release HOT 5
- Dashboard does not display graphs with bokeh = 3.3.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dask-labextension.