Skip to content

AI request fails with TLS unexpected EOF (peer closed connection without TLS close_notify) #8950

@edwifiguy

Description

@edwifiguy

Pre-submit Checks

  • I have searched Warp bugs and there are no duplicates
  • I have searched Warp known issues page and my issue is not there
  • I have an issue with AI and have included the debugging ID

Describe the bug

When sending a request to the Warp AI agent, the request fails mid-flight with a TLS transport error. The connection is dropped by the peer without sending a TLS close_notify, causing an unexpected EOF. The error is surfaced to the user as:

I'm sorry, I couldn't complete that request.

Request failed with error: Transport(reqwest::Error { kind: Decode, source: hyper::Error(Body, Error { kind: Io(Custom { kind: UnexpectedEof, error: "peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof" }) }) })

To reproduce

  1. Open Warp and start an AI agent conversation
  2. Send a prompt to the AI
  3. Observe the error message instead of a response

Expected behavior

The AI agent completes the request and returns a response without a transport/TLS error.

Screenshots, videos, and logs

Debug ID: cd5fb799-035a-4662-82d7-61504badc115

Operating system (OS)

Linux

Operating system and version

Ubuntu 25.10

Shell Version

bash 5.2.37(1)-release

Current Warp version

v0.2026.03.18.08.24.stable_03

Regression

No, this bug or issue has existed throughout my experience using Warp

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Additional context

Running on Linux (Ubuntu 25.10). The TLS error suggests the server-side connection is being terminated abruptly without a clean TLS shutdown handshake, which may point to a backend infrastructure or load-balancer issue dropping long-running or large responses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions