enroll admin error
Hi, all!
I set all the environment locally and run the fabcar example in fabric_sample. downloaded this python version sdk, run : adminEnrollment = casvc.enroll("admin","adminpw")
the error shows like: json.decoder.JSONDecodeError expecting value: line 1 column 1 (char 0)
I was blocked by this error for 2 days, if anyone knows why just let me know, thank you in advance!
Init client with profile=test/fixtures/network.json
create org with name=orderer.example.com
create org with name=org1.example.com
create org with name=org2.example.com
create ca with name=ca-org1
create ca with name=ca-org2
Import orderers = dict_keys(['orderer.example.com'])
Import peers = dict_keys(['peer0.org1.example.com', 'peer1.org1.example.com', 'peer0.org2.example.com', 'peer1.org2.example.com'])
Traceback (most recent call last):
File "lr.py", line 61, in
Well, if I use the internal example of up the fabric network, it works. E.g run this: docker-compose -f test/fixtures/docker-compose-2orgs-4peers-tls.yaml up
Which version of fabric & fabcar are you using?