Comments (16)
Same when trying to access: https://openneuro.org/public/datasets (even if not logged in).
from openneuro.
I'm not currently seeing this but it is an error we've seen before. The request to SciTran closes with this message:
core_1 | [pid: 14|app: 0|req: 44798/57658] 255.255.255.255 () {42 vars in 749 bytes} [Tue Aug 22 00:45:43 2017] GET /api/projects?metadata=true => generated 2 bytes in 1 msecs (HTTP/2.0 200) 3 headers in 110 bytes (2 switches on core 1)
core_1 | uwsgi_response_write_body_do() TIMEOUT !!!
core_1 | IOError: write error
I think that can only be caused when the client aborted the request mid transfer. The frontend records this error as the XHR request failing. It could be the connection is aborted by the browser, an extension, or your network. Did you run into this error on a bandwidth constrained network?
from openneuro.
The bandwidth is indeed not superb, but also not too bad. I just checked again and I can load the list of public datasets. It does, however, take 20 seconds to load. For comparison on the same network loading the list of OpenfMRI datasets (https://openfmri.org/dataset/) takes 2 seconds.
I think you are right that the browser must've timeout when waiting for response thus leading to an error (and infinite loading symbol), but I also feel that OpenNeuro is taking much longer to load than other websites. In some conditions (subpar bandwidth) this can lead to silent errors and poor user experience.
Here's a benchmark of my current internet connection: http://beta.speedtest.net/result/6559072469
from openneuro.
The endpoint having issues here is about 5MB on production and takes some time to start. We can reduce the size and also serve this data from cache on the server to reduce the major cause of latency and that should eliminate this timeout.
I'll file another issue to not crash the frontend when the request fails.
from openneuro.
Probably related - I also see slow performance of https://openneuro.org/api/snapshots/projects?metadata=true endpoint which is called when viewing individual datasets. On my current connection it took 2m to load this data leading to suboptimal user experience
from openneuro.
Running into this issue once again on a new network. The speed is not awesome, but not terrible: http://beta.speedtest.net/result/6644972518 we should be able to support such networks.
from openneuro.
@chrisfilo #86 helps a lot with this but as all the dataset features depend on that change, I want to test it carefully before pushing it to production. I just updated dev with that fix. Let me know if you see any issues there, especially around uploading or running jobs.
from openneuro.
I am still seeing this on dev with poor connection (http://beta.speedtest.net/result/6649453857).
from openneuro.
Running into this on another connection: http://beta.speedtest.net/result/6652070957 (also on dev https://openneuro.dev.sqm.io/dashboard/datasets )
from openneuro.
On dev listing my datasets downloads 3.6MB from https://openneuro.dev.sqm.io/api/snapshots/projects?metadata=false&root=true which seems way too much.
from openneuro.
Another network I was unable to list all of the public datasets (University of Birmingham): http://beta.speedtest.net/result/6659263359
from openneuro.
I'm at University of Glasgow today and unfortunately still running into this issue. Loading the list of public datasets on prod downloads 17Mb and then times out.
from openneuro.
After trying a few times I managed to load the page - total payload is 19.9Mb.
from openneuro.
I'm back in California - the land of really fast internet (tm), but I found this neat guide for simulating slow connections: https://developers.google.com/web/tools/chrome-devtools/network-performance/network-conditions
from openneuro.
Lighthouse (mentioned in issue #49) automates that test with headless Chrome. I'm targeting the "page load is fast enough on 3G" audit to consider this fixed (10 seconds max load time for all views on Chrome's throttled 3G setting).
#108 and #109 are the biggest fixes.
from openneuro.
I am planning to give a demo of the platform on Tuesday in China - how likely is it that this issue will be resolved by then? Fixing #109 would probably deliver the biggest performance boost. @JohnKael
from openneuro.
Related Issues (20)
- Openneuro viewer only lets you view the first few TRs HOT 1
- ORCID and Google log in HOT 1
- curl script generation times out on large datasets HOT 1
- ds003404 has large object and is not syncing to github
- Bus error when using openneuro-cli on UPenn's cluster HOT 4
- Git pushes fail when the remote index needs refreshing
- New CLI tools should show progress while hashing files
- Error when downloading dataset with datalad HOT 9
- Adding REST-API links to OpenNeuro datasets using NeuroJSON.io database interface
- ds003645 Cannot retrieve data from S3
- ds000246 S3 URL not working for some files HOT 1
- openneuro CLI draft download of dataset fails
- Empty github repositories for datasets HOT 1
- Update NEMAR mouseover HOT 1
- Modality landing pages show same datasets HOT 2
- Transition from per-site analysis buttons to collapsable "Analyze" button HOT 8
- Viewing participants.tsv in draft shows old versions of file
- datalad unable to get latest data from ds003745 HOT 2
- Snapshot generation failure: ds005115 HOT 1
- DOI minting failure: ds005166 HOT 1
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 openneuro.