-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(test-tooling): fix FabricTestLedger INVALID_ENDORSER_TRANSACTION
* reverts changes of commit 3371772, which seems to be breaking the Fabric Test Ledger Results of further investigation into the root cause done by Peter: 1. The URLs we specify have the `grpcs://` protocol specified meaning that TLS is used for securing the connection. 2. Certificates that are generated by the Fabric-provided boostrap scripts when setting up crypto materials for the ledger are generated with `localhost` as the hostname instead of the IP address of localhost. 3. The C++ gRPC implementation does not support mixing IP addresses and hostnames when it comes to connections that are using TLS, e.g. if the certificate we are using was made out for `localhost` then it won't work for `127.0.0.1` even though technically from our perspective they meaning the same thing (do note however that technically localhost could be set up to resolve to something other than 127.0.0.1 in a DNS server so the difference is meaningful). Source: grpc/grpc#2691 closes #3009 Co-authored-by: Peter Somogyvari <[email protected]> Signed-off-by: André Augusto <[email protected]> Signed-off-by: Peter Somogyvari <[email protected]>
- Loading branch information
1 parent
6a476a0
commit ff509f8
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters