Comments (14)
Check your docker container. Do
$docker ps -a
Check container status. If it is running then do
$ netstat -pnat | grep listen
Check rpc and nodemanager status.
Can u please post the logs?
from quorum-maker.
Hey! :)
so the Node, wich is hosting:
docker ps -a
WARNING: Error loading config file:/home/uib05246/.docker/config.json - invalid character 'G' looking for beginning of value
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
221e4b8e98e8 syneblock/quorum-maker:2.1.0_2.5 "./start_continent..." 16 seconds ago Up 14 seconds 0.0.0.0:22000-22005->22000-22005/tcp, 0.0.0.0:22001->22001/udp continent
cad60dec9b0b hello-world "/hello" 50 minutes ago Exited (0) 50 minutes ago
the Node wich is trying to connect:
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
eac1cacf17d6 syneblock/quorum-maker:2.1.0_2.5 "node/pre_start_ch..." 7 seconds ago Up 7 seconds youthful_mirzakhani
f0d4b587e16e ubuntu "/bin/bash" About an hour ago Exited (0) 42 minutes ago webserver
70d58c52c832 hello-world "/hello" 24 hours ago Exited (0) 24 hours ago condescending_dijkstra
(I'm sorry for the layout..)
When I do "netstat -pnat | grep listen", I get "(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.)" so I ran it with sudo, then I get no output at all...
from quorum-maker.
Sorry it was my fault listen should be in caps
$ netstat -pnat | grep LISTEN
Looks like your node manager is down. Do one thing. Start the second machine(Node which is trying to connect) by executing start.sh script. Then do
$ docker exec -it {container_id} bash
root@{container_id}: /home/node/
root@{container_id}: /home/node/qdata# cd qdata
root@{container_id}: /home/node/qdata#
You should be able to see geth.ipc in qdata directory. If it is there then execute the following command.
root@{container_id}: /home/node/qdata# geth attach geth.ipc
admin.addPeer({enodeAddress of other machine});
Then check your peers from the geth console.
admin.peers
from quorum-maker.
You can get enode address from quorum maker dashboard. Go to the first aws instance dashboard -->
http://{your_first_AWS_IP}:22004
click on active nodes tab and check the enode address.
from quorum-maker.
One more thing... Did you add rule for NodeManager Port and Constellation port?. If rule is not added then it will never connect. Go to AWS Dashboard and add rules for your ports. Add inbound and outbound rule for the ports.
from quorum-maker.
Okay so I did the "netstat -pnat | grep LISTEN:
Node which is hosting:
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:3350 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp6 0 0 ::1:25 :::* LISTEN -
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::22000 :::* LISTEN -
tcp6 0 0 :::22001 :::* LISTEN -
tcp6 0 0 :::22002 :::* LISTEN -
tcp6 0 0 :::22003 :::* LISTEN -
tcp6 0 0 :::22004 :::* LISTEN -
tcp6 0 0 :::22005 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:631 :::* LISTEN -
and Node which is trying to connect:
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1249/master
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 1302/xrdp
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 730/rpcbind
tcp 0 0 127.0.0.1:3350 0.0.0.0:* LISTEN 1301/xrdp-sesman
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1312/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1085/cupsd
tcp6 0 0 ::1:25 :::* LISTEN 1249/master
tcp6 0 0 :::111 :::* LISTEN 730/rpcbind
tcp6 0 0 :::22 :::* LISTEN 1312/sshd
tcp6 0 0 ::1:631 :::* LISTEN 1085/cupsd
from quorum-maker.
One more thing... Did you add rule for NodeManager Port and Constellation port?. If rule is not added then it will never connect. Go to AWS Dashboard and add rules for your ports. Add inbound and outbound rule for the ports.
I did that manually through the centOS with -p port:port when I set up the Node, if thats what you mean.
Therefor I edited the setup.sh:
docker run -p 22000:22000 -p 22001:23001 -p 22002:22002 -p 22003:22003 -p 22004:22004 -p 22005:22005 .......
Sorry it was my fault listen should be in caps
$ netstat -pnat | grep LISTENLooks like your node manager is down. Do one thing. Start the second machine(Node which is trying to connect) by executing start.sh script. Then do
$ docker exec -it {container_id} bashroot@{container_id}: /home/node/
root@{container_id}: /home/node/qdata# cd qdataroot@{container_id}: /home/node/qdata#
You should be able to see geth.ipc in qdata directory. If it is there then execute the following command.
root@{container_id}: /home/node/qdata# geth attach geth.ipc
admin.addPeer({enodeAddress of other machine});
Then check your peers from the geth console.
admin.peers
Unfortunately there is no geth.ipc... only directory geth, keystore and logs
from quorum-maker.
I did that manually through the centOS with -p port:port when I set up the Node, if thats what you mean.
Therefor I edited the setup.sh:
docker run -p 23000:23000 -p 23001:23001 -p 23002:23002 -p 23003:23003 -p 23004:23004 -p 23005:23005 .......
No i am not talking about docker. See your first machine works fine because it is not connecting to any other machine. Your second machine will first send join request to first machine then it will start downloading transactions...
I did that manually through the centOS with -p port:port when I set up the Node
Did you setup ec2 machines on your own?. Please refer this [(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html)]
If you did not setup the ec2 instance then ask your administrator to add inbound and outbound rules for the ports. Its not docker thing. It is firewall issue.
You have to add the rule from amazon ec2 dashboard. Please contact your EC2 administrator or whoever had setup ec2 instances for you....
In your case ports which are used for quorum maker does not accept connections from outside(firewall issue).
Unfortunately there is no geth.ipc... only directory geth, keystore and logs
Yes it won't come up in your second machine because its join request was not accepted due to firewall issues.
from quorum-maker.
You are completly right, I didn't set up these instances and I thought the same and wrote an email to the administrator. I hope he can add these rules. Thank you very much for you help that far, I'll wait for the rules to be set and try again. :)
from quorum-maker.
Ok. :)
from quorum-maker.
Hey did it work?.
from quorum-maker.
Hey I'm still waiting for the admin to open the ports...
from quorum-maker.
It worked perfectly! Thank you very much!
from quorum-maker.
Ok .... Welcome :)
from quorum-maker.
Related Issues (20)
- Is quorum production ready?. Can we use quorum-maker in production systems? HOT 2
- Error: Number can only safely store up to 53 bits HOT 2
- Following Wiki install steps directly leads to nodes hanging after "Adding Whitelist IPs" HOT 5
- Node failure HOT 2
- Master node is down, how to recover the network?
- Quorum maker and Truffle v.5.0.38 migration stucks
- How do nodes backup regularly
- How to migrate data if the server is replaced
- tessera support HOT 2
- nodes hanging when adding Whitelist IPs" HOT 3
- Restoration of blockchain data from secondary node
- Private keys for accounts in genesis.json HOT 2
- Quorum maker could not be attached to my quorum network HOT 2
- Upgrade to use Quorum 2.6 and Tessera 0.10.6 HOT 1
- Invalid reference format HOT 1
- Could not join network
- Quorum Join not happening with current network HOT 1
- Node manager is not starting to create Network HOT 3
- External node Joining
- Error: not able to deploy contract at remote server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quorum-maker.