Comments (10)
- Could you provide reproduction steps? When is it exactly getting stuck, what are the steps?
- How many views are there in the database?
- Have you checked if your database is involved? Does this happen if you access view objects via the administration backend? (http://yourhost:8000/admin, and enter the password you entered when initializing the database).
from cubesviewer.
I started the cubesviewer Django server.
Then, I started the slicer server.
Now, I went to the website where I hosted it.
And when I clicked on the button "Cubes", it takes some time to get me the list of available cubes from my cubes model.
Plus, when I try to save the opened view, it takes about a minute to save it.
And when I refresh and try to look at all the available Saved Views, it then takes a time to get me that.
Being too slow getting me the views.
It is taking too much time to get even 1 saved view.
from cubesviewer.
I cannot reproduce this.
I'd need a trace of network requests made from the browser (ie a screenshot of Chrome development tools showing the Network XHR requests involving loading and saving, and showing sizes and times).
Also please answer points 2 and 3 above (number of views, and whether this happens from the CubesViewer Server administration backend).
Ultimately, if possible, I might need access to this installation to troubleshoot this.
from cubesviewer.
info request takes much longer time. It sits pending and until that Cubes are not showing in the browser.
Point 2. I am using 1 view.
Point 3. No, I have not tried.
from cubesviewer.
The request that is slow (~8.5 sec) is the info
request made to Cubes.
The problem does not seem related to CubesViewer, but to the Cubes installation. Please answer the following questions:
- Where is your Cubes Server deployed? (is it also localhost?)
- What is the value of the settings.py keys:
CUBESVIEWER_CUBES_URL
andCUBESVIEWER_BACKEND_URL
. - Try accessing your Cubes server directly: ie
http://localhost:5000/info
(URL depends on where you deployed your Cubes server). If that takes a long time, the problem is definitely with the Cubes installation.
from cubesviewer.
Also, in case you are using 'slicer' as Cubes server:
- Edit your
slicer.ini
. - Locate the
[server]
section - Add
processes: 10
to that section, restart slicer and try again.
Let me know the results.
from cubesviewer.
- Tried the cubes server on both localhost as well as on an address in the VPN.
- values are changed as per being on localhost or a different address.
- /info gives pretty quick results. That isn't the issue, I think.
I was experimenting yesterday and found that Firefox loads /info pretty quick, while Chrome takes a while on localhost as well as an address in the VPN.
from cubesviewer.
Issue solved by adding processes:10 in server section of slicer. Now, it works fast on both localhost as well as on different address.
from cubesviewer.
Happy to hear it's solved.
The issue actually was caused because Cubes testing server (slicer serve) accepts only one simultaneous request by default, which you can increase with processes
. Browsers keep a connection open for a while (HTTP KeepAlive) so you could not access Cubes server from another client.
The workaround is ok, but for production purposes remember that you should front Cubes with a proper web server (like Apache or Nginx), since the 10 connections limit will hit you sooner or later.
from cubesviewer.
Yes, you are correct on that part. Thank you !
Additionally, isn't that processes thing be in the docs ?
from cubesviewer.
Related Issues (20)
- Dimension elements "lost" when switching to Pie chart HOT 8
- Negative values are not shown in pie chart HOT 1
- Issue with "Export figure" on FF 64 HOT 2
- Popups on charts sometimes stop working HOT 1
- Missing months in the bar chart when there's no data for them HOT 1
- Saved views: changing grouped/stacked is not an aspect of view metadata modification HOT 1
- I want to open .cus file with client, is this possible? HOT 1
- No user created on migration HOT 1
- CubesViewer Proxy User & ACL HOT 2
- Internal Model Error with Apache in Windows HOT 1
- Order_Attribute not working in CubesViewer-Server 2.0.2 HOT 1
- Chart in Cubes Viewer HOT 1
- Error in series table with horizontal dimension and null value
- Export figure option results in an undefined output filename and corrupted PNG HOT 1
- login
- Order_Attribute not working for dimension filter HOT 1
- Cubesviewer studio admin password HOT 1
- store data base conecction error HOT 1
- Quick Start guide non working under Windows HOT 1
- aggregates sum returns 0 when column contains positive and negative numbers 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 cubesviewer.