You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After probot listener receive an event, while making 1st call to git, getting error
RequestError [HttpError]: 'Expiration time' claim ('exp') must be a numeric value representing the future time at which the assertion expires
at /usr/src/app/node_modules/probot/node_modules/@octokit/request/dist-node/index.js:86:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async getInstallationAuthentication (/usr/src/app/node_modules/@octokit/auth-app/dist-node/index.js:190:7)
at async hook (/usr/src/app/node_modules/@octokit/auth-app/dist-node/index.js:359:7)
at async Job.doExecute (/usr/src/app/node_modules/bottleneck/light.js:405:18) {
status: 401,
This happens when I run it inside a container. If I run it locally it works fine. I logged all environment variable and all are same in docker and local version.
// Your code heremodule.exports=(app)=>{app.log.info("There is a bug");};
Expected behavior/code
A clear and concise description of what you expected to happen (or code).
This also happens with the create-probot-app with check-js template. And there is also a 401:
INFO (http): POST / 401 - 442ms
ERROR (server): Unauthorized
Error: Unauthorized
at Request.callback (/home/agam/dev/test/node_modules/superagent/lib/node/index.js:921:17)
at IncomingMessage.<anonymous> (/home/agam/dev/test/node_modules/superagent/lib/node/index.js:1165:20)
at IncomingMessage.emit (node:events:539:35)
at IncomingMessage.emit (node:domain:475:12)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
status: 401
Bug Report
Current Behavior
After probot listener receive an event, while making 1st call to git, getting error
RequestError [HttpError]: 'Expiration time' claim ('exp') must be a numeric value representing the future time at which the assertion expires
at /usr/src/app/node_modules/probot/node_modules/@octokit/request/dist-node/index.js:86:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async getInstallationAuthentication (/usr/src/app/node_modules/@octokit/auth-app/dist-node/index.js:190:7)
at async hook (/usr/src/app/node_modules/@octokit/auth-app/dist-node/index.js:359:7)
at async Job.doExecute (/usr/src/app/node_modules/bottleneck/light.js:405:18) {
status: 401,
This happens when I run it inside a container. If I run it locally it works fine. I logged all environment variable and all are same in docker and local version.
Expected behavior/code
A clear and concise description of what you expected to happen (or code).
Environment
Possible Solution
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
The text was updated successfully, but these errors were encountered: