Cannot Connect ClusterODM to WebODM and some nodes to cluster

Hi! I’ve been trying to set up ClusterODM according to the documentation and some of the posts on this forum. Though I’ve met success in some steps, there are some pieces that aren’t connecting with each other.

Here are the steps I’ve followed so far -

Secondary Machine: (192.168.1.2)

docker run -p 3001:3000 opendronemap/nodeodm --max_concurrency 8 --max_images 1500

Primary Machine: (192.168.1.10)

# Start WebODM with 0 Nodes
$ ./webodm.sh down && ./webodm.sh update && ./webodm.sh restart --default-nodes 0

#Start a Node With no of processors and max images as arguments
$ docker run -p 3001:3000 opendronemap/nodeodm --max_concurrency 18 --max_images 1000000

cd ClusterODM
npm install

docker run --rm -ti -p 3000:3000 -p 8080:8080 -p 10000:10000 opendronemap/clusterodm 
telnet localhost 8080
#> NODE ADD 192.168.1.2 3001
OK
#> NODE LIST 
1) 0.0.0.0:3001 [offline] [?/?] <engine: ?> <API: ?>
2) 192.168.1.2:3001 [online] [0/1] <engine: odm 2.8.0> <API: 2.2.0>

#> NODE LIST 
1) 0.0.0.0:3001 [offline] [?/?] <engine: ?> <API: ?>
2) 192.168.1.2:3001 [online] [0/1] <engine: odm 2.8.0> <API: 2.2.0>

#> NODE DEL 1 
OK
#> NODE ADD 127.0.0.1:3001
INVALID
#> NODE ADD 127.0.0.1 3001
OK
#> NODE LIST  
1) 192.168.1.2:3001 [online] [0/1] <engine: odm 2.8.0> <API: 2.2.0>
2) 127.0.0.1:3001 [offline] [?/?] <engine: ?> <API: ?>

#> NODE DEL 2 
OK
#> NODE ADD 0.0.0.0 3001 
OK


#> NODE LIST
1) 192.168.1.2:3001 [online] [0/1] <engine: odm 2.8.0> <API: 2.2.0>
2) 0.0.0.0:3001 [offline] [?/?] <engine: ?> <API: ?>

My questions -

  1. I can’t seem to connect the node I have on the same machine to ClusterODM. What am I doing wrong here?
  2. I am not able to connect the ClusterODM instance to my webODM app through the GUI. How can I achieve this?

I suspect that both these issues have to do with the docker IPs, but it doesn’t make sense to me intuitively as

1 Like

Please try what Maurice advised here:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.