You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/01/13 18:04:34 UTC

[GitHub] [couchdb-docker] rrag edited a comment on issue #214: Cluster working with IP address but not FQDN

rrag edited a comment on issue #214:
URL: https://github.com/apache/couchdb-docker/issues/214#issuecomment-1012379500


   when I tried to start the docker with 
   
   ```
   docker run -it \
     --rm \
     --name prodb_couch \
     --mount type=bind,source=${HOME}/prodb/data/couchdb,target=/opt/couchdb/data \
     --mount type=bind,source=${HOME}/prodb/config/couchdb/local.d,target=/opt/couchdb/etc/local.d \
     -e ERL_FLAGS="-setcookie brumbrum -name ts@10.139.200.203" \
     -p 5984:5984 \
     -p 4369:4369 \
     -p 9100:9100 \
     apache/couchdb:3.2.1
   ```
   
   notice `-name ts@ipaddress` instead of `-name couchdb@ipaddress`
   
   even then it the cluster creating fails with
   ```
   {"error":"setup_error","reason":"Cluster setup timed out waiting for nodes to connect"}
   ```
   
   However when I do 
   but when I do `-name couchdb@ipaddress` cluster is created successfully.
   
   so here is what actually works
   
   ```
   couchdb@ipaddress
   ```
   
   these below names lead to `Cluster setup timed out waiting for nodes to connect`
   
   ```
   notcouchdb@ipaddress
   couchdb@f.q.d.n
   notcouchdb@f.q.d.n
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org