Comments (8)
Hi @rahbal, did you configure the _public/js/conf/configService.js
file after building the website? It gets generated on first build from sample.configService.js
, and contains this by default:
restServiceUrl: 'http://localhost:8077',
From what you said, that's probably correct, but if you changed it you might run into errors.
If that's not the issue, did you correctly start MongoDB and connect the service to it? You can test this via http://localhost:8077/dashboards. It should have deployed some example dashboards automatically on startup, so you should get some JSON response. If there are any errors, it's likely that the website is connecting correctly, but is unable to get a valid response.
Lastly, you can open the browser console and look for any more detailed errors when you load the site.
from cyclotron.
Yes, all dashboards are visible on this url http://localhost:8077/dashboards
Only cyclotron-site is showing that it is not able to connect to the cyclotron-svc.
from cyclotron.
Any luck finding errors in the browser developer console?
from cyclotron.
I bumped into what looks like the same issue:
from cyclotron.
I started by running cyclontron-svc using the sample.config.js; settings analytics enabled = true in that file gets rid of the 405, but now I get a 500. The error on the console of cyclontron-svc says Error [MongoError]: The 'cursor' option is required, except for aggregate with the explain argument
. I haven't investigated yet, pretty sure that's a configuration error on my behalf
from cyclotron.
upgrading mongoose to 6.2.10 seems to make the error go away; fyi I'm running mongo 4.4, that's probably relevant
from cyclotron.
I'll create a PR; I find any tests in cyclotron-svc, though I have to admit I didn't look very hard.
from cyclotron.
Since there is an open PR for bumping mongoose that's 3 years old [0] I don't think this project is being maintained very actively anymore.
[0] #49
from cyclotron.
Related Issues (20)
- Mongodb as datasource - how to do that? HOT 1
- Recommended OS or guidance on API HOT 1
- Supporting Right to Left Languages HOT 1
- Keep code and configs in Source/Version control system? HOT 2
- Dashboard Navigation UI HOT 2
- Connecting to influxdb with ssl HOT 1
- Dependency of [email protected] causes failure HOT 3
- API requests don't work HOT 3
- dataSource value passed to moment function does not render properly HOT 2
- Google Maps Embedding HOT 1
- Server Side Events in dataSource HOT 4
- Excel / PDF export is using local ip address not domain address HOT 3
- Updating data inside the widgets HOT 3
- Configuring numeral js language HOT 1
- Installation error occured at cyclotron-site HOT 2
- Promive a docker image HOT 1
- CORS errors on latest Chrome
- [question] on ingesting and visualizing Prometheus metrics
- Is this project still maintained? HOT 2
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 cyclotron.