Skip to content

IPC broke again ?  #1063

@ang-st

Description

@ang-st

Describe the bug
avalanchego does not send any data on the ipcs unix sockets

To Reproduce
run

./avalanchego  --http-host 0.0.0.0 --api-ipcs-enabled=true --network-id=1  --api-admin-enabled=false  --api-keystore-enabled=false --ipcs-chain-ids=2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM

connect a client to it :

nc -U /tmp/1-2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM-consensus

no data are spitted out

Expected behavior

getting ipcs message defined in https://docs.avax.network/build/avalanchego-apis/ipc-api#ipc-message-format

Operating System

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
uname -a
Linux AVAX-sweet-banzai 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:04:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

I noticed while upgrading to avalanchego-v1.7.10

interestingly if i let socket open long enough we get some tx and some other stuff passing through ...
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions