Code Monkey home page Code Monkey logo

Comments (8)

baumandm avatar baumandm commented on May 13, 2024

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.

snapfast avatar snapfast commented on May 13, 2024

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.

baumandm avatar baumandm commented on May 13, 2024

Any luck finding errors in the browser developer console?

from cyclotron.

karel1980 avatar karel1980 commented on May 13, 2024

I bumped into what looks like the same issue:
image

from cyclotron.

karel1980 avatar karel1980 commented on May 13, 2024

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.

karel1980 avatar karel1980 commented on May 13, 2024

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.

karel1980 avatar karel1980 commented on May 13, 2024

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.

karel1980 avatar karel1980 commented on May 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.