Skip to content

Conversation

@brbzull0
Copy link
Contributor

Sometimes, when you use autest, you could end up with a large socket pathname.
You only discover this once you try to access the jsonrpc node, but even when
you get an error, it's hard to identify the root cause.

With this change, you'll now find a clearer error in the logs that points you
in the right direction.

Replace generic ENAMETOOLONG errno with an error that indicates the RPC
socket issue. Also improve startup error message clarity.

Note: Using fprintf as it seems the log machinery may not be fully initialized at this point.

Replace generic ENAMETOOLONG errno with an error that indicates the rpc
socket issue. Also improve startup error message clarity.
@brbzull0 brbzull0 added this to the 10.2.0 milestone Jan 12, 2026
@brbzull0 brbzull0 self-assigned this Jan 12, 2026
@brbzull0 brbzull0 added the JSONRPC JSONRPC 2.0 related work. label Jan 12, 2026
@ezelkow1
Copy link
Member

[approve ci]

@bryancall bryancall requested a review from cmcfarlen January 12, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JSONRPC JSONRPC 2.0 related work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants