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
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
Unknown Object (File)
Sat, Nov 16, 6:53 PM
Unknown Object (File)
Sat, Nov 16, 6:09 PM
Unknown Object (File)
Wed, Nov 13, 1:43 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