Re: Dear Friends,


satheesh
 

You might want to check if Fabric CA server is up and listening on port 7054


On Saturday, October 29, 2022 at 01:51:18 AM GMT+5:30, jalal hoseyni <jhoseyniv@...> wrote:


Hi,
Thanks for your good solutions to permissioned  blockchain,
please help me to solve an error that i encountered when i wanted to follow  this instruction to build up a network : 

i encountered this error and i can't solve it:

Enrolling the CA admin
+ fabric-ca-client enroll -u https://admin:adminpw@localhost:7054 --caname ca-org1 --tls.certfiles /home/jalal/1401/hy/fabric-samples/test-network/organizations/fabric-ca/org1/ca-cert.pem
2022/10/28 15:28:59 [INFO] Created a default configuration file at /home/jalal/1401/hy/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml
2022/10/28 15:28:59 [INFO] TLS Enabled
2022/10/28 15:28:59 [INFO] generating key: &{A:ecdsa S:256}
2022/10/28 15:28:59 [INFO] encoded CSR
Error: POST failure of request: POST https://localhost:7054/enroll
{"hosts":["jalal-laptop"],"certificate_request":"-----BEGIN CERTIFICATE REQUEST-----\nMIIBQTCB6QIBADBdMQswCQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xp\nbmExFDASBgNVBAoTC0h5cGVybGVkZ2VyMQ8wDQYDVQQLEwZGYWJyaWMxDjAMBgNV\nBAMTBWFkbWluMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJrH3KZrpgeXwSsGd\nD6xwRaFPG9owZiCrac8RcBb8l6JOTGJd1XzEj7dpbBt3HXcL0fDGVGpiBcIW3TpK\nPylrO6AqMCgGCSqGSIb3DQEJDjEbMBkwFwYDVR0RBBAwDoIMamFsYWwtbGFwdG9w\nMAoGCCqGSM49BAMCA0cAMEQCIEDYaKU7uMqYMfWaP9kq1p1WYUL0qjtmP74yP4JG\nXTNTAiBemqnp/zA9HJ03ud6OJT3XeO1w9pvQe/pRIEOJUGSI5Q==\n-----END CERTIFICATE REQUEST-----\n","profile":"","crl_override":"","label":"","NotBefore":"0001-01-01T00:00:00Z","NotAfter":"0001-01-01T00:00:00Z","ReturnPrecert":false,"CAName":"ca-org1"}: Post "https://localhost:7054/enroll": read tcp 127.0.0.1:49342->127.0.0.1:7054: read: connection reset by peer
Registering peer0

Join fabric@lists.hyperledger.org to automatically receive all group messages.