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

Relay listens only on p2p port #2826

Closed
ksemaev opened this issue Jul 17, 2019 · 6 comments
Closed

Relay listens only on p2p port #2826

ksemaev opened this issue Jul 17, 2019 · 6 comments

Comments

@ksemaev
Copy link

ksemaev commented Jul 17, 2019

Tried to start docker container with that env var file: https://github.com/ArkEcosystem/core/blob/master/docker/production/mainnet/mainnet.env and got only this port open:

tcp 0 0 :::4001 :::* LISTEN 68/node

Tried adding vars from this page: https://docs.ark.io/releases/v2.1/changes.html#debranding
for example:

- name: CORE_API_DISABLED
  value: "false"
- name: CORE_JSON_RPC_ENABLED
  value: "true"

But still got the same p2p port opened. Can't find needed vars here https://docs.ark.io/guidebook/core/configuration.html#environment-configuration or cli command here https://docs.ark.io/guidebook/core/cli.html#installation

Please advice

@ghost
Copy link

ghost commented Jul 17, 2019

Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ksemaev
Copy link
Author

ksemaev commented Jul 17, 2019

To reproduce - just follow the docker guide:

cd docker/production/mainnet
docker-compose up -d
docker exec -it core_container_id /bin/sh
netstat -ntulp

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.11:36213 0.0.0.0:* LISTEN -
tcp 0 0 :::4001 :::* LISTEN 107/node
udp 0 0 127.0.0.11:34741 0.0.0.0:*

@adrian69
Copy link
Collaborator

@ksemaev

Everything is fine :) Your public API will be up only after node synced the full chain. BTW, the vars you added are way too old, so not applicable. We are now on 2.5 while you are referring to 2.1.

@ksemaev
Copy link
Author

ksemaev commented Jul 17, 2019

please mention it in docs. Or maybe I missed it. TY!

@ksemaev ksemaev closed this as completed Jul 17, 2019
@ghost
Copy link

ghost commented Jul 17, 2019

This issue has been closed. If you wish to re-open it please provide additional information.

@adrian69
Copy link
Collaborator

@ksemaev

I think that is mentioned 🤔 I would like to ask you to join our Slack: https://ark.io/slack
Good place to start is #help channel. Just first try to ask for help there before creating Github issue. Usually there is always ARK Team member around and also community is very active on that matter.

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