Hyperlinkv0.8.0-beta.28

Node

Node.ProtocolUnansweredclasssrc/internal/nodeCore.ts:1098

Transport answered, but the Effect RPC protocol did not — typically something else is listening on the address (wrong process / wrong protocol). Surfaced by Hyperlink.verifyConnection(node, { deep: true }) after the cheap reachability probe succeeds.

errorsHyperlink.verifyConnection
export class ProtocolUnanswered extends Data.TaggedError("ProtocolUnanswered")<{
  readonly node: string;
  readonly url: string;
  readonly kind: ProtocolKind;
  readonly cause: unknown;
}> {
  override get message() {
    return (
      `Node "${this.node}" is reachable at ${this.url} but did not answer the RPC protocol ` +
      `(${this.kind}) — is something else listening there?`
    );
  }
}
Referenced by 1 symbols