GithubHelp home page GithubHelp logo

[Github] `Error while checking for inaccessible repositories. Exception: 403` when trying to sync `private` repositories about connectors HOT 6 OPEN

spong avatar spong commented on August 19, 2024
[Github] `Error while checking for inaccessible repositories. Exception: 403` when trying to sync `private` repositories

from connectors.

Comments (6)

artem-shelkovnikov avatar artem-shelkovnikov commented on August 19, 2024 1

@spong can you give it a try again? If it does not work, can we pair to investigate it together?

from connectors.

spong avatar spong commented on August 19, 2024 1

Just pulled the latest from elastic/connectors, then followed these instructions creating a new github connector within Kibana, updating the config.yml, then running make install/make run and I'm seeing the same error/issue:

image

After that error, if I go and update the List of repositories configuration from security-team to *, and then manually add the repo filter as detailed in the description, it syncs without issue:

image

Let me know if you need any more details or feel free to reach out on slack if you'd like to pair -- happy to help however I can 🙂

from connectors.

parthpuri-elastic avatar parthpuri-elastic commented on August 19, 2024

We are able to index documents from a private repository by specifying the repo in the list of repositories. However, we receive a forbidden error only when the rate limit is exceeded, it applies to both private and public repositories.

from connectors.

khushbu-elastic avatar khushbu-elastic commented on August 19, 2024

@danajuratoni @artem-shelkovnikov Could you please check this & update?

from connectors.

moxarth-elastic avatar moxarth-elastic commented on August 19, 2024

We are able to index documents from a private repository by specifying the repo in the list of repositories. However, we receive a forbidden error only when the rate limit is exceeded, it applies to both private and public repositories.

@spong does this work for you? If yes, can we close this issue? Also, the PR is merged to main so you can give it a try there as well, meantime we're raising a backport PR.

from connectors.

spong avatar spong commented on August 19, 2024

Sorry @moxarth-elastic, I've been in-and-out on PTO and had been focused on some release items before then so didn't have a chance to confirm/repro. Just catching up on a few things now, but will test and confirm all is good here shortly 👍

from connectors.

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.