You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "till (via GitHub)" <gi...@apache.org> on 2023/06/29 10:08:06 UTC

[GitHub] [couchdb] till opened a new issue, #4656: Replication test fails, Error: could not resolve http://any:5984/verifytestdb/

till opened a new issue, #4656:
URL: https://github.com/apache/couchdb/issues/4656

   [NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ )
   
   ## Description
   
   [NOTE]: # ( Describe the problem you're encountering. )
   [TIP]:  # ( Do NOT give us access or passwords to your actual CouchDB! )
   
   Was trying to run the verify installation steps, and noticed a failure in the replication test:
   
   > Error: could not resolve http://any:5984/verifytestdb/
   
   ## Steps to Reproduce
   
   [NOTE]: # ( Include commands to reproduce, if possible. curl is preferred. )
   
   - start a CouchDB docker container
   - go on fauxton
   - verify installation
   
   ## Expected Behaviour
   
   [NOTE]: # ( Tell us what you expected to happen. )
   
   No errors
   
   ## Your Environment
   
   [TIP]:  # ( Include as many relevant details about your environment as possible. )
   [TIP]:  # ( You can paste the output of curl http://YOUR-COUCHDB:5984/ here. )
   
   * CouchDB version used: 3.3.2
   * Browser name and version: any
   * Operating system and version: Docker/OSX
   
   ## Additional Context
   
   [TIP]:  # ( Add any other context about the problem here. )
   
   I haven't seen the `any:5984` notation before. It should be `0.0.0.0:5984` to work across devices. AFAIR, even Windows supports that these days.
   


-- 
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.apache.org

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


[GitHub] [couchdb] big-r81 commented on issue #4656: Replication test fails, Error: could not resolve http://any:5984/verifytestdb/

Posted by "big-r81 (via GitHub)" <gi...@apache.org>.
big-r81 commented on issue #4656:
URL: https://github.com/apache/couchdb/issues/4656#issuecomment-1612866418

   Hi,
   
   I think something might wrong with your setup. Please check your config, I didn’t saw this „any“ before…


-- 
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


[GitHub] [couchdb] big-r81 commented on issue #4656: Replication test fails, Error: could not resolve http://any:5984/verifytestdb/

Posted by "big-r81 (via GitHub)" <gi...@apache.org>.
big-r81 commented on issue #4656:
URL: https://github.com/apache/couchdb/issues/4656#issuecomment-1616620226

   Mhhh, thats strange. Does 0.0.0.0 work?


-- 
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


[GitHub] [couchdb] till commented on issue #4656: Replication test fails, Error: could not resolve http://any:5984/verifytestdb/

Posted by "till (via GitHub)" <gi...@apache.org>.
till commented on issue #4656:
URL: https://github.com/apache/couchdb/issues/4656#issuecomment-1614535494

   @big-r81 I see `any` in many places:
   https://github.com/apache/couchdb/blob/16f47d758c6d630c391cf35c78c6959240ff4f1d/src/couch/src/couch_httpd.erl#L131-L137
   
   (Search the code base for `bind_address`.)
   
   I don't know enough Erlang to find out what `any` maps to. But it seems like a type?
   
   I used some env vars when I started the container (`COUCHDB_USERNAME`, `NODENAME`, etc.) and I put one `.ini` file into it myself. Otherwise, it's all stock.
   
   ```ini
   ;/opt/couchdb/etc/local.d/setup.ini
   [couchdb]
   single_node=true
   ```
   
   The (official) Docker image also creates a `10-docker-default.ini`:
   
   ```ini
   ; CouchDB Configuration Settings
   
   ; Custom settings should be made in this file. They will override settings
   ; in default.ini, but unlike changes made to default.ini, this file won't be
   ; overwritten on server upgrade.
   
   [chttpd]
   bind_address = any
   ```
   
   More any. :)


-- 
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


[GitHub] [couchdb] pgj commented on issue #4656: Replication test fails, Error: could not resolve http://any:5984/verifytestdb/

Posted by "pgj (via GitHub)" <gi...@apache.org>.
pgj commented on issue #4656:
URL: https://github.com/apache/couchdb/issues/4656#issuecomment-1621789256

   > I don't know enough Erlang to find out what `any` maps to. But it seems like a type?
   
   The third parameter of the `config:get/3` function is the default value when no value could be found for the key under the section (identified by the first and second parameters).  That is, `any` in this context, the default value of `bind_address` in the `http` section.


-- 
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