Hyperledger Fabric Documentation Workgroup call - Western hemisphere - Fri, 01/24/2020
#cal-notice
fabric@lists.hyperledger.org Calendar <noreply@...>
Hyperledger Fabric Documentation Workgroup call - Western hemisphere When: Where: Organizer: Description: |
|
Re: Chaincode Upgrade Docker Container Environment
Kimheng SOK
Thank you On Fri, Jan 24, 2020 at 10:36 PM Brett T Logan <Brett.T.Logan@...> wrote:
|
|
Re: Chaincode Upgrade Docker Container Environment
Brett T Logan <brett.t.logan@...>
In core.yaml you can specify your own chaincode runtime image for golang, Java or Node. So you can extend the image to include your tools, publish the image to a Docker registry and then use that as the runtime in your core.yaml:
----- Original message ----- |
|
Chaincode Upgrade Docker Container Environment
Kimheng SOK
Dear all, I have one question, each time we upgrade our chaincode a new docker container is created. But the problem is it doesn't inherit all the environment of the old version docker, from example if we install some program in the chaincode docker container, when we upgrade chaincode we need to install those program again in the new chaincode container. Is there a solution, so that we don't need to re-install the program again and again when we upgrade our chaincode? Bests, |
|
Re: Error while trying to launch the chaincode as a standalone process
Yacov
Clients need to connect to the peer with
port 7051
toggle quoted message
Show quoted text
Chaincodes connect to the peer with port 7052 So when you install the chaincode, use port 7051 From: "Marina Wanis" <marinamaged1996@...> To: Yacov Manevich <YACOVM@...> Cc: "hyperledger-fabric@..." <hyperledger-fabric@...> Date: 01/24/2020 03:31 PM Subject: [EXTERNAL] Re: [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process Sent by: fabric@... Hi Yacov, I’m not getting an error when I try to launch the chaincode anymore but now when I install the chaincode I get the following error. I made sure that the port is 7052. By setting up the environment variable : export CORE_PEER_ADDRESS="localhost:7052" The error that I get when I install the chaincode is:- Error: Error endorsing chaincode: rpc error: code = Unimplemented desc = unknown service protos.Endorser Thanks, Marina Sent from Mailfor Windows 10 From: Yacov
Manevich
Sent: Friday, January 24, 2020 4:13 PM To: Marina Wanis Cc: hyperledger-fabric@... Subject: Re: [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process This means that the chaincode tries to access the peer over a port that is not correct. By default, the peer listens to port 7052 Maybe the chaincode tries to access via a different port? From: "Marina Wanis" <marinamaged1996@...> To: "hyperledger-fabric@..." <hyperledger-fabric@...> Date: 01/24/2020 08:53 AM Subject: [EXTERNAL] [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process Sent by: fabric@... Hi, I was trying to lunch the chaincode as a standalone process but I got the following error. Can someone please explain me the cause of the following error? 2020-01-24 06:48:15.778 UTC [shim] chatWithPeer -> ERRO 005 Received error from server, ending chaincode stream: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport receive failed github.com/hyperledger/fabric/core/chaincode/shim.chatWithPeer /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:362 github.com/hyperledger/fabric/core/chaincode/shim.Start /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:156 main.main /vagrant/gocc/src/chaincode_example02/chaincode_example02.go:198 runtime.main /usr/local/go/src/runtime/proc.go:200 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1337 Error starting Simple chaincode: receive failed: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport Thanks, Marina
|
|
Re: Error while trying to launch the chaincode as a standalone process
Marina Wanis <marinamaged1996@...>
Hi Yacov,
I’m not getting an error when I try to launch the chaincode anymore but now when I install the chaincode I get the following error. I made sure that the port is 7052. By setting up the environment variable : export CORE_PEER_ADDRESS="localhost:7052"
The error that I get when I install the chaincode is:- Error: Error endorsing chaincode: rpc error: code = Unimplemented desc = unknown service protos.Endorser
Thanks, Marina
Sent from Mail for Windows 10
From: Yacov Manevich
Sent: Friday, January 24, 2020 4:13 PM To: Marina Wanis Cc: hyperledger-fabric@... Subject: Re: [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process
This means that the chaincode tries to access the peer over a port that is not correct.
|
|
Re: Error while trying to launch the chaincode as a standalone process
Yacov
This means that the chaincode tries to
access the peer over a port that is not correct.
By default, the peer listens to port 7052 Maybe the chaincode tries to access via a different port? From: "Marina Wanis" <marinamaged1996@...> To: "hyperledger-fabric@..." <hyperledger-fabric@...> Date: 01/24/2020 08:53 AM Subject: [EXTERNAL] [Hyperledger Fabric] Error while trying to launch the chaincode as a standalone process Sent by: fabric@... Hi, I was trying to lunch the chaincode as a standalone process but I got the following error. Can someone please explain me the cause of the following error? 2020-01-24 06:48:15.778 UTC [shim] chatWithPeer -> ERRO 005 Received error from server, ending chaincode stream: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport receive failed github.com/hyperledger/fabric/core/chaincode/shim.chatWithPeer /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:362 github.com/hyperledger/fabric/core/chaincode/shim.Start /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:156 main.main /vagrant/gocc/src/chaincode_example02/chaincode_example02.go:198 runtime.main /usr/local/go/src/runtime/proc.go:200 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1337 Error starting Simple chaincode: receive failed: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport Thanks, Marina |
|
Privacy vs Decentralisation
#hyperledger-fabric
#raft
#fabric-questions
#fabric-orderer
yashukla47@...
I have a question. Can orderers read all the transactions passing through them even from the channels of which their organization is not a part of If yes, then is there any solution to implement complete decentralization (by having one orderer per organization) + Privacy among the members of the channel. except for using private data. |
|
Error while trying to launch the chaincode as a standalone process
Marina Wanis <marinamaged1996@...>
Hi,
I was trying to lunch the chaincode as a standalone process but I got the following error. Can someone please explain me the cause of the following error?
2020-01-24 06:48:15.778 UTC [shim] chatWithPeer -> ERRO 005 Received error from server, ending chaincode stream: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport receive failed github.com/hyperledger/fabric/core/chaincode/shim.chatWithPeer /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:362 github.com/hyperledger/fabric/core/chaincode/shim.Start /vagrant/gocc/src/github.com/hyperledger/fabric/core/chaincode/shim/chaincode.go:156 main.main /vagrant/gocc/src/chaincode_example02/chaincode_example02.go:198 runtime.main /usr/local/go/src/runtime/proc.go:200 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1337 Error starting Simple chaincode: receive failed: rpc error: code = Unimplemented desc = unknown service protos.ChaincodeSupport
Thanks, Marina |
|
Hyperledger Fabric Documentation Workgroup call - Eastern hemisphere - Fri, 01/24/2020
#cal-notice
fabric@lists.hyperledger.org Calendar <noreply@...>
Hyperledger Fabric Documentation Workgroup call - Eastern hemisphere When: Where: Organizer: Description: |
|
configtxlator: error: open /dev/stdout: permission denied, try --help
Siddharth Jain
Hello
I have a simple question. I am trying to copy the output of configtxlator but get this error
```
$ configtxlator proto_decode --input ./foo.block --type common.Block | pbcopy -
configtxlator: error: open /dev/stdout: permission denied, try --help
```
I also tried using sudo but it still gives the error. For comparison below does not give me any error
```
$ echo "Hello World" | pbcopy -
```
Does anyone know how I can fix this? thanks
|
|
Re: Peer/Orderer memory usage
There's a known goroutine leakage in 1.4.4. You may need to apply this patchset. https://github.com/hyperledger/fabric/commit/3bae50c872e9f6a4539cf5524039511fb68b289a. Besides, would suggest use the latest 1.4 branch code. On Thu, Jan 23, 2020 at 7:42 AM Eryargi, Hakan via Lists.Hyperledger.Org <hakan.eryargi=accenture.com@...> wrote:
--
Best wishes! Baohua Yang |
|
Hyperledger Project Quarterly Update Due #tsc-project-update - Thu, 01/23/2020
#tsc-project-update
#cal-notice
fabric@lists.hyperledger.org Calendar <noreply@...>
Hyperledger Project Quarterly Update Due #tsc-project-update When: Organizer: Description: |
|
Chaincode gets instantiated but not able to invoke or list it
#fabric
#fabric-chaincode
Mrudav Shukla
I have a 3 Organisation (2 Normal Organization and 1 Orderer Organization) architecture on aws-eks. Each of the organizations has their own ca and tlsca. I have been able to generate the genesis block, the msp anchor transactions and the peers are able to join and create the channel as well as install the chaincode.
I am, however, facing issues when I instantiate the chaincode. The chaincode gets instantiated as seen from the docker-in-docker container. However, when I try to list the instantiated chaincode it does not come up. I have gone through the following issues:
However, when I try to list the chaincode it shows nothing. Following are the logs that I'm getting on peer:
Following are the logs that I'm getting on orderer:
The following are the snippets from my configtx.yaml file:
Application Policies:Channel Policies:
Organizations:
Capabilities:
|
|
Re: #fabric-questions Fabric Networking
#fabric-questions
Nye Liu <nye@...>
If you plan on running a p2p node on the public internet, ideally it should be secured such that a firewall (other than possibly a simple port whitelist at the router) isn't needed. If you believe a firewall is needed, put them all in a shared
VPN or put each in a DMZ each with a public address and only
allow the protocol ports (or ssh if you don't have a jump box in
the DMZ). If you run a patchwork of NAT/forwarding hacks, you
are inevitably going to run into DNS/TLS issues unless you are
very careful. In my experience, people generally overly rely on firewalls instead of addressing node security directly. On 1/23/2020 10:24 AM, Cavell wrote:
Apologies for the confusion in my wording, |
|
#fabric-questions Fabric Networking
#fabric-questions
Cavell
Apologies for the confusion in my wording,
I accidentally used firewall instead of router. Since the nodes are in different locations, its hard to access them without port forwarding them. From an initial glance, it seems like to build the network, I'll need to port forward all the nodes and make the publicly accessible to deploy them in different locations. I'm concerned about the security risks of doing so since anyone can access the nodes so long as they have the public address and port number. Thanks for the quick responses, Cavell Teng |
|
Documentation Workgroup: Agenda for Friday, 24 Jan
Anthony O'Dowd <a_o-dowd@...>
Hello!
We will hold the documentation workgroup call this Friday, both Western and Eastern hemispheres. A big welcome to everyone - another great turn out last week - thanks to everyone who attended! The summary minutes for last week's meeting: https://wiki.hyperledger.org/display/fabric/Meetings You can read all about the call at https://wiki.hyperledger.org/display/fabric/2020+01+17+DWG+Agenda It included an update on V2 from Pam and Joe, an overview of the ledger API from Matthew, Commercial paper network updates from Nik, and a discussion on rationalizing introductory material, also from Nik. You can catch up via the recording: https://wiki.hyperledger.org/display/fabric/Recordings You'll see that there are lots of interesting items for this week: https://wiki.hyperledger.org/display/fabric/2020+01+24+DWG+Agenda Please feel free to contribute using the wiki! You can also help build next week's agenda: https://wiki.hyperledger.org/display/fabric/2020+01+31+DWG+Agenda Really looking forward to more great work on Fabric documentation in 2020! Pam, Anthony, Joe, Nik Meeting Details ------------- Please use the following link to attend the meeting: https://zoom.us/j/6223336701 The meeting times are as follows: https://wiki.hyperledger.org/display/fabric/Documentation+Working+Group Meeting 112A: Friday 24 Jan 1130 India Standard Time 1400 China Standard Time 1500 Japan Standard Time 1700 Australia Eastern Time 1400 Singapore Time 1000 Gulf Standard Time 0900 Moscow Standard Time 0600 Greenwich Mean Time 0700 Central European Time Meeting 113B: Friday 24 Jan 1000 Central Daylight Time 1100 Eastern Daylight Time 0800 Pacific Daylight Time 1300 Brasil Time (BRT) 1600 Greenwich Mean Time 1700 Central European Time 1800 Moscow Standard Time Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU |
|
Peer/Orderer memory usage
Eryargi, Hakan
Hi,
During our performance tests, we noticed that, both peers’ and orderers’ memory usage is increasing under load and they do not release the claimed memory when the load is removed.
Is this expected? Anything we can do about it on the configuration side?
Peers: Up to 15G -> This is especially very high Orderers: Up to 4G
Fabric version: 1.4.4
Thanks, Hakan
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy. ______________________________________________________________________________________ www.accenture.com |
|
Hyperledger Nexus Repository Sunset
Brett T Logan <brett.t.logan@...>
As we close out the migration of Hyperledger Fabric and its supporting projects off of Gerrit and Jenkins to GitHub and Azure Pipeline's, our final task was to retire the use of Nexus for serving non-release artifacts. We are replacing the self-hosted Nexus repo with an enterprise Artifactory instance hosted by JFrog.
With the migration to Artifactory complete the Linux Foundation will sunset nexus.hyperledger.org and nexus3.hyperledger.org effective FEBRUARY 1st
While the community should be largely unaffected by this change as the artifacts are mostly used in CI, there are a few pieces of chaincode that consume Maven libraries from Nexus that we modified to now pull from Artifactory in Fabric-Samples. If you are running Java chaincode from the Fabric-Samples repository that you cloned prior to January 20th, you should update your POM.xml or build.gradle files to point to https://hyperledger.jfrog.io/hyperledger/fabric-maven instead of Nexus, or reclone the Fabric-Samples repository.
As of today, we have also retired the Hyperledger Jenkins server and the Hyperledger Gerrit server.
Thank you,
|
|
Pluggable DBMS
Trevor Lee Oakley <trevor@...>
I saw that DBMS is pluggable in the docs. I saw also couchdb is used for private db, but can we use any db, eg oracle or sql server?
Trevor
|
|