Giter Site home page Giter Site logo

Comments (12)

zoltanbedi avatar zoltanbedi commented on July 29, 2024 1

Thanks for coming back @AP-XD. I'm going to close this then.

from grafana-json-datasource.

mbarradas avatar mbarradas commented on July 29, 2024

I'm pasting the error I'm getting I guess the issue is related with the call being done through ip and not by the url of the process.

error="http: proxy error: dial tcp ip:port: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

from grafana-json-datasource.

marcusolsson avatar marcusolsson commented on July 29, 2024

@mbarradas Are you still experiencing this issue?

from grafana-json-datasource.

DanielA2119 avatar DanielA2119 commented on July 29, 2024

Marcus,
I have a similar issue when attempting to connect to Azure for getting alert status information. First I get an error that API version is required, I add it to the headers section then I get a bad Gateway error. Could an example of a working connection to Azure using this DataSource plugin be provided? Here is a link to Microsofts DOC on the what I am attempting to perform. https://docs.microsoft.com/en-us/rest/api/monitor/alertsmanagement/alerts/get-all. Thanks.

from grafana-json-datasource.

AP-XD avatar AP-XD commented on July 29, 2024

Hello I just wanted to share that I also faced the similar issue while serving json file using localhost
But when I use npoint.io for it it works fine.
image
image

from grafana-json-datasource.

0128zzc avatar 0128zzc commented on July 29, 2024

hi how can I solve this problem ?

from grafana-json-datasource.

0128zzc avatar 0128zzc commented on July 29, 2024

I meet the same question with you

from grafana-json-datasource.

Christoper-Lloyd2 avatar Christoper-Lloyd2 commented on July 29, 2024

I have also experienced the same issue as @AP-XD

image
image
Please note that the bad request in the second image is not my issue, it's simply because my endpoint does not return JSON at the root URL, everything works fine with the datasource in the second image

from grafana-json-datasource.

VictorZuluaga avatar VictorZuluaga commented on July 29, 2024

Hello I just wanted to share that I also faced the similar issue while serving json file using localhost But when I use npoint.io for it it works fine. image image

Use your IPV4 instead of localhost, it worked for me

from grafana-json-datasource.

AP-XD avatar AP-XD commented on July 29, 2024

Hello I just wanted to share that I also faced the similar issue while serving json file using localhost But when I use npoint.io for it it works fine. image image

Use your IPV4 instead of localhost, it worked for me

Yeah I also used npoint in the beginning but it was not a good solution for me to use ipv4 because I needed to serve some metrics which was being generated locally.
So actually what I did was create a kubernetes service for hosting the metrics locally which would be accessible by the kubernetes environment and thereby the grafana pod.
I needed it this way because other metrics were also being served to the grafana pod via prometheus which was also in kubernetes environment.

from grafana-json-datasource.

AP-XD avatar AP-XD commented on July 29, 2024

This issue can be closed I think @marcusolsson .
Since being unable to access localhost in environment other than kubernetes is a problem in grafana.
For which they have also provided a config hostNetwork: true in case if you want to access it though.

from grafana-json-datasource.

TomiwaAribisala-git avatar TomiwaAribisala-git commented on July 29, 2024

Hello I just wanted to share that I also faced the similar issue while serving json file using localhost But when I use npoint.io for it it works fine. image image

Hello, please I have a similar issue, I am running a Thanos Query Frontend locally and I want to add its URL in the datasource plugin, its giving JSON API: Bad Gateway, please how to I convert the URL:http://localhost:10901/ to npoint if it could work, I have attached images of the Datasource Plugin and Thanos URL
datasource1
datasource0
thanos

from grafana-json-datasource.

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.