401 error after deploying probot to gcf
See original GitHub issueBug Report
Current Behavior here is the response error iam getting while calling probot deployed on google cloud functions
HttpError: {
"message": "Missing 'issuer' claim ('iss') in assertion",
"documentation_url": "https://developer.github.com/v3"
}
at response.text.then.message(/srv/node_modules / @octokit / rest / lib / request / request.js: 72: 19) at < anonymous > at process._tickDomainCallback(internal / process / next_tick.js: 229: 7)
{
name: 'HttpError',
code: 401,
status: undefined,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type',
connection: 'close',
'content-length': '111',
'content-security-policy': 'default-src \'none\'',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 06 Feb 2019 23:33:54 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
status: '401 Unauthorized',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-media-type': 'github.machine-man-preview; format=json',
'x-github-request-id': '5091:6932:789C8B:F29F81:5C5B6EE2',
'x-xss-protection': '1; mode=block'
}
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (6 by maintainers)
Top Results From Across the Web
401 error after deploying probot to gcf - Bountysource
Bug Report. Current Behavior here is the response error iam getting while calling probot deployed on google cloud functions
Read more >Google Cloud Functions (Gcf) Works Fine Locally ... - ADocLib
Google Cloud Functions (Gcf) Works Fine Locally With Authentication Header, But Returns 401 When Deployed. The --runtime flag is not required on subsequent ......
Read more >Why am I getting a "401 Unauthorized" error in Maven?
You will get a 401 Unauthorized error if you supply the wrong credentials (password etc). You also get an error (and off the...
Read more >Deployment - Probot
When deploying your Probot app to a serverless/function environment, you don't need to worry about handling the http webhook requests coming from GitHub,...
Read more >2m-subdomains.txt - Index of /
... koha-tmpl archive grails-app perl clients roles deploy jquery terraform ... Ports ProgramData tox all statics YDR418W designer errors artwork myodd ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m sorry I helped all I could, you’ll have to figure out the rest on your own I’m afraid
thank you , passed previous error and getting this now
TypeError: Cannot read property ‘x-github-otp’ of undefined at authenticationRequestError (/srv/node_modules/@octokit/rest/plugins/authentication/request-error.js:6:52) at /srv/node_modules/before-after-hook/lib/add.js:37:18 at <anonymous> Expand all | Collapse all { insertId: “000001-ee4aa12a-8096-437f-83f0-e8c4c54eb23a”
labels: {…}
resource: {…}
severity: “ERROR”
textPayload: “TypeError: Cannot read property ‘x-github-otp’ of undefined at authenticationRequestError (/srv/node_modules/@octokit/rest/plugins/authentication/request-error.js:6:52) at /srv/node_modules/before-after-hook/lib/add.js:37:18 at <anonymous>”
@gr2m any thoughts ?