Comments (6)
My guess is that Dask labextension queries that address every second to see if a cluster is alive there. If it is then it connects up the existing plots.
My guess is that we might want to wrap up the line that queries that file in whatever the TypeScript equivalent of a try-except block is. It's ok to not find that address.
from dask-labextension.
@ian-r-rose is my understanding above correct?
from dask-labextension.
My understanding is the fetch of this logo is being used to determine if the dashboard is up. So most of the behavior here seems correct, we probably just want to silence the error in some nice way.
dask-labextension/src/widget.tsx
Lines 442 to 453 in 2e743d9
from dask-labextension.
Yes, @mrocklin, your understanding is right. The "logo fetching" has always been a hack, it is checking to see if the dashboard server is up and running while getting around some browser-security policies. I would love to be able to silence those errors, but I am not aware of a way to patch the tornado server to remove them.
@jhamman, I am rewriting the proxying logic in #31, so hopefully a lot of these issues will be solved (or greatly mitigated) there. In particular, once we have stronger guarantees that the cluster will be available under the same origin we will no longer need to check for the logo itself.
I am puzzled as to why it's a 500 error and not a 404, however... are there any other errors you see that might be relevant?
from dask-labextension.
[E 10:47:50.364 LabApp] 500 GET /proxy/8787/statics/images/dask-logo.svg?1544204869455 (10.148.0.4) 2.54ms referer=http://localhost:8888/lab
[W 10:47:52.458 LabApp] 404 GET /proxy/8787/status/individual-task-stream (10.148.0.4) 17.78ms referer=http://localhost:8888/lab
While futzing about with the app, we did see some 404 errors but they were only triggered by changing urls to the dashboard. These could be related but I think the 404 comes up when the app cant find a dashboard it previously had found. The 500 errors come when the app hasn't found a dashboard at all yet.
from dask-labextension.
In a JupyterHub, I end up with the following three different errors in the browsers console log. This is while I'm successfully running stuff against my Dask worker pods through the scheduler etc.
Failed to load resource: net::ERR_NAME_NOT_RESOLVED dask-logo.svg:1
Failed to load resource: net::ERR_NAME_NOT_RESOLVED /user/erik.sundell/dask/clusters?1546445236329:1
Failed to load resource: the server responded with a status of 404 () clusters.js:5
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.