Giter Site home page Giter Site logo

Comments (9)

marcusolsson avatar marcusolsson commented on July 29, 2024

I'm sorry you've had to spend the time debugging this, though I'm grateful that you took the time to report it!

If I were to guess, it's indeed related to the cookie returned. I don't see a free tier on their website. Is there any way I could replicate this without having a paid account? Do they have any API docs I could look at?

I'll look around and see if become any wiser!

from grafana-json-datasource.

ttmcmurry avatar ttmcmurry commented on July 29, 2024

Thanks Marcus. Their documentation is at https://api.itglue.com/developer. The difficult part of this is not having a log from the plugin or Grafana to help indicate what isn't working right.

That said, perhaps https://github.com/itglue/powershellwrapper will help with understanding how the PowerShell API Wrapper works .. maybe provide some clues as to how the session is handled. It's really just a guess on my end. :)

from grafana-json-datasource.

mbarradas avatar mbarradas commented on July 29, 2024

I had the same type of problem you can see the log on the grafana log it shows the call to the url and the response. In my case the problem seem to be related to the fact that the call is done with the IP of the endpoint instead of the url and my endpoint blocks those types of calls.
I tried it with https://k1toronto.clubspeedtiming.com/api/ and I was able to connect but had other problems.
Hope this helps.

from grafana-json-datasource.

mbarradas avatar mbarradas commented on July 29, 2024

Changed my the of my API to localhost (form my use case this was a valid url) instead of the full url of and I was able to connect to the API with this little change. I can confirm that the only way my API is not reachable is by the IP resolved from the DNS. The result was the same with postman and with the panel.

from grafana-json-datasource.

marcusolsson avatar marcusolsson commented on July 29, 2024

Thanks @mbarradas for the update. It sounds like it's a different problem from what @ttmcmurry describes, since they don't use an IP address as URL? For now, maybe add your details to #4 instead.

I'll admit that I'm not sure where to go from here. I'm not aware of any way to make Grafana log these requests. I could try to add more details to the error in the data source test message.

from grafana-json-datasource.

ttmcmurry avatar ttmcmurry commented on July 29, 2024

@marcusolsson I'm stuck at the same place as you are. At this point - I'd have to drop to data packet capture and analysis - or finding a useful Grafana log / way to make Grafana log more info.

from grafana-json-datasource.

marcusolsson avatar marcusolsson commented on July 29, 2024

@ttmcmurry Did you manage to fix/get around this eventually?

from grafana-json-datasource.

ttmcmurry avatar ttmcmurry commented on July 29, 2024

I gave it another go about 3 weeks ago, and still couldn't make any progress with it. That said, it became more time efficient to settle with what BrightGauge could do for us as I had to wrap things up and make some progress.

If I had more time to dig into what is really happening at the packet level - since getting useable logs is difficult - maybe some clues would be revealed, but the problem, unfortunately, is time.

from grafana-json-datasource.

marcusolsson avatar marcusolsson commented on July 29, 2024

Closing this as I've yet to see a similar issue. If you ever figure it out, I'd be curious to know!

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.