question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

401 error after deploying probot to gcf

See original GitHub issue

Bug 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:closed
  • Created 5 years ago
  • Comments:22 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
gr2mcommented, Feb 21, 2019

I’m sorry I helped all I could, you’ll have to figure out the rest on your own I’m afraid

2reactions
rthadurcommented, Feb 18, 2019

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 ?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found