Page MenuHomePhabricator

[keyserver] improve error message on identity connection failure
ClosedPublic

Authored by varun on Feb 22 2024, 8:43 AM.
Tags
None
Referenced Files
F3409643: D11145.id37448.diff
Wed, Dec 4, 6:15 PM
F3409616: D11145.id37452.diff
Wed, Dec 4, 6:06 PM
F3408529: D11145.diff
Wed, Dec 4, 11:46 AM
Unknown Object (File)
Sun, Nov 17, 2:41 AM
Unknown Object (File)
Sun, Nov 17, 1:27 AM
Unknown Object (File)
Sat, Nov 16, 10:24 PM
Unknown Object (File)
Sat, Nov 16, 8:45 PM
Unknown Object (File)
Sat, Nov 16, 8:31 PM
Subscribers

Details

Summary

the existing error message, "Unable to connect to identity service," is not very helpful

Test Plan

tried to connect to my local identity service which was not running. Saw this error in the keyserver logs:

[NODEM] Failed to register user: Transport Error: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))

much better than just "Unable to connect to identity service"

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage