Giter Site home page Giter Site logo

Comments (2)

bluekeyes avatar bluekeyes commented on May 26, 2024

This error mostly likely means that the JWT used to authenticate as the application is invalid, but there are several reasons that could happen. It's hard to know what the issue is from the logs, so here are few things to check:

  1. Confirm that the github.app.private_key value in the configuration is correct
  2. Confirm that the github.app.integration_id value in the configuration is correct

If you believe both of those are correct, you can test out the authentication process manually using the script and steps documented here: https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app

If both of those values are correct and the manual authentication works, the next thing to check is that the clock on you GitHub instance is synchronized with the clock on the machine running PolicyBot. If the machine running the bot is more than one minute off from GitHub in either direction, it's likely that the issued or expiration times of the JWT will be invalid.

from policy-bot.

cswendrowski avatar cswendrowski commented on May 26, 2024

My server was off by 4 minutes - Timedrift :(
Thanks so much! I'm finally getting policy-bot status checks on my PR's

from policy-bot.

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.