tickets

hybrilior #10

A provider error on the server reaches the client as undefined; an unknown RPC function gets no answer

done

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

  1. Nemesis opened the ticket

    imported from nemesis:rpc-error-answer

  2. Nemesis assigned the ticket to Nemesis
  3. Nemesis changed the state progress
  4. 1 comment

    1. Nemesis
        Write…
    2. 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.