Title: [Bug] Expired token unable to refresh · Issue #68 · spotify/github-java-client · GitHub
Open Graph Title: [Bug] Expired token unable to refresh · Issue #68 · spotify/github-java-client
X Title: [Bug] Expired token unable to refresh · Issue #68 · spotify/github-java-client
Description: 2021-07-29 19:44:31.615 INFO [my-bot,1efb3e9c675e3506,1efb3e9c675e3506] 1 --- [nio-8080-exec-7] c.s.github.v3.clients.GitHubClient : Github token for installation 1234 is either expired or null. Trying to get a new one. -- 2021-07-29 19:...
Open Graph Description: 2021-07-29 19:44:31.615 INFO [my-bot,1efb3e9c675e3506,1efb3e9c675e3506] 1 --- [nio-8080-exec-7] c.s.github.v3.clients.GitHubClient : Github token for installation 1234 is either expired or null. Tr...
X Description: 2021-07-29 19:44:31.615 INFO [my-bot,1efb3e9c675e3506,1efb3e9c675e3506] 1 --- [nio-8080-exec-7] c.s.github.v3.clients.GitHubClient : Github token for installation 1234 is either expired or null. Tr...
Opengraph URL: https://github.com/spotify/github-java-client/issues/68
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug] Expired token unable to refresh","articleBody":"```\r\n2021-07-29 19:44:31.615 INFO [my-bot,1efb3e9c675e3506,1efb3e9c675e3506] 1 --- [nio-8080-exec-7] c.s.github.v3.clients.GitHubClient : Github token for installation 1234 is either expired or null. Trying to get a new one.\r\n--\r\n2021-07-29 19:44:31.615 INFO [my-bot,1efb3e9c675e3506,1efb3e9c675e3506] 1 --- [nio-8080-exec-7] c.s.github.v3.clients.GitHubClient : Got JWT Token. Now getting Github access_token for installation 1234\r\n2021-07-29 19:44:31.619 ERROR [my-bot,a1558e2c87f905cd,a1558e2c87f905cd] 1 --- [nio-8080-exec-5] c.comp.path.WebhookErrorHandler : error processing request: (Could not generate access token for github app)\r\njava.lang.RuntimeException: Could not generate access token for github app\r\n...\r\nCaused by: java.lang.Exception: Got non-2xx status 401 when getting an access token from GitHub: Unauthorized\r\n at com.spotify.github.v3.clients.GitHubClient.generateInstallationToken(GitHubClient.java:607) ~[github-client-0.0.25.jar:0.0.25]\r\n at com.spotify.github.v3.clients.GitHubClient.getInstallationToken(GitHubClient.java:581) ~[github-client-0.0.25.jar:0.0.25]\r\n at com.spotify.github.v3.clients.GitHubClient.getAuthorizationHeader(GitHubClient.java:560) ~[github-client-0.0.25.jar:0.0.25]\r\n```\r\non restart of the application; everything works fine.","author":{"url":"https://github.com/bguedel","@type":"Person","name":"bguedel"},"datePublished":"2021-07-29T19:50:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/68/github-java-client/issues/68"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7165f874-9fc7-03c2-2e7f-e7715ca74904 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6C2:5BCF5:7B1877D:9EA2E6F:6976D823 |
| html-safe-nonce | dedfde59c1f898908680d0bd6bf1b35dc2171067c7a1cdc412cf92237b005500 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkMyOjVCQ0Y1OjdCMTg3N0Q6OUVBMkU2Rjo2OTc2RDgyMyIsInZpc2l0b3JfaWQiOiIyNDE1NjcwNzQ5Mjg1NTA1MDU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6506b183b68ea537b2078b407bded03db55fbc6578c94533d037a8b1b0b5fb3d |
| hovercard-subject-tag | issue:956157380 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/spotify/github-java-client/68/issue_layout |
| twitter:image | https://opengraph.githubassets.com/75b7262ddbc1cb57b293e7e301600463aa961e94995d41b58d7d2cf85cbeae0a/spotify/github-java-client/issues/68 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/75b7262ddbc1cb57b293e7e301600463aa961e94995d41b58d7d2cf85cbeae0a/spotify/github-java-client/issues/68 |
| og:image:alt | 2021-07-29 19:44:31.615 INFO [my-bot,1efb3e9c675e3506,1efb3e9c675e3506] 1 --- [nio-8080-exec-7] c.s.github.v3.clients.GitHubClient : Github token for installation 1234 is either expired or null. Tr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bguedel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/spotify/github-java-client git https://github.com/spotify/github-java-client.git |
| octolytics-dimension-user_id | 251374 |
| octolytics-dimension-user_login | spotify |
| octolytics-dimension-repository_id | 254401089 |
| octolytics-dimension-repository_nwo | spotify/github-java-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 254401089 |
| octolytics-dimension-repository_network_root_nwo | spotify/github-java-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width