Skip to content

unavailable (14): Transport became inactive #1273

Open
@YunXu6139

Description

@YunXu6139

Describe the bug

Below is how I init my GRPCChannel

    let group =  PlatformSupport.makeEventLoopGroup(loopCount: 4)
    let keepalive = ClientConnectionKeepalive(
      interval: .seconds(15),
      timeout: .seconds(10)
    )
    let channel = ClientConnection.insecure(group: group)
            .withKeepalive(keepalive)
            .connect(host: host, port: 2080)

At our app home page, there are several api requests , when a request failed with Invalid HTTP response status: 503, the requests starts at almost same time but haven't have response back all failed with unavailable (14): Transport became inactive
But when I comment the request that response 503, other requests success

To reproduce

Expected behaviour

These requests should success expect the with the 503 response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugFeature doesn't work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions