Skip to content

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

Open
@avs009

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"

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