Date   
Re: [Request] regarding Hyperledger Development Work.

Nick Frunza
 

Please join HLExplorer, you're welcome

thank you
Nik

On Fri, Feb 8, 2019 at 12:29 PM Denny Hong <dennymrh@...> wrote:
Hi Team,

This is Denny. I already tried Fabric tutorials, and I am very interested in learning/developing a blockchain application. Do you know a person or team I can join and help? Please let me know if you have any questions.

Sincerely,
Denny Hong



--
Nik Frunza

Re: Problem with Node-SDk with fabric-network package when invoke transaction

Nikhil Gupta
 

You may also be hitting this problem because you do not have the correct TLS Certs, or the SDK is not able to read them. I noticed there are no TLS certificates in your connection profile. I hit the same error when my connection profile was built incorrectly.





From:        "Jean-Gaël Dominé" <jgdomine@...>
To:        fabric@...
Date:        02/09/2019 12:02 PM
Subject:        Re: [Hyperledger Fabric] Problem with Node-SDk with fabric-network package when invoke transaction
Sent by:        fabric@...




Hi,

The first idea that comes to my mind when reading your error is that you've got a problem with the artifacts you must have generated with cryptogen et configtxgen.
I might be wrong but I would look for an issue inside one of those files (maybe more the configtx.yaml but both are worth a look).

Could you attach those files ?

JG



Re: 答复: [Hyperledger Fabric] example of system plugin not work

Huijian
 

Hi

 

You should build with “pluginsenabled” from source code, since the official image isn’t built with this switch on.

Please refer to https://jira.hyperledger.org/browse/FAB-7710

 

Best Regards

 

发件人: fabric@... [mailto:fabric@...] 代表 XIaoguang Wang
发送时间: 201921 18:29
收件人: hyperledger-fabric
主题: [Hyperledger Fabric] example of system plugin not work

 

Hi  experts

 

Has anyone deployed the official system plugin example under fabric 1.4 source codes folder(github.com/hyperledger/fabric/examples/plugins/scc) successfully?

 

I built the system chaincode plugin (by go build -buildmode=plugin) successfully and config peer node configuration core.yaml according to official  guide as below.

 

But the system chaincode plugin is not loaded during peer startup.

 

BR

Xiaoguang

 

 

Configuring Plugins

Plugins are configured in the chaincode.systemPlugin section in core.yaml:

chaincode:
  systemPlugins:
    - enabled: true
      name: mysyscc
      path: /opt/lib/syscc.so
      invokableExternal: true
      invokableCC2CC: true

A system chaincode must also be whitelisted in the chaincode.system section in core.yaml:

chaincode:
  system:
    mysyscc: enable

 

Re: [Request] regarding Hyperledger Development Work.

Denny Hong <dennymrh@...>
 

Hi Nick,

Thank you for your response. What is the address of HLExplorer? I could not find it on Google. 

Sincerely,
Denny Hong


On Sun, Feb 10, 2019 at 4:08 PM Nick Frunza <nfrunza@...> wrote:
Please join HLExplorer, you're welcome

thank you
Nik

On Fri, Feb 8, 2019 at 12:29 PM Denny Hong <dennymrh@...> wrote:
Hi Team,

This is Denny. I already tried Fabric tutorials, and I am very interested in learning/developing a blockchain application. Do you know a person or team I can join and help? Please let me know if you have any questions.

Sincerely,
Denny Hong



--
Nik Frunza

Re: [Request] regarding Hyperledger Development Work.

Nick Frunza
 


On Tue, Feb 12, 2019 at 1:13 PM Denny Hong <dennymrh@...> wrote:
Hi Nick,

Thank you for your response. What is the address of HLExplorer? I could not find it on Google. 

Sincerely,
Denny Hong

On Sun, Feb 10, 2019 at 4:08 PM Nick Frunza <nfrunza@...> wrote:
Please join HLExplorer, you're welcome

thank you
Nik

On Fri, Feb 8, 2019 at 12:29 PM Denny Hong <dennymrh@...> wrote:
Hi Team,

This is Denny. I already tried Fabric tutorials, and I am very interested in learning/developing a blockchain application. Do you know a person or team I can join and help? Please let me know if you have any questions.

Sincerely,
Denny Hong



--
Nik Frunza



--
Nik Frunza

Re: Error hyperledger explorer #fabric

Fernando
 

Hi,

Now i have this error:

postgres://hppoc:password@....0.1:5432/fabricexplorer
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>
TypeError: Cannot read property 'substring' of undefined
    at processTLS_URL (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:66:21)
    at cloneConfig (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:58:19)
    at Object.createDetachClient (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:39:25)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:105:38)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:10711) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
Received kill signal, shutting down gracefully
Closed out connections

Regads

El dom., 10 feb. 2019 a las 23:05, Nick Frunza (<nfrunza@...>) escribió:
Please use a json validator to see the syntax error, copy and paste your config.json, you can use: https://jsonformatter.curiousconcept.com/


On Sat, Feb 9, 2019 at 8:41 AM Jean-Gaël Dominé <jgdomine@...> wrote:
Hi,

In the content you gave, a last bracket is missing. Thus your json file ends prematurely... :)

Hope it will fix your problem

JG



--
Nik Frunza

Re: Error hyperledger explorer #fabric

Nick Frunza
 

It is hard to figure out your problem either you have invalid config.json, or fabric issues, please email the last 50 lines from 

<explorer path>blockchain-explorer/logs/app/app.log file

thank you

Nik


On Wed, Feb 13, 2019 at 2:16 PM Fernando Gomez <fggrocha@...> wrote:
Hi,

Now i have this error:

postgres://hppoc:password@....0.1:5432/fabricexplorer
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>
TypeError: Cannot read property 'substring' of undefined
    at processTLS_URL (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:66:21)
    at cloneConfig (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:58:19)
    at Object.createDetachClient (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:39:25)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:105:38)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:10711) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
Received kill signal, shutting down gracefully
Closed out connections

Regads

El dom., 10 feb. 2019 a las 23:05, Nick Frunza (<nfrunza@...>) escribió:
Please use a json validator to see the syntax error, copy and paste your config.json, you can use: https://jsonformatter.curiousconcept.com/


On Sat, Feb 9, 2019 at 8:41 AM Jean-Gaël Dominé <jgdomine@...> wrote:
Hi,

In the content you gave, a last bracket is missing. Thus your json file ends prematurely... :)

Hope it will fix your problem

JG



--
Nik Frunza



--
Nik Frunza

Re: A sequence of GetState(key1) ==> PutState(key1,val2) ==> GetState(key1) returns old value for key1.

Alessandro Sorniotti
 

Hi

The scenario you describe works as expected: a chaincode invocation doesn't actually write to the ledger; instead, the proposed ledger changes are captured in the "read-write set" artefact. The read-write set is later placed in a transaction message. After ordering, if the transaction complies with the endorsement policy, its read-write set is applied to the ledger, at which point its changes will become visible to future chaincode invocations. This means that a chaincode execution is unable to see its own writes to the ledger: this will only be possible after the transaction is ordered.

More details here: https://arxiv.org/abs/1801.10228

Cheers,
Ale

On Thu, 14 Feb 2019, at 9:22 AM, Vishal wrote:
Hi,

One of the Invoke operation in chaincode has below sequence of APIs
calls:
* GetState(key1) ==>returns val1
* PutState(key1,val2) ==> returns shim.OK
* *GetState(key1) ==> returns val1, instead it should return val2*
*But, the opertaion returns the correct value i.e. val2 when it called
one more time.*

Here is the actual code snippet from the chaincode:
```
    // Get current value of available fund under the project
    prjBytes, err := stub.GetState(p.ProjectID)
    if err != nil {
        cErr := &chainError{ "readProject" , p.ProjectID,
CODEGENEXCEPTION, err}
        return shim.Error(cErr.Error())
    }
    prj := &project{}
    err = json.Unmarshal(prjBytes, prj)
    if err != nil {
        cErr := &chainError{ "readProject" , p.ProjectID,
CODEGENEXCEPTION, err}
        return shim.Error(cErr.Error())
    }
    // calculate the new value
    prj.Data.AvlFund =
prj.Data.AvlFund.Add(donationAggregate.Sub(spendAggregate))

    prjBytes, err = json.Marshal(prj)
    if err != nil {
        cErr := &chainError{ "readProject" , p.ProjectID, CODEGENEXCEPTION, err}
        return shim.Error(cErr.Error())
    }

    // Save the update value of available funds under a project
    err = stub.PutState(p.ProjectID, prjBytes)
    if err != nil {
        cErr := &chainError{ "readProject" , p.ProjectID, CODEGENEXCEPTION, err}
        return shim.Error(cErr.Error())
    }

    // Read and return the updated project state
    prjBytes, err = stub.GetState(p.ProjectID)
    if err != nil {
        cErr := &chainError{ "readProject" , p.ProjectID, CODEGENEXCEPTION, err}
        return shim.Error(cErr.Error())
    }
    r := response{CODEALLAOK, p.ProjectID, prjBytes}
    return shim.Success((r.formatResponse()))
}

```


Timeout expired while executing transaction a heavy chaincode function #fabric #fabric-sdk-java

Joao Antunes
 

Hi to all,

Currently I have a chaincode that takes a bit of time to execute (it's expected).

The problem is that when I run the call I receive the following error:

Caused by: io.grpc.StatusRuntimeException: UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction


I'm using java sdk and yes, I have my proposal.waitTime=60000.

Can the transaction timeout be changed? Where, sdk or network config?

Thank you and regards,
João Antunes

Re: Timeout expired while executing transaction a heavy chaincode function #fabric #fabric-sdk-java

Joao Antunes
 

Just a quick update:

The peer1-org1 logs:

 

2019-02-14 17:42:03.360 UTC [endorser] simulateProposal -> ERRO 1e5b6 [project1][d90dbe85] failed to invoke chaincode name:"project1" version:"1.0" , error: timeout expired while executing transaction

github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Execute

        /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:813

github.com/hyperledger/fabric/core/chaincode.Execute

        /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/exectransaction.go:58

github.com/hyperledger/fabric/core/chaincode.ExecuteChaincode

        /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/chaincodeexec.go:85

github.com/hyperledger/fabric/core/endorser.(*SupportImpl).Execute

        /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/support.go:93

github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode

        /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:132

github.com/hyperledger/fabric/core/endorser.(*Endorser).simulateProposal

        /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:265

github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposal

        /opt/gopath/src/github.com/hyperledger/fabric/core/endorser/endorser.go:491

github.com/hyperledger/fabric/core/handlers/auth/filter.(*expirationCheckFilter).ProcessProposal

        /opt/gopath/src/github.com/hyperledger/fabric/core/handlers/auth/filter/expiration.go:61

github.com/hyperledger/fabric/core/handlers/auth/filter.(*filter).ProcessProposal

        /opt/gopath/src/github.com/hyperledger/fabric/core/handlers/auth/filter/filter.go:31

github.com/hyperledger/fabric/protos/peer._Endorser_ProcessProposal_Handler

        /opt/gopath/src/github.com/hyperledger/fabric/protos/peer/peer.pb.go:112

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).processUnaryRPC

        /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:781

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).handleStream

        /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:981

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1

        /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:551

runtime.goexit

        /opt/go/src/runtime/asm_amd64.s:2337

failed to execute transaction

error executing chaincode

 
 
 

Re: Error hyperledger explorer #fabric

Fernando
 

Hi,
This is de last 50 lines:

[2019-02-09 23:07:32.223] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:07:32.224] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:07:32.224] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:07:32.224] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:07:32.227] [DEBUG] Platform - Creatinging client [client-1] >>
[2019-02-09 23:18:36.416] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:18:36.416] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:18:36.417] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:18:36.417] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:18:36.420] [DEBUG] Platform - Creatinging client [client-1] >>
[2019-02-09 23:22:44.435] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:22:44.435] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:22:44.436] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:22:44.436] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:22:44.438] [DEBUG] Platform - Creatinging client [client-1] >> 

Thank you so much

El mié., 13 feb. 2019 a las 21:34, Nick Frunza (<nfrunza@...>) escribió:
It is hard to figure out your problem either you have invalid config.json, or fabric issues, please email the last 50 lines from 

<explorer path>blockchain-explorer/logs/app/app.log file

thank you

Nik


On Wed, Feb 13, 2019 at 2:16 PM Fernando Gomez <fggrocha@...> wrote:
Hi,

Now i have this error:

postgres://hppoc:password@....0.1:5432/fabricexplorer
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>
TypeError: Cannot read property 'substring' of undefined
    at processTLS_URL (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:66:21)
    at cloneConfig (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:58:19)
    at Object.createDetachClient (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:39:25)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:105:38)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:10711) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
Received kill signal, shutting down gracefully
Closed out connections

Regads

El dom., 10 feb. 2019 a las 23:05, Nick Frunza (<nfrunza@...>) escribió:
Please use a json validator to see the syntax error, copy and paste your config.json, you can use: https://jsonformatter.curiousconcept.com/


On Sat, Feb 9, 2019 at 8:41 AM Jean-Gaël Dominé <jgdomine@...> wrote:
Hi,

In the content you gave, a last bracket is missing. Thus your json file ends prematurely... :)

Hope it will fix your problem

JG



--
Nik Frunza



--
Nik Frunza

Re: Error hyperledger explorer #fabric

Nick Frunza
 

Please verify each path in config.json, the error clearly says 
{ Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'

to make sure, do for each path similar to this $cd /home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore


On Thu, Feb 14, 2019 at 3:36 PM Fernando Gomez <fggrocha@...> wrote:
Hi,
This is de last 50 lines:

[2019-02-09 23:07:32.223] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:07:32.224] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:07:32.224] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:07:32.224] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:07:32.227] [DEBUG] Platform - Creatinging client [client-1] >>
[2019-02-09 23:18:36.416] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:18:36.416] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:18:36.417] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:18:36.417] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:18:36.420] [DEBUG] Platform - Creatinging client [client-1] >>
[2019-02-09 23:22:44.435] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:22:44.435] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:22:44.436] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:22:44.436] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:22:44.438] [DEBUG] Platform - Creatinging client [client-1] >> 

Thank you so much

El mié., 13 feb. 2019 a las 21:34, Nick Frunza (<nfrunza@...>) escribió:
It is hard to figure out your problem either you have invalid config.json, or fabric issues, please email the last 50 lines from 

<explorer path>blockchain-explorer/logs/app/app.log file

thank you

Nik


On Wed, Feb 13, 2019 at 2:16 PM Fernando Gomez <fggrocha@...> wrote:
Hi,

Now i have this error:

postgres://hppoc:password@....0.1:5432/fabricexplorer
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>
TypeError: Cannot read property 'substring' of undefined
    at processTLS_URL (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:66:21)
    at cloneConfig (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:58:19)
    at Object.createDetachClient (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:39:25)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:105:38)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:10711) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
Received kill signal, shutting down gracefully
Closed out connections

Regads

El dom., 10 feb. 2019 a las 23:05, Nick Frunza (<nfrunza@...>) escribió:
Please use a json validator to see the syntax error, copy and paste your config.json, you can use: https://jsonformatter.curiousconcept.com/


On Sat, Feb 9, 2019 at 8:41 AM Jean-Gaël Dominé <jgdomine@...> wrote:
Hi,

In the content you gave, a last bracket is missing. Thus your json file ends prematurely... :)

Hope it will fix your problem

JG



--
Nik Frunza



--
Nik Frunza



--
Nik Frunza

Documentation Workgroup: Agenda for Friday, 15 Feb Cancelled, Next meeting Feb 22

Anthony O'Dowd
 

Hi All,

Unfortunately, due to travel plans and quite a few other folks' other commitments, we're not going to be able to hold the workgroup call this week.  We'll be holding it next week as usual, so apologies, and see you all then!

Best regards, Anthony.
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

JPM Coin

Don Li
 

Hi,

In case you haven't read below:

Will we ever be able to use Hyperledger Fabric to create crypto token such as JPM Coin?

Btw, what major capability/features have been envisioned for the next release of Fabric?

Thanks.

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer


Re: JPM Coin

Nikhil Gupta
 

Hi Don,

Token management is on the roadmap of Hyperledger Fabric. https://jira.hyperledger.org/browse/FAB-11144The design is meant to facilitate tokenized assets, rather than just a coin per say.

Best,
Nik





From:        "Don Li" <lichunshen84@...>
To:        hyperledger-fabric@...
Date:        02/15/2019 11:34 AM
Subject:        [Hyperledger Fabric] JPM Coin
Sent by:        fabric@...




Hi,

In case you haven't read below:
https://www.cnn.com/2019/02/15/investing/jpmorgan-bitcoin-crypto-jamie-dimon/index.html

Will we ever be able to use Hyperledger Fabric to create crypto token such as JPM Coin?

Btw, what major capability/features have been envisioned for the next release of Fabric?

Thanks.

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer





HyperLedger Fabric - Genesis block hash

Darryl Huet <darryl.huet1@...>
 

Hello,

I'm looking at building a fabric blockchain, but I want to be able to change the hash of the genesis block. My reasons for doing this is to create a hash from the corporation number given by governments to build a corporation blockchain. 

Thank you in advance,
Darryl Huët - 30055452



Re: JPM Coin

Don Li
 

Hi Nik,

Thank you for the informative response.

A few more related questions.
a) For this IBM Token Management paper, at page 4, could you elaborate on "Single account per system user"?
( We, as Hyperledger Fabric application developers, are sort of accustomed to "identity" or "identities" under certain Peer for chain access )
b) Any specific code sample for FabToken?
c) Any specific implementation case of FabToken out there?

Best,

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer


On Fri, Feb 15, 2019 at 12:27 PM Nikhil E Gupta <negupta@...> wrote:
Hi Don,

Token management is on the roadmap of Hyperledger Fabric. https://jira.hyperledger.org/browse/FAB-11144The design is meant to facilitate tokenized assets, rather than just a coin per say.

Best,
Nik





From:        "Don Li" <lichunshen84@...>
To:        hyperledger-fabric@...
Date:        02/15/2019 11:34 AM
Subject:        [Hyperledger Fabric] JPM Coin
Sent by:        fabric@...




Hi,

In case you haven't read below:
https://www.cnn.com/2019/02/15/investing/jpmorgan-bitcoin-crypto-jamie-dimon/index.html

Will we ever be able to use Hyperledger Fabric to create crypto token such as JPM Coin?

Btw, what major capability/features have been envisioned for the next release of Fabric?

Thanks.

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer





Re: JPM Coin

vipin bharathan <vipinsun@...>
 

Hi all,
On the JPM Coin; I have written a short analysis (it is not just reportage). 
Best,
Vipin


On Fri, Feb 15, 2019 at 3:35 PM Don Li <lichunshen84@...> wrote:
Hi Nik,

Thank you for the informative response.

A few more related questions.
a) For this IBM Token Management paper, at page 4, could you elaborate on "Single account per system user"?
( We, as Hyperledger Fabric application developers, are sort of accustomed to "identity" or "identities" under certain Peer for chain access )
b) Any specific code sample for FabToken?
c) Any specific implementation case of FabToken out there?

Best,

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer


On Fri, Feb 15, 2019 at 12:27 PM Nikhil E Gupta <negupta@...> wrote:
Hi Don,

Token management is on the roadmap of Hyperledger Fabric. https://jira.hyperledger.org/browse/FAB-11144The design is meant to facilitate tokenized assets, rather than just a coin per say.

Best,
Nik





From:        "Don Li" <lichunshen84@...>
To:        hyperledger-fabric@...
Date:        02/15/2019 11:34 AM
Subject:        [Hyperledger Fabric] JPM Coin
Sent by:        fabric@...




Hi,

In case you haven't read below:
https://www.cnn.com/2019/02/15/investing/jpmorgan-bitcoin-crypto-jamie-dimon/index.html

Will we ever be able to use Hyperledger Fabric to create crypto token such as JPM Coin?

Btw, what major capability/features have been envisioned for the next release of Fabric?

Thanks.

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer





Re: JPM Coin

Don Li
 

Vipin,

Very knowledgeable and objective analysis, good job!

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer




On Fri, Feb 15, 2019 at 3:53 PM vipin bharathan <vipinsun@...> wrote:
Hi all,
On the JPM Coin; I have written a short analysis (it is not just reportage). 
Best,
Vipin

On Fri, Feb 15, 2019 at 3:35 PM Don Li <lichunshen84@...> wrote:
Hi Nik,

Thank you for the informative response.

A few more related questions.
a) For this IBM Token Management paper, at page 4, could you elaborate on "Single account per system user"?
( We, as Hyperledger Fabric application developers, are sort of accustomed to "identity" or "identities" under certain Peer for chain access )
b) Any specific code sample for FabToken?
c) Any specific implementation case of FabToken out there?

Best,

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer


On Fri, Feb 15, 2019 at 12:27 PM Nikhil E Gupta <negupta@...> wrote:
Hi Don,

Token management is on the roadmap of Hyperledger Fabric. https://jira.hyperledger.org/browse/FAB-11144The design is meant to facilitate tokenized assets, rather than just a coin per say.

Best,
Nik





From:        "Don Li" <lichunshen84@...>
To:        hyperledger-fabric@...
Date:        02/15/2019 11:34 AM
Subject:        [Hyperledger Fabric] JPM Coin
Sent by:        fabric@...




Hi,

In case you haven't read below:
https://www.cnn.com/2019/02/15/investing/jpmorgan-bitcoin-crypto-jamie-dimon/index.html

Will we ever be able to use Hyperledger Fabric to create crypto token such as JPM Coin?

Btw, what major capability/features have been envisioned for the next release of Fabric?

Thanks.

(Don) Chunshen Li
Blockchain Consultant / Hyperledger Fabric Application Developer





Re: Error hyperledger explorer #fabric

Fernando
 

Hi,

I have this message:

module.js:550
    throw err;
    ^

Error: Cannot find module 'ws'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/user/blockchain-explorer/main.js:13:17)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)

Regards

Fernando


El jue., 14 feb. 2019 a las 23:49, Nick Frunza (<nfrunza@...>) escribió:
Please verify each path in config.json, the error clearly says 
{ Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'

to make sure, do for each path similar to this $cd /home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore

On Thu, Feb 14, 2019 at 3:36 PM Fernando Gomez <fggrocha@...> wrote:
Hi,
This is de last 50 lines:

[2019-02-09 23:07:32.223] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:07:32.224] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:07:32.224] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:07:32.224] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:07:32.227] [DEBUG] Platform - Creatinging client [client-1] >>
[2019-02-09 23:18:36.416] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:18:36.416] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:18:36.417] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:18:36.417] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:18:36.420] [DEBUG] Platform - Creatinging client [client-1] >>
[2019-02-09 23:22:44.435] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******
[2019-02-09 23:22:44.435] [DEBUG] Platform - Setting admin organization enrolment files
[2019-02-09 23:22:44.436] [DEBUG] FabricUtils - Organization [Org1] enrolment files path defined as directory
[2019-02-09 23:22:44.436] [ERROR] Platform - { Error: ENOENT: no such file or directory, scandir '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore'
    at Object.fs.readdirSync (fs.js:904:18)
    at setOrgEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:340:26)
    at Object.setAdminEnrolmentPath (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:319:37)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:70:48)
    at Platform.initialize (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:50:16)
    at Explorer.initialize (/home/fernando/blockchain-explorer/app/Explorer.js:64:22)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/home/fernando/fabric-dev-servers/fabric-samples/crypto-config/peerOrganizations/org1.example.com/users/Admin@.../msp/keystore' }
[2019-02-09 23:22:44.438] [DEBUG] Platform - Creatinging client [client-1] >> 

Thank you so much

El mié., 13 feb. 2019 a las 21:34, Nick Frunza (<nfrunza@...>) escribió:
It is hard to figure out your problem either you have invalid config.json, or fabric issues, please email the last 50 lines from 

<explorer path>blockchain-explorer/logs/app/app.log file

thank you

Nik


On Wed, Feb 13, 2019 at 2:16 PM Fernando Gomez <fggrocha@...> wrote:
Hi,

Now i have this error:

postgres://hppoc:password@....0.1:5432/fabricexplorer
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>
TypeError: Cannot read property 'substring' of undefined
    at processTLS_URL (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:66:21)
    at cloneConfig (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:58:19)
    at Object.createDetachClient (/home/fernando/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:39:25)
    at Platform.buildClients (/home/fernando/blockchain-explorer/app/platform/fabric/Platform.js:105:38)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
(node:10711) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
Received kill signal, shutting down gracefully
Closed out connections

Regads

El dom., 10 feb. 2019 a las 23:05, Nick Frunza (<nfrunza@...>) escribió:
Please use a json validator to see the syntax error, copy and paste your config.json, you can use: https://jsonformatter.curiousconcept.com/


On Sat, Feb 9, 2019 at 8:41 AM Jean-Gaël Dominé <jgdomine@...> wrote:
Hi,

In the content you gave, a last bracket is missing. Thus your json file ends prematurely... :)

Hope it will fix your problem

JG



--
Nik Frunza



--
Nik Frunza



--
Nik Frunza