Skip to content

Misleading error when making first connection using incorrect credentials to HTTP/S endpoint #1089

Open
@RoryCrispin

Description

@RoryCrispin

The error
failed to read the response: read: read next block: data size should be 0 < 980316009 < 134217728
is returned when executing the first query to a database over HTTP/S if the crendentials are incorrect.

This error is encountered when conn_http.go executeRequest calls msg, err := h.readRawResponse(resp)

The status code should be returned in addition to any errors from readRawResponse.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions