Skip to content
This repository was archived by the owner on Aug 7, 2019. It is now read-only.

Got access denied when using gateway.getNetwork #133

Open
MadaoIsMyBrother opened this issue Jun 5, 2019 · 0 comments
Open

Got access denied when using gateway.getNetwork #133

MadaoIsMyBrother opened this issue Jun 5, 2019 · 0 comments

Comments

@MadaoIsMyBrother
Copy link

I run the tutorial code in https://github.com/IBM/blockchainbean2/blob/master/docs/run-local.md and got the following error:

2019-06-05 17-46-01 的屏幕截图

Here's what in my network.yaml:

orderers:
orderer.example.com:
url: grpc://localhost:17050
grpcOptions:
ssl-target-name-override: orderer.example.com

peers:
peer0.org1.example.com:
# this URL is used to send endorsement and query requests
url: grpc://localhost:17051

grpcOptions:
  ssl-target-name-override: peer0.org1.example.com
  request-timeout: 120001

certificateAuthorities:
ca-org1:
url: http://localhost:17054
httpOptions:
verify: false

registrar:
  - enrollId: admin
    enrollSecret: adminpw
caName: ca-org1

And output of docker ps command:

2019-06-05 17-50-39 的屏幕截图

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant