Skip to content

http2: How should I be avoiding "New streams cannot be created after receiving a GOAWAY" errors #2105

Closed as not planned
@murgatroid99

Description

@murgatroid99
  • Node.js Version: 10+
  • Scope (install, code, runtime, meta, other?): usage
  • Module (and version) (if relevant): http2

I maintain the module @grpc/grpc-js which uses the http2 module. I have gotten reports of occasional "New streams cannot be created after receiving a GOAWAY" errors. The code I have listens for the close, error, and goaway events, and if it sees any of them it stops using that session. Is that the intended usage pattern to avoid that kind of error? Is there anything else I should be checking to more consistently avoid that error?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions