GithubHelp home page GithubHelp logo

Auth issue about cloudflare-exporter HOT 5 CLOSED

lablabs avatar lablabs commented on July 3, 2024
Auth issue

from cloudflare-exporter.

Comments (5)

Slapper avatar Slapper commented on July 3, 2024 2

Ok so after some trial & error tests i finally fix this issue. We have a mix of free and non-free domain in our cloudflare account so i had to use ZONE_<NAME> variable to explicitly set our enterprise domain IDs only.

Thanks once again for your help :)

from cloudflare-exporter.

martinhaus avatar martinhaus commented on July 3, 2024

Hey @Slapper, are you using both the CF_API_EMAIL and CF_API_KEY? The exporter requires API key + email, not just the token.

from cloudflare-exporter.

Slapper avatar Slapper commented on July 3, 2024

hi @martinhaus

Thank you for your prompt reply! My bad... i was using the token & not the api key :(

So now the auth seems to work with the Global API Key and parsing my zones correctly, but now i am getting the following error :

time="2021-03-06 15:16:21" level=error msg="graphql: zone '****************' does not have access to the path"
time="2021-03-06 15:16:21" level=error msg="graphql: zone '****************' does not have access to the path"
time="2021-03-06 15:16:21" level=error msg="graphql: zone '****************' does not have access to the path"

My account has the necessary access on cloudflare so i am not sure why it cannot access the the zone's path.
Any idea will be really helpful!

Thank again!

from cloudflare-exporter.

martinhaus avatar martinhaus commented on July 3, 2024

Hey @Slapper ,
I'm sorry, I haven't experienced any issues like you're describing. It seems like a permissions issue with your credentials though.

from cloudflare-exporter.

timtorChen avatar timtorChen commented on July 3, 2024

The problem of level=error msg="graphql: zone '****************' does not have access to the path" is the exporter use some data source, like httpRequests1mByColoGroups, which only accessible for enterprise plan user.

Check the analytic API rate limit

from cloudflare-exporter.

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.