Date   

Re: Transaction between Fabric Org Peers is failed

js@...
 

It looks like a connection issue.  Try replacing this: orderer0:7050  with the IPOfYourOrdererPeer:7050

 


Re: Help required to deploy a private network on two different computers

Marcos Sarres
 

Hello Aoun,

 

For redundant networks you should tune your endorsing policy consensus, and setup your Hyperledger client in order the search for the correct endorsing peers if one fails.

 

We had made a video talking about fault tolerance with HL Fabric, unfortunately it was released in Portuguese, maybe it helps you.

 

https://youtu.be/PflFLbIJsJY

 

Regards,

 

Marcos Sarres | CEO | +55 61 98116 7866

 

 

De: fabric@... <fabric@...> Em nome de Aoun Muhammad
Enviada em: segunda-feira, 29 de novembro de 2021 11:32
Para: fabric@...
Assunto: [Hyperledger Fabric] Help required to deploy a private network on two different computers

 

Hi,

 

I am looking for help in hyperledger fabric private network, In my requirements there are two computers on which I want to deploy hyperledger fabric network as redundant network if one computer goes down the service continue on the second computer without any interrupt(delay). How i design the network. Need your support. Thanks

--

Best Regard:

  

Aoun Muhammad | SR.Manager - System | Digital Custodian Company
Tel: +92 51 2726543-4 | Cell: +92 334 5005215 | aoun.muhammad@... | www.digitalcustodian.co
Lower Ground | ISE Towers | Jinnah Avenue | Islamabad-44000 | Pakistan
  
Save Paper! Print Only If needed.
Disclaimer: DCC assumes no responsibility of any private content sent in this email.


Transaction between Fabric Org Peers is failed

Pechimuthu T
 

Hi,

Want distribute HLF services to two different k8s cluster and check transactions and check Fabcar transactions.

Deployed Hyper Ledger Fabric.

Deployed Hyperledger Fabric  in k8s-1 (kubernetes cluster -1 ) with organizations, orderer, org1, and org2.  
Also deployed fabcar chain code successfully  and tested transactions.  It is working fine.

Then I have shifted all pods  related to org2 from k8s-1 to another Kubernetes cluster k8s-2.  ( with all crypto data, ledger data etc..)
We have opened necessary ports between k8s-1, and k8s-2  for server interconnection.   Exposing all services such as  orderer, peer through NGINX Ingres on port 80.
Within k8s cluster pods interact each other on internal ports.  Across K8s cluster they use port 80.

Tried by sending fabcar transaction from k8s-1 and it is successful.  I queried from the peer of K8s-2 cluster getting output.
 Later tried to invoke chaincode (CreateCar)  from peer-cli  of k8s-2 which is not successful.

When  I execute the following command  from org1 cli-cient  my transaction is successful and committed in org1 and org2 as well.
peer chaincode invoke -o orderer0:7050 --tls --cafile=/etc/hyperledger/orderers/msp/tlscacerts/orderers-ca-7054.pem -C main -n fabcar -c '{"Args":["CreateCar", "CAR17", "Honda", "Accord", "black", "TEST1"]}'
I checked the certificate.  I am using correct certificate.
From the error message "Authentication handshake failed: x509: certificate is valid for peer0-org1, not orderer0"

attached the full error log for the reference.

Any one has solution or clue please reply.  

Thank you.

peer chaincode invoke -o orderer0:7050 --tls --cafile=/etc/hyperledger/orderers/msp/tlscacerts/orderers-ca-7054.pem -C main -n fabcar -c '{"Args":["CreateCar", "CAR17", "Honda", "Accord", "black", "TEST1"]}'
.........
.........
.........
2021-12-02 06:21:48.942 UTC [grpc] Infof -> DEBU 03c Subchannel picks a new address "orderer0:7050" to connect
2021-12-02 06:21:48.942 UTC [grpc] UpdateSubConnState -> DEBU 03d pickfirstBalancer: HandleSubConnStateChange: 0xc0003e8820, {CONNECTING <nil>}
2021-12-02 06:21:48.942 UTC [grpc] Infof -> DEBU 03e Channel Connectivity change to CONNECTING
2021-12-02 06:21:49.000 UTC [grpc] Warningf -> DEBU 03f grpc: addrConn.createTransport failed to connect to {orderer0:7050  <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for peer0-org1, not orderer0". Reconnecting...
2021-12-02 06:21:49.000 UTC [grpc] Infof -> DEBU 040 Subchannel Connectivity change to TRANSIENT_FAILURE
2021-12-02 06:21:49.000 UTC [grpc] UpdateSubConnState -> DEBU 041 pickfirstBalancer: HandleSubConnStateChange: 0xc0003e8820, {TRANSIENT_FAILURE connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for peer0-org1, not orderer0"}
2021-12-02 06:21:49.000 UTC [grpc] Infof -> DEBU 042 Channel Connectivity change to TRANSIENT_FAILURE
2021-12-02 06:21:50.000 UTC [grpc] Infof -> DEBU 043 Subchannel Connectivity change to CONNECTING
2021-12-02 06:21:50.001 UTC [grpc] Infof -> DEBU 044 Subchannel picks a new address "orderer0:7050" to connect
2021-12-02 06:21:50.001 UTC [grpc] UpdateSubConnState -> DEBU 045 pickfirstBalancer: HandleSubConnStateChange: 0xc0003e8820, {CONNECTING <nil>}
2021-12-02 06:21:50.001 UTC [grpc] Infof -> DEBU 046 Channel Connectivity change to CONNECTING
2021-12-02 06:21:50.057 UTC [grpc] Warningf -> DEBU 047 grpc: addrConn.createTransport failed to connect to {orderer0:7050  <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for peer0-org1, not orderer0". Reconnecting...

Thanks and Regards,
T. Pechimuthu
Bangalore.



Disclaimer:

This e-mail and its attachments may contain official Indian Government information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail. Any dissemination or use of this information by a person other than the intended recipient is unauthorized. The responsibility lies with the recipient to check this email and any attachment for the presence of viruses.   


Re: Peer to peer private message

Yacov
 

You can play with it, but, it's not ready for production yet.
 

----- Original message -----
From: anilkumar8753@...
Sent by: fabric@...
To: fabric@...
Cc:
Subject: [EXTERNAL] [Hyperledger Fabric] Peer to peer private message
Date: Thu, Dec 2, 2021 8:15 PM
 
Has anyone used Fabric Smart Client for production-grade applications? I am looking for peer-to-peer private communication to build an Amazon kind of e-commerce platform. https://github.com/hyperledger-labs/fabric-smart-client ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Has anyone used Fabric Smart Client for production-grade applications? I am looking for peer-to-peer private communication to build an Amazon kind of e-commerce platform. 
 



Peer to peer private message

Anil Kumar
 

Has anyone used Fabric Smart Client for production-grade applications? I am looking for peer-to-peer private communication to build an Amazon kind of e-commerce platform. 


Pune to Delhi Orderer0 Log

Pechimuthu T
 

Hi,

When  I execute the following command  from org1 cli-cient  my transaction is successful and committed in org1 and org2 as well.

But the same peer command  from my org2  cli-client , I am getting the following error. 
Could any one figure out what is the issue.  I checked the certificate.  I am using correct certificate.
From the error messge "Authentication handshake failed: x509: certificate is valid for peer0-org1, not orderer0"
From where the peer command gets the certificate of peer0-org1 ?

Background:
Deployed HLF in k8s-1 (kubernetes cluster -1 ) with organizations, orderer, org1, and org2.   Deployed fabcar chain code and tested transactions.  It is working fine.
Then I have shifted all pods from k8s-1 to another Kubernetes cluster k8s-2.  ( with all crypto data, ledger data etc..)
We have opened necessary ports between k8s-1, and k8s-2  for server interconnection.
Tried by sending fabcar transaction from k8s-1 and it is successful.  The same transaction I am trying from k8s-2, which is not successful.

Any clue where is the issue... I am unable to figure out what is the problem? 

Note:-- attached the full error log for the reference.

peer chaincode invoke -o orderer0:7050 --tls --cafile=/etc/hyperledger/orderers/msp/tlscacerts/orderers-ca-7054.pem -C main -n fabcar -c '{"Args":["CreateCar", "CAR17", "Honda", "Accord", "black", "TEST1"]}'
.........
.........
.........
2021-12-02 06:21:48.942 UTC [grpc] Infof -> DEBU 03c Subchannel picks a new address "orderer0:7050" to connect
2021-12-02 06:21:48.942 UTC [grpc] UpdateSubConnState -> DEBU 03d pickfirstBalancer: HandleSubConnStateChange: 0xc0003e8820, {CONNECTING <nil>}
2021-12-02 06:21:48.942 UTC [grpc] Infof -> DEBU 03e Channel Connectivity change to CONNECTING
2021-12-02 06:21:49.000 UTC [grpc] Warningf -> DEBU 03f grpc: addrConn.createTransport failed to connect to {orderer0:7050  <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for peer0-org1, not orderer0". Reconnecting...
2021-12-02 06:21:49.000 UTC [grpc] Infof -> DEBU 040 Subchannel Connectivity change to TRANSIENT_FAILURE
2021-12-02 06:21:49.000 UTC [grpc] UpdateSubConnState -> DEBU 041 pickfirstBalancer: HandleSubConnStateChange: 0xc0003e8820, {TRANSIENT_FAILURE connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for peer0-org1, not orderer0"}
2021-12-02 06:21:49.000 UTC [grpc] Infof -> DEBU 042 Channel Connectivity change to TRANSIENT_FAILURE
2021-12-02 06:21:50.000 UTC [grpc] Infof -> DEBU 043 Subchannel Connectivity change to CONNECTING
2021-12-02 06:21:50.001 UTC [grpc] Infof -> DEBU 044 Subchannel picks a new address "orderer0:7050" to connect
2021-12-02 06:21:50.001 UTC [grpc] UpdateSubConnState -> DEBU 045 pickfirstBalancer: HandleSubConnStateChange: 0xc0003e8820, {CONNECTING <nil>}
2021-12-02 06:21:50.001 UTC [grpc] Infof -> DEBU 046 Channel Connectivity change to CONNECTING
2021-12-02 06:21:50.057 UTC [grpc] Warningf -> DEBU 047 grpc: addrConn.createTransport failed to connect to {orderer0:7050  <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: x509: certificate is valid for peer0-org1, not orderer0". Reconnecting...



How to backup of full project

Aoun Muhammad <aoun.muhammad@...>
 

Hi,

Could i get help how to backup full project and how to restore the complete project including peer, org, network data and container and container images.


Thanks in advance.

--

Best Regard:

  

Aoun Muhammad | SR.Manager - System | Digital Custodian Company
Tel: +92 51 2726543-4 | Cell: +92 334 5005215 | aoun.muhammad@... | www.digitalcustodian.co
Lower Ground | ISE Towers | Jinnah Avenue | Islamabad-44000 | Pakistan
   Save Paper! Print Only If needed.
Disclaimer: DCC assumes no responsibility of any private content sent in this email.


Help required to deploy a private network on two different computers

Aoun Muhammad <aoun.muhammad@...>
 

Hi,


I am looking for help in hyperledger fabric private network, In my requirements there are two computers on which I want to deploy hyperledger fabric network as redundant network if one computer goes down the service continue on the second computer without any interrupt(delay). How i design the network. Need your support. Thanks

--

Best Regard:

  

Aoun Muhammad | SR.Manager - System | Digital Custodian Company
Tel: +92 51 2726543-4 | Cell: +92 334 5005215 | aoun.muhammad@... | www.digitalcustodian.co
Lower Ground | ISE Towers | Jinnah Avenue | Islamabad-44000 | Pakistan
   Save Paper! Print Only If needed.
Disclaimer: DCC assumes no responsibility of any private content sent in this email.


Re: Notification: [Hyperledger Fabric] Fabric SDK Python Meeting @ Fri 26 Nov 2021 05:00 - 06:00 (GMT) (drf149@gmail.com)

D RF <drf149@...>
 

Hi 

Is there a meeting now (13:00 -14:00) Hong Kong time?  

Regards,
David.

From: Google Calendar <calendar-notification@...>
Sent: Friday, November 26, 2021 12:29:56 PM
To: D RF <drf149@...>
Subject: Notification: [Hyperledger Fabric] Fabric SDK Python Meeting @ Fri 26 Nov 2021 05:00 - 06:00 (GMT) (drf149@...)
 

[Hyperledger Fabric] Fabric SDK Python Meeting

When
Fri 26 Nov 2021 05:00 – 06:00 United Kingdom Time
Where
https://zoom.us/j/92609268189?pwd=UWhpdFZnMG9zdE9DcWpzQWtxNGFwUT09 (map)
Calendar
drf149@...
Who
fabric@... - organiser
drf149@... - creator
Project: https://github.com/hyperledger/fabric-sdk-py
Wiki: https://wiki.hyperledger.org/display/fabric/Hyperledger+Fabric+SDK+Py ( https://wiki.hyperledger.org/display/fabric/Hyperledger+Fabric+SDK+Py?src=contextnavpagetreemode )

Hyperledger Community is inviting you to a scheduled Zoom meeting.

Topic: Fabric SDK Python Meeting
Please download and import the following iCalendar (.ics) files to your calendar system.
Weekly: https://zoom.us/meeting/tJYrd-CqqDMrEt3jxeM4fXFrzx-0OdTkP8HI/ics?icsToken=98tyKuCqqDsjGNKdsRGORowQBIigXerwplxcj7cOlgfgLnRVWiXkLPoPYp17JNPg

Join Zoom Meeting
https://zoom.us/j/92609268189?pwd=UWhpdFZnMG9zdE9DcWpzQWtxNGFwUT09

Meeting ID: 926 0926 8189
Passcode: 275521
One tap mobile
+12532158782,,92609268189# US (Tacoma)
+16699006833,,92609268189# US (San Jose)

Dial by your location
+1 253 215 8782 US (Tacoma)
+1 669 900 6833 US (San Jose)
+1 346 248 7799 US (Houston)
+1 301 715 8592 US (Germantown)
+1 312 626 6799 US (Chicago)
+1 646 558 8656 US (New York)
877 369 0926 US Toll-free
855 880 1246 US Toll-free
+1 647 374 4685 Canada
+1 647 558 0588 Canada
+1 778 907 2071 Canada
+1 204 272 7920 Canada
+1 438 809 7799 Canada
+1 587 328 1099 Canada
855 703 8985 Canada Toll-free
Meeting ID: 926 0926 8189
Find your local number: https://zoom.us/u/adTbxsP5JD

Going (drf149@...)?   Yes - Maybe - No    more options »

Invitation from Google Calendar

You are receiving this email at the account drf149@... because you are subscribed for notifications on calendar drf149@....

To stop receiving these emails, please log in to https://calendar.google.com/calendar/ and change your notification settings for this calendar.

Forwarding this invitation could allow any recipient to send a response to the organiser and be added to the guest list, invite others regardless of their own invitation status or to modify your RSVP. Learn more.


Framework for testing chaincode in golang

sidharth <siddhugupta15@...>
 

Hii,

 

I want to know the testing framework which we can use to test the chaincode in golang.

 

Thanks & Regards

Siddharth

 

Sent from Mail for Windows

 


Re: Deploying Java chaincode #docker #fabric-peer

Maciej Jedrzejczyk <matanyahu@...>
 

Hi,

You must compile your own ARM64 images. You may want to follow instructions I prepared for this task and which are published here: https://github.com/maciejjedrzejczyk/hlf-arm64

Kind Regards,

Maciej

On 25 Nov 2021, at 11:04, <bo.jacobs@...> <bo.jacobs@...> wrote:

Hello.

I am running the fabric test-network on a MacBook with M1 chip. I modified the script that downloads images & binaries in a waythat it gets the amd64 images.
The images run fine. However, when I try to deploy a Java chaincode, I run into following issue:

+ peer lifecycle chaincode install mychaincode.tar.gz+ res=1Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Failed to pull hyperledger/fabric-javaenv:2.3: no matching manifest for linux/arm64/v8 in the manifest list entriesChaincode installation on peer0.org1 has failedDeploying chaincode failed

It seems that somewhere a check on system architecture is made, and that docker is trying to pull hyperledger/fabric-javaenv for arm64 which doesn't exist.
I am looking for a way to force a pull of the amd64 image, because I assume that one will work as well. I can't seem to find where/why docker is trying to pull the arm64 image.

Is there a way to do this?

Have a great day.


Presentation on Dec 2 at 9AM PST about using Fabric to enable digitalization of telecom roaming agreements

David Boswell <dboswell@...>
 

This Thursday, Dec 2, at 9AM PST, there is a presentation at the Telecom SIG about developing a solution for automating the drafting and negotiation processes for Telecom roaming agreements using Hyperledger Fabric.  This may be of interest to people on the Fabric list who want to see how Fabric is used in the telecom industry.



Please feel free to share the meeting information with anyone in your networks who would be interested in this.

Thanks,
David


Now: Private Chaincode Lab - 11/30/2021 #cal-notice

fabric@lists.hyperledger.org Calendar <noreply@...>
 

Private Chaincode Lab

When:
11/30/2021
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


Re: Is it Possible To Implement a Real-Time Reverse Ranked Auction on Hyperledger Fabric? - Design Concerns

Bruno Andreghetti
 

HyperFredger and Conacoc,

 

Is there a way to make homomorphic encryption be assymetric? If not, the secret key would be the same to encrypt and decrypt any bid, which unfortunately may defeat the purpose of using this kind of cryptography for this auction application.

 

Regards,

Bruno Andreghetti @ GoLedger


ANNOUNCEMENT: Hyperledger Fabric v2.4 is now available!

David Enyeart
 

The Hyperledger Fabric maintainers are pleased to announce the availability of Fabric v2.4.0!

Hyperledger Fabric v2.4 introduces the Fabric Gateway into peer nodes as well as new lightweight Gateway SDKs to simplify client applications and transaction submission.

Read all about the Fabric Gateway and other improvements in the What's New documentation:
https://hyperledger-fabric.readthedocs.io/en/release-2.4/whatsnew.html#what-s-new-in-hyperledger-fabric-v2-4

See the release notes for additional details:
https://github.com/hyperledger/fabric/releases/tag/v2.4.0

Note - While Fabric v2.4 introduces new features and improvements, Fabric v2.2.x remains the current long-term support release until the next LTS release is announced.


Thanks,

The Hyperledger Fabric maintainers


Admin user registration #affiliations #hyperledger-fabric

gonzalo.bustos@...
 

Hello!

I've been trying to get the first user ever registered to my hyperledger-fabric network, using the function from ca.utils.ts: registerUserWallet, and since it's the very first user, it attempts to enroll the user as an admin user but for some reason fails to do so.

The error I'm getting is: Failed to register user : Error: fabric-ca request register failed with errors [[ { code: 71, message: 'Authorization failure' } ]].

Does anyone know how to fix this?

I checked online and it seems like it could be related to affiliations or user roles, but I'm not quite sure. 


Cyber Monday discounts on Hyperledger Fabric training and certs

David Boswell <dboswell@...>
 

Linux Foundation Training is offering the best pricing of the year on all training and certification offerings, including Hyperledger Fabric courses and certs. Cyber Monday starts today and goes through December 6th with savings of up to 65% off training and certification bundles.
 
Both Hyperledger Fabric Admin and Developer training and certifications are available at deep discounts and are a great way to reward yourself and your team by becoming certified in 2022.
 
Bundles - both training and certs (Save 65%. Use Code: CYBER21BUN): Pricing is $575 - $199
LFS272+CHFA - Hyperledger Fabric Admin
LFD272+CHFD - Hyperledger Fabric Developer

Certifications (Save 50%. Use Code: CYBER21CC)
CHFA - Hyperledger Fabric Admin
CHFD - Hyperledger Fabric Developer

More info on Cyber Monday sale, including a listing of all LF Training discounts can be found here.

Thanks,
David


Re: Is it Possible To Implement a Real-Time Reverse Ranked Auction on Hyperledger Fabric? - Design Concerns

HyperFredger
 

Conacoc,
Exactly what I was hinting at so far. However I am surprised I did not find any native implementation of an homomorphic encryption in Hyperledger Fabric. It could be very very useful. Many papers fro a Google search, but I am not sure about their practical implementations and performance, going through them takes time. However I found an implementation of Boldyreva's symmetric order-preserving encryption in Python (https://github.com/tonyo/pyope). Let's see...


Re: Fabric Contributor Meeting - November 24, 2021 - CANCELLED

袁怿
 


Hi David,

Via discussed locally within TWGC, we hope to schedule modular crypto service related discussion at Dec 8th.
https://github.com/hyperledger/fabric-rfcs/pull/34


On 11/24/2021 11:38David Enyeart<enyeart@...> wrote:

No meeting this week. Let us know if you have an agenda topic for December 8th.


Re: How Can Other Peers Get Copies of the World State Database? #minifab #minifabric

pavon@...
 

Hello everyone,

Thank you all for your responses.  A lot of stuff was clarified that was confusing at first, so I appreciate it.

@Bharg thanks again as always for chiming into all my posts and providing the reference.  Parts of it was cut off.  I don't know if that is intentional or not, but nonetheless I appreciate it.

I'm still a little confused about it but I'm sure I will understand it completely.  Have a great day everyone.

981 - 1000 of 11571