Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Generating Token fails with Error [ERR_HTTP2_GOAWAY_SESSION]: New streams cannot be created after receiving a GOAWAY #176

Open
ViniPugal opened this issue Apr 23, 2021 · 2 comments

Comments

@ViniPugal
Copy link

Node version: 14.x.x
client-oauth2 version: 4.3.3

While generating the client using the below snippet

//Creating client
const authClient = new ClientOAuth2({
        clientId: 'clientid',
        clientSecret: 'clientsecrect',
        accessTokenUri: 'url',
        scopes
    });

//Generating Token
authClient.credentials.getToken();
@loudmouth
Copy link

i'm facing the same issue. end up getting:

"Unknown error The socket is already bound to an Http2Session" when trying to get a token a second time

@loudmouth
Copy link

I see that it's an issue with popsicle, and tangentially related to upgrades from node 12 to 14. See this thread

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants