Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Add support geth websockets rcp. #28

Merged
merged 2 commits into from
May 1, 2020

Commits on May 1, 2020

  1. Add support websocket rcp, default to 8546.

    Add support for connecting to geth via websockets. The default port is
    set to 8546 and will always be set, but websockets need to be enabled in
    the Geth_Startup_Param inside the config, e.g. --ws --wsorigins=\"*\" --wsaddr 0.0.0.0
    see examples/config/qubernetes-ingress-ws.yaml
    
    To override the default set it in the config unger `geth.Node_WSPort`.
    
    note:
    If trying to connect externally from an ingress be aware that depending
    on the backend k8s service and how the load balancing is implenented the
    health checks may fail, e.g. for GKE setting a configurable health check in k8s is not supported yet,
    but will be available soon: kubernetes/ingress-gce#1067.
    libby committed May 1, 2020
    Configuration menu
    Copy the full SHA
    a981a34 View commit details
    Browse the repository at this point in the history
  2. Change RPCPort 7nodes from 8546->8545.

    change the 7nodes examples configs RPCPort to the default geth rpc port
    so that it doesn't clash with the default websocket port (8546).
    libby committed May 1, 2020
    Configuration menu
    Copy the full SHA
    c506796 View commit details
    Browse the repository at this point in the history