Skip to content

After switching to 5.0.3 Vertx HTTP client throws Stream was closed (GOAWAY error code = 0) #5693

@MichalKoziorowski-TomTom

Description

Version

5.0.3

Context

Hi.

After upgrading vertx from version 5.0.1 to 5.0.3, I've started to see in logs of vertx HTTP client:

io.vertx.core.http.HttpClosedException - Stream was closed (GOAWAY error code = 0).

It might be related to fix: #5675

My HTTP client is initialized in following way:

WebClient.create(vertx,
        new WebClientOptions()
            .setProtocolVersion(HttpVersion.HTTP_2)
            .setSsl(true)
            .setUseAlpn(true)
            .setTrustAll(true)
            .setVerifyHost(false)
            .setConnectTimeout(5000)
            .setIdleTimeout(45)
            .setKeepAliveTimeout(60)
            .setHttp2MultiplexingLimit(100)
            .setHttp2KeepAliveTimeout(60),
        new PoolOptions()
            .setMaxLifetime(60)
            .setMaxLifetimeUnit(TimeUnit.SECONDS)
            .setHttp1MaxSize(5000)
            .setHttp2MaxSize(500)
    );
  }

Removing setHttp2MultiplexingLimit(100) does not fix the issue. Reverting to 5.0.1 version does. I will test also with vertx 5.0.2

Steps to reproduce

No response

Do you have a reproducer?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions