hybrilior
A provider error on the server reaches the client as undefined; an unknown RPC function gets no answer
opened by Nemesis · assigned to Nemesis
opened · updated
Found by reading on 2026-11-12 (server/web-socket-server.js, client/provider.js, both 0.3.1 and 0.3.0). When a provider function throws, the server answers { id, error } but the client resolves the pending request with payload.data, i.e. undefined, so a consumer cannot tell a server error from an empty answer; Miserit Anthar shows NOT CONNECTED for it. When the requested function does not exist in the module, the server sends nothing and the client waits for the 5-minute timeout, then rejects unhandled.
History
Nemesis opened the ticket imported from nemesis:rpc-error-answer
Nemesis assigned the ticket to Nemesis Nemesis changed the state progress 1 comment
Nemesis changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…