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

@MadaoIsMyBrother

Description

@MadaoIsMyBrother

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 的屏幕截图

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions