Difference between revisions of "Proxyd"

From wikieduonline
Jump to navigation Jump to search
Line 33: Line 33:
 
  be specified when `value` is not empty (retried 1 times).
 
  be specified when `value` is not empty (retried 1 times).
  
== Logs ==
+
== [[Proxyd logs]] ==
 
 
ERROR
 
* <code>[[error forwarding request to backend]]</code>
 
* <code>[[Error forwarding RPC batch]]</code>
 
* <code>[[error serving requests]]</code>
 
* <code>[[error proxying websocket]]</code>
 
* <code>[[error writing clientConn message]]</code>
 
 
 
 
 
WARN
 
* <code>[[backend request failed, trying again]]</code>
 
* <code>[[backend banned - not healthy]]</code>
 
* <code>[[backend banned - unexpected block tags]]</code>
 
* <code>proxied requests' [[XFF header will not contain the proxyd ip address]]</code>
 
* <code>[[peer count responded with 200 and 0 peers]]</code>
 
* <code>[[failed request]]</code>
 
* <code>[[error updating backend]]</code>
 
* <code>[[backend broke consensus]]</code>
 
 
 
INFO
 
* <code>[[starting proxyd]]</code>
 
* <code>[[Updating CA certificates.]]</code>
 
* <code>[[Running CMD.]]</code>
 
* <code>[[INFO Forwarded RPC request]]</code>
 
* <code>[[INFO Received RPC request]]</code>
 
  
 
== Activities ==
 
== Activities ==

Revision as of 12:59, 15 October 2024

proxyd is an RPC proxy

proxyd /etc/proxyd/proxyd.toml: ws_method_whitelist, response_timeout_seconds, out_of_service_seconds, max_latency_threshold

Features:

Consensus related:

  • Track backend consensus (latest, safe, finalized blocks), peer count and sync state
  • Re-write requests and responses to enforce consensus


Proxyd backend healthy

Errors examples

Failed sync attempt to a7eaa64c50083f1xxxxxfd96eaabffd1c8f: one or more objects failed to apply, reason: error when patching 
"/dev/shm/396xxxxx68": Deployment.apps "your-service" is invalid: spec.template.spec.containers[0].env[1].valueFrom: Invalid value: "": may not 
be specified when `value` is not empty (retried 1 times).

Proxyd logs

Activities

Related

See also

Advertising: