Skip to content

Improve TLS handling #3239

@codexnull

Description

@codexnull

When dgraph increment is without credentials against a server that requires them, the output is a repeating

Query error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection closed. Retrying...

which is not indicative of the actual problem.

Also, when it is run WITH credentials against a server that DOES NOT require them, the program succeeds without any notification, which can lead to the false impression that it is using a secure connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/securitySecurity related issuesexp/beginnerSomething most people could solve.kind/maintenanceMaintenance tasks, such as refactoring, with no impact in features.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions