Increase the connection timeout for peer client commands - vcap DNS is too slow to resolve in 3s

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
Josh Kneubuhl 2022-05-03 12:04:42 -04:00 committed by Dave Enyeart
parent 7537cafcf3
commit 4c04b450c6
3 changed files with 3 additions and 23 deletions

View file

@ -23,26 +23,6 @@ _Fabric, Ahoy!_
- [jq](https://stedolan.github.io/jq/)
- [envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) (`brew install gettext` on OSX)
### OSX DNS
Fabric services are exposed by Ingress at the wildcard DNS domain `*.vcap.me`, resolving to the
loopback interface at 127.0.0.1.
On OSX, the Fabric golang binaries are not able to resolve hosts at this domain. As a workaround, add
the following entries to your /etc/hosts file:
```
127.0.0.1 org0-ca.vcap.me
127.0.0.1 org1-ca.vcap.me
127.0.0.1 org2-ca.vcap.me
127.0.0.1 org0-orderer1.vcap.me
127.0.0.1 org0-orderer2.vcap.me
127.0.0.1 org0-orderer3.vcap.me
127.0.0.1 org1-peer1.vcap.me
127.0.0.1 org1-peer2.vcap.me
127.0.0.1 org2-peer1.vcap.me
127.0.0.1 org2-peer2.vcap.me
```
## Quickstart

View file

@ -344,7 +344,7 @@ peer:
# CLI common client config options
client:
# connection timeout
connTimeout: 3s
connTimeout: 10s
# Delivery service related config
deliveryclient:

View file

@ -344,7 +344,7 @@ peer:
# CLI common client config options
client:
# connection timeout
connTimeout: 3s
connTimeout: 10s
# Delivery service related config
deliveryclient:
@ -474,7 +474,7 @@ vm:
# unix:///var/run/docker.sock
# http://localhost:2375
# https://localhost:2376
endpoint: unix:///var/run/docker.sock
# endpoint: unix:///var/run/docker.sock
# settings for docker vms
docker: