Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Request with timeout throw exception as "Failed to read HTTP status line" #195

Description

@avs009

When make a request and it not respond in timeout configuration the exception throw as "Failed to read HTTP status line", this error sounds like "Response timeout exceeded".

Test case:

Client:
Do a GET request and pass timeout as paramter (ex: 5000 ms):
http://localhost:8080/api/test?timeout=5000

Server:
Sleep for the timeout and before answer request.

Result in client:
Throw exception with message: "Failed to read HTTP status line"

Activity

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

      Issue actions