Date   

Re: Setting up network using Fabric CA

Sam Venzi
 

Hello, Cindy.

Each CA has its own TLS CA certificate, and will issue TLS certificates for the nodes of its own org.

Best,  

Samuel Venzi
CTO @ GoLedger


On 10 Nov 2022 01:10 -0300, Cindy Qian <cindy.qian@...>, wrote:

Hi, I have a question:

When we set up a fabric network using ca, at least we need one ca for each organization for enrollment purposes and one TLS ca for issuing all tls server certificates for all nodes. So in the test-network sample, we should have at least 4 ca, 3 of them are for two peer org and one orderer org, and the last 1 is for tls ca. But I don't understand why there are only 3 containers in compose/compose-ca.yaml. Could you please help me




Regards,
Cindy


Setting up network using Fabric CA

Cindy Qian
 

Hi, I have a question:

When we set up a fabric network using ca, at least we need one ca for each organization for enrollment purposes and one TLS ca for issuing all tls server certificates for all nodes. So in the test-network sample, we should have at least 4 ca, 3 of them are for two peer org and one orderer org, and the last 1 is for tls ca. But I don't understand why there are only 3 containers in compose/compose-ca.yaml. Could you please help me




Regards,
Cindy


Now: Private Chaincode Lab - Tuesday, November 8, 2022 #cal-notice

Group Notification <noreply@...>
 

Private Chaincode Lab

When:
Tuesday, November 8, 2022
8:00am to 9:00am
(UTC-08:00) America/Los Angeles

Where:
https://zoom.us/my/hyperledger.community.3?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

Organizer: Marcus Brandenburger bur@...

View Event

Description:
Two of the Hyperleger Labs projects (private data objects and private chain code) are collaborating to develop a "private smart contracts" capability.

Join Zoom Meeting https://zoom.us/j/5184947650?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09 Meeting ID: 518 494 7650 Passcode: 475869


asset size during transaction, caliper measurements

Nikos Karamolegkos
 

Hello,

I am looking to evaluate my BC network. So I am looking for directions like this. I am wondering what is the asset size and how can I find it in my BC network? Is the size of the payload during submitting a transaction (evaluate & submit)?

What is the max size for a transaction? Is this true?

Finally,  the asset size is 100 bytes during transaction and the average latency is 0.27 sec. If I have 100 simultaneous connections what happens with the latency? (i.e is it 100x bigger?)

Thanks,

-- 
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)


fabric client -Submit error (java sdk)

jeff.jo95z@...
 

hi,

I am able to to submit the transactions using" peer chaincode invoke" command .
But when I am trying to submit the transactions using fabric client sdk (java), following error is coming at peer logs (appearing after a short interval after the transaction )

INFO [gateway] Submit -> Sending transaction to orderer txID=b55cfbc2f386f993fa364b7842a7fa17909f5730fd9ab292d396c208e7d88963 endpoint=orderer1.org1orderer.com:8050


WARN [gateway] Submit -> Error sending transaction to orderer txID=b55cfbc2f386f993fa364b7842a7fa17909f5730fd9ab292d396c208e7d88963 endpoint=orderer1.org1orderer.com:8050 err="rpc error: code = Canceled desc = context canceled"


INFO [comm.grpc.server] 1 -> unary call completed grpc.service=gateway.Gateway grpc.method=Submit grpc.request_deadline=2022-11-08T08:35:48.119Z grpc.peer_address=10.14.4.7:55468 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=2m0.003552055s

 

The tranasction is reaching at the chaincode (it is visible at the chaincode logs).But the block creation is not happening.No error is coming at the orderer.
GET function is working from fabric client sdk.

What maybe the reason for this?

 


Virtual meetup with demo of formally verified chaincode generation for Fabric on Nov 19

David Boswell <dboswell@...>
 

The developers of the fabric-chaincode-ocaml lab will talk about their work and run a demo of enabling formal specification & verification of Hyperledger Fabric chaincode at a virtual meetup on Friday Nov 18 @ 15:00 UTC.  All are welcome.

Details about how to join the meetup are at:


Details about the fabric-chaincode-ocaml lab are at:


Thanks,
David


Re: set up new network

DAVID VIEJO POMATA
 

Hello,

You can also use kubernetes to deploy a local network using KinD, just follow the README:


Regards.
David Viejo.


El vie, 4 nov 2022 a las 11:22, Param (<sparameswara@...>) escribió:

Based on the error message `open /home/jalal/1401/hy/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.cert: no such file or directory`, I suspect the previous step which is expected to generate the certificate is not complete/failed. 

Please check your logs for any failure while generating the certificates.  Please check wrt this step/statement: https://github.com/hyperledger/fabric-samples/blob/49749c65846b2d03e0b646150297532bc2543cc6/test-network/network.sh#L175

 


Re: set up new network

Param
 

Based on the error message `open /home/jalal/1401/hy/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.cert: no such file or directory`, I suspect the previous step which is expected to generate the certificate is not complete/failed. 

Please check your logs for any failure while generating the certificates.  Please check wrt this step/statement: https://github.com/hyperledger/fabric-samples/blob/49749c65846b2d03e0b646150297532bc2543cc6/test-network/network.sh#L175

 


set up new network

jalal hoseyni <jhoseyniv@...>
 

Hi All,
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:

2022-11-03 03:28:16.578 EDT 0005 FATA [common.tools.configtxgen] main -> Error on outputBlock: could not create bootstrapper: could not create channel group: could not create orderer group: cannot marshal metadata for orderer type etcdraft: cannot load client cert for consenter orderer.example.com:7050: open /home/jalal/1401/hy/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.cert: no such file or directory
+ res=1
Failed to generate channel configuration transaction...


Re: Fabric client-java Submit transaction problem

jeff.jo95z@...
 

at the time of transaction ,there is no error.
But I can see this in the orderer log:

2022-11-03 05:34:27.114 UTC 0073 ERRO [core.comm] ServerHandshake -> Server TLS handshake failed in 1.970291137s with error tls: first record does not look like a TLS handshake server=Orderer remoteaddress=10.11.6.9:47610
2022-11-03 08:11:39.997 UTC 0074 INFO [comm.grpc.server] 1 -> streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=23.102.44.129:50570 error="context finished before block retrieved: context canceled" grpc.code=Unknown grpc.call_duration=4m59.998722172s
2022-11-03 10:14:32.755 UTC 0075 ERRO [core.comm] ServerHandshake -> Server TLS handshake failed in 2.787334708s with error tls: first record does not look like a TLS handshake server=Orderer remoteaddress=10.14.4.7:51632
 


Re: Fabric client-java Submit transaction problem

Andrew Coleman
 

Can you look in the orderer1.org1orderer.com:8050 log at around this timestamp to see if there is an error there?


Re: Fabric client-java Submit transaction problem

jeff.jo95z@...
 

In the peer log,at the time of transaction,no error is coming.
The call is even reaching the chaincode. I can see it in the chaincode logs.

But after sometime,in peer logs ,I can see this:

2022-11-03 05:17:54.707 UTC 036d WARN [gateway] Submit -> Error sending transaction to orderer txID=68dfad786926bd638305aa838aa13c66f03f2f70ee7d0edc32ed39be628501a0 endpoint=orderer1.org1orderer.com:8050 err="rpc error: code = DeadlineExceeded desc = context deadline exceeded"


Re: Fabric client-java Submit transaction problem

Andrew Coleman
 

Is there anything in the gateway peer log that gives any clues?


Fabric client-java Submit transaction problem

jeff.jo95z@...
 

hi ,

While doing a submit transaction from fabric client,below error is coming:

org.hyperledger.fabric.client.SubmitException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 4.998588382s. [closed=[], open=[[remote_addr=peer0.org1.com/10.11.6.9:7051]

What maybe the reason for this?

 

submit code part:

 

Contract contract = fabricCon.getNetwork().getContract(transactionRequest.getChaincodeName());
byte[] ccResponse = null; 

 // Submit transactions that store state to the ledger.
SubmittedTransaction commit = contract.newProposal(transactionRequest.getMethodName())
.addArguments(transactionRequest.getInputParameters())
.putTransient(transactionRequest.getTransientKey(), payloadData) .build() .
endorse() .submitAsync();

ccResponse = commit.getResult();


Now: Private Chaincode Lab - 11/01/2022 #cal-notice

Group Notification <noreply@...>
 

Private Chaincode Lab

When:
11/01/2022
8:00am to 9:00am
(UTC-07:00) America/Los Angeles

Where:
https://zoom.us/my/hyperledger.community.3?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

Organizer: Marcus Brandenburger bur@...

View Event

Description:
Two of the Hyperleger Labs projects (private data objects and private chain code) are collaborating to develop a "private smart contracts" capability.

Join Zoom Meeting https://zoom.us/j/5184947650?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09 Meeting ID: 518 494 7650 Passcode: 475869


Fabric client java-getting blockheight

jeff.jo95z@...
 

hi,
For fabric gateway ,blockheight was found like this:

Contract qscc = networkObj.getContract("qscc");
byte[] resultTran = qscc.evaluateTransaction("GetChainInfo", "channelName"); 
Ledger.BlockchainInfo info = Ledger.BlockchainInfo.parseFrom(resultTran);
long blockHeight = info.getHeight();

How to get the block height using fabric client (java)?


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


Dear Friends,

jalal hoseyni <jhoseyniv@...>
 

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


Hyperledger TOC Election Call for Nominations process closes on Oct 31

David Boswell <dboswell@...>
 

As a reminder, the Technical Oversight Committee (TOC) election will happen from November 1 to 30, 2022 and we are currently accepting nominations for people who would like to run in the election.

Note that the nomination process will close on October 31 at the end of the day Pacific time, so if you are considering running in the election make sure to submit your nomination before then.

To nominate yourself use the following email template with the subject line "TOC election nomination" and send it to election-2022@...:

Dear Election Committee,

I nominate myself for the TOC election. My email address is <email> and my GitHub ID is <github id>.

The contributions that I have had to the Hyperledger Foundation in the past year are (please check all that apply)
- code contribution to project/lab
- maintainer of project/lab
- TOC Member
- Lab Steward
- SIG leader
- Task Force leader
- Other (please provide details)

Thanks,

<your name>

After you have emailed your nomination, please also create a nomination statement on the Hyperledger Github repo and include the following information: nominee name, short personal bio and a short personal pitch about why someone should consider voting for you.

If you have any questions about the election process, please feel free to write to election-2022@....

Thanks,

Hyperledger staff


Event: Documentation Workgroup monthly call - 10/28/2022 #cal-reminder

Group Notification <noreply@...>
 

Reminder: Documentation Workgroup monthly call

When:
10/28/2022
11:00am to 12:00pm
(UTC-04:00) America/New York

Where:
https://zoom.us/my/hyperledger.community.3?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

Organizer: Josh Horton joshh@...

View Event

Description:
Schedule, Agendas, Minutes, etc: https://wiki.hyperledger.org/display/fabric/Documentation+Working+Group

41 - 60 of 11527