pi-node / instructions

254 stars 154 forks source link

Ports checking is disabled when you're running the blockchain #51

Open ShahAmanat opened 3 years ago

ShahAmanat commented 3 years ago

Hi All, I am facing this weird error, after Docker and opening up the ports, I am not able to check the ports now. Can someone please guide me, how can I stop blockchain in order to check the ports? I have uninstalled and installed Node, waited until 24 hour mining period is done but not able to resolve this issue. Please find the screenshot of the issue: NodeIssue

ihatejam commented 3 years ago

That implies that you're already running the consensus container. Just scroll down and click on the orange Continue button and you should be fine.

image

Hitting continue should take you to a screen that looks something like this:- image

Explanation:- You can't run the port listener while running the consensus container. They both need to use the same ports. The port listener is only needed during the initial setup until you are selected to run the node/consensus container. Once the consensus container is sent to your docker, the port listener is unloaded and the consensus container is started up. The consensus container then starts interacting with the blockchain network using those ports.

Hope this helps!

EricKasan74 commented 3 years ago

Same here. So just continue and no needed to change the ports checking?

ihatejam commented 3 years ago

If you have already been selected to participate as a node, then inside of Docker, you will see both the Stellar-dummy container (port listener for testing port forwarding) and the Pi-consensus container (blockchain node test). Only one of these two containers can run at any given time since they require use of the ports that were forwarded.

Hootman50 commented 3 years ago

Thank you!

Best regards,

Hoot


From: ihatejam notifications@github.com Sent: Thursday, February 25, 2021 1:49 AM To: pi-node/instructions instructions@noreply.github.com Cc: Hoot Gibson hoot@hootgibsonbroker.com; Comment comment@noreply.github.com Subject: Re: [pi-node/instructions] Ports checking is disabled when you're running the blockchain (#51)

If you have already been selected to participate as a node, then inside of Docker, you will see both the Stellar-dummy container (port listener for testing port forwarding) and the Pi-consensus container (blockchain node test). Only one of these two containers can run at any given time since they require use of the ports that were forwarded.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pi-2Dnode_instructions_issues_51-23issuecomment-2D785765748&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=n6y1smS0jryogRaycLxuCrxxFRXvfAmE3rP80tD14ZQ&m=D5avx45K7I6ybX_F1kHkAaW4tHGhGcsksVFO_XiS07Y&s=hm-SD9i9457Z6z64EHlJuKtIQ422pdVsrliU8iMwZ9k&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ARYLVGF2VJNXKLK7CVFGEY3TAYMJ3ANCNFSM4WTZ3GBQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=n6y1smS0jryogRaycLxuCrxxFRXvfAmE3rP80tD14ZQ&m=D5avx45K7I6ybX_F1kHkAaW4tHGhGcsksVFO_XiS07Y&s=mhkup4njJ_zpt5tfINsGBM0NT4dRI1DpKHfK56FQddQ&e=.

Farforest commented 3 years ago

I can see the pi-consensus container in Docker running on port: 31403 Is this supposed to be so? All 3 ports are opened (I checked). Is for some reason only 1 port is in use instead of all 3?

I have low number of incoming connections (4-6 usually, max i'v seen was 11) though i am running the node since 30th Jan. Is that an indication that my setup is wrong?