Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dial unix /tmp/1-2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM-decisions: connect: no such file or directory #84

Closed
xianggy opened this issue Sep 24, 2020 · 1 comment

Comments

@xianggy
Copy link

xianggy commented Sep 24, 2020

follow the below steps:

git clone https://github.com/ava-labs/ortelius.git $GOPATH/github.com/ava-labs/ortelius
cd $GOPATH/github.com/ava-labs/ortelius
make dev_env_start
make standalone_run

ortelius is running, but get an error:
producer_1 | INFO [09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#123: Starting worker for chain 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
producer_1 | INFO [09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#133: Exiting worker for chain 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
producer_1 | ERROR[09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#84: Error running worker: dial unix /tmp/1-2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM-decisions: connect: no such file or directory
producer_1 | INFO [09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#123: Starting worker for chain 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
producer_1 | INFO [09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#133: Exiting worker for chain 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
producer_1 | ERROR[09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#84: Error running worker: dial unix /tmp/1-2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM-consensus: connect: no such file or directory
producer_1 | INFO [09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#123: Starting worker for chain 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
producer_1 | INFO [09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#133: Exiting worker for chain 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
producer_1 | ERROR[09-24|06:07:39] /go/src/github.com/ava-labs/ortelius/stream/processor.go#84: Error running worker: dial unix /tmp/1-2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM-decisions: connect: no such file or directory

I request to curl http://localhost:8080/X/transactions and always get the same response...
So what is the problem?

Thanks.

@tasinco
Copy link
Contributor

tasinco commented Sep 25, 2020

Both the settings in docker-compose and config have to be in sync.

The standalone docker-compose.yml on the master branch is set for:
network-id=5
ipcs-chain-ids=11111111111111111111111111111111LpoYY,2vrXWHgGxh5n3YsLHMV16YVVJTpT4z45Fmb4y3bL6si8kLCyg9

The config.json in the docker image is set for network-id=1 reading from the mainnet X-chain: 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM

You have to get those in sync for standalone to run..

You can alter your local copy of the docker-compose to use network id=1 and make sure it's using the proper X-chain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants