Skip to content

icm-relayer: port 9651 conflict when running on validator/RPC nodes #11

@owenwahlgren

Description

@owenwahlgren

Problem

The icm-relayer's P2P client needs port 9651 for outbound connections, but avalanchego is already bound to 9651 on the same host. Running the relayer on a validator or RPC node causes failed to create app request network: failed to connect to any bootstrap nodes.

The ansible role deploys the relayer to the first RPC node by default, which has avalanchego running.

Options

  1. Deploy to a node without avalanchego (monitoring node)
  2. Document that the relayer needs a dedicated host or use separate P2P port
  3. Use the relayer's TLS cert from a different identity than the host's avalanchego

What Worked

We ran the relayer on the monitoring node (no avalanchego) with:

  • Fresh staking certs generated by a temporary avalanchego instance
  • manually-tracked-peers with validator public IPs
  • Public Fuji API for info-api and p-chain-api
  • allow-private-ips: true

The ansible role should support deploying to a non-avalanchego host.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions