This repository was archived by the owner on Jan 20, 2024. It is now read-only.
This repository was 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
Description
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();
Activity
loudmouth commentedon May 31, 2021
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 commentedon May 31, 2021
I see that it's an issue with popsicle, and tangentially related to upgrades from node 12 to 14. See this thread