Skip to content
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
@ViniPugal

Description

@ViniPugal

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

loudmouth commented on May 31, 2021

@loudmouth

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

loudmouth commented on May 31, 2021

@loudmouth

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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @loudmouth@ViniPugal

        Issue actions

          Generating Token fails with Error [ERR_HTTP2_GOAWAY_SESSION]: New streams cannot be created after receiving a GOAWAY · Issue #176 · mulesoft-labs/js-client-oauth2