probot projects throw Unauthorized (401) errors

Created on 31 Mar 2018  路  5Comments  路  Source: probot/probot

My probot applications throw the following error on running.

Expiration time' claim ('exp') must be a numeric value representing the future time at which the assertion expires

I have done the following already

  • Updating my packages
  • Reinstalling my packages
  • Regenerating my GitHub App Secret Key
  • Recreating my GitHub Application

Screenshot

image

Most helpful comment

@tcbyrd Yep. My system time was out of sync with server time by 1 minute. Resyncing fixed it.

All 5 comments

What is your probot's version?

Probot v6.1.0

@Nischay-Pro I've seen this when your webhook secret is not the same as what's defined in the GitHub App settings. If you've double checked all your env variables and the webhook secret, the other possibility is the time on your server is not in sync.

@tcbyrd Yep. My system time was out of sync with server time by 1 minute. Resyncing fixed it.

@Nischay-Pro how did you re-sync your system with the server?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anglinb picture anglinb  路  4Comments

brunolemos picture brunolemos  路  3Comments

sotayamashita picture sotayamashita  路  3Comments

dev
devmchakan picture devmchakan  路  3Comments

hiimbex picture hiimbex  路  4Comments