Giter Club home page Giter Club logo

Comments (5)

danielbayerlein avatar danielbayerlein commented on August 17, 2024

Hi @bennychai91, do you use your own SonarQube instance? Is an authentication required?

from dashboard.

bennychai91 avatar bennychai91 commented on August 17, 2024

Yes my SonarQube instance using authentication , and I already add addkey to .env username and password , and i using postman to check the credential and valid , I don't know why ??

try {
  const res = fetch(`${url}/api/measures/component?componentKey=${componentKey}&metricKeys=${metricKeys}`,
  {
  opts,
  method: 'GET',
  credentials:'same-origin'
  })
  console.log(res)
  const json = await res.json()

the header not display

screen shot 2017-12-19 at 12 08 19 pm

from dashboard.

danielbayerlein avatar danielbayerlein commented on August 17, 2024

Allow your SonarQube instance CORS? See https://github.com/danielbayerlein/dashboard#cross-origin-resource-sharing-cors

from dashboard.

bennychai91 avatar bennychai91 commented on August 17, 2024

I already using CORS on my local hapi-rest-proxy , but i get http code 500 internal server errorr ,

My solution right now is not using authentication required , if i using no auth is working well :(

from dashboard.

danielbayerlein avatar danielbayerlein commented on August 17, 2024

Do you use a self-signed certificate? Please try to start the hapi-rest-proxy server with NODE_TLS_REJECT_UNAUTHORIZED=0.

from dashboard.

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.