mgutala (Mon, 13 Feb 2017 15:16:19 GMT):
Latest Blockchain explorer design doc : https://docs.google.com/document/d/1GuVNHZ5Jqq-gTVKflnZ1YiJfEoozvugqenC6QEQFQj4/edit?usp=sharing

mgutala (Mon, 13 Feb 2017 15:16:19 GMT):
Latest Blockchain explorer design doc : https://docs.google.com/document/d/1GuVNHZ5Jqq-gTVKflnZ1YiJfEoozvugqenC6QEQFQj4/edit?usp=sharing

Dan (Mon, 13 Feb 2017 18:59:53 GMT):
Has joined the channel.

ShaneCurcuru (Mon, 13 Feb 2017 21:34:16 GMT):
Has joined the channel.

silliman (Mon, 13 Feb 2017 23:13:50 GMT):
Has joined the channel.

rjones (Tue, 14 Feb 2017 00:00:23 GMT):
Has joined the channel.

rjones (Tue, 14 Feb 2017 00:01:09 GMT):
Has left the channel.

OlufAndrews (Tue, 14 Feb 2017 02:15:44 GMT):
Has joined the channel.

OlufAndrews (Tue, 14 Feb 2017 02:16:27 GMT):
Cool thanks.

jdockter (Tue, 14 Feb 2017 14:22:07 GMT):
Has joined the channel.

zwsyjj (Wed, 15 Feb 2017 02:13:07 GMT):
Has joined the channel.

ray (Wed, 15 Feb 2017 03:51:52 GMT):
Has joined the channel.

zhangchao (Wed, 15 Feb 2017 05:45:43 GMT):
Has joined the channel.

donaldsbell (Wed, 15 Feb 2017 14:42:33 GMT):
Has joined the channel.

henriquecd (Wed, 15 Feb 2017 15:02:11 GMT):
Has joined the channel.

pschwarz (Wed, 15 Feb 2017 20:30:17 GMT):
Has joined the channel.

UshKrish (Thu, 16 Feb 2017 02:30:21 GMT):
Has joined the channel.

saifulislamsaaif (Thu, 16 Feb 2017 07:54:28 GMT):
Has joined the channel.

knagware9 (Thu, 16 Feb 2017 09:23:14 GMT):
Has joined the channel.

wutongtree (Thu, 16 Feb 2017 09:45:11 GMT):
Has joined the channel.

subaru365 (Thu, 16 Feb 2017 12:20:56 GMT):
Has joined the channel.

bravera (Thu, 16 Feb 2017 14:33:43 GMT):
Has joined the channel.

rrader (Thu, 16 Feb 2017 15:08:51 GMT):
Has joined the channel.

alviontaran (Thu, 16 Feb 2017 16:15:16 GMT):
Has joined the channel.

ylsGit (Fri, 17 Feb 2017 02:30:34 GMT):
Has joined the channel.

Murali.Alluri (Fri, 17 Feb 2017 13:02:43 GMT):
Has joined the channel.

bravera (Fri, 17 Feb 2017 15:34:45 GMT):
Is there any way to use the explorer to view the details of the payload?

rcampos@altus.cr (Fri, 17 Feb 2017 15:55:17 GMT):
Has joined the channel.

jdockter (Fri, 17 Feb 2017 16:00:03 GMT):
@bravera I haven't seen it...I just copy the payload from explorer into https://www.base64decode.org/

bravera (Fri, 17 Feb 2017 16:37:40 GMT):
@jdockter that works! cheers

jsong1230 (Sat, 18 Feb 2017 08:21:01 GMT):
Has joined the channel.

jsong1230 (Sat, 18 Feb 2017 08:21:26 GMT):
I cannot find a transaction using UUID in the search window.

sidiyer (Sat, 18 Feb 2017 19:59:18 GMT):
Has joined the channel.

kbombach (Mon, 20 Feb 2017 06:22:57 GMT):
Has joined the channel.

dazzaji (Mon, 20 Feb 2017 07:05:58 GMT):
Has joined the channel.

YanLi (Mon, 20 Feb 2017 07:25:10 GMT):
Has joined the channel.

rkiouak (Mon, 20 Feb 2017 21:15:58 GMT):
Has joined the channel.

Liqui (Tue, 21 Feb 2017 00:02:16 GMT):
Has joined the channel.

Senthil1 (Tue, 21 Feb 2017 05:21:27 GMT):
Has joined the channel.

allwelder (Tue, 21 Feb 2017 08:31:34 GMT):
Has joined the channel.

jessilb (Tue, 21 Feb 2017 11:39:20 GMT):
Has joined the channel.

mgutala (Tue, 21 Feb 2017 15:56:29 GMT):
@jsong1230, that functionality is broken in that version of explorer. We are currently working on a newer version that works with fabric 1.0

mgutala (Tue, 21 Feb 2017 15:57:29 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=v2FTE3aottXNfkrWP) @bravera , Current version of explorer does not support decoding payloads.

Flyers (Tue, 21 Feb 2017 21:30:59 GMT):
Has joined the channel.

v_thirugnanam (Tue, 21 Feb 2017 21:56:04 GMT):
Has joined the channel.

LumirB (Tue, 21 Feb 2017 23:01:19 GMT):
Has joined the channel.

dragosh (Wed, 22 Feb 2017 10:38:03 GMT):
Has joined the channel.

rrader (Wed, 22 Feb 2017 14:36:20 GMT):
Is there an example of explorer with docker?

rrader (Wed, 22 Feb 2017 14:51:55 GMT):
btw, where I can find explorer for v1?

stanacton (Wed, 22 Feb 2017 16:21:24 GMT):
Has joined the channel.

mgutala (Wed, 22 Feb 2017 21:16:32 GMT):
we are still working on it. We don't have it available yet.

bart.cant@gmail.com (Wed, 22 Feb 2017 23:34:45 GMT):
Has joined the channel.

bartcant (Thu, 23 Feb 2017 02:11:47 GMT):
Has joined the channel.

DannyWong (Thu, 23 Feb 2017 02:18:01 GMT):
Has joined the channel.

padmaja (Thu, 23 Feb 2017 11:17:56 GMT):
Has joined the channel.

ager (Thu, 23 Feb 2017 15:56:48 GMT):
Has joined the channel.

kdj (Thu, 23 Feb 2017 16:49:21 GMT):
Has joined the channel.

Regena (Thu, 23 Feb 2017 20:09:29 GMT):
Has joined the channel.

albrandt (Fri, 24 Feb 2017 14:09:41 GMT):
Has joined the channel.

jfiscella (Sat, 25 Feb 2017 05:43:23 GMT):
Has joined the channel.

Michael1891 (Sat, 25 Feb 2017 18:34:15 GMT):
Has joined the channel.

wisam.mohammed (Sun, 26 Feb 2017 03:08:16 GMT):
Has joined the channel.

vinodsankar (Mon, 27 Feb 2017 08:51:30 GMT):
Has joined the channel.

mayerwa (Mon, 27 Feb 2017 13:57:51 GMT):
Has joined the channel.

bkvellanki (Mon, 27 Feb 2017 21:55:01 GMT):
Has joined the channel.

jeffchi (Tue, 28 Feb 2017 02:49:58 GMT):
Has joined the channel.

beauson45 (Tue, 28 Feb 2017 10:55:28 GMT):
Has joined the channel.

shiju (Tue, 28 Feb 2017 17:24:15 GMT):
Has joined the channel.

snowy13 (Tue, 28 Feb 2017 22:59:48 GMT):
Has joined the channel.

SyneBlockChainTeam (Wed, 01 Mar 2017 11:41:33 GMT):
Has joined the channel.

venkatrammohan (Wed, 01 Mar 2017 14:25:54 GMT):
Has joined the channel.

awalias (Wed, 01 Mar 2017 16:00:51 GMT):
Has joined the channel.

YueyueZhao (Thu, 02 Mar 2017 11:07:44 GMT):
Has joined the channel.

icordoba (Thu, 02 Mar 2017 12:06:35 GMT):
Has joined the channel.

Dan (Thu, 02 Mar 2017 23:04:24 GMT):
@rrader you might also be interested in looking at this explorer code: http://intelledger.github.io/mktnav_users_guide.html The intent is that explorer project will accomodate access to fabric as well as sawtooth.

raghavsood (Fri, 03 Mar 2017 07:18:00 GMT):
Has joined the channel.

raghavsood (Fri, 03 Mar 2017 07:18:56 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=JSKSjuCcjj97mue5b) @mgutala I'd like to add this. Do I need to open up a JIRA, or can I just do a PR on gerrit directly?

deepakvparmar (Fri, 03 Mar 2017 08:24:47 GMT):
Has joined the channel.

deepakvparmar (Fri, 03 Mar 2017 08:26:35 GMT):
1:42 PM I am trying to setup blockchain explorer, hyperladger fabric is running successfully, not able to connect blockchain explorer to running fabric.. tried to change HYP_REST_ENDPOINT and HTTP_PORT , but still exp-server.js is trying to connect 120.0.0.1:7050, Any pointer would be very helpful , Thank You.

deepakvparmar (Fri, 03 Mar 2017 08:30:33 GMT):
I am getting following error : { Error: connect ECONNREFUSED 127.0.0.1:7050 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7050 }

mnarayan (Fri, 03 Mar 2017 11:30:22 GMT):
Has joined the channel.

lohitkrishnan (Fri, 03 Mar 2017 12:00:48 GMT):
Has joined the channel.

szaidi (Fri, 03 Mar 2017 17:46:11 GMT):
Has joined the channel.

rrader (Fri, 03 Mar 2017 18:54:32 GMT):
Is it working with v0.6?

deepakvparmar (Mon, 06 Mar 2017 04:58:03 GMT):
@rrader : Yes, I am trying with fabric v0.6.

WeDoIoE (Tue, 07 Mar 2017 00:16:09 GMT):
Has joined the channel.

GenkiA (Tue, 07 Mar 2017 03:47:52 GMT):
Has joined the channel.

codewinguagua (Tue, 07 Mar 2017 08:34:58 GMT):
Has joined the channel.

lehors (Tue, 07 Mar 2017 11:44:28 GMT):
Has joined the channel.

djdeutsch (Tue, 07 Mar 2017 21:09:54 GMT):
Has joined the channel.

Tadashi (Wed, 08 Mar 2017 01:31:46 GMT):
Has joined the channel.

AbhilekhSingh (Wed, 08 Mar 2017 11:58:59 GMT):
Has joined the channel.

SushilChaturvedi (Wed, 08 Mar 2017 12:13:01 GMT):
Has joined the channel.

AbhilekhSingh (Wed, 08 Mar 2017 13:51:11 GMT):
How can I see ledger blocks data store on peer? I don't see any option in peer cli I see blockchain explorer but it only supports 0.6

mgutala (Wed, 08 Mar 2017 14:40:09 GMT):
Current explorer should support 0.6. You should be able to see the blocks

mgutala (Wed, 08 Mar 2017 14:41:04 GMT):
@deepakvparmar, Could you please send me the command how you are starting explorer ?

Suma (Wed, 08 Mar 2017 15:40:13 GMT):
Has joined the channel.

kosullivan (Wed, 08 Mar 2017 18:15:57 GMT):
Has joined the channel.

kosullivan (Wed, 08 Mar 2017 18:22:48 GMT):
HI - I'm getting same error as @deepakvparmar (ECONNREFUSED). I followed the Fabric Composer getting started https://fabric-composer.github.io/start/quickstart.html instructions and have fabric running.

kosullivan (Wed, 08 Mar 2017 18:23:02 GMT):
I run `docker run yeasy/blockchain-explorer` to start blockchain explorer but I get the ECONNREFUSED error.

kosullivan (Wed, 08 Mar 2017 18:23:37 GMT):
Opening `127.0.0.1:7050` in browser displays ``` { Error: "Openchain endpoint not found." }```

kosullivan (Wed, 08 Mar 2017 18:24:04 GMT):
And opening `http://127.0.0.1:7050/chain` in browser displays ``` { height: 7, currentBlockHash: "HXAPtHcCNBcXdthL6v+N92KcCcWqqyqPsTGv855nOikuB0HhVO4V77qgXnoNoElTYJNZ0ARJbw1phCkyuy/5oA==", previousBlockHash: "8ltOJMYgC3DqgHEHPVpLjPExjcvFOcCUMg9UohawHXkou3nTFd8qSkiDWsq1grMluIlVNa5FR+KiD6WBlfcj2Q==" } ```

mgutala (Wed, 08 Mar 2017 19:48:45 GMT):
docker run -p 9090:9090 -e HYP_REST_ENDPOINT=http://172.17.0.2:7050 yeasy/blockchain-explorer

mgutala (Wed, 08 Mar 2017 19:48:53 GMT):
is this the command you tried ?

mgutala (Wed, 08 Mar 2017 19:49:05 GMT):
explorer should come up on localhost:9090

mgutala (Wed, 08 Mar 2017 19:49:15 GMT):
https://localhost:9090

mgutala (Wed, 08 Mar 2017 19:49:29 GMT):
sorry http://localhost:9090

mgutala (Wed, 08 Mar 2017 19:50:05 GMT):
docker run -p 9090:9090 -e HYP_REST_ENDPOINT=http://172.17.0.1:7050 yeasy/blockchain-explorer

kosullivan (Wed, 08 Mar 2017 22:16:56 GMT):
```$ docker run -p 9090:9090 -e HYP_REST_ENDPOINT=http://localhost:7050 yeasy/blockchain-explorer Compiling all doT templates... Compiling HyperlegerExplorer.jst to file { Error: connect ECONNREFUSED 127.0.0.1:7050 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7050 } ```

kosullivan (Wed, 08 Mar 2017 22:17:24 GMT):
There is something listening on localhost, port 7050:

kosullivan (Wed, 08 Mar 2017 22:17:32 GMT):
``` $ telnet 127.0.0.1 7050 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. ^C^C^Z Connection closed by foreign host. ```

xiangyw (Thu, 09 Mar 2017 01:34:42 GMT):
Has joined the channel.

xixuejia (Thu, 09 Mar 2017 03:31:54 GMT):
Has joined the channel.

Willson (Thu, 09 Mar 2017 06:10:14 GMT):
Has joined the channel.

xiangyw (Thu, 09 Mar 2017 06:55:58 GMT):
hi,how to make the explorer run, i am just test fabric successfully with 3 node(1 ca,1orderer,1peer)

xiangyw (Thu, 09 Mar 2017 06:56:04 GMT):
use version 1.0

xiangyw (Thu, 09 Mar 2017 06:56:48 GMT):
i got the yeasy/blockchain-explorer image ,what's next

xiangyw (Thu, 09 Mar 2017 06:59:48 GMT):
anybody can guide me or give me a doc link

xiangyw (Thu, 09 Mar 2017 07:40:13 GMT):

Message Attachments

xiangyw (Thu, 09 Mar 2017 07:40:21 GMT):
anyone tested this with version 1.0?

deepakvparmar (Thu, 09 Mar 2017 09:05:11 GMT):
Not tested with 1.0, but working with 0.6

deepakvparmar (Thu, 09 Mar 2017 09:33:35 GMT):
@mgutala : I had problem with environment problem, now Its working fine.

deepakvparmar (Thu, 09 Mar 2017 09:34:08 GMT):
** with configuration of environment problems.

deepakvparmar (Thu, 09 Mar 2017 09:45:32 GMT):
environment variables problem***

gatakka (Thu, 09 Mar 2017 12:35:23 GMT):
Has joined the channel.

aberfou (Thu, 09 Mar 2017 13:49:07 GMT):
Has joined the channel.

kosullivan (Thu, 09 Mar 2017 18:58:40 GMT):
Hi - would anyone know why I'm getting ECONNREFUSED when running blockchain explorer: ```$ docker run -p 9090:9090 -e HYP_REST_ENDPOINT=http://localhost:7050 yeasy/blockchain-explorer Compiling all doT templates... Compiling HyperlegerExplorer.jst to file { Error: connect ECONNREFUSED 127.0.0.1:7050 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7050 }``` Fabric is running, or at least I get this response from that port: ```$ curl 127.0.0.1:7050 {"Error":"Openchain endpoint not found."}```

kosullivan (Thu, 09 Mar 2017 18:59:05 GMT):
Should I get a different response?

Manikanda Gunasekaran (Thu, 09 Mar 2017 21:28:45 GMT):
Has joined the channel.

raj (Fri, 10 Mar 2017 15:37:56 GMT):
Has joined the channel.

JatinderBali (Fri, 10 Mar 2017 15:40:17 GMT):
Has joined the channel.

mgutala (Fri, 10 Mar 2017 20:14:39 GMT):
Please try the solution mentioned here

mgutala (Fri, 10 Mar 2017 20:14:41 GMT):
http://stackoverflow.com/questions/30495905/accessing-host-machine-as-localhost-from-a-docker-container-thats-also-inside-a

grapebaba (Tue, 14 Mar 2017 00:27:57 GMT):
Has joined the channel.

fennelD7 (Tue, 14 Mar 2017 05:48:18 GMT):
Has joined the channel.

amilazzo (Tue, 14 Mar 2017 11:32:24 GMT):
Has joined the channel.

goupadhy (Tue, 14 Mar 2017 14:53:11 GMT):
Has joined the channel.

asutosh (Wed, 15 Mar 2017 13:27:22 GMT):
Has joined the channel.

JonathanTan (Thu, 16 Mar 2017 06:03:22 GMT):
Has joined the channel.

habpygo (Fri, 17 Mar 2017 14:30:33 GMT):
Has joined the channel.

mgutala (Fri, 17 Mar 2017 17:28:14 GMT):

mgutala (Fri, 17 Mar 2017 18:08:21 GMT):

Message Attachments

abutler (Sat, 18 Mar 2017 18:50:49 GMT):
Has joined the channel.

DannyWong (Sun, 19 Mar 2017 05:42:53 GMT):
nice let us take a look

hycind (Sun, 19 Mar 2017 19:50:25 GMT):
Has joined the channel.

zlliu (Mon, 20 Mar 2017 11:34:45 GMT):
Has joined the channel.

ananth_s (Mon, 20 Mar 2017 17:40:23 GMT):
Has joined the channel.

YE.Yaocheng (Tue, 21 Mar 2017 06:10:28 GMT):
Has joined the channel.

akashmar (Tue, 21 Mar 2017 21:00:18 GMT):
Has joined the channel.

akashmar (Tue, 21 Mar 2017 21:08:13 GMT):
I'm getting the ECONNREFUSED as well but there's nothing running on port 7050. Do I need to start the REST api manually?

YE.Yaocheng (Wed, 22 Mar 2017 02:31:48 GMT):
what version fabric are u running? @akashmar , I succeeded deploying the explorer with fabric v0.6

sbso (Wed, 22 Mar 2017 06:43:39 GMT):
Has joined the channel.

akashmar (Wed, 22 Mar 2017 13:18:56 GMT):
@YE.Yaocheng I'm running 1.0. Is REST running on a different port in 1.0?

Reda.c (Wed, 22 Mar 2017 15:30:45 GMT):
Has joined the channel.

ProfessorX (Wed, 22 Mar 2017 16:39:50 GMT):
Has joined the channel.

YE.Yaocheng (Thu, 23 Mar 2017 00:32:24 GMT):
@akashmar I think only grpc api is provided in v1.0

Shadow-Hawk (Thu, 23 Mar 2017 00:53:51 GMT):
Has joined the channel.

Yinsheng (Thu, 23 Mar 2017 03:48:27 GMT):
Has joined the channel.

deepakvparmar (Thu, 23 Mar 2017 06:00:06 GMT):
@akashmar : No REST support in 1.0, would suggest to run fabric 1.0 first then try with explorer again.

deepakvparmar (Thu, 23 Mar 2017 08:51:09 GMT):
I am also facing issue while configuring explorer with fabric 1.0, Fabric 1.0 is running successfully, but getting error of invalid URL with every probable combination of ipaddress and port i have provided for HYP_REST_ENDPOINT varaible. I am using DockerToolbox on Windows

deepakvparmar (Thu, 23 Mar 2017 08:51:37 GMT):

Message Attachments

anik (Thu, 23 Mar 2017 08:52:00 GMT):
Has joined the channel.

deepakvparmar (Thu, 23 Mar 2017 09:02:42 GMT):
If i am setting HYP_REST_ENDPOINT = http://192.168.99.100:7050 where 192.168.99.100 is ip address of docker-machine, then getting following error

deepakvparmar (Thu, 23 Mar 2017 09:02:53 GMT):

Message Attachments

ecn (Thu, 23 Mar 2017 09:49:10 GMT):
Has joined the channel.

matanyahu (Thu, 23 Mar 2017 10:52:40 GMT):
Has joined the channel.

dannysun85 (Thu, 23 Mar 2017 10:52:58 GMT):
Has joined the channel.

akashmar (Thu, 23 Mar 2017 13:49:55 GMT):
@deepakvparmar yeah i get the same error when I use 7050

david.stark (Thu, 23 Mar 2017 15:32:31 GMT):
Has joined the channel.

deepakvparmar (Fri, 24 Mar 2017 05:24:39 GMT):
If there is no support for REST in fabric 1.0, then how to configure Explorer? or Explorer has not yet implemented support for fabric 1.0?

silliman (Mon, 27 Mar 2017 11:43:13 GMT):
Has left the channel.

silliman (Mon, 27 Mar 2017 14:29:25 GMT):
Has joined the channel.

chengc (Tue, 28 Mar 2017 08:33:29 GMT):
Has joined the channel.

deepakvparmar (Wed, 29 Mar 2017 07:09:07 GMT):
Anyone able to configure Explorer with Fabric 1.0?

DennisM330 (Wed, 29 Mar 2017 21:06:02 GMT):
Has joined the channel.

Donald Liu (Thu, 30 Mar 2017 09:25:30 GMT):
Has joined the channel.

michaellongoria (Sun, 02 Apr 2017 00:15:11 GMT):
Has joined the channel.

Swagabond (Mon, 03 Apr 2017 03:36:45 GMT):
Has joined the channel.

mihai.cimpoesu (Tue, 04 Apr 2017 08:48:01 GMT):
Has joined the channel.

mydiva (Wed, 05 Apr 2017 11:05:55 GMT):
Has joined the channel.

czar0 (Wed, 05 Apr 2017 13:25:44 GMT):
Has joined the channel.

venky.bandaru (Wed, 05 Apr 2017 21:59:46 GMT):
Has joined the channel.

venky.bandaru (Wed, 05 Apr 2017 22:01:20 GMT):
I am getting below error can someone help me.

venky.bandaru (Wed, 05 Apr 2017 22:01:21 GMT):
$ ./generateCfgTrx.sh myc1 Channel name - myc1 Building configtxgen build/bin/configtxgen CGO_CFLAGS=" " GOBIN=/cygdrive/c/go/src/github.com/hyperledger/fabric/build/bin go install -ldflags "-X github.com/hyperledger/fabric/c ommon/metadata.Version=1.0.0-snapshot-d829851 -X github.com/hyperledger/fabric/common/metadata.BaseVersion=0.3.0 -X github.com/hyperled ger/fabric/common/metadata.BaseDockerLabel=org.hyperledger.fabric -X github.com/hyperledger/fabric/common/metadata.DockerNamespace=hype rledger -X github.com/hyperledger/fabric/common/metadata.BaseDockerNamespace=hyperledger" github.com/hyperledger/fabric/common/configtx /tool/configtxgen cannot install, GOBIN must be an absolute path make: *** [Makefile:190: build/bin/configtxgen] Error 1 Generating genesis block ./generateCfgTrx.sh: line 21: ./build/bin/configtxgen: No such file or directory mv: cannot stat 'orderer.block': No such file or directory Generating channel configuration transaction ./generateCfgTrx.sh: line 25: ./build/bin/configtxgen: No such file or directory mv: cannot stat 'channel.tx': No such file or directory

venky.bandaru (Wed, 05 Apr 2017 22:02:13 GMT):
$ echo $GOBIN /c/go/bin/

DrTES (Wed, 05 Apr 2017 22:30:09 GMT):
Has joined the channel.

ranjan008 (Thu, 06 Apr 2017 09:26:49 GMT):
Has joined the channel.

lizhih (Thu, 06 Apr 2017 09:43:23 GMT):
Has joined the channel.

joekozhaya (Thu, 06 Apr 2017 18:20:42 GMT):
Has joined the channel.

tmartin (Fri, 07 Apr 2017 19:48:08 GMT):
Has joined the channel.

Adeel Qureshi (Sat, 08 Apr 2017 15:09:16 GMT):
Has joined the channel.

ray (Sat, 08 Apr 2017 16:18:21 GMT):
Has left the channel.

Adeel Qureshi (Sun, 09 Apr 2017 13:36:29 GMT):
Dears, Is there any guide, tutorial or any collateral you can refer me to which can act as a "Hello World" styled guide on how to get Fabric v1.0 development environment up and running (on cloud or local) . ? I'm specifically looking for fabric 1.0 and not 0.6

anoopmrgowda (Mon, 10 Apr 2017 02:45:31 GMT):
Has joined the channel.

parsilva (Mon, 10 Apr 2017 09:43:06 GMT):
Has joined the channel.

MikeMayori (Tue, 11 Apr 2017 15:21:54 GMT):
Has joined the channel.

MikeMayori (Tue, 11 Apr 2017 15:26:48 GMT):
You can start setting up a docker environment to have a fabric v1 (download from gerrit) running there.. I do not know if the explorer is running in this version , i will have to try my self

Lin-YiTang (Tue, 11 Apr 2017 21:12:18 GMT):
Has joined the channel.

RajDatta (Wed, 12 Apr 2017 14:46:40 GMT):
Has joined the channel.

msoumeit (Wed, 12 Apr 2017 17:04:55 GMT):
Has joined the channel.

izelpii (Wed, 12 Apr 2017 21:54:21 GMT):
Has joined the channel.

mathieu_b (Thu, 13 Apr 2017 07:40:35 GMT):
Has joined the channel.

h.medhioub (Thu, 13 Apr 2017 11:57:47 GMT):
Has joined the channel.

haiderny (Thu, 13 Apr 2017 14:10:42 GMT):
Has joined the channel.

MikeMayori (Thu, 13 Apr 2017 16:12:48 GMT):
Same problem Here @deepakvparmar

MikeMayori (Thu, 13 Apr 2017 16:13:53 GMT):
Seems like this chat is abandoned !! Since no body from the team is aswering

achraf17 (Thu, 13 Apr 2017 16:28:04 GMT):
Has joined the channel.

alys (Fri, 14 Apr 2017 23:05:42 GMT):
Has joined the channel.

Dpkkmr (Sun, 16 Apr 2017 14:52:39 GMT):
Has joined the channel.

vivekraut (Mon, 17 Apr 2017 05:34:55 GMT):
Has joined the channel.

rogeriofza (Mon, 17 Apr 2017 21:52:19 GMT):
Has joined the channel.

SrinivaasVenkatarayan (Tue, 18 Apr 2017 10:16:40 GMT):
Has joined the channel.

Gaurav_Impro (Wed, 19 Apr 2017 09:52:38 GMT):
Has joined the channel.

Gaurav_Impro (Wed, 19 Apr 2017 09:56:46 GMT):
hi..do we have any way to run the explorer with fabric 1.0

jinvanstee (Thu, 20 Apr 2017 02:14:13 GMT):
Has joined the channel.

yoshikiakita (Thu, 20 Apr 2017 08:21:49 GMT):
Has joined the channel.

ulysses (Thu, 20 Apr 2017 17:41:20 GMT):
Has joined the channel.

raghavsood (Fri, 21 Apr 2017 05:10:21 GMT):
Has left the channel.

mgk (Fri, 21 Apr 2017 22:35:41 GMT):
Has joined the channel.

ioctl (Sat, 22 Apr 2017 16:32:46 GMT):
Has joined the channel.

chiutceric (Sun, 23 Apr 2017 13:50:41 GMT):
Has joined the channel.

rranslam (Sun, 23 Apr 2017 17:03:16 GMT):
Has joined the channel.

eljoujat (Mon, 24 Apr 2017 14:31:58 GMT):
Has joined the channel.

MikeMayori (Mon, 24 Apr 2017 21:21:58 GMT):
There is a new proposal ,they probrably are working on it as we text

shreyankg (Tue, 25 Apr 2017 16:17:30 GMT):
Has joined the channel.

AmberZhang (Wed, 26 Apr 2017 01:02:14 GMT):
Has joined the channel.

arun17 (Wed, 26 Apr 2017 10:23:39 GMT):
Has joined the channel.

swangbj (Thu, 27 Apr 2017 01:43:01 GMT):
Has joined the channel.

swangbj (Thu, 27 Apr 2017 02:38:00 GMT):
hi , blockchain-explorer is based on 1.0 or 0.6?

xixuejia (Thu, 27 Apr 2017 03:04:25 GMT):
@swangbj 0.6

swangbj (Thu, 27 Apr 2017 03:04:40 GMT):
@xixuejia thx

hayato (Fri, 28 Apr 2017 07:00:39 GMT):
Has joined the channel.

wsh_bob (Fri, 28 Apr 2017 08:13:14 GMT):
Has joined the channel.

Amanskywalker (Fri, 28 Apr 2017 18:20:47 GMT):
Has joined the channel.

krasi69 (Sat, 29 Apr 2017 14:37:11 GMT):
Has joined the channel.

anistark (Sat, 29 Apr 2017 18:21:20 GMT):
Has joined the channel.

robertbrown (Mon, 01 May 2017 17:16:36 GMT):
Has joined the channel.

chris.loza (Mon, 01 May 2017 17:45:02 GMT):
Has joined the channel.

Lakshmipadmaja (Tue, 02 May 2017 04:59:02 GMT):
Has joined the channel.

mayurpabari (Tue, 02 May 2017 07:09:40 GMT):
Has joined the channel.

noursaadallah (Tue, 02 May 2017 09:22:12 GMT):
Has joined the channel.

marek.dapps (Wed, 03 May 2017 09:02:37 GMT):
Has joined the channel.

SoumyaP (Thu, 04 May 2017 06:48:41 GMT):
Has joined the channel.

smkriz (Fri, 05 May 2017 04:18:30 GMT):
Has joined the channel.

cauep (Fri, 05 May 2017 17:56:49 GMT):
Has joined the channel.

praveennagpal (Sat, 06 May 2017 12:45:20 GMT):
Has joined the channel.

phuoc.doan (Sun, 07 May 2017 12:07:35 GMT):
Has joined the channel.

rohitbordia (Mon, 08 May 2017 18:50:45 GMT):
Has joined the channel.

paulmersky (Mon, 08 May 2017 19:46:33 GMT):
Has joined the channel.

amber-zhang (Tue, 09 May 2017 00:56:11 GMT):
Has joined the channel.

BucciA (Tue, 09 May 2017 13:48:45 GMT):
Has joined the channel.

BucciA (Tue, 09 May 2017 14:32:02 GMT):
hello house

BucciA (Tue, 09 May 2017 14:32:19 GMT):
I need support to deploy a blockchain network

BucciA (Tue, 09 May 2017 14:32:37 GMT):
can I get any support

abaumhof (Wed, 10 May 2017 01:32:50 GMT):
Has joined the channel.

jojialex2 (Wed, 10 May 2017 03:55:42 GMT):
Has joined the channel.

dataharvest (Wed, 10 May 2017 16:35:07 GMT):
Has joined the channel.

Jay (Thu, 11 May 2017 06:12:25 GMT):
Has joined the channel.

sushant.dusad (Thu, 11 May 2017 10:18:42 GMT):
Has joined the channel.

plberaso (Thu, 11 May 2017 11:08:59 GMT):
Has joined the channel.

ashishbaju (Thu, 11 May 2017 11:09:26 GMT):
Has joined the channel.

dhuseby (Thu, 11 May 2017 14:15:58 GMT):
Has joined the channel.

webdaford (Thu, 11 May 2017 18:56:01 GMT):
Has joined the channel.

pd93 (Fri, 12 May 2017 15:01:49 GMT):
Has joined the channel.

cshields (Sun, 14 May 2017 18:55:18 GMT):
Has joined the channel.

warm3snow (Mon, 15 May 2017 03:37:01 GMT):
Has joined the channel.

aashishshrestah (Tue, 16 May 2017 14:40:11 GMT):
Has joined the channel.

hdelacru (Tue, 16 May 2017 21:55:21 GMT):
Has joined the channel.

helderam (Wed, 17 May 2017 10:03:28 GMT):
Has joined the channel.

helderam (Wed, 17 May 2017 10:06:26 GMT):
hi

mahoney1 (Fri, 19 May 2017 17:02:01 GMT):
Has joined the channel.

shivann (Fri, 19 May 2017 17:55:56 GMT):
Has joined the channel.

bmalavan (Sat, 20 May 2017 14:21:31 GMT):
Has joined the channel.

HyperHero (Sat, 20 May 2017 16:25:47 GMT):
Has joined the channel.

mackeee (Sun, 21 May 2017 06:21:50 GMT):
Has joined the channel.

Calvin_Heo (Mon, 22 May 2017 02:51:16 GMT):
Has joined the channel.

SanketPanchamia (Mon, 22 May 2017 04:10:19 GMT):
Has joined the channel.

Willson (Tue, 23 May 2017 06:14:59 GMT):
Has left the channel.

selvaraman (Wed, 24 May 2017 11:57:23 GMT):
Has joined the channel.

rfu2k (Wed, 24 May 2017 21:22:20 GMT):
Has joined the channel.

duwenhui (Fri, 26 May 2017 06:08:34 GMT):
Has joined the channel.

cophey (Fri, 26 May 2017 08:27:11 GMT):
Has joined the channel.

rajeev20 (Mon, 29 May 2017 14:44:49 GMT):
Has joined the channel.

bmkor (Wed, 31 May 2017 00:23:51 GMT):
Has joined the channel.

GOWDHAMAN (Wed, 31 May 2017 04:21:59 GMT):
Has joined the channel.

NaveenKondeti (Fri, 02 Jun 2017 07:04:53 GMT):
Has joined the channel.

selvaraman (Mon, 05 Jun 2017 11:15:20 GMT):
I am following this getting started guide http://hyperledger-fabric.readthedocs.io/en/latest/getting_started.html what is ? Is this huge result of previous command like the following? Received block: header:<6:39 0:"\x00" } 0:4 4:1471 5:/* unknown wire type 7 */ 13:1668998633 185926:/* unknown wire type 6 */ 4:74 5:315128909 } 7:/* unknown wire type 7 */ 17696280:1006362260 14 { 448:/* unexpected EOF */ >data:<1:------------ >metadata: Should i execute like this? peer channel join -b <6:39 0:"\x00" } 0:4 4:1471 5:/* unknown wire type 7 */ 13:1668998633 185926:/* unknown wire type 6 */ 4:74 5:315128909 } 7:/* unknown wire type 7 */ 17696280:1006362260 14 { 448:/* unexpected EOF */ >data:<1:------------ >metadata:

travin (Mon, 05 Jun 2017 19:55:39 GMT):
Has joined the channel.

travin (Mon, 05 Jun 2017 19:56:02 GMT):
Hi Hyperledger Explorer team. I'm from the White Paper WG and we're looking for someone to write the overview section about Explorer as well as perhaps include a highlighted feature for that section. If you're interested, or know someone I should contact, please send me a private message about it. Thank you for your time!

jdockter (Mon, 05 Jun 2017 20:53:55 GMT):
Has left the channel.

jarroyer (Tue, 06 Jun 2017 16:14:55 GMT):
Has joined the channel.

TakeKerkhof (Tue, 06 Jun 2017 18:56:57 GMT):
Has joined the channel.

rohitaneja8 (Wed, 07 Jun 2017 06:08:29 GMT):
Has joined the channel.

tkuhrt (Wed, 07 Jun 2017 18:01:36 GMT):
Has joined the channel.

sourchak (Thu, 08 Jun 2017 10:18:56 GMT):
Has joined the channel.

sourchak (Thu, 08 Jun 2017 10:24:21 GMT):
Hi, I am following this getting started guide http://hyperledger-fabric.readthedocs.io/en/latest/getting_started.html using Docker Toolbox (Docker version 17.05.0-ce, build 89658be). But I am getting this error when want to start the network using any of these commands : $ CHANNEL_NAME=mychannel TIMEOUT=1000 docker-compose -f docker-compose-cli.yaml up / ./network_setup.sh up abc 1000

sourchak (Thu, 08 Jun 2017 10:24:56 GMT):
Error Details : main.main() /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:114 +0x69b panic: Fatal error when setting up MSP from directory /opt/gopath/src/github.com /hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@o rg1.example.com/msp: err Could not load a valid signer certificate from director y /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/or g1.example.com/users/Admin@org1.example.com/msp/signcerts, err stat /opt/gopath/ src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com /users/Admin@org1.example.com/msp/signcerts: no such file or directory

sourchak (Thu, 08 Jun 2017 10:26:17 GMT):
I am assuming that there isa path mapping issue here between UNIX and windows 7. Please advise how I can resolve this issue?

tkuhrt (Thu, 08 Jun 2017 16:06:30 GMT):
Hi, @sourchak This appears to be a question for the Fabric team. Have you checked in one of the #fabric channels?

trbs (Thu, 08 Jun 2017 16:11:58 GMT):
Has joined the channel.

silliman (Thu, 08 Jun 2017 19:47:04 GMT):
Has left the channel.

butch.g (Fri, 09 Jun 2017 02:10:32 GMT):
Has joined the channel.

sourchak (Fri, 09 Jun 2017 09:24:37 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=QJ4NZsLrztqRyCoCA) @tkuhrt Hi @tkuhrt .. I have asked this question in the #fabric channel. Thanks for redirecting it to the proper channel..

tuliomonteiro (Fri, 09 Jun 2017 18:12:53 GMT):
Has joined the channel.

jrezwan (Sun, 11 Jun 2017 16:12:45 GMT):
Has joined the channel.

Mnorberto (Mon, 12 Jun 2017 04:13:28 GMT):
Has joined the channel.

nhrishi (Mon, 12 Jun 2017 08:30:34 GMT):
Has joined the channel.

william123 (Mon, 12 Jun 2017 13:43:30 GMT):
Has joined the channel.

lm_nop (Mon, 12 Jun 2017 23:14:39 GMT):
Has joined the channel.

AdwindOne (Tue, 13 Jun 2017 08:50:53 GMT):
Has joined the channel.

SurkaJang (Tue, 13 Jun 2017 08:57:20 GMT):
Has joined the channel.

SurkaJang (Tue, 13 Jun 2017 08:59:04 GMT):
Anyone know the blockchain explorer release schedule? Very curious.

anishrai (Tue, 13 Jun 2017 13:15:25 GMT):
Has joined the channel.

gen_el (Tue, 13 Jun 2017 13:56:16 GMT):
Has joined the channel.

MikeMayori (Tue, 13 Jun 2017 19:26:35 GMT):
had to device my own explorer

jorgedr (Wed, 14 Jun 2017 20:09:40 GMT):
Has joined the channel.

KSLee (Thu, 15 Jun 2017 01:48:33 GMT):
Has joined the channel.

KSLee (Thu, 15 Jun 2017 01:51:53 GMT):
In addtion to @SurkaJang 's question, does anyone know/estimate rough timeline of explore release? Very very curious..

j3ffyang (Thu, 15 Jun 2017 03:27:11 GMT):
Has joined the channel.

DivikBansal (Thu, 15 Jun 2017 09:26:50 GMT):
Has joined the channel.

pd93 (Thu, 15 Jun 2017 11:02:20 GMT):
@SurkaJang @KSLee As you can see by looking at the repository.. there is no active development here at the moment. A release for v1 is very unlikely any time soon. The latest version is compatible with the old *v0.6 architecture only*. GitHub Repo: https://github.com/hyperledger/blockchain-explorer JIRA: https://jira.hyperledger.org/browse/BE-6

pd93 (Thu, 15 Jun 2017 11:02:20 GMT):
@SurkaJang @KSLee As you can see by looking at the repository.. there is no active development here at the moment. A release for v1 is very unlikely any time soon. The latest version is compatible with the old *v0.6 architecture only*. GitHub Repo: https://github.com/hyperledger/blockchain-explorer JIRA: https://jira.hyperledger.org/browse/BE-6

pd93 (Thu, 15 Jun 2017 11:02:20 GMT):
@SurkaJang @KSLee As you can see by looking at the repository.. there is no active development here at the moment. A release for v1 is very unlikely any time soon. *The latest version is compatible with the old v0.6 architecture only*. GitHub Repo: https://github.com/hyperledger/blockchain-explorer JIRA: https://jira.hyperledger.org/browse/BE-6

pd93 (Thu, 15 Jun 2017 11:02:20 GMT):
@SurkaJang @KSLee As you can see by looking at the repository.. there is no active development here at the moment. A release for v1 is very unlikely any time soon. \color{red}*The latest version is compatible with the old v0.6 architecture only*. GitHub Repo: https://github.com/hyperledger/blockchain-explorer JIRA: https://jira.hyperledger.org/browse/BE-6

pd93 (Thu, 15 Jun 2017 11:02:20 GMT):
@SurkaJang @KSLee As you can see by looking at the repository.. there is no active development here at the moment. A release for v1 is very unlikely any time soon. *The latest version is compatible with the old v0.6 architecture only*. GitHub Repo: https://github.com/hyperledger/blockchain-explorer JIRA: https://jira.hyperledger.org/browse/BE-6

pd93 (Thu, 15 Jun 2017 11:02:20 GMT):
@SurkaJang @KSLee As you can see by looking at the repository.. there is no active development here at the moment. A release for v1 is very unlikely any time soon. \color{red}{*The latest version is compatible with the old v0.6 architecture only*.} GitHub Repo: https://github.com/hyperledger/blockchain-explorer JIRA: https://jira.hyperledger.org/browse/BE-6

pd93 (Thu, 15 Jun 2017 11:02:20 GMT):
@SurkaJang @KSLee As you can see by looking at the repository.. there is no active development here at the moment. A release for v1 is very unlikely any time soon. \color{red}{The latest version is compatible with the old v0.6 architecture only.} GitHub Repo: https://github.com/hyperledger/blockchain-explorer JIRA: https://jira.hyperledger.org/browse/BE-6

pd93 (Thu, 15 Jun 2017 11:02:20 GMT):
@SurkaJang @KSLee As you can see by looking at the repository.. there is no active development here at the moment. A release for v1 is very unlikely any time soon. *The latest version is compatible with the old v0.6 architecture only.* GitHub Repo: https://github.com/hyperledger/blockchain-explorer JIRA: https://jira.hyperledger.org/browse/BE-6

shuby (Thu, 15 Jun 2017 17:20:53 GMT):
Has joined the channel.

baofeng022 (Fri, 16 Jun 2017 08:18:35 GMT):
Has joined the channel.

xzib (Sat, 17 Jun 2017 11:00:13 GMT):
Has joined the channel.

xzib (Sat, 17 Jun 2017 11:01:32 GMT):
Has left the channel.

Raje (Mon, 19 Jun 2017 18:12:47 GMT):
Has joined the channel.

sandeep.singh2613 (Wed, 21 Jun 2017 13:15:02 GMT):
Has joined the channel.

Mxxim (Thu, 22 Jun 2017 11:15:34 GMT):
Has joined the channel.

kevinsong (Fri, 23 Jun 2017 08:50:46 GMT):
Has joined the channel.

ThePleasurable (Sat, 24 Jun 2017 12:19:30 GMT):
Has joined the channel.

chenxuan (Mon, 26 Jun 2017 06:53:41 GMT):
Has joined the channel.

chenxuan (Mon, 26 Jun 2017 06:53:44 GMT):
Compiling all doT templates... Compiling HyperlegerExplorer.jst to file { Error: connect ECONNREFUSED 127.0.0.1:7050 at Object.exports._errnoException (util.js:1018:11) at exports._exceptionWithHostPort (util.js:1041:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7050 }

chenxuan (Mon, 26 Jun 2017 06:53:54 GMT):
anyone occur the question

chenxuan (Mon, 26 Jun 2017 06:54:03 GMT):
the fabric network setup successfully

chenxuan (Mon, 26 Jun 2017 07:22:33 GMT):
support v1.0?

jeffgarratt (Mon, 26 Jun 2017 17:20:59 GMT):
Has joined the channel.

piotrc (Mon, 26 Jun 2017 19:39:53 GMT):
Has joined the channel.

coolsvap (Wed, 28 Jun 2017 07:30:11 GMT):
Has joined the channel.

cbruguera (Thu, 29 Jun 2017 00:15:25 GMT):
Has joined the channel.

rezamt (Thu, 29 Jun 2017 04:25:53 GMT):
Has joined the channel.

k0hl1 (Thu, 29 Jun 2017 07:21:50 GMT):
Has joined the channel.

k0hl1 (Thu, 29 Jun 2017 07:23:44 GMT):
@chenxuan I face a similar issue, it says parse error..

k0hl1 (Thu, 29 Jun 2017 07:26:18 GMT):
@here I am not able to make the block explorer work even after following the documentation... when I run "HTTP_PORT=9090 HYP_REST_ENDPOINT=http://127.0.0.1:7050 node exp-server.js" I get the error " Cannot find module '/home/vagrant/blockchain-explorer/explorer_1/templates/exp-server.js' " Any help is appreciated. Thanks !

chenxuan (Thu, 29 Jun 2017 07:34:24 GMT):
the BE is discarrd

k0hl1 (Thu, 29 Jun 2017 07:36:13 GMT):
@chenxuan That means that it is not supported anymore?

pd93 (Thu, 29 Jun 2017 07:52:16 GMT):
@k0hl1 [ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=2oRjYFsM2adXjZ3dR)

tkuhrt (Thu, 29 Jun 2017 16:56:14 GMT):
Please note that the community is working on porting Hyperledger Explorer to 1.0. If you are interested in lending a hand, the community would much appreciate it.

tkuhrt (Thu, 29 Jun 2017 16:56:14 GMT):
Please note that the community is working on porting Hyperledger Explorer to Hyperledger Fabric 1.0. If you are interested in lending a hand, the community would much appreciate it.

LoveshHarchandani (Thu, 29 Jun 2017 18:27:11 GMT):
Has joined the channel.

jinyu18 (Fri, 30 Jun 2017 07:48:37 GMT):
Has joined the channel.

DhananjayGoswami (Fri, 30 Jun 2017 14:19:31 GMT):
Has joined the channel.

beyondns (Sat, 01 Jul 2017 13:44:54 GMT):
Has joined the channel.

rohith (Sun, 02 Jul 2017 07:33:01 GMT):
Has joined the channel.

cbruguera (Sun, 02 Jul 2017 22:08:36 GMT):
Has left the channel.

nharshita (Mon, 03 Jul 2017 07:11:47 GMT):
Has joined the channel.

k0hl1 (Mon, 03 Jul 2017 10:10:04 GMT):
@tkuhrt Interested in the same, how should I get started?

Pardha (Mon, 03 Jul 2017 18:09:23 GMT):
Has joined the channel.

Pardha (Mon, 03 Jul 2017 18:10:49 GMT):
@k0hl1 please ping me when you get a chance. I can hook you up with one of our core developers working on the project

DannyWong (Tue, 04 Jul 2017 08:37:34 GMT):
Has left the channel.

abmathur (Tue, 04 Jul 2017 09:33:12 GMT):
Has joined the channel.

vishalgupta96 (Tue, 04 Jul 2017 21:17:03 GMT):
Has joined the channel.

developersteve (Wed, 05 Jul 2017 00:11:37 GMT):
Has joined the channel.

zhuxubin01 (Wed, 05 Jul 2017 12:58:23 GMT):
Has joined the channel.

RezwanKabir (Thu, 06 Jul 2017 08:27:34 GMT):
Has joined the channel.

noyonthe1 (Thu, 06 Jul 2017 08:30:32 GMT):
Has joined the channel.

moulali308 (Thu, 06 Jul 2017 09:59:23 GMT):
Has joined the channel.

moulali308 (Thu, 06 Jul 2017 10:00:00 GMT):
how to use hyperledger explorer in ubuntu

Pardha (Thu, 06 Jul 2017 17:10:38 GMT):
@moulali308 can you be a bit more specific ? Did you download the code and try to run it ?

Gaurav_Impro (Fri, 07 Jul 2017 08:12:38 GMT):
@tkuhrt I would like to work on this project.Let me know how to proceed on this?

whathewatt (Fri, 07 Jul 2017 08:38:46 GMT):
Has joined the channel.

tkuhrt (Fri, 07 Jul 2017 17:08:03 GMT):
@Pardha : can you help with this ^

Pardha (Fri, 07 Jul 2017 17:28:33 GMT):
Sure. @Gaurav_Impro Thanks for the interest. I will schedule a call for Monday with you, @k0hl1, and our core developer

ffilozov1 (Fri, 07 Jul 2017 22:26:21 GMT):
Has joined the channel.

Gaurav_Impro (Sun, 09 Jul 2017 13:43:31 GMT):
thanks @Pardha

rohitrocket (Mon, 10 Jul 2017 05:14:32 GMT):
Has joined the channel.

rohitrocket (Mon, 10 Jul 2017 06:41:11 GMT):

Message Attachments

rohitrocket (Mon, 10 Jul 2017 06:41:24 GMT):
can anyone help me out here ?

rohitrocket (Mon, 10 Jul 2017 06:41:55 GMT):
this group seems quite inactive. Any info on my problem will be highly appreciated.

hiepnm (Mon, 10 Jul 2017 08:20:47 GMT):
Has joined the channel.

Amitchandra (Mon, 10 Jul 2017 08:40:34 GMT):
Has joined the channel.

Amitchandra (Mon, 10 Jul 2017 08:41:03 GMT):
Hi

PraveenPandu (Mon, 10 Jul 2017 16:11:17 GMT):
Has joined the channel.

Pardha (Tue, 11 Jul 2017 13:27:20 GMT):
@rohitrocket Let me ask one of the core developers to check this issue

vadhitya (Tue, 11 Jul 2017 23:49:11 GMT):
Has joined the channel.

waqasburney (Wed, 12 Jul 2017 06:57:48 GMT):
Has joined the channel.

apolikamixitos (Wed, 12 Jul 2017 07:24:16 GMT):
Has joined the channel.

ecn (Wed, 12 Jul 2017 12:38:35 GMT):
Hello, is there a way to get all my transactions for fabric 1.0 ? From what I saw, blockchain-explorer is under development for fabric 1.0

jarroyer (Wed, 12 Jul 2017 14:56:52 GMT):
Has left the channel.

Pardha (Wed, 12 Jul 2017 20:37:52 GMT):
@ecn yes.. blockchain-explorer for fabric 1.0 is still under development..

larsf (Wed, 12 Jul 2017 21:40:29 GMT):
Has joined the channel.

hiepnm (Thu, 13 Jul 2017 07:31:42 GMT):
is ChainCode Smart Contract?

viz2702 (Thu, 13 Jul 2017 09:04:30 GMT):
Has joined the channel.

Pardha (Thu, 13 Jul 2017 13:54:23 GMT):
@hiepnm Yes.. chaincode is smart contract. but you should ask this question in fabric channel. Fabric maintainers can give you better definition and their view of what chaincode is.

robert.feng (Fri, 14 Jul 2017 01:09:16 GMT):
Has joined the channel.

zws (Fri, 14 Jul 2017 09:19:26 GMT):
Has joined the channel.

graycell (Fri, 14 Jul 2017 18:12:11 GMT):
Has joined the channel.

cre8bidio (Mon, 17 Jul 2017 00:43:28 GMT):
Has joined the channel.

hiepnm (Mon, 17 Jul 2017 01:25:22 GMT):
@Pardha Thank you

rohitrocket (Mon, 17 Jul 2017 06:38:20 GMT):
Has left the channel.

IvanPopkov (Mon, 17 Jul 2017 12:32:39 GMT):
Has joined the channel.

yizhang7210 (Tue, 18 Jul 2017 02:38:34 GMT):
Has joined the channel.

jitendra5984 (Tue, 18 Jul 2017 15:30:43 GMT):
Has joined the channel.

akuma921 (Tue, 18 Jul 2017 15:40:54 GMT):
Has joined the channel.

akuma921 (Tue, 18 Jul 2017 15:43:26 GMT):
@ecn you can do it through any sdk (java or node)

akuma921 (Tue, 18 Jul 2017 15:44:36 GMT):
there are methods to fetch all the blocks also particular block by its id

jljordan_bcgov (Wed, 19 Jul 2017 23:53:34 GMT):
Has joined the channel.

rojanjose (Thu, 20 Jul 2017 15:25:30 GMT):
Has joined the channel.

murrayadth (Thu, 20 Jul 2017 20:06:36 GMT):
Has joined the channel.

murrayadth (Thu, 20 Jul 2017 20:08:02 GMT):
Hello, I get the same error that rohitrocket reported on July 10th above.

murrayadth (Thu, 20 Jul 2017 20:10:50 GMT):
Is there an alternative that allows one to explore a blockchain in a network that one has deployed locally, as in "Building Your First Network" at http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html?

janndogcome (Fri, 21 Jul 2017 04:39:14 GMT):
Has joined the channel.

TuanNN (Fri, 21 Jul 2017 04:41:55 GMT):
Has joined the channel.

wangpan22 (Fri, 21 Jul 2017 05:36:10 GMT):
Has joined the channel.

JanRzepecki (Fri, 21 Jul 2017 06:37:58 GMT):
Has joined the channel.

mtgran (Fri, 21 Jul 2017 11:27:24 GMT):
Has joined the channel.

jmickley (Fri, 21 Jul 2017 14:54:34 GMT):
Has joined the channel.

fred0071 (Sun, 23 Jul 2017 05:33:23 GMT):
Has joined the channel.

samuel.alencar (Mon, 24 Jul 2017 03:05:14 GMT):
Has joined the channel.

asnan12345 (Mon, 24 Jul 2017 05:20:43 GMT):
Has joined the channel.

asnan12345 (Mon, 24 Jul 2017 06:17:13 GMT):
Hi, I am trying to validate using blockchain-explorer/Hyperledger explorer for one of my assignments for blockchain and facing difficulties in finding documents/Docker images) for Fabric 0.6 and compatible explorer code. Can someone please point me to right links.

ZiaullhaqSavanur (Mon, 24 Jul 2017 07:44:51 GMT):
Has joined the channel.

prashant94 (Mon, 24 Jul 2017 17:19:40 GMT):
Has joined the channel.

prashant94 (Mon, 24 Jul 2017 17:20:39 GMT):
Hi! I would like to be a part of this project. How can I get started?

akuma921 (Tue, 25 Jul 2017 07:20:22 GMT):
Hi..I am also interested in this one ....

ohupalo (Tue, 25 Jul 2017 09:58:56 GMT):
Has joined the channel.

ohupalo (Tue, 25 Jul 2017 09:59:42 GMT):
hello. How enable fabric API for blockchain-explorer?

MartinaE (Tue, 25 Jul 2017 13:45:40 GMT):
Has joined the channel.

ohupalo (Wed, 26 Jul 2017 06:18:49 GMT):

Message Attachments

ohupalo (Wed, 26 Jul 2017 06:19:07 GMT):
Could somebody help me?

ohupalo (Wed, 26 Jul 2017 06:19:07 GMT):
Could somebody help me? How fix this problem? i run fabric v.1

jamesmonaghan (Wed, 26 Jul 2017 11:36:00 GMT):
Has joined the channel.

daben0701 (Wed, 26 Jul 2017 12:43:36 GMT):
Has joined the channel.

rjones (Wed, 26 Jul 2017 19:13:48 GMT):
Has joined the channel.

rjones (Wed, 26 Jul 2017 19:13:59 GMT):
Incoming review: https://gerrit.hyperledger.org/r/#/c/11939/

yicchen (Thu, 27 Jul 2017 02:28:57 GMT):
Has joined the channel.

ZiaullhaqSavanur (Thu, 27 Jul 2017 06:59:25 GMT):
Does any body know how to upload a document using Hyperledger Composer.

jamesmonaghan (Thu, 27 Jul 2017 08:22:24 GMT):
Has left the channel.

magg (Thu, 27 Jul 2017 08:57:14 GMT):
Has joined the channel.

magg (Thu, 27 Jul 2017 08:57:17 GMT):
hello, is there something like github.com/hyperledger/blockchain-explorer for fabric v1.0? also how would it be possible to track application level metrics like transaction throughput and export them to a system like prometheus?

rjones (Thu, 27 Jul 2017 16:24:05 GMT):
@magg there is an effort to bring blockchain-explorer up to 1.0. here is one commit for example: https://gerrit.hyperledger.org/r/#/c/11939/

plee (Thu, 27 Jul 2017 23:31:10 GMT):
Has joined the channel.

CBTheis (Fri, 28 Jul 2017 20:32:18 GMT):
Has joined the channel.

yicchen (Sat, 29 Jul 2017 12:31:31 GMT):

Message Attachments

yicchen (Sat, 29 Jul 2017 12:31:35 GMT):
I use this https://gerrit.hyperledger.org/r/#/c/11939 and I follow the readme.md but it still like this.Can anyone help me?

yicchen (Sat, 29 Jul 2017 12:31:35 GMT):
I use this https://gerrit.hyperledger.org/r/#/c/11939 and I follow the readme.md but it still like this.Could anyone help me?

yicchen (Sat, 29 Jul 2017 12:31:35 GMT):
I use this https://gerrit.hyperledger.org/r/#/c/11939 and I follow the readme.md but it still like this.Could anyone help me please?

yicchen (Sat, 29 Jul 2017 12:33:16 GMT):
I've tried port 7050 and 7051

arundobby (Mon, 31 Jul 2017 08:53:55 GMT):
Has joined the channel.

arundobby (Mon, 31 Jul 2017 09:09:47 GMT):
Hi all.. I am doing PoC on IBM Blockchain do we have any sample application and chain I am looking for basic techinical details. How chain code and application works and how in demo to show the blocks created ?

SandeepKhore (Mon, 31 Jul 2017 10:13:26 GMT):
Has joined the channel.

SandeepKhore (Mon, 31 Jul 2017 10:26:51 GMT):
Hi all....

SandeepKhore (Mon, 31 Jul 2017 10:27:32 GMT):
I want to know how to deploy business network archive .bna on ibm bluemix cloud.

SandeepKhore (Mon, 31 Jul 2017 10:27:57 GMT):
I have deployed it on local playground but i want to deploy it on bluemix...

TsuWeiQuan (Mon, 31 Jul 2017 13:28:38 GMT):
Has joined the channel.

pine (Tue, 01 Aug 2017 06:59:06 GMT):
Has joined the channel.

OliverNo (Tue, 01 Aug 2017 08:08:06 GMT):
Has joined the channel.

deepak9438 (Wed, 02 Aug 2017 06:18:33 GMT):
Has joined the channel.

deepak9438 (Wed, 02 Aug 2017 07:38:32 GMT):
Hi all. we are doing some small application on Fabric. Is there is anyway we can see the Data/blocks which are being created and stored in the backend. Thanks for Helping.

bardhan_sanjay (Wed, 02 Aug 2017 11:20:37 GMT):
Has joined the channel.

TiaPashentsava (Wed, 02 Aug 2017 16:44:27 GMT):
Has joined the channel.

fennelD7 (Thu, 03 Aug 2017 01:31:03 GMT):
https://github.com/pclimbing/tjexplorer I once made something like fabric-explorer, might be a little instructive, ^_^

jdockter (Thu, 03 Aug 2017 02:09:34 GMT):
Has joined the channel.

smallX (Thu, 03 Aug 2017 05:00:42 GMT):
Has joined the channel.

alfa (Thu, 03 Aug 2017 12:30:00 GMT):
Has joined the channel.

alfa (Thu, 03 Aug 2017 12:30:57 GMT):
which port I have to pass for param HYP_REST_ENDPOINT ??

sahaaditya62 (Thu, 03 Aug 2017 13:31:53 GMT):
Has joined the channel.

sahaaditya62 (Thu, 03 Aug 2017 13:32:54 GMT):
Hello All,Can any one provide me step to run fabric project in windows 7.I am very new I need end to end flow.

TsuWeiQuan (Thu, 03 Aug 2017 16:20:54 GMT):
@sahaaditya62 Read through http://hyperledger-fabric.readthedocs.io/en/latest/txflow.html first to know about fabric then follow http://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html and http://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html I am currently reading up and trying to deploy a BC for personal experience too

TsuWeiQuan (Thu, 03 Aug 2017 16:21:07 GMT):
join the fabric chat for more qns too! Good luck!

TsuWeiQuan (Thu, 03 Aug 2017 16:21:07 GMT):
join the fabric chat for any more qns too! Good luck!

TsuWeiQuan (Thu, 03 Aug 2017 16:21:07 GMT):
join the #fabric chat for help, Good luck!

tprafull (Thu, 03 Aug 2017 18:17:49 GMT):
Has joined the channel.

randytorres (Fri, 04 Aug 2017 05:41:00 GMT):
Has joined the channel.

Rica112 (Fri, 04 Aug 2017 19:46:36 GMT):
Has joined the channel.

FrankShikhaliev (Sun, 06 Aug 2017 11:21:16 GMT):
Has joined the channel.

rangak (Mon, 07 Aug 2017 06:23:22 GMT):
Has joined the channel.

Calvin_Heo (Mon, 07 Aug 2017 10:11:29 GMT):
Hi everyone, I have some questions about CouchDB. Can Couch DB only delete / update / add records via chaincode (invoke, Query) or committing peer? depending on Read-Write set base. And in the document about Couch DB, it is mentioned that should configure environment with "disable remote connection" So, Only the peer can access the Couch DB?

jane3wang (Mon, 07 Aug 2017 16:28:11 GMT):
Has joined the channel.

smcambria22 (Mon, 07 Aug 2017 19:59:43 GMT):
Has joined the channel.

mavstronaut (Tue, 08 Aug 2017 04:02:51 GMT):
Has joined the channel.

prmdmshra (Tue, 08 Aug 2017 17:23:02 GMT):
Has joined the channel.

prmdmshra (Tue, 08 Aug 2017 17:32:41 GMT):
It would be great if you could please suggest whether we can run Block chain explorer on network running locally on Fabric 1.0?

xinlinw (Tue, 08 Aug 2017 21:26:40 GMT):
Has joined the channel.

sait (Wed, 09 Aug 2017 05:02:47 GMT):
Has joined the channel.

medhak19 (Wed, 09 Aug 2017 07:14:02 GMT):
Has joined the channel.

yrzr (Wed, 09 Aug 2017 10:09:03 GMT):
Has joined the channel.

satheeshk (Wed, 09 Aug 2017 14:29:41 GMT):
Has joined the channel.

clessor (Wed, 09 Aug 2017 17:48:32 GMT):
Has joined the channel.

aturkdogan (Wed, 09 Aug 2017 18:20:11 GMT):
Has joined the channel.

aturkdogan (Wed, 09 Aug 2017 18:20:25 GMT):
Hello guys

aturkdogan (Wed, 09 Aug 2017 18:21:45 GMT):
I have trouble when I install hyperledger-explorer.

aturkdogan (Wed, 09 Aug 2017 18:21:54 GMT):
docker run -p 9090:9090 -e HYP_REST_ENDPOINT=http://127.0.0.1:7051 yeasy/blockchain-explorer Compiling all doT templates... Compiling HyperlegerExplorer.jst to file { Error: connect ECONNREFUSED 127.0.0.1:7051 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7051 }

aturkdogan (Wed, 09 Aug 2017 18:22:56 GMT):
I appreciate any idea regarding this error. Thank you.

aturkdogan (Wed, 09 Aug 2017 18:29:28 GMT):
P.S: I already tried both ports 7050 and 7051.

aturkdogan (Wed, 09 Aug 2017 18:29:28 GMT):
P.S: I already tried both ports 7050 and 7051. I'm using hyperledger-composer.

GongZhang (Thu, 10 Aug 2017 03:03:52 GMT):
Has joined the channel.

pratyushanaga (Thu, 10 Aug 2017 05:02:39 GMT):
Has joined the channel.

pratyushanaga (Thu, 10 Aug 2017 05:02:55 GMT):
hi guys

pratyushanaga (Thu, 10 Aug 2017 05:05:36 GMT):
i have setup the hyperledger-explorer on linux server. node exp-server.js Compiling all doT templates... Compiling HyperlegerExplorer.jst to file statsData { checkTime: '03:58:27', avgTxnLatency: 1000, txnRate: 0, mineRate: 0, txRateGraph: { time: [ '03:58:27', '04:00:25', '04:04:15', '08:53:50', '08:56:56', '00:40:13', '00:41:34', '00:44:46', '04:52:42', '04:56:32', '04:57:29', '00:12:14', '00:14:28', '00:18:07', '00:19:13', '02:03:12', '02:05:49', '03:34:37', '03:37:34', '03:41:27' ], txRate: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, blkRateGraph: { time: [ '03:58:27', '04:00:25', '04:04:15', '08:53:50', '08:56:56', '00:40:13', '00:41:34', '00:44:46', '04:52:42', '04:56:32', '04:57:29', '00:12:14', '00:14:28', '00:18:07', '00:19:13', '02:03:12', '02:05:49', '03:34:37', '03:37:34', '03:41:27' ], blkRate: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, blkTxGraph: { block: [ 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531 ], txs: [ 2, 3, 1, 1, 2, 2, 3, 2, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ] }, chTx: { chainCodes: [ 'ch01', 'ch02', 'ch03' ],

pratyushanaga (Thu, 10 Aug 2017 05:06:01 GMT):
how can i get this info from UI

pratyushanaga (Thu, 10 Aug 2017 05:08:06 GMT):

Message Attachments

pratyushanaga (Thu, 10 Aug 2017 05:08:29 GMT):
i want the above info to be visualized like this

GongZhang (Thu, 10 Aug 2017 07:03:20 GMT):
Dear All, After setup explorer, I try to start the explorer server and encounter the following error

GongZhang (Thu, 10 Aug 2017 07:03:20 GMT):
Dear All, After setup explorer, I try to start the explorer server and encounter the following error. Any input is appreciated.

GongZhang (Thu, 10 Aug 2017 07:03:20 GMT):
Dear All, I try to start the explorer server and encounter the following error. Any input is appreciated.

GongZhang (Thu, 10 Aug 2017 07:03:54 GMT):

Message Attachments

aturkdogan (Thu, 10 Aug 2017 07:04:34 GMT):
[Just go to: localhost:9090 ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=wE7NjzDM7nLimCrLa) @pratyushanaga

prmdmshra (Thu, 10 Aug 2017 11:01:11 GMT):
@here I am getting the following error on running 'node exp-server.js': /Desktop/blockchain-explorer/explorer_1$ node exp-server.js Compiling all doT templates... Compiling HyperlegerExplorer.jst to file { Error: Parse Error at Error (native) at Socket.socketOnData (_http_client.js:362:20) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:176:18) at Socket.Readable.push (_stream_readable.js:134:10) at TCP.onread (net.js:547:20) bytesParsed: 0, code: 'HPE_INVALID_CONSTANT' }

AER_IoT (Thu, 10 Aug 2017 13:59:24 GMT):
Has joined the channel.

oliver_gahr (Fri, 11 Aug 2017 07:29:41 GMT):
Has joined the channel.

in0rdr (Fri, 11 Aug 2017 11:37:16 GMT):
Has joined the channel.

satheeshk (Fri, 11 Aug 2017 13:15:58 GMT):
@prmdmshra This current version does not work with fabric 1.0, the works is in progress to support v1.0

jeevas (Fri, 11 Aug 2017 14:18:36 GMT):
Has joined the channel.

Som2017 (Sun, 13 Aug 2017 15:17:59 GMT):
Has joined the channel.

Som2017 (Sun, 13 Aug 2017 15:20:42 GMT):
I am trying with Aplha and still getting the same error

yiting (Sun, 13 Aug 2017 20:56:00 GMT):
Has joined the channel.

prmdmshra (Mon, 14 Aug 2017 09:08:35 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=PQXfnmLTSnvYePzYd) @satheeshk Thanks

rorogarcete (Mon, 14 Aug 2017 13:14:15 GMT):
Has joined the channel.

daijianw (Wed, 16 Aug 2017 03:35:30 GMT):
Has joined the channel.

sravanthbaratam (Wed, 16 Aug 2017 17:23:18 GMT):
Has joined the channel.

Bilings_s (Thu, 17 Aug 2017 01:16:34 GMT):
Has joined the channel.

bhavyaM (Thu, 17 Aug 2017 06:01:59 GMT):
Has joined the channel.

bhavyaM (Thu, 17 Aug 2017 06:05:44 GMT):
are there any steps for hyperledger installation ?

bhavyaM (Thu, 17 Aug 2017 06:05:44 GMT):
is there any wiki page or someplace where such steps are documented ?

bhavyaM (Thu, 17 Aug 2017 06:05:44 GMT):
are there any steps to installed hyperledger explorer locally or on self hosted server ? is there any wiki page or someplace where such steps are documented ?

MikeMayori (Thu, 17 Aug 2017 16:28:08 GMT):
Hi everyone,

MikeMayori (Thu, 17 Aug 2017 16:28:32 GMT):
Where can i see the roadmap of this project????

MikeMayori (Thu, 17 Aug 2017 16:28:40 GMT):
and current state??

jayreddy (Fri, 18 Aug 2017 03:33:29 GMT):
Has joined the channel.

SaurabhSuman (Fri, 18 Aug 2017 03:59:33 GMT):
Has joined the channel.

asadhayat (Fri, 18 Aug 2017 11:32:49 GMT):
Has joined the channel.

robert.feng (Fri, 18 Aug 2017 13:52:53 GMT):
hello everyone ,i'm robert.

daniel.wu (Fri, 18 Aug 2017 14:08:41 GMT):
Has joined the channel.

daniel.wu (Fri, 18 Aug 2017 14:10:05 GMT):
hello everyone ,i'm daniel,fabric explorer 1.0 developer

tkuhrt (Fri, 18 Aug 2017 23:54:28 GMT):
Welcome, @robert.feng and @Daniel. As you can see, there is a lot of interest in Hyperledger Explorer, especially support for Hyperledger Fabric v1.0. We are looking forward to hearing more about the work that the Hyperledger Explorer maintainers are doing and how people might be able to lend a hand.

grapebaba (Sat, 19 Aug 2017 06:07:12 GMT):
hi

grapebaba (Sat, 19 Aug 2017 06:08:03 GMT):
i tried origin version on github, in general it works fine

grapebaba (Sat, 19 Aug 2017 06:08:20 GMT):
a great work

yicchen (Sun, 20 Aug 2017 14:22:01 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=2DD29Z4ry4b9nfLGx) @grapebaba Is Hyperledger Explorer can support Hyperledger Fabric v1.0 now? Would you mind to give me the link of the version you can run well?

grapebaba (Sun, 20 Aug 2017 14:45:26 GMT):
https://github.com/onechain/fabric-explorer

grapebaba (Sun, 20 Aug 2017 14:46:07 GMT):
Since some Chinese comments, the pr hasn't merged yet

robert.feng (Mon, 21 Aug 2017 00:55:16 GMT):
@grapebaba Ok I

shivap_17 (Tue, 22 Aug 2017 10:35:18 GMT):
Has joined the channel.

shivap_17 (Tue, 22 Aug 2017 10:35:30 GMT):
Hi I want to develop an application on Hyperledger fabrics. I have bit knowledge about ethereum where it was straight forward, can develop smart contract and deploy it on the main network . But here I got confused that where to start itself. My aim is to write a program on Hyperledger fabric. Can you please help me to find the right place to learn other than the doc.

AER_IoT (Tue, 22 Aug 2017 12:14:50 GMT):
@shivap_17 https://media.readthedocs.org/pdf/hyperledger-fabric/latest/hyperledger-fabric.pdf and the official website https://hyperledger-fabric.readthedocs.io/en/latest/build_network.html Then I recommed you to check some examples like Marbles or other ones to better understand how the go chaincode works :)

shivap_17 (Tue, 22 Aug 2017 12:16:27 GMT):
@AER_IoT I'll go through them. Thanks a lot for your time :)

vishwasrao (Tue, 22 Aug 2017 12:31:08 GMT):
Has joined the channel.

tkuhrt (Tue, 22 Aug 2017 19:47:03 GMT):
@shivap_17 : For any questions you have regarding Hyperledger Fabric, the folks in the #fabric-questions channel can help.

shivap_17 (Wed, 23 Aug 2017 05:29:33 GMT):
@tkuhrt Thanks mate :)

mascanc (Wed, 23 Aug 2017 12:27:58 GMT):
Has joined the channel.

champbronc2 (Wed, 23 Aug 2017 13:02:22 GMT):
Has joined the channel.

nimtiazm (Thu, 24 Aug 2017 00:22:04 GMT):
Has joined the channel.

Othman.Darwish (Thu, 24 Aug 2017 07:41:53 GMT):
Has joined the channel.

mna2016 (Thu, 24 Aug 2017 13:51:27 GMT):
Has joined the channel.

IvanSager (Thu, 24 Aug 2017 16:49:52 GMT):
Has joined the channel.

Rinat (Thu, 24 Aug 2017 16:52:06 GMT):
Has joined the channel.

ksachdeva (Thu, 24 Aug 2017 21:08:50 GMT):
Has joined the channel.

sayantantarafdar (Fri, 25 Aug 2017 06:27:54 GMT):
Has joined the channel.

robert.feng (Fri, 25 Aug 2017 12:32:56 GMT):
hi everone

robert.feng (Fri, 25 Aug 2017 12:50:09 GMT):
hi

robert.feng (Fri, 25 Aug 2017 12:50:25 GMT):
hellow . everyone

robert.feng (Fri, 25 Aug 2017 12:51:30 GMT):
https://zoom.us/s/346293960 . this is meeting

robert.feng (Fri, 25 Aug 2017 13:02:28 GMT):
hi

FabricioMendes (Fri, 25 Aug 2017 16:50:26 GMT):
Has joined the channel.

smonfort (Fri, 25 Aug 2017 20:08:27 GMT):
Has joined the channel.

IvanSager (Fri, 25 Aug 2017 22:21:47 GMT):
Happy Friday all -- glad I found this channel, I'm getting knee deep into H/ledger

ambatigaan (Sat, 26 Aug 2017 07:45:30 GMT):
Has joined the channel.

ambatigaan (Sat, 26 Aug 2017 07:47:17 GMT):
@here Hi... this blockchain explorer works for fabric v1.0? Can i have the setup instructions in order to plugin to a running fabric blockchain?

deker1991 (Sat, 26 Aug 2017 12:41:26 GMT):
Has joined the channel.

prhinge1 (Sat, 26 Aug 2017 13:53:15 GMT):
Has joined the channel.

prhinge1 (Sat, 26 Aug 2017 14:26:31 GMT):
Hi every one. I am new to block chain & I am trying the first program from tutorial. I am trying to run ./startFabric.sh but getting error "Fail to execute script docker-compose

tkuhrt (Sat, 26 Aug 2017 23:07:53 GMT):
@prhinge1 : you might have better luck in #fabric-questions

MikeMayori (Mon, 28 Aug 2017 00:34:19 GMT):
@prhinge1 two thing may happen

MikeMayori (Mon, 28 Aug 2017 00:34:19 GMT):
@prhinge1 two things may happen

MikeMayori (Mon, 28 Aug 2017 00:49:39 GMT):
first the version number, make sure the yaml files have version : "2.0"

MikeMayori (Mon, 28 Aug 2017 00:50:05 GMT):
try again executing the script

MikeMayori (Mon, 28 Aug 2017 00:52:08 GMT):
i thing the explorer is under development right now, i saw their road map 2 months ago , the state of this project is development , so it may have some errors

MikeMayori (Mon, 28 Aug 2017 00:53:01 GMT):
my advise is to wait until the team launches the version compatible with Hyperledger 1

MikeMayori (Mon, 28 Aug 2017 00:53:59 GMT):
But if you want to learn try playing with the api's first and then you may want to develop your won explorer

MikeMayori (Mon, 28 Aug 2017 00:55:38 GMT):
after learning how this api's work and be familiar with the architecture you can try de play ground which will allow you to know better all the tools

MikeMayori (Mon, 28 Aug 2017 00:56:16 GMT):
@prhinge1 hope it helps

vinis (Mon, 28 Aug 2017 06:30:47 GMT):
Has joined the channel.

marcojardim (Mon, 28 Aug 2017 11:45:58 GMT):
Has joined the channel.

idpattison (Tue, 29 Aug 2017 10:03:10 GMT):
Has joined the channel.

satheeshk (Tue, 29 Aug 2017 15:55:39 GMT):
@ambatigaan we recently merged a change https://gerrit.hyperledger.org/r/#/c/11939/ recently that works with Fabric v1.0

satheeshk (Tue, 29 Aug 2017 15:56:05 GMT):
Please try it and let us know here if you are able to setup .. we might need to improve the documents.

ambatigaan (Tue, 29 Aug 2017 16:00:56 GMT):
@satheeshk sure.. will start with the instructions cited in the project page..and see

VamsiKrishnak (Tue, 29 Aug 2017 17:11:45 GMT):
Has joined the channel.

VamsiKrishnak (Wed, 30 Aug 2017 19:08:20 GMT):
@satheeshk while setting fabric docker environment before starting the fabric explorer I am getting error:" channel creation failed"..

VamsiKrishnak (Wed, 30 Aug 2017 19:08:31 GMT):

Message Attachments

geoffreyporto (Wed, 30 Aug 2017 19:59:03 GMT):
Has joined the channel.

leogzl (Thu, 31 Aug 2017 06:15:27 GMT):
Has joined the channel.

habpygo (Thu, 31 Aug 2017 06:36:58 GMT):
Has left the channel.

kustrun (Thu, 31 Aug 2017 07:06:04 GMT):
Has joined the channel.

krishna983 (Thu, 31 Aug 2017 12:00:13 GMT):
Has joined the channel.

satheeshk (Thu, 31 Aug 2017 12:04:43 GMT):
@VamsiKrishnak This looks like an error that happens when the peer is not running. Can you please post the peer's docker container logs ?

krishna983 (Thu, 31 Aug 2017 12:08:10 GMT):
can I get the slack channel invitation link please

nemon (Thu, 31 Aug 2017 14:11:16 GMT):
Has joined the channel.

lmrln (Fri, 01 Sep 2017 09:59:16 GMT):
Has joined the channel.

piotrc (Fri, 01 Sep 2017 20:29:43 GMT):
You might need to remove all docker containers and images ans start over.

piotrc (Fri, 01 Sep 2017 20:29:43 GMT):
You might first need to remove all docker containers and images and start from beginning.

DinhHo (Sun, 03 Sep 2017 15:09:49 GMT):
Has joined the channel.

Akashgoyal (Mon, 04 Sep 2017 08:56:51 GMT):
Has joined the channel.

gmin (Mon, 04 Sep 2017 14:44:40 GMT):
Has joined the channel.

thomasmarckx (Tue, 05 Sep 2017 14:56:36 GMT):
Has joined the channel.

VictorKuriashkin (Wed, 06 Sep 2017 10:33:10 GMT):
Has joined the channel.

FollowingGhosts (Wed, 06 Sep 2017 10:52:30 GMT):
Has joined the channel.

ygnr (Thu, 07 Sep 2017 03:35:21 GMT):
Has joined the channel.

blackdog1987 (Thu, 07 Sep 2017 06:35:55 GMT):
Has joined the channel.

jadhavajay (Thu, 07 Sep 2017 13:04:53 GMT):
Has joined the channel.

roccia8685 (Thu, 07 Sep 2017 13:57:56 GMT):
Has joined the channel.

robert.feng (Fri, 08 Sep 2017 03:26:23 GMT):
@rjones hello! I am robert . Me and my partner daniel are blockchain-explorer ( https://github.com/hyperledger/blockchain-explorer ) developer。We want to join hyperledger organization in github. We hope to get your help。 Thank you ! robert github ID : fx19800215@163.com daniel github ID : 1414786333@qq.com

rjones (Fri, 08 Sep 2017 04:16:24 GMT):
@robert.feng invites sent

rjones (Fri, 08 Sep 2017 04:17:04 GMT):
@robert.feng the development happens in gerrit.hyperledger.org not github however

robert.feng (Fri, 08 Sep 2017 06:46:11 GMT):
Ok ,I know , We are gerrit.hyperledger.org account. Thank you!

seeni (Fri, 08 Sep 2017 07:21:44 GMT):
Has joined the channel.

southernseas (Fri, 08 Sep 2017 10:02:26 GMT):
Has joined the channel.

robert.feng (Fri, 08 Sep 2017 12:28:34 GMT):
hello

robert.feng (Fri, 08 Sep 2017 12:34:15 GMT):
We are robert and daniel. How can we join tonight's meeting?

santoshrout (Fri, 08 Sep 2017 22:57:05 GMT):
Has joined the channel.

soccerhaotian (Sun, 10 Sep 2017 12:33:44 GMT):
Has joined the channel.

qurikuduo (Mon, 11 Sep 2017 02:01:22 GMT):
Has joined the channel.

qurikuduo (Mon, 11 Sep 2017 02:02:09 GMT):
Hey, guys. I found there is an error when start docker in fedora 26.

qurikuduo (Mon, 11 Sep 2017 02:03:10 GMT):
If I disable firewalld.service, the instance of CA and other instances will not start correctly.

qurikuduo (Mon, 11 Sep 2017 02:03:18 GMT):
Error logs are here:

qurikuduo (Mon, 11 Sep 2017 02:04:10 GMT):
I'll post the log's URL in mins...

qurikuduo (Mon, 11 Sep 2017 02:26:59 GMT):
Error log:https://docs.google.com/document/d/1-JNqpUYwGY-ps9Z8YGpXPqlzN0MEWmG7Nqs1VlQIDyM/edit?usp=sharing

smanolache (Mon, 11 Sep 2017 09:05:34 GMT):
Has joined the channel.

smanolache (Mon, 11 Sep 2017 09:07:26 GMT):
Hello, I pass two transactions in a block. They both try to manipulate the same keys. One of them is valid, the other is invalid because the valid one changes the key versions. Is there a way to see the difference between them in fabric-explorer?

erNail (Mon, 11 Sep 2017 12:35:29 GMT):
Has joined the channel.

erNail (Mon, 11 Sep 2017 12:36:05 GMT):
Hi, is there a way to connect the explorer to my already running fabric chain ?

satheeshk (Mon, 11 Sep 2017 13:42:10 GMT):
@erNail Yes you can after modifying the values in app/network-config.json

publius (Mon, 11 Sep 2017 23:24:59 GMT):
Has joined the channel.

nallaravi (Tue, 12 Sep 2017 11:34:03 GMT):
Has joined the channel.

UtkarshSingh (Tue, 12 Sep 2017 12:38:25 GMT):
Has joined the channel.

colinGrahms (Tue, 12 Sep 2017 13:47:13 GMT):
Has joined the channel.

colinGrahms (Wed, 13 Sep 2017 13:56:33 GMT):
Hi, is there a way to dockerize explorer properly ? I'm strugguling to do so

daliamaarek (Wed, 13 Sep 2017 15:50:32 GMT):
Has joined the channel.

Balachandar-R (Thu, 14 Sep 2017 06:48:47 GMT):
Has joined the channel.

chengzi (Sat, 16 Sep 2017 06:44:52 GMT):
Has joined the channel.

yangzhares (Sun, 17 Sep 2017 09:22:42 GMT):
Has joined the channel.

melnikus (Sun, 17 Sep 2017 16:39:17 GMT):
Has joined the channel.

melnikus (Sun, 17 Sep 2017 16:44:41 GMT):
Hello, im getting error: "Failed Query channel info. Error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /node_modules/grpc/src/node/src/client.js:554:15". its uses default crypto-config from basic-network. What should i do to fix this?

annajirajesh (Sun, 17 Sep 2017 22:57:07 GMT):
Has joined the channel.

jgiron (Mon, 18 Sep 2017 07:38:52 GMT):
Has joined the channel.

robert.feng (Mon, 18 Sep 2017 11:02:32 GMT):
@melnikus you modify the config file config.json set the property enableTls is true, then restart it and try again.

jparth11 (Mon, 18 Sep 2017 14:11:12 GMT):
Has joined the channel.

yoyokeen (Tue, 19 Sep 2017 01:24:48 GMT):
Has joined the channel.

melnikus (Tue, 19 Sep 2017 09:42:41 GMT):
@robert.feng thanks for replay. We tried and now getting error: "[2017-09-19 12:41:06.552] [DEBUG] Helper - [FileKeyValueStore.js]: FileKeyValueStore -- setValue E0919 12:41:06.552319221 10775 ssl_transport_security.c:921] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed at /home/user/fabric-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: Connect Failed at /home/user/fabric-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-09-19 12:41:06.553] [ERROR] Query - Error: Connect Failed at /home/user/fabric-explorer/node_modules/grpc/src/node/src/client.js:554:15"

atclik 1 (Tue, 19 Sep 2017 14:03:06 GMT):
Has joined the channel.

ykcai (Tue, 19 Sep 2017 21:55:59 GMT):
Has joined the channel.

leminhy89 (Wed, 20 Sep 2017 10:51:21 GMT):
Has joined the channel.

Anil_kumar_Vadla0926 (Wed, 20 Sep 2017 22:53:02 GMT):
Has joined the channel.

rafizan.baharum (Thu, 21 Sep 2017 00:18:05 GMT):
Has joined the channel.

lalalamenmen (Thu, 21 Sep 2017 03:07:12 GMT):
Has joined the channel.

SridharYerram (Thu, 21 Sep 2017 05:55:57 GMT):
Has joined the channel.

SridharYerram (Thu, 21 Sep 2017 06:00:56 GMT):
how to use : startFabric.sh in Windows ?

theGloves (Thu, 21 Sep 2017 10:15:05 GMT):
Has joined the channel.

theGloves (Thu, 21 Sep 2017 10:15:22 GMT):
Hi, I try to start the fabric network through the fabric/example/e2ecli/network shell, but throw the error in create channel……the error: fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7fca6fdf1259]

theGloves (Thu, 21 Sep 2017 10:15:47 GMT):

Message Attachments

WebKruncher (Thu, 21 Sep 2017 10:55:56 GMT):
Has joined the channel.

WebKruncher (Thu, 21 Sep 2017 11:02:39 GMT):
Hello. I have an existing blockchain running. I modified my config.json, and started the application. I can select my channel in the upper right dropdown box, and I see 2 Peers, and 4 ChainCodes, which is correct. But, my PeerList is populated with only one address, and it's wrong (looks like the sample url). The other boxes are empty, no blocks, block lists, or transactions show up. Is this still work in progress?

navaneethaa (Thu, 21 Sep 2017 11:11:40 GMT):
Has joined the channel.

attraxion (Thu, 21 Sep 2017 14:12:23 GMT):
Has joined the channel.

attraxion (Thu, 21 Sep 2017 14:13:47 GMT):
@SridharYerram do you mean how to run this? If you properly made previous steps you should be able to run it in cmd via ".\startFabric.sh" or I mistunderstood your question

rameshaug (Fri, 22 Sep 2017 09:26:34 GMT):
Has joined the channel.

mna2017 (Fri, 22 Sep 2017 10:36:12 GMT):
Has joined the channel.

wampum (Fri, 22 Sep 2017 11:41:31 GMT):
Has joined the channel.

KevinBai (Mon, 25 Sep 2017 03:16:29 GMT):
Has joined the channel.

naruto1982 (Mon, 25 Sep 2017 12:31:07 GMT):
Has joined the channel.

adarsh_10 (Mon, 25 Sep 2017 12:34:07 GMT):
Has joined the channel.

rjones (Mon, 25 Sep 2017 20:10:27 GMT):
Has left the channel.

pagecj (Tue, 26 Sep 2017 09:38:32 GMT):
Has joined the channel.

atulkamble (Tue, 26 Sep 2017 12:47:05 GMT):
Has joined the channel.

atulkamble (Tue, 26 Sep 2017 12:53:40 GMT):
Hi All, I am following the setup guide mentioned at https://github.com/hyperledger/blockchain-explorer I have completed the steps until the section "set fabric docker env"; the steps in the following section "start fabric-explorer" are unclear. For example the command "cd blockchain-explorer/fabric-explorer" does not work as there is no "fabric-explorer" directory in the parent cloned folder (from Github). Additionally, the further metioned files & properties like (config.json,set channel,mysql,tls,app/network-config.json or app/network-config-tls.json) are not mentioned clearly. Request you to please guide me on the right setup path.

AnthonyMiclet (Tue, 26 Sep 2017 16:08:51 GMT):
Has joined the channel.

Pardha (Tue, 26 Sep 2017 19:52:33 GMT):
@atulkamble we are in the middle of updating the README to make sure that the installation instructions are clear.. We should be done with the update by tomorrow.. I will update you as soon as the latest instructions are available.

bmatsuo (Tue, 26 Sep 2017 22:57:23 GMT):
Has joined the channel.

Hangyu (Wed, 27 Sep 2017 00:40:23 GMT):
Has joined the channel.

atulkamble (Wed, 27 Sep 2017 04:24:10 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=HAGkpitFnmpTWPpcF) @Pardha Thank You for updating Pardha

jeanmelgarejo (Wed, 27 Sep 2017 12:31:17 GMT):
Has joined the channel.

AnkurDaharwal (Wed, 27 Sep 2017 17:52:38 GMT):
Has joined the channel.

VIkasTripathi (Wed, 27 Sep 2017 18:46:33 GMT):
Has joined the channel.

YuHongzhi (Thu, 28 Sep 2017 08:24:39 GMT):
Has joined the channel.

shubhammangla (Thu, 28 Sep 2017 12:47:56 GMT):
Has joined the channel.

AbhishekTripathi (Thu, 28 Sep 2017 13:42:52 GMT):
Has joined the channel.

ish1212 (Thu, 28 Sep 2017 17:07:15 GMT):
Has joined the channel.

Pardha (Thu, 28 Sep 2017 22:36:51 GMT):
@atulkamble please check out the README for explorer (https://github.com/hyperledger/blockchain-explorer). You should be able to bring up the explorer using the latest instructions.. Please ping me if you need any help

prakhar0409 (Fri, 29 Sep 2017 05:25:26 GMT):
Has joined the channel.

CodeReaper (Sat, 30 Sep 2017 10:10:28 GMT):
Has joined the channel.

CodeReaper (Sat, 30 Sep 2017 10:11:47 GMT):
Hey, I was wondering if I could store some extra meta data with each transaction so i can view it everytime I see a transaction through its id.

JoharR (Sat, 30 Sep 2017 21:31:10 GMT):
Has joined the channel.

whoselife (Sun, 01 Oct 2017 13:43:06 GMT):
Has joined the channel.

BernardLin (Sun, 01 Oct 2017 18:20:21 GMT):
Has joined the channel.

Menniti (Mon, 02 Oct 2017 11:52:28 GMT):
Has joined the channel.

mnosseir (Mon, 02 Oct 2017 20:01:43 GMT):
Has joined the channel.

SantoshShahane (Mon, 02 Oct 2017 20:32:19 GMT):
Has joined the channel.

SantoshShahane (Mon, 02 Oct 2017 20:35:05 GMT):
Hello, i am getting following error at helper.getOrgAdmin.then (/Users/sshahane/projects/blockchain/blockchain-explorer/app/query.js:222:18) ^[[36m[2017-10-02 13:29:33.379] [DEBUG] metrics - ^[[39m[ 0, 0 ] ^[[36m[2017-10-02 13:29:33.380] [DEBUG] metrics - ^[[39m[ 0, 0 ] ^[[36m[2017-10-02 13:29:33.381] [DEBUG] mysqlservice - ^[[39m the getRowsBySQlCase select count(1) c from chaincodes where channelname='foo' ^[[36m[2017-10-02 13:29:33.382] [DEBUG] mysqlservice - ^[[39m the getRowsBySQlCase select count(1) c from transaction where channelname='foo' ^[[36m[2017-10-02 13:29:33.382] [DEBUG] mysqlservice - ^[[39m the getRowsBySQlCase select max(blocknum) c from blocks where channelname='foo' ^[[31m[2017-10-02 13:29:33.813] [ERROR] Helper - ^[[39mFailed to find a peer matching the url undefined ^[[31m[2017-10-02 13:29:33.829] [ERROR] Query - ^[[39mError: Peer is required at Client.queryInstalledChaincodes (/Users/sshahane/projects/blockchain/blockchain-explorer/node_modules/fabric-client/lib/Client.js:579:27) at helper.getOrgAdmin.then (/Users/sshahane/projects/blockchain/blockchain-explorer/app/query.js:222:18) ^[[36m[2017-10-02 13:29:33.829] [DEBUG] blockscanner - ^[[39mError: Peer is required at Client.queryInstalledChaincodes (/Users/sshahane/projects/blockchain/blockchain-explorer/node_modules/fabric-client/lib/Client.js:579:27) at helper.getOrgAdmin.then (/Users/sshahane/projects/blockchain/blockchain-explorer/app/query.js:222:18) ^[[36m[2017-10-02 13:29:34.385] [DEBUG] metrics - ^[[39m[ 0, 0 ] ^[[36m[2017-10-02 13:29:34.385] [DEBUG] metrics - ^[[39m[ 0, 0 ]

ianyan (Tue, 03 Oct 2017 07:47:56 GMT):
Has joined the channel.

satheeshk (Tue, 03 Oct 2017 14:49:16 GMT):
@SantoshShahane This says its unable to connect to a Peer that is part of the channel foo

satheeshk (Tue, 03 Oct 2017 14:54:39 GMT):
@SantoshShahane If you connecting to a new channel make sure that at least one peer from `app/network-config.json` is part of this channel `foo`

JackCrumbly (Wed, 04 Oct 2017 00:54:13 GMT):
Has joined the channel.

mne (Wed, 04 Oct 2017 22:36:19 GMT):
Has joined the channel.

jun (Thu, 05 Oct 2017 04:11:53 GMT):
Has joined the channel.

jljordan_bcgov (Thu, 05 Oct 2017 15:52:03 GMT):
Has left the channel.

abhisamant (Thu, 05 Oct 2017 17:31:38 GMT):
Has joined the channel.

t_stephens67 (Thu, 05 Oct 2017 18:33:51 GMT):
Has joined the channel.

t_stephens67 (Thu, 05 Oct 2017 18:51:00 GMT):
Is there a way to configure the network-config.json to work with my hlfv1 connection profile?

iuriarte (Thu, 05 Oct 2017 20:09:17 GMT):
Has joined the channel.

ericmvaughn (Thu, 05 Oct 2017 20:20:57 GMT):
Has joined the channel.

mna2016 (Fri, 06 Oct 2017 07:15:19 GMT):
Hi Team, I want to run blockchain on top of a blockchain running on kubernetes container. I am following steps given on "https://github.com/hyperledger/blockchain-explorer". I believe that I need to updated the "network-config.json" file accordingly. Is there an example config file where this has been attempted?

mna2016 (Fri, 06 Oct 2017 07:15:49 GMT):
Hi Team, I want to run blockchain explorer on top of a blockchain running on kubernetes container. I am following steps given on "https://github.com/hyperledger/blockchain-explorer". I believe that I need to updated the "network-config.json" file accordingly. Is there an example config file where this has been attempted?

mna2016 (Fri, 06 Oct 2017 07:15:49 GMT):
Hi Team, I want to run blockchain explorer on top of a blockchain running on kubernetes container. To set up blockchain explorer, I am following steps given on "https://github.com/hyperledger/blockchain-explorer". I believe that I need to updated the "network-config.json" file accordingly. Is there an example config file where this has been attempted?

mna2016 (Fri, 06 Oct 2017 07:15:49 GMT):
Hi Team, I want to run blockchain explorer on top of a blockchain running on kubernetes container. To set up blockchain explorer, I am following steps given on "https://github.com/hyperledger/blockchain-explorer". I believe that I need to update the "network-config.json" file accordingly. Is there an example config file where this has been attempted?

ccebrecos (Fri, 06 Oct 2017 09:53:52 GMT):
Has joined the channel.

t_stephens67 (Fri, 06 Oct 2017 12:16:02 GMT):
plz respond ^

satheeshk (Fri, 06 Oct 2017 12:28:09 GMT):
@mna2016 I haven't attempted to run it on Kubernetes.. Please let us know how it goes

satheeshk (Fri, 06 Oct 2017 12:28:44 GMT):
@t_stephens67 When you say hlfv1 network ? Do you mean running the "Build your network" byfn.sh script ?

t_stephens67 (Fri, 06 Oct 2017 12:31:21 GMT):
no I built my own network

t_stephens67 (Fri, 06 Oct 2017 12:31:32 GMT):
its similar I think

t_stephens67 (Fri, 06 Oct 2017 12:33:56 GMT):
the connection profile is the configuration composer uses to connect to the peers, orderer, ca, etc... I was just wondering it the network-config.json could be set up in a similar fasion

t_stephens67 (Fri, 06 Oct 2017 12:48:28 GMT):
for instance it looks like its trying to connect to my peer but it says Org1MSP faid to deserialize creator identity org1msp is unknown. so I added the keyValueStore location but that didnt seem to do anything

mna2016 (Fri, 06 Oct 2017 12:56:53 GMT):
@satheeshk @t_stephens67 I think I am going to try updating the config file with the connection details. let's see what happens.

mna2016 (Fri, 06 Oct 2017 12:57:37 GMT):
blockchain explorer should work on any underlying blockchain network whether its running on cloud, containers, locally etc

t_stephens67 (Fri, 06 Oct 2017 12:58:48 GMT):
@mna2016 take note the differences between requestURL->requests eventURL->events etc....

t_stephens67 (Fri, 06 Oct 2017 12:59:49 GMT):
for instance I changed the word peer1->vp0 and it was not happy with me lol

mna2016 (Fri, 06 Oct 2017 13:01:38 GMT):
@t_stephens67 thanks for the hint. I have a connection.json(which is hyperledger composer connection profile). I am going to put those parameters in this config file.

t_stephens67 (Fri, 06 Oct 2017 13:18:03 GMT):
OH I think I know why. It uses admin and I need it to use PeerAdmin

t_stephens67 (Fri, 06 Oct 2017 13:39:55 GMT):
anyone know where I can change that username variable?

t_stephens67 (Fri, 06 Oct 2017 13:49:06 GMT):
got it

t_stephens67 (Fri, 06 Oct 2017 14:18:46 GMT):
NVM still getting certificate signed by unknown authority

t_stephens67 (Fri, 06 Oct 2017 15:07:56 GMT):
@mna2016 how'd it work out?

pradeeppadmarajaiah (Fri, 06 Oct 2017 15:39:26 GMT):
Has joined the channel.

t_stephens67 (Fri, 06 Oct 2017 15:47:39 GMT):
:D got it the only problem now is the peer list is still using the default values and it only shows 1 peer even though I have 3 peers in the network

Raje (Fri, 06 Oct 2017 16:05:06 GMT):
Can we do transaction if both participants are on different channels or they need to be on the same channel?

kletkeman (Fri, 06 Oct 2017 16:56:55 GMT):
Has joined the channel.

kletkeman (Fri, 06 Oct 2017 16:58:00 GMT):
@mna2016 I'm trying to get it running on a kubernetes cluster and it is hanging ...

t_stephens67 (Fri, 06 Oct 2017 17:20:30 GMT):
Does anyone know if the PeerList works? everything is showing and transactions are showing up real time. but the PeerList is still the template

kletkeman (Fri, 06 Oct 2017 18:16:07 GMT):
Hmmm ... making a bit of progress ... I finally got the main page (after waiting for a long time) and the channel menu even showed the name of my channel ... but I am really hampered by how slow the UI is and the fact that the UI hangs interminably and never shows any messages regarding the quality of the config, the network json, and so on. The UI is pretty, but the app is a bear ...

kletkeman (Fri, 06 Oct 2017 18:17:41 GMT):
And after at least 3 or 4 minutes, I see the channel1 title on the main page, yet there is no data at all ... and in the peerlist there is some other peer that has nothing to do with my configuration ... someone else was wondering the same thing ...

t_stephens67 (Fri, 06 Oct 2017 18:19:50 GMT):
yea that peer list is the default list.

t_stephens67 (Fri, 06 Oct 2017 18:22:37 GMT):
@kletkeman depending on how you have configured your servers you may have to go though and change localhost to your DNS in the API swagger and in a few other places to get it working properly.

kletkeman (Fri, 06 Oct 2017 18:26:17 GMT):
@t_stephens67 Thanks, but I'm not going to continue with it. The UI is extremely unresponsive, which tells me that I am never going to enjoy using it. And with all the manual steps required, it should already be running ... this looks like a case where a lot of time was put into UI design and extra features and very little put into what really matters ... running outside of the toy network it comes with. This is so common that I can't even fault anyone all that much :-)

t_stephens67 (Fri, 06 Oct 2017 18:31:54 GMT):
yea def needs some work

t_stephens67 (Fri, 06 Oct 2017 18:32:40 GMT):
I just started working with it this morning as a way to visualize our network for a presentation but I feel it might just make things more confusing

m3r00t (Sat, 07 Oct 2017 07:17:17 GMT):
Has joined the channel.

souradeep-das (Sat, 07 Oct 2017 17:09:40 GMT):
Has joined the channel.

spiper957 (Sun, 08 Oct 2017 02:07:52 GMT):
Has joined the channel.

andreasp1994 (Sun, 08 Oct 2017 11:31:15 GMT):
Has joined the channel.

wilbert (Sun, 08 Oct 2017 12:07:37 GMT):
Has joined the channel.

PrithviS (Mon, 09 Oct 2017 05:48:00 GMT):
Has joined the channel.

mna2016 (Mon, 09 Oct 2017 10:03:37 GMT):
@kletkeman @t_stephens67 sorry for late response. there is a config file i.e. app/network.config.json. Is this the config file where the connection profile parameters should go?

mna2016 (Mon, 09 Oct 2017 10:26:22 GMT):

Message Attachments

mna2016 (Mon, 09 Oct 2017 10:26:44 GMT):
I am trying to connect to blockchain running on bluemix

krishna_jangid (Mon, 09 Oct 2017 11:51:11 GMT):
Has joined the channel.

t_stephens67 (Mon, 09 Oct 2017 12:03:06 GMT):
@mna2016 yea I got it I just didnt know if it would work with the composer network stuff

mna2016 (Mon, 09 Oct 2017 12:07:52 GMT):
@t_stephens67 So did you try connecting blockchain-explorer with blockchain running under a composer network?

t_stephens67 (Mon, 09 Oct 2017 12:13:34 GMT):
yup

t_stephens67 (Mon, 09 Oct 2017 12:15:02 GMT):
I made calls using the composer rest server and everything seemed to be updating on the explorer tool. The only thing that wasnt working was the PeerList still had the template peer in it instead of my 3 peers in the channel

t_stephens67 (Mon, 09 Oct 2017 12:15:22 GMT):
Also a lot of the API stuff wasnt working

mna2016 (Mon, 09 Oct 2017 12:17:34 GMT):
ok

mna2016 (Mon, 09 Oct 2017 12:17:55 GMT):
I have only one peer and channel to work with. I have updated my network-config like the screenshot here

mna2016 (Mon, 09 Oct 2017 12:18:10 GMT):

Message Attachments

mna2016 (Mon, 09 Oct 2017 12:19:07 GMT):
Does the format of the network-config file need change?

mna2016 (Mon, 09 Oct 2017 12:20:27 GMT):
@t_stephens67 can we simple put the connection.json file inside of "/app" sub-directory

mna2016 (Mon, 09 Oct 2017 12:20:55 GMT):
@t_stephens67 by connection.json i meant the connection profile created by composer

t_stephens67 (Mon, 09 Oct 2017 13:02:53 GMT):
yea you can just replace the requests and events with the connection.json stuff

satheeshk (Mon, 09 Oct 2017 13:04:24 GMT):
`network-config.json` holds information on how to connect to your fabric network

t_stephens67 (Mon, 09 Oct 2017 13:04:32 GMT):
That should work for the "key" and "cert" what I did was point it to the same crypto-config folder as my network

satheeshk (Mon, 09 Oct 2017 13:05:32 GMT):
@mna2016 I am not sure about the format of `connection.json` used by composer..

t_stephens67 (Mon, 09 Oct 2017 13:06:01 GMT):
@satheeshk its the same only the json is worded a bit different

satheeshk (Mon, 09 Oct 2017 13:06:58 GMT):
if thats the case, replacing network-config.json to connection.json should be enough ?

t_stephens67 (Mon, 09 Oct 2017 13:07:14 GMT):
yup

satheeshk (Mon, 09 Oct 2017 13:08:27 GMT):
and the certificate location in that file uses absolute or relative pathing ?

mna2016 (Mon, 09 Oct 2017 13:08:51 GMT):
@satheeshk @t_stephens67 That's the first thing i tried. i copied in connection.json into the /app subirectory. and then renamed it to 'network-config.json'

mna2016 (Mon, 09 Oct 2017 13:09:13 GMT):
But this approach did not work. And now I am editing network-config.json manually.

t_stephens67 (Mon, 09 Oct 2017 13:11:35 GMT):
right you cant copy it word for word

satheeshk (Mon, 09 Oct 2017 13:12:37 GMT):
@mna2016 @t_stephens67 oh.. ok... i get it..

mna2016 (Mon, 09 Oct 2017 13:14:04 GMT):
Well this may sound a silly question. How to run the app. I am entering "node main.js". config.json does not say much. Is this the right way to run the app?

satheeshk (Mon, 09 Oct 2017 13:15:05 GMT):
@mna2016 Yes.. thats the right way.. in fact thats what the start.sh does..

t_stephens67 (Mon, 09 Oct 2017 13:21:26 GMT):
./start.sh will just run it in the background with no output to console

t_stephens67 (Mon, 09 Oct 2017 13:22:35 GMT):
pro tip sudo netstat -lpn | grep :8080 then sudo kill -9 pid# .... you will thank me later

t_stephens67 (Mon, 09 Oct 2017 13:22:52 GMT):
considering it doesnt have a ./stop.sh

t_stephens67 (Mon, 09 Oct 2017 13:30:43 GMT):
really cool though I ran the curl command that composer rest server gives me in a bash script that runs it 100 times then ran that in 4 terminals. since I am running a kafka-based orderer I got back 100 blocks and 400 transactions.

satheeshk (Mon, 09 Oct 2017 13:35:07 GMT):
@t_stephens67 so you are able to see those appear in the web explorer ?

t_stephens67 (Mon, 09 Oct 2017 13:35:12 GMT):
yes

satheeshk (Mon, 09 Oct 2017 13:35:22 GMT):
great.. :)

satheeshk (Mon, 09 Oct 2017 13:35:29 GMT):
awesome.. congrats..

mna2016 (Mon, 09 Oct 2017 13:35:49 GMT):
@t_stephens67 i have updated the network.config.js. still getting an error.

t_stephens67 (Mon, 09 Oct 2017 13:35:57 GMT):
whats the error?

mna2016 (Mon, 09 Oct 2017 13:36:29 GMT):

Message Attachments

satheeshk (Mon, 09 Oct 2017 13:37:07 GMT):
```"org1": { "name": "peerOrg1", "mspid": "Org1MSP", "ca": "http://127.0.0.1:7054", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" },```

satheeshk (Mon, 09 Oct 2017 13:38:20 GMT):
seems like a config mismatch..

satheeshk (Mon, 09 Oct 2017 13:39:09 GMT):
the orgs under network-config doesn't match the org name with the composer network ?

t_stephens67 (Mon, 09 Oct 2017 13:39:58 GMT):
ahh yea I got that error at one point I had to modify main.js and helper.js some

t_stephens67 (Mon, 09 Oct 2017 13:40:15 GMT):
I don't remember everything I did

mna2016 (Mon, 09 Oct 2017 13:40:45 GMT):
@t_stephens67 so that means, the structure in main.js, helper.js etc will need to updated. right?

t_stephens67 (Mon, 09 Oct 2017 13:41:57 GMT):
maybe let me see if I can find what I did

mna2016 (Mon, 09 Oct 2017 13:42:39 GMT):
@t_stephens67 Thanks for your help so far with this :)

mna2016 (Mon, 09 Oct 2017 13:43:14 GMT):
@t_stephens67 it will be great if you could recall what exactly you did to fix this.

t_stephens67 (Mon, 09 Oct 2017 13:45:54 GMT):
I remember it had something to do with trying to build a string called "org"+[org1]+"peer1" (I dont remember the exact syntax) but I changed that to just org1

mna2016 (Mon, 09 Oct 2017 13:50:54 GMT):
@t_stephens67 ok. that's encouraging. i will find out and fix this in some time. thanks again!

t_stephens67 (Mon, 09 Oct 2017 13:58:25 GMT):
@mna2016 nvm that was another line I changed when trying to fix my Admin vs PeerAdmin problem I ran into

dolanor (Mon, 09 Oct 2017 14:37:07 GMT):
Has joined the channel.

mna2016 (Mon, 09 Oct 2017 17:17:37 GMT):
1) there is a syntax error in network-config_tls.json

mna2016 (Mon, 09 Oct 2017 17:30:18 GMT):
I just did enableTls = false in teh config file in the root directory. after that I am getting the error "PEM encoded certificate is required".

gstremote (Mon, 09 Oct 2017 19:01:07 GMT):
Has joined the channel.

gstremote (Mon, 09 Oct 2017 19:01:15 GMT):
Hey guys, is there a way to make a block that has an information, refer to a previous block, where that specific information changed, and show it on the actual block?

Pardha (Mon, 09 Oct 2017 21:07:58 GMT):
@gstremote are you saying highlight the diffs ?

amazingguni (Tue, 10 Oct 2017 02:08:47 GMT):
Has joined the channel.

mna2016 (Tue, 10 Oct 2017 07:55:16 GMT):
@gstremote @Pardha Hi guys, Is there a way to run blockchain explorer without the need to have tls certificates?

lclclc (Tue, 10 Oct 2017 08:29:02 GMT):
Has joined the channel.

lclclc (Tue, 10 Oct 2017 08:34:27 GMT):
Has anyone successfully run explorer on top of hyperledger composer network? @satheeshk , were you able to do that?

dolanor (Tue, 10 Oct 2017 08:38:15 GMT):
@mna2016 I think, yes. you should put `"enableTls" = false` from the `config.json`

dolanor (Tue, 10 Oct 2017 08:38:23 GMT):
but I didn't try, I'm using it.

dolanor (Tue, 10 Oct 2017 08:39:20 GMT):
I have a question also. Does Blockchain Explorer also works if we don't use the CA server/enrollement and use certificate to authenticate ? How can we configure it?

lclclc (Tue, 10 Oct 2017 08:39:58 GMT):
My configuration file is like this: ```{ "network-config": { "orderer": [ { "url": "grpc://0.0.0.0:7050", "server-hostname": "orderer.example.com" } ], "org1": { "name": "Org1", "mspid": "Org1MSP", "ca": "http://0.0.0.0:7054", "peer0": { "requests": "grpc://0.0.0.0:7051", "events": "grpc://0.0.0.0:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/etc/hyperledger/msp/users/Admin@org1.example.com/msp/keystore", "cert": "/etc/hyperledger/msp/users/Admin@org1.example.com/msp/signcerts" } } } }``` and error output is like this: ```TypeError: Cannot read property 'requests' of undefined at Object.getPeerAddressByName (/Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/app/helper.js:373:31) at buildTarget (/Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/app/query.js:310:41) at getChainInfo (/Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/app/query.js:171:15) at Object.getChannelHeight (/Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/app/query.js:298:9) at getMaxBlockNum (/Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/service/blockscanner.js:91:18) at Object.syncBlock (/Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/service/blockscanner.js:31:9) at Timeout._onTimeout (/Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/listener/blocklistener.js:38:22) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5)```

mna2016 (Tue, 10 Oct 2017 08:47:21 GMT):
there is a syntax error in the json of network-config_tls.json. I guess the "requests" error is most likely due to that.

lclclc (Tue, 10 Oct 2017 08:47:49 GMT):
I also assume there is a syntax error

lclclc (Tue, 10 Oct 2017 08:48:23 GMT):
But all I can know is it is a valid json, I don't have a syntax validator based on configuration rule.

mna2016 (Tue, 10 Oct 2017 08:49:28 GMT):
@dolanor if I set tls=false on the config file, I am getting "PEM encoded certificate is required" error. Do you have an idea how to get around it?

dolanor (Tue, 10 Oct 2017 09:18:46 GMT):
Not in my head now

dolanor (Tue, 10 Oct 2017 09:18:54 GMT):
I haven't been bitten by it :p

satheeshk (Tue, 10 Oct 2017 09:56:05 GMT):
@lclclc @t_stephens67 was able to connect to the composer network from blockchain-explorer

lclclc (Tue, 10 Oct 2017 09:57:33 GMT):
How can you do that, can you share your configuration file? Have you conquer any problem?

satheeshk (Tue, 10 Oct 2017 09:59:28 GMT):
I haven't tried myself..

satheeshk (Tue, 10 Oct 2017 10:00:18 GMT):
From what I gather, you should modify the network-config.json in explorer from the connection.json file from composer..

amazingguni (Tue, 10 Oct 2017 11:31:53 GMT):
Hi guys, I'm trying to connect fabcar(in fabric-examples) and explorer, but the following settings do not work well. Is there anyone who can help?

amazingguni (Tue, 10 Oct 2017 11:32:27 GMT):
```json { "host":"localhost", "port":"8080", "channelsList": ["mychannel"], "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"30000", "enableTls":false, "users":[ { "username":"admin", "secret":"adminpw" } ], "mysql":{ "host":"127.0.0.1", "port":"3306", "database":"fabricexplorer", "username":"root", "passwd":"1111" } } ```

amazingguni (Tue, 10 Oct 2017 11:32:45 GMT):
```json { "network-config": { "orderer": [{ "url": "grpc://127.0.0.1:7050", "server-hostname": "orderer.example.com" }], "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "ca": "http://127.0.0.1:7054", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } } } ```

amazingguni (Tue, 10 Oct 2017 11:33:29 GMT):
error log ```sh [2017-10-10 11:32:58.706] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/ubuntu/blockchain-explorer/app/query.js:301:32) [2017-10-10 11:32:59.711] [INFO] Helper - Successfully loaded member from persistence error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unkn own authority at /home/ubuntu/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Channel.js]: Failed Query channel info. Error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authorit y at /home/ubuntu/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-10 11:32:59.721] [ERROR] Query - Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/ubuntu/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-10 11:32:59.721] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/ubuntu/blockchain-explorer/app/query.js:301:32) ```

lclclc (Tue, 10 Oct 2017 12:13:41 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=oJEcFDhbcnWZLmsXW) @satheeshk Thanks for replying. I did also use connection.json and it is inadequate to fulfill the network-config.json. Some fields are missing, like organization name, certificate address....

lclclc (Tue, 10 Oct 2017 12:14:57 GMT):
I can figure out certificate address by search from / directory, but I can only guess organization name, it finally comes up with a network-config.json like this:```{ "network-config": { "orderer": [ { "url": "grpc://0.0.0.0:7050", "server-hostname": "orderer.example.com" } ], "org1": { "name": "Org1", "mspid": "Org1MSP", "ca": "http://0.0.0.0:7054", "peer0": { "requests": "grpc://0.0.0.0:7051", "events": "grpc://0.0.0.0:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/etc/hyperledger/msp/users/Admin@org1.example.com/msp/keystore", "cert": "/etc/hyperledger/msp/users/Admin@org1.example.com/msp/signcerts" } } } }```

lclclc (Tue, 10 Oct 2017 12:15:09 GMT):
And I don't know where I did wrong.

satheeshk (Tue, 10 Oct 2017 13:19:27 GMT):
@amazingguni How are you bringing up the network ? Can you check the version of hyperledger images you are using ? This error says that the it doesn't have the root cert to verify.

t_stephens67 (Tue, 10 Oct 2017 13:20:04 GMT):
@lclclc Yes you are having the same issue as @mna2016 where it can not read property 'requests' of undefined. If I can find some time I will find the files I modified and compare them to see what I changed. I had to modify some of the code to get it to work.

satheeshk (Tue, 10 Oct 2017 13:20:31 GMT):
@amazingguni Please share the output of `docker images | grep hyperledger`

satheeshk (Tue, 10 Oct 2017 13:21:47 GMT):
@t_stephens67 can you do a git diff or submit a patch ?

t_stephens67 (Tue, 10 Oct 2017 13:29:26 GMT):
try taking out the "server-hostname" field

t_stephens67 (Tue, 10 Oct 2017 13:31:59 GMT):
I changed a bunch of other stuff trying to get it to work last friday but I must have changed it back because it wasnt showing up in git diff

t_stephens67 (Tue, 10 Oct 2017 13:36:27 GMT):
I changed username on line 359 of helper.js from username: 'peer' + userOrg + 'Admin' to username: 'admin', then I set my network-config file the same as yall without the "server-hostname" field in the orderer and in the peers, I pointed the key and cert to the composer key and certs then changed "mychannel" in config.json to "composerchannel".

CodeReaper (Tue, 10 Oct 2017 14:04:58 GMT):
Hey, so I was going through the explorer and noticed it uses mysql database to store all details such as transaction listing and blocks similarly. In real there will be many such node applications interacting with blockchain network(same channel) How will transactions done by a separate node app emit any event that other node apps can catch and store those details in their mysql database???

gstremote (Tue, 10 Oct 2017 14:13:32 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=nNBHrJNLoct7BwLcQ) @Pardha Yeah, kind of, like a way that I could track the blocks

satheeshk (Tue, 10 Oct 2017 14:57:46 GMT):
@CodeReaper its looking for are new transaction events and new blocks .. so when a transaction is successful an event is fired and captured here irrespective of which node apps perform this transaction

gstremote (Tue, 10 Oct 2017 15:00:20 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=aPZdWAQytuvB6MNZN) @gstremote When I make a transaction, is there an automatic process that records the previous 'hash' of some asset in some place? For example, when I transact one asset from member A to B, Is there a way to track the transaction of my asset ? (Obs. I'm using composer and rest server)

coragi (Tue, 10 Oct 2017 15:49:44 GMT):
Has joined the channel.

mna2016 (Tue, 10 Oct 2017 16:02:43 GMT):
@t_stephens67 After fixing the json error ( a missing comma), I got node main.js" to work and I could see empty UI of the blockchain-explorer. Although the main.js run was showing too many errors and warnings. I presume that I did not use properly values in tls certificate fields on the network-config.tlsca.json file. In some time I will try to incorporate the suggestions you just gave.

mna2016 (Tue, 10 Oct 2017 16:02:43 GMT):
@t_stephens67 After fixing the json error ( a missing comma in network-config-tlsca.json), I got node main.js" to work and I could see empty UI of the blockchain-explorer. Although the main.js run was showing too many errors and warnings. I presume that I did not use properly values in tls certificate fields on the network-config.tlsca.json file. In some time I will try to incorporate the suggestions you just gave.

Pardha (Tue, 10 Oct 2017 17:15:36 GMT):
@mna2016 .. is it possible to open jira tickets for the issues you are facing ?.. or list them here..and I can open tickets

Pardha (Tue, 10 Oct 2017 17:15:49 GMT):
I would like to get them resolved..so that others don't have to face the same issue

Pardha (Tue, 10 Oct 2017 17:23:20 GMT):
@gstremote this seems to be a business level requirement. Your chaincode needs to keep track of some sort of identifier to maintain the audit trail for the asset. So far, blockchain explorer doesn't have this capability.

HaleyHu (Wed, 11 Oct 2017 01:08:38 GMT):
Has joined the channel.

amazingguni (Wed, 11 Oct 2017 04:19:09 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=YSvmSzg9EGZjPYecC) @satheeshk ``` ``` hyperledger/fabric-ca latest 17f38f1c8e80 6 days ago 238MB hyperledger/fabric-ca x86_64-1.0.3 17f38f1c8e80 6 days ago 238MB hyperledger/fabric-tools latest ac1f4a1e58a6 7 days ago 1.33GB hyperledger/fabric-tools x86_64-1.0.3 ac1f4a1e58a6 7 days ago 1.33GB hyperledger/fabric-couchdb latest b2188fa55138 7 days ago 1.47GB hyperledger/fabric-couchdb x86_64-1.0.3 b2188fa55138 7 days ago 1.47GB hyperledger/fabric-kafka latest 9e2a425c9dd6 7 days ago 1.29GB hyperledger/fabric-kafka x86_64-1.0.3 9e2a425c9dd6 7 days ago 1.29GB hyperledger/fabric-zookeeper latest 3b50cfad9af3 7 days ago 1.3GB hyperledger/fabric-zookeeper x86_64-1.0.3 3b50cfad9af3 7 days ago 1.3GB hyperledger/fabric-orderer latest fd1055ee597a 7 days ago 151MB hyperledger/fabric-orderer x86_64-1.0.3 fd1055ee597a 7 days ago 151MB hyperledger/fabric-peer latest b7f253e87c0c 7 days ago 154MB hyperledger/fabric-peer x86_64-1.0.3 b7f253e87c0c 7 days ago 154MB hyperledger/fabric-javaenv latest 1d778fcc14c0 7 days ago 1.41GB hyperledger/fabric-javaenv x86_64-1.0.3 1d778fcc14c0 7 days ago 1.41GB hyperledger/fabric-ccenv latest 2e5898d8b21b 7 days ago 1.28GB hyperledger/fabric-ccenv x86_64-1.0.3 2e5898d8b21b 7 days ago 1.28GB ```

amazingguni (Wed, 11 Oct 2017 04:20:02 GMT):
And the below is output of `docker ps`

amazingguni (Wed, 11 Oct 2017 04:20:06 GMT):
``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 474f8981294b dev-peer0.org1.example.com-fabcar-1.0-5c906e402ed29f20260ae42283216aa75549c571e2e380f3615826365d8269ba "chaincode -peer.a..." 16 hours ago Up 16 hours dev-peer0.org1.example.com-fabcar-1.0 a840e128c789 hyperledger/fabric-tools "/bin/bash" 16 hours ago Up 16 hours cli 62cf53069ac3 hyperledger/fabric-peer "peer node start" 16 hours ago Up 16 hours 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com c20dee8792f9 hyperledger/fabric-ca "sh -c 'fabric-ca-..." 16 hours ago Up 16 hours 0.0.0.0:7054->7054/tcp ca.example.com b83ec2698004 hyperledger/fabric-couchdb "tini -- /docker-e..." 16 hours ago Up 16 hours 4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp couchdb 8c4e1102858c hyperledger/fabric-orderer "orderer" 16 hours ago Up 16 hours 0.0.0.0:7050->7050/tcp orderer.example.com ```

CodeReaper (Wed, 11 Oct 2017 04:43:30 GMT):
@satheeshk can you tell me which file is responsible for the catching of these events from the peers.

mna2016 (Wed, 11 Oct 2017 05:25:10 GMT):
@Pardha one thing that needs fixing is the missing comma at line #12 of "blockchain-explorer/app/network-config-tls.json". This error is the reason why I got property "undefined" error during the run.

HaleyHu (Wed, 11 Oct 2017 07:11:15 GMT):
I got an error: `Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140736210785216:error:1411713E:SSL routines:ssl_check_srvr_ecc_cert_and_alg:ecc cert not for signing:../deps/openssl/openssl/ssl/ssl_lib.c:2512` when I visit `localhost:8080`, Why?

HaleyHu (Wed, 11 Oct 2017 07:13:43 GMT):
I got an error: `Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140736210785216:error:1411713E:SSL routines:ssl_check_srvr_ecc_cert_and_alg:ecc cert not for signing:../deps/openssl/openssl/ssl/ssl_lib.c:2512` when I run `./start.sh` to start the blockchain-explorer. Is my config error?

HaleyHu (Wed, 11 Oct 2017 07:14:33 GMT):
How should I solve this problem?

HaleyHu (Wed, 11 Oct 2017 07:47:50 GMT):

Message Attachments

HaleyHu (Wed, 11 Oct 2017 07:48:42 GMT):

Message Attachments

satheeshk (Wed, 11 Oct 2017 08:44:04 GMT):
@mna2016 The missing comma is fixed in the network-config-tls.json with this patch https://github.com/hyperledger/blockchain-explorer/commit/03f588168d14f2d8a04dc1a05463116f1440f696

lclclc (Wed, 11 Oct 2017 09:45:28 GMT):
```error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown at /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Channel.js]: Failed Query channel info. Error: Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown at /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-11 17:41:55.306] [ERROR] Query - Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown at /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-11 17:41:55.306] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/app/query.js:301:32) error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com") at /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com") at /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-11 17:41:56.077] [ERROR] Query - Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com")```

lclclc (Wed, 11 Oct 2017 09:46:06 GMT):
when I tried to use explorer to connect to underlying composer network, I see output like this.

lclclc (Wed, 11 Oct 2017 09:46:54 GMT):
My network-config.json is like this: ```{ "network-config": { "orderer": [ { "url": "grpc://127.0.0.1:7050", "server-hostname": "orderer.example.com" } ], "org1": { "name": "Org1", "mspid": "Org1MSP", "ca": "http://127.0.0.1:7054", "peer0": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/etc/hyperledger/msp/users/Admin@org1.example.com/msp/keystore", "cert": "/etc/hyperledger/msp/users/Admin@org1.example.com/msp/signcerts" } } } }```

lclclc (Wed, 11 Oct 2017 09:47:27 GMT):
Looks like it connected to ca container, but failed to authenticate the MSP.

lclclc (Wed, 11 Oct 2017 09:47:40 GMT):
I don't know what's wrong inside this.

lclclc (Wed, 11 Oct 2017 09:48:10 GMT):
Anyone knows how to debug explorer log output? I don't see any documentation about configuration syntax.

jgiron (Wed, 11 Oct 2017 10:08:53 GMT):
Hi everyone, I have a question. If I want to use Blockchain-explorer, can I use it without having the network with Hyperledger Composer, because i have the network with Hyperledger Fabric. Thanks!

lclclc (Wed, 11 Oct 2017 10:11:18 GMT):
explorer comes along with an example network.

lclclc (Wed, 11 Oct 2017 10:11:34 GMT):
I can only make it work with that example network.

lclclc (Wed, 11 Oct 2017 10:11:49 GMT):
Never make it to use any other networks.

lclclc (Wed, 11 Oct 2017 10:22:11 GMT):
@jgiron

jgiron (Wed, 11 Oct 2017 10:25:32 GMT):
@lclclc Thanks! I just make it work with the sample network, but I can not run another network that I have running and I want to visualize it with Blockchain-explorer

lclclc (Wed, 11 Oct 2017 10:29:00 GMT):
That is also my problem

mna2016 (Wed, 11 Oct 2017 10:50:27 GMT):
@satheeshk Thanks!

amazingguni (Wed, 11 Oct 2017 10:53:01 GMT):
@lclclc You mean explorer is working on only `fabric-docker-compose-svt`??

lclclc (Wed, 11 Oct 2017 10:53:22 GMT):
I can only make it work with that sample network.

lclclc (Wed, 11 Oct 2017 10:53:39 GMT):
It should be working with any network in theory

tamajit (Wed, 11 Oct 2017 10:58:57 GMT):
Has joined the channel.

satheeshk (Wed, 11 Oct 2017 11:01:43 GMT):
@amazingguni I see that you h 1.0.3 images, I had problem with running the network and making E2E test finish successfully.. Are you ale to make it work ?

amazingguni (Wed, 11 Oct 2017 11:04:03 GMT):
I'm running successfully now(but sometimes it is failed) Let me know your solution. :)

MauriK (Wed, 11 Oct 2017 12:13:57 GMT):
Has joined the channel.

hugo-borne (Wed, 11 Oct 2017 13:38:33 GMT):
Has joined the channel.

Pardha (Wed, 11 Oct 2017 15:27:19 GMT):
@amazingguni when did it fail ?

Pardha (Wed, 11 Oct 2017 15:27:39 GMT):
if you can provide the logs, we can check the issue

mna2016 (Wed, 11 Oct 2017 15:39:03 GMT):
Hi team, how to run blockchain-explorer with tls=false in config. If we hvae tls=false then do we need to have certificates stored somwhere?

matanyahu (Wed, 11 Oct 2017 19:18:52 GMT):
Hello, I tried to run Explorer for the first time with its own byfn.sh network

matanyahu (Wed, 11 Oct 2017 19:19:16 GMT):
However, it looks like Explorer is not able to log in with the admin username

matanyahu (Wed, 11 Oct 2017 19:19:46 GMT):
[2017-10-11 21:19:32.462] [ERROR] Helper - admin enrollment failed [2017-10-11 21:19:32.462] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/Users/mjedrzejczyk/Downloads/github.com/project/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/Users/mjedrzejczyk/Downloads/github.com/project/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/Users/mjedrzejczyk/Downloads/github.com/project/blockchain-explorer/app/query.js:175:18) at process._tickCallback (internal/process/next_tick.js:109:7) [2017-10-11 21:19:32.463] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/Users/mjedrzejczyk/Downloads/github.com/project/blockchain-explorer/app/query.js:301:32) at process._tickCallback (internal/process/next_tick.js:109:7)

matanyahu (Wed, 11 Oct 2017 19:20:15 GMT):
I left app/network-config.json unmodified

matanyahu (Wed, 11 Oct 2017 19:20:24 GMT):
any suggestions are welcome

t_stephens67 (Wed, 11 Oct 2017 19:36:07 GMT):
@matanyahu network-config.json must point to the same certs that the network is deployed with

matanyahu (Wed, 11 Oct 2017 19:45:14 GMT):
@t_stephens67 : I redirected cert paths in network-config.json from the original path (/fabric-docker-compose-svt/crypto-config) to the one generated by byfn in blockchain-explorer/first-network folder (../first-network/crypto-config), with same results

matanyahu (Wed, 11 Oct 2017 19:47:43 GMT):
unless there is another network-config.json file somewhere

matanyahu (Wed, 11 Oct 2017 19:47:48 GMT):
which is used by the app

matanyahu (Wed, 11 Oct 2017 19:48:00 GMT):
but from what I see in github, that's the one which is used

matanyahu (Wed, 11 Oct 2017 19:54:09 GMT):
I made modifications to network-config-tls.json

matanyahu (Wed, 11 Oct 2017 19:54:20 GMT):
to indicate a correct cert repo

matanyahu (Wed, 11 Oct 2017 19:54:23 GMT):
same effect

baramustafa (Wed, 11 Oct 2017 22:28:16 GMT):
Has joined the channel.

amazingguni (Thu, 12 Oct 2017 00:01:53 GMT):
@Pardha In fact, it seems to fail immediately after bring up to start.sh, but it is running if i run node.js server after 2~3 minutes.

ArjunGhevariya (Thu, 12 Oct 2017 05:51:35 GMT):
Has joined the channel.

Amitchandra (Thu, 12 Oct 2017 06:01:31 GMT):
When a Chaincode is changed, how is the version control maintained across the Network in the Organizations.

t_stephens67 (Thu, 12 Oct 2017 12:39:18 GMT):
@matanyahu whatever path you put as the "key" and "cert" gets appended to the current "blockchain-explorer" path so you need totake that "../first-network/crypto-config" and put it inside the blockchain-explorer folder

matanyahu (Thu, 12 Oct 2017 13:50:16 GMT):
will take care of it tonight and let you know about results

Pardha (Thu, 12 Oct 2017 23:42:56 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=tzFeSuHGvKsL7KC9m) @amazingguni This is weird.. Let us check this issue

amazingguni (Fri, 13 Oct 2017 01:41:18 GMT):
Can't you reproduce it? i always got same error, when i run `node main.js` with in 1~2 minute after running `fabric-docker-compose-svt/start.sh `.

lclclc (Fri, 13 Oct 2017 02:46:15 GMT):

Clipboard - October 13, 2017 10:46 AM

lclclc (Fri, 13 Oct 2017 02:46:55 GMT):

Clipboard - October 13, 2017 10:46 AM

lclclc (Fri, 13 Oct 2017 02:48:26 GMT):
Very strange thing. I am running example network coming along with explorer. Explorer can recongnize only 2 peer(Actuallay It should recognize 4 peers), and only one peer in peer list. It is a normal behavior or a bug, I don't see error in output log.

Pardha (Fri, 13 Oct 2017 03:17:47 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ZZcaEoSgLm5wABcNn) @lclclc List of peers show as 2...but lists only one.. seems like a bug. we will check this out and get back to you

lclclc (Fri, 13 Oct 2017 03:18:12 GMT):
Thank you.

lclclc (Fri, 13 Oct 2017 03:18:27 GMT):
I double check that I am using default configuration.

lclclc (Fri, 13 Oct 2017 03:19:07 GMT):

Clipboard - October 13, 2017 11:18 AM

lclclc (Fri, 13 Oct 2017 03:19:20 GMT):
Actually there should be 4 peers

Pardha (Fri, 13 Oct 2017 03:20:33 GMT):
Ok.. are you starting the fabric network independently ?

Pardha (Fri, 13 Oct 2017 03:21:09 GMT):
or.. are you starting it using what comes with explorer ?

lclclc (Fri, 13 Oct 2017 03:21:15 GMT):
No, I am using the fabric-docker-compose-svt network

lclclc (Fri, 13 Oct 2017 03:22:34 GMT):
There was no initial error log, but there was some additional log appended, not sure why if it is related to this issue: ```error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: chaincode error (status: 500, message: Authorization for GETINSTALLEDCHAINCODES on channel getinstalledchaincodes has been denied with error Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]) at /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: chaincode error (status: 500, message: Authorization for GETINSTALLEDCHAINCODES on channel getinstalledchaincodes has been denied with error Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]) at /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-13 11:20:52.268] [ERROR] Query - Error: chaincode error (status: 500, message: Authorization for GETINSTALLEDCHAINCODES on channel getinstalledchaincodes has been denied with error Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]) at /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15```

lclclc (Fri, 13 Oct 2017 03:24:04 GMT):
I have change some configuration but I have revert them back, I double check that config.json and app/network-config.json are exactly the same as what they are in github repo. And the explorer is bootstrapped normally, except the behavior I found.

Pardha (Fri, 13 Oct 2017 03:25:15 GMT):
Ok. seems like a bug.. @satheeshk --> Please check this out

lclclc (Fri, 13 Oct 2017 03:26:19 GMT):
I think, even I change something I don't know, explorer lists 2 peers and only shows one peer is still a bug.

lclclc (Fri, 13 Oct 2017 03:26:32 GMT):
And no hints to fix it.

Pardha (Fri, 13 Oct 2017 03:28:09 GMT):
agreed.. it is a bug.. I know it doesn't query the network to find the actual number of peers.. but, it should at least display what's in the config.. will look into this

parags (Fri, 13 Oct 2017 04:07:21 GMT):
Has joined the channel.

parags (Fri, 13 Oct 2017 04:54:03 GMT):
I see the same (only 1 peer). I tried against the BYFN network example. It's also not showing me any blocks or transactions. Funny thing is that 2 days ago, I was able to install the explorer and browse transactions quite well.

lclclc (Fri, 13 Oct 2017 05:18:54 GMT):
So it is common case and can be reproduce.

Amitchandra (Fri, 13 Oct 2017 07:11:07 GMT):
Hi All,Can anyone answer the question.. "When a chaincode code is changed, how is the version control maintained in Hyperledger Fabric"

CallMain (Fri, 13 Oct 2017 07:28:06 GMT):
Has joined the channel.

jgiron (Fri, 13 Oct 2017 07:41:56 GMT):
@lclclc The error is in the file /explorer_client/js/index-gen.js in line 94121, the peer of example it is hardcoded.

jgiron (Fri, 13 Oct 2017 07:43:43 GMT):
@lclclc No, I am using the fabric-docker-compose-svt network

lclclc (Fri, 13 Oct 2017 08:39:33 GMT):
What it is hardcoded

lclclc (Fri, 13 Oct 2017 08:39:54 GMT):
It shouldn't know it is running on top of an example network.

lclclc (Fri, 13 Oct 2017 08:40:10 GMT):
Why it is hardcoded?

lclclc (Fri, 13 Oct 2017 08:45:33 GMT):
@jgiron, it will always show 1 peer in any network?

jgiron (Fri, 13 Oct 2017 08:46:11 GMT):
yes, and always show the same peer of example

jgiron (Fri, 13 Oct 2017 08:48:13 GMT):
Even if you change your network and you have 2 peers and 1 org called org4, the peerlist show the same as in the example

lclclc (Fri, 13 Oct 2017 08:49:04 GMT):
So every user will meet this, no matter what network they use.

lclclc (Fri, 13 Oct 2017 08:49:17 GMT):
I am wondering, why only little user like us notice this.

jgiron (Fri, 13 Oct 2017 08:50:54 GMT):
In my case I have never run the example network and i see the peer of the example

lclclc (Fri, 13 Oct 2017 08:52:54 GMT):
I personally think this is a fatal error, because no matter what user will always see wrong peers under any condition.

jgiron (Fri, 13 Oct 2017 08:53:54 GMT):
Yes i think so

jgiron (Fri, 13 Oct 2017 08:57:29 GMT):
and I've noticed that not hold more than one organization, because in the path of keyStoreValue defined in config.json only generates keys for the first organization, If I am wrong I would like someone to confirm my. Thanks!

lclclc (Fri, 13 Oct 2017 09:00:08 GMT):
That is also my observation result.

lclclc (Fri, 13 Oct 2017 09:01:01 GMT):
Even 2 orgs of 4 peers, only 2 peers are aware of, and only one peer shows up.

jgiron (Fri, 13 Oct 2017 09:07:42 GMT):
Yes, If you find a solution to this problem please let me know, I'm going to continue working in this.

lclclc (Fri, 13 Oct 2017 09:20:03 GMT):
Let's keep in touch

parags (Fri, 13 Oct 2017 09:25:03 GMT):
thanks for looking into this. should the hardcoding be filed as a bug?

amazingguni (Fri, 13 Oct 2017 09:32:12 GMT):
Guys, i have one more question. i want to modify `blockchain-explorer/explorer_client/js/index.js`. but i should generate `index-gen.js` to reflect my change.

amazingguni (Fri, 13 Oct 2017 09:32:55 GMT):
i try to generate by executing `npm run build` in explorer_client directory.

amazingguni (Fri, 13 Oct 2017 09:33:01 GMT):
but the below error is occured

amazingguni (Fri, 13 Oct 2017 09:33:30 GMT):
``` > fabric-explorer-client@1.0.0 build /home/echo/git/fintto_server/blockchain-explorer/explorer_client > webpack Hash: e9bd5cc3473f53e97d0f Version: webpack 1.15.0 Time: 2918ms Asset Size Chunks Chunk Names index-gen.js 3.13 MB 0 [emitted] main [0] multi main 40 bytes {0} [built] [275] ./js/widgets ^\.\/.*$ 663 bytes {0} [optional] [built] + 330 hidden modules ERROR in ./~/xmlhttprequest/lib/XMLHttpRequest.js Module not found: Error: Cannot resolve module 'child_process' in /home/echo/git/fintto_server/blockchain-explorer/explorer_client/node_modules/xmlhttprequest/lib @ ./~/xmlhttprequest/lib/XMLHttpRequest.js 15:12-36 ```

amazingguni (Fri, 13 Oct 2017 09:47:02 GMT):
Ah! i found the reason (actually i don't know why)

amazingguni (Fri, 13 Oct 2017 09:47:30 GMT):
add the below options in `webpack.config.js`

amazingguni (Fri, 13 Oct 2017 09:47:36 GMT):
```js externals:[{ xmlhttprequest: '{XMLHttpRequest:XMLHttpRequest}' }] ```

amazingguni (Fri, 13 Oct 2017 09:47:36 GMT):
``` js externals:[{ xmlhttprequest: '{XMLHttpRequest:XMLHttpRequest}' }] ```

amazingguni (Fri, 13 Oct 2017 09:47:36 GMT):
``` externals:[{ xmlhttprequest: '{XMLHttpRequest:XMLHttpRequest}' }] ```

lclclc (Fri, 13 Oct 2017 09:48:04 GMT):
Looks like your node environment is corrupted

lclclc (Fri, 13 Oct 2017 09:48:14 GMT):
Not sure what node version you are using

lclclc (Fri, 13 Oct 2017 09:48:34 GMT):
Not sure if it is compatible with your hyperledger

amazingguni (Fri, 13 Oct 2017 10:00:40 GMT):
i use v6.11.3

satheeshk (Fri, 13 Oct 2017 10:38:59 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=GMjf7BuicrN9278MY) @Amitchandra Please post this question to fabric channel, you have a better chance of receiving a response.

Amitchandra (Fri, 13 Oct 2017 11:10:04 GMT):
@satheeshk : Thanks for the Information.I have posted it there to get the response.

satheeshk (Fri, 13 Oct 2017 11:23:29 GMT):
@amazingguni https://jira.hyperledger.org/projects/BE/issues/BE-47?filter=allissues This ticket raised

t_stephens67 (Fri, 13 Oct 2017 12:26:51 GMT):
The solution to the 1 peer showing up and being hard coded is to build that feature into the tool...

t_stephens67 (Fri, 13 Oct 2017 12:28:09 GMT):
workaround is to hard code your own values:stuck_out_tongue_winking_eye: :stuck_out_tongue_winking_eye:

Pardha (Fri, 13 Oct 2017 13:14:16 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=fPZB7nkDogMzNba8n) @t_stephens67 I like the suggestions. We do need help.. If you can help fix the issue, we will gladly take your patch

t_stephens67 (Fri, 13 Oct 2017 14:01:00 GMT):
@Pardha Maybe if I had some free time.

HandsomeRoger (Sat, 14 Oct 2017 13:24:24 GMT):
Has joined the channel.

JosephKovuri (Sun, 15 Oct 2017 09:47:06 GMT):
Has joined the channel.

lclclc (Mon, 16 Oct 2017 05:04:42 GMT):
I deleted my old blockchain-explorer and re-git-cloned. And now when trying to npm install I am seeing this

lclclc (Mon, 16 Oct 2017 05:04:58 GMT):
```npm ERR! Darwin 16.7.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v6.11.3 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! pkcs11js@1.0.10 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pkcs11js@1.0.10 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the pkcs11js package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pkcs11js npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pkcs11js npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/magicliang/Desktop/Programming/Hyperledger/blockchain-explorer/npm-debug.log```

lclclc (Mon, 16 Oct 2017 05:05:16 GMT):
I am using node 6.11.3

lclclc (Mon, 16 Oct 2017 05:05:46 GMT):
latest macOS Sierra 10.12.6

lclclc (Mon, 16 Oct 2017 05:06:17 GMT):
Is there recent incompatible change commited?

mascanc (Tue, 17 Oct 2017 13:54:52 GMT):
Hi All good day!

mascanc (Tue, 17 Oct 2017 13:55:20 GMT):
Today I just fetched the blockchain explorer, to use it in my consortium (with different peer names, and msp, etc)

mascanc (Tue, 17 Oct 2017 13:55:43 GMT):
So I changed the configuration to hopefully reflect my consortium.

mascanc (Tue, 17 Oct 2017 13:55:57 GMT):
But when I run the node main.js, I see

mascanc (Tue, 17 Oct 2017 13:55:59 GMT):
at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 Org is org1 peer is peer1 [2017-10-17 15:53:26.992] [ERROR] Helper - admin enrollment failed Username admin org org1 [2017-10-17 15:53:26.992] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/root/HyperLedgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/root/HyperLedgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/root/HyperLedgerExplorer/blockchain-explorer/app/query.js:176:18) [2017-10-17 15:53:26.992] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/root/HyperLedgerExplorer/blockchain-explorer/app/query.js:302:32) (node:7273) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 296): Error: Cannot save null userContext. Org is org1 peer is peer1 error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Call dropped by load balancing policy at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: Call dropped by load balancing policy at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-17 15:53:27.362] [ERROR] Query - Error: Call dropped by load balancing policy at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 Org is org1 peer is peer1 [2017-10-17 15:53:27.994] [ERROR] Helper - admin enrollment failed Username admin org org1

mascanc (Tue, 17 Oct 2017 13:56:04 GMT):
What am I doing wrong?

mascanc (Tue, 17 Oct 2017 13:58:51 GMT):
The interface doesn't show the peers but just the default ones peer1 peerOrg1 Org1MSP grpc://112.124.115.82:7051

mascanc (Tue, 17 Oct 2017 13:59:01 GMT):
which I see they are in the index-gen.js

accg14 (Tue, 17 Oct 2017 17:14:54 GMT):
Has joined the channel.

t_stephens67 (Tue, 17 Oct 2017 18:13:42 GMT):
@mascanc The interface will only show the default ones it is hardcoded. as for the admin enrollment failed change use the same username and password that you used to deploy the network

t_stephens67 (Tue, 17 Oct 2017 18:14:03 GMT):
also make sure that the cert and keys are pointed to the same ones used in your deployed network

a.hyper (Tue, 17 Oct 2017 18:30:13 GMT):
Has joined the channel.

vu3mmg (Wed, 18 Oct 2017 06:08:46 GMT):
Has joined the channel.

vu3mmg (Wed, 18 Oct 2017 06:09:31 GMT):
Could you please let me know the configuration changes I need to do to make blockchain explorer work with my custom network .

lclclc (Wed, 18 Oct 2017 06:40:59 GMT):
@vu3mmg You need to change the app/network-config.json and config.json

lclclc (Wed, 18 Oct 2017 06:41:41 GMT):
And you need to copy your custom network's msp's admin's keystore and signcert folder to explorer folder.

lclclc (Wed, 18 Oct 2017 06:42:02 GMT):
Then you can point your configuration to custom keystore and signcert.

vu3mmg (Wed, 18 Oct 2017 09:26:30 GMT):
@lclclc

vu3mmg (Wed, 18 Oct 2017 09:26:33 GMT):
Thank you

lclclc (Wed, 18 Oct 2017 09:45:47 GMT):
You are welcome

eetti (Wed, 18 Oct 2017 15:18:16 GMT):
Has joined the channel.

eclairamb (Wed, 18 Oct 2017 18:05:18 GMT):
Has joined the channel.

bsparks (Wed, 18 Oct 2017 20:58:36 GMT):
Has joined the channel.

lin2K (Thu, 19 Oct 2017 09:18:53 GMT):
Has joined the channel.

mascanc (Thu, 19 Oct 2017 09:30:30 GMT):
@t_stephens67 : thanks for the answer, but where to set username and password for the admin?

lclclc (Thu, 19 Oct 2017 09:31:40 GMT):
I also want to know the answer for this question.

FireOfChina (Thu, 19 Oct 2017 10:49:39 GMT):
Has joined the channel.

t_stephens67 (Thu, 19 Oct 2017 15:04:53 GMT):
@mascanc @lclclc in the config.json "users" section

t_stephens67 (Thu, 19 Oct 2017 15:05:07 GMT):
just above where you configure mysql

vkblue (Thu, 19 Oct 2017 22:59:19 GMT):
Has joined the channel.

lclclc (Fri, 20 Oct 2017 05:10:17 GMT):
I don't mean the mysql admin

lclclc (Fri, 20 Oct 2017 05:10:29 GMT):
I mean the network admin

risabhsharma71 (Fri, 20 Oct 2017 06:58:35 GMT):
Has joined the channel.

risabhsharma71 (Fri, 20 Oct 2017 06:59:06 GMT):

Clipboard - October 20, 2017 12:28 PM

mascanc (Fri, 20 Oct 2017 07:32:11 GMT):
The start script does not show any output

mascanc (Fri, 20 Oct 2017 07:32:25 GMT):
if you want to see debug, you should do manually

mascanc (Fri, 20 Oct 2017 07:32:25 GMT):
massimiliano.masi@tiani-spirit.com

mascanc (Fri, 20 Oct 2017 07:32:45 GMT):
[root@blockchain1 ~/HyperLedgerExplorer/blockchain-explorer]$node main.js

mascanc (Fri, 20 Oct 2017 07:33:38 GMT):
@t_stephens67 , I changed all the URL of the keystores as

mascanc (Fri, 20 Oct 2017 07:33:39 GMT):
[root@blockchain1 ~/HyperLedgerExplorer/blockchain-explorer]$node main.js^C [root@blockchain1 ~/HyperLedgerExplorer/blockchain-explorer]$pwd /root/HyperLedgerExplorer/blockchain-explorer [root@blockchain1 ~/HyperLedgerExplorer/blockchain-explorer]$grep keystore app/network-config.json "key": "/CERT_Admin_gp_msp/keystore", "key": "/CERT_Admin_lab1_user/keystore", "key": "/CERT_Admin_lab2_user/keystore", [root@blockchain1 ~/HyperLedgerExplorer/blockchain-explorer]$

mascanc (Fri, 20 Oct 2017 07:33:57 GMT):
and in the users, which username and password should I set??? For what???

mascanc (Fri, 20 Oct 2017 07:34:11 GMT):
I still have this issue

mascanc (Fri, 20 Oct 2017 07:34:12 GMT):
[2017-10-20 09:31:40.169] [ERROR] Helper - admin enrollment failed Username admin org org1 [2017-10-20 09:31:40.169] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/root/HyperLedgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/root/HyperLedgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/root/HyperLedgerExplorer/blockchain-explorer/app/query.js:176:18) [2017-10-20 09:31:40.170] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/root/HyperLedgerExplorer/blockchain-explorer/app/query.js:302:32) (node:10994) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 162): Error: Cannot save null userContext. Org is org1 peer is peer1

aitoribanez (Fri, 20 Oct 2017 08:42:15 GMT):
Has joined the channel.

risabhsharma71 (Fri, 20 Oct 2017 08:49:01 GMT):
how to do it manually @mascanc

risabhsharma71 (Fri, 20 Oct 2017 09:42:58 GMT):

Clipboard - October 20, 2017 3:12 PM

risabhsharma71 (Fri, 20 Oct 2017 09:43:02 GMT):
any idea guys?

mascanc (Fri, 20 Oct 2017 10:36:27 GMT):
like this, @risabhsharma71 [root@blockchain1 ~/HyperLedgerExplorer/blockchain-explorer]$node main.js

risabhsharma71 (Fri, 20 Oct 2017 10:40:55 GMT):
yes @mascanc

parags (Sat, 21 Oct 2017 08:22:16 GMT):
Folks... i was trying to connect the Explorer to a BNA built on Composer... see the following messages at the start of log.log file

parags (Sat, 21 Oct 2017 08:23:12 GMT):
ubuntu@ubuntu-VirtualBox:~/blockchain-explorer$ cat log.log Please open Internet explorer to access :http://localhost:8082/ [2017-10-21 13:47:01.976] [INFO] Helper - Successfully enrolled user 'admin' [2017-10-21 13:47:02.148] [ERROR] Helper - admin enrollment failed [2017-10-21 13:47:03.240] [INFO] Helper - Successfully loaded member from persistence [2017-10-21 13:47:04.326] [INFO] Helper - Successfully loaded member from persistence

parags (Sat, 21 Oct 2017 08:23:21 GMT):
Any thoughts/inputs?

parags (Sat, 21 Oct 2017 08:23:56 GMT):
On the explorer UI, i am not able to see any meaningful data.

mogamboizer (Sat, 21 Oct 2017 15:10:16 GMT):
Has joined the channel.

fbutnariu (Sun, 22 Oct 2017 21:51:08 GMT):
Has joined the channel.

lclclc (Mon, 23 Oct 2017 05:28:51 GMT):
Usually

lclclc (Mon, 23 Oct 2017 05:29:33 GMT):
You will see extra error log appended in log.log after you saw normal logs then open browser.

lclclc (Mon, 23 Oct 2017 05:29:40 GMT):
@parags

naruto1982 (Mon, 23 Oct 2017 06:06:23 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=CB3LG9mzEsXF5bQM4) @mascanc Hello, I met the same problem, have you solved it ?

naruto1982 (Mon, 23 Oct 2017 06:08:56 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=4nLmJbX8FABiDzC6B) @mascanc Hello, I have the same issue as yours, do you have any idea to solve it ? I am quite sure that I set the configuration files based on my own network (actually, I used the first-network to do the test, it seems that the same problem). Your feedback will be highly appreciated. Thank you.

OlliKasari (Mon, 23 Oct 2017 06:39:36 GMT):
Has joined the channel.

risabhsharma71 (Mon, 23 Oct 2017 10:06:43 GMT):

Clipboard - October 23, 2017 3:36 PM

naruto1982 (Mon, 23 Oct 2017 10:32:51 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=rSP8KHYxppxytZv6u) @risabhsharma71 Hello, I have the same issue. I think this is a bug. The network is up based on the cli yaml file, but the CA private key is fixed in their source code. I changed the key, but the problem remains :(. I hope the author can give us some help.

t_stephens67 (Mon, 23 Oct 2017 15:16:44 GMT):
@mascanc change line 349 in helper.js from "username: 'peer' + userOrg + 'Admin'," to "username: 'admin',"

t_stephens67 (Mon, 23 Oct 2017 15:17:25 GMT):
@parags ^

MohammadObaid (Mon, 23 Oct 2017 16:38:00 GMT):
Has joined the channel.

emma (Tue, 24 Oct 2017 07:33:04 GMT):
Has joined the channel.

MohammadObaid (Tue, 24 Oct 2017 07:38:41 GMT):
Does fabric -explorer support node js 6.11 . My channel seems working correctly but when I run start.sh it thorws me an error

risabhsharma71 (Tue, 24 Oct 2017 10:03:49 GMT):

Screenshot from 2017-10-24 15-31-16.png

lclclc (Tue, 24 Oct 2017 10:29:04 GMT):
I suggest you change another network to see if your modification steps are correct

risabhsharma71 (Tue, 24 Oct 2017 10:41:49 GMT):
could you elabrate that please/

risabhsharma71 (Tue, 24 Oct 2017 10:41:51 GMT):
??

risabhsharma71 (Tue, 24 Oct 2017 10:45:54 GMT):
i just want to know what should i put in keyvaluestore in config.json

risabhsharma71 (Tue, 24 Oct 2017 10:46:02 GMT):
and my issue would be solved

risabhsharma71 (Tue, 24 Oct 2017 10:47:20 GMT):
@lclclc could you send a screenshot of what is there in the .composer-credentials file

risabhsharma71 (Tue, 24 Oct 2017 10:47:22 GMT):
??

lclclc (Tue, 24 Oct 2017 10:48:03 GMT):
that is, like its name, for composer,not explorer^

lclclc (Tue, 24 Oct 2017 10:48:23 GMT):
it is a folder to store imported identity info for composer

lclclc (Tue, 24 Oct 2017 10:49:31 GMT):

Clipboard

risabhsharma71 (Tue, 24 Oct 2017 10:49:46 GMT):

Clipboard - October 24, 2017 4:19 PM

lclclc (Tue, 24 Oct 2017 10:49:56 GMT):
https://hyperledger.github.io/composer/reference/composer.identity.import.html

lclclc (Tue, 24 Oct 2017 10:50:17 GMT):
I don't see how this is related to explorer

risabhsharma71 (Tue, 24 Oct 2017 10:50:48 GMT):
you gave a file path in keyvaluestore field in config.json right

risabhsharma71 (Tue, 24 Oct 2017 10:50:59 GMT):
which contains those public and private keys\]

risabhsharma71 (Tue, 24 Oct 2017 10:51:09 GMT):
similarly these are the files i have

risabhsharma71 (Tue, 24 Oct 2017 10:51:26 GMT):
too gate the file path for keyvaluestore

lclclc (Tue, 24 Oct 2017 10:52:50 GMT):
my path is point to keystore composer is using

risabhsharma71 (Tue, 24 Oct 2017 10:55:24 GMT):
yes even my is pointing towards the sdk fabric is using

risabhsharma71 (Tue, 24 Oct 2017 10:55:38 GMT):
anyone using hyperledger fabric/

satheeshk (Tue, 24 Oct 2017 11:10:20 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=w4KnCCgsaT8bsx4rD) @MohammadObaid This doesn't look like an error with node js version..

mascanc (Tue, 24 Oct 2017 11:19:02 GMT):
@t_stephens67 , I did the change that you suggested, but the error is the same:

mascanc (Tue, 24 Oct 2017 11:19:02 GMT):
[root@blockchain1 ~/HyperLedgerExplorer/blockchain-explorer]$node main.js Please open Internet explorer to access :http://localhost:8080/ Org is org1 peer is peer1 Org is org1 peer is peer1 [2017-10-24 13:17:57.972] [ERROR] Helper - admin enrollment failed Username admin org org1 [2017-10-24 13:17:57.976] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/root/HyperLedgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/root/HyperLedgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/root/HyperLedgerExplorer/blockchain-explorer/app/query.js:176:18) [2017-10-24 13:17:57.976] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/root/HyperLedgerExplorer/blockchain-explorer/app/query.js:302:32) (node:5536) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot save null userContext. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Endpoint read failed at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: Endpoint read failed at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-24 13:17:58.027] [ERROR] Query - Error: Endpoint read failed at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 Org is org1 peer is peer1 [2017-10-24 13:17:58.986] [ERROR] Helper - admin enrollment failed Username admin org org1 [2017-10-24 13:17:58.986] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/root/HyperLedgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/root/HyperLedgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/root/HyperLedgerExplorer/blockchain-explorer/app/query.js:176:18) [2017-10-24 13:17:58.986] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/root/HyperLedgerExplorer/blockchain-explorer/app/query.js:302:32) (node:5536) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Cannot save null userContext. Org is org1 peer is peer1 error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Endpoint read failed at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: Endpoint read failed at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-24 13:17:59.048] [ERROR] Query - Error: Endpoint read failed at /root/HyperLedgerExplorer/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15

satheeshk (Tue, 24 Oct 2017 11:22:32 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=7CcNCaMcLWLM6ThiD) @naruto1982 Please open a ticket on https://jira.hyperledger.org/projects/BE/

berndoostrum (Tue, 24 Oct 2017 11:43:41 GMT):
Has joined the channel.

joaquimpedrooliveira (Tue, 24 Oct 2017 11:58:45 GMT):
Has joined the channel.

t_stephens67 (Tue, 24 Oct 2017 11:59:59 GMT):
@mascanc Not sure what to tell you thats the only thing I changed

joaquimpedrooliveira (Tue, 24 Oct 2017 12:16:26 GMT):
Hi all! I was reading the channel history and would like to confirm if I understood correctly: today it's not possible to point to a custom network because some configs are hard coded. Is this right?

t_stephens67 (Tue, 24 Oct 2017 12:27:55 GMT):
@joaquimpedrooliveira you can absolutely point to your own network

berndoostrum (Tue, 24 Oct 2017 12:29:52 GMT):
Hi all

berndoostrum (Tue, 24 Oct 2017 12:30:26 GMT):
Im trying to use the block explorer with the default composer network on my own ubuntu system

berndoostrum (Tue, 24 Oct 2017 12:30:36 GMT):
npm install works

berndoostrum (Tue, 24 Oct 2017 12:30:51 GMT):
but when i run ./start.sh it doesnt do anything

berndoostrum (Tue, 24 Oct 2017 12:31:09 GMT):
my logfile looks like this:

berndoostrum (Tue, 24 Oct 2017 12:31:09 GMT):
fs.js:642 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/home/bernd/blockchain-explorer/fabric-docker-compose-svt/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/ca.crt' at Error (native) at Object.fs.openSync (fs.js:642:18) at Object.fs.readFileSync (fs.js:510:33) at newOrderer (/home/bernd/blockchain-explorer/app/helper.js:94:27) at Object. (/home/bernd/blockchain-explorer/app/helper.js:55:13) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)

berndoostrum (Tue, 24 Oct 2017 12:31:45 GMT):
Does anyone know what im doing wrong?

joaquimpedrooliveira (Tue, 24 Oct 2017 12:36:49 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=FTiBJQ5zsg6YygBiv) @t_stephens67 Thanks for your reply! I set my network config (orderer, peer, ca, certs..) in `app/network-config.json` and pointed to a channel in `config.json`, but I can only see transactions of type "ENDORSER_TRANSACTION". Is this the normal behaviour?

mascanc (Tue, 24 Oct 2017 12:39:03 GMT):
@joaquimpedrooliveira which username and password did you use in the config.json?

joaquimpedrooliveira (Tue, 24 Oct 2017 12:39:30 GMT):
admin, adminpw

joaquimpedrooliveira (Tue, 24 Oct 2017 12:39:47 GMT):
because I'm pointing to a network generated by Hyperledger Composer

joaquimpedrooliveira (Tue, 24 Oct 2017 12:46:28 GMT):
I was also expecting to see the assets and participants in a more user-friendly way, instead of a JSON :)

t_stephens67 (Tue, 24 Oct 2017 12:48:01 GMT):
@joaquimpedrooliveira you can view the assets and participants with explorer?

t_stephens67 (Tue, 24 Oct 2017 12:48:12 GMT):
where at?

joaquimpedrooliveira (Tue, 24 Oct 2017 12:52:00 GMT):
@t_stephens67 , select a transaction in the block widget and, in the transaction widget, click in the icon with two diagonal arrows.

MohammadObaid (Tue, 24 Oct 2017 12:54:10 GMT):
@satheeshk here is the log file. Can you please take a look at this. I try to solve this by modifying network-config.json file but fails

MohammadObaid (Tue, 24 Oct 2017 12:54:10 GMT):
@satheeshk here is the log file https://gist.github.com/mohammadobaid1/0321c522b99b7036e8c86c9622f767bb. Can you please take a look at this. I try to solve this by modifying network-config.json file but fails

mascanc (Tue, 24 Oct 2017 13:06:13 GMT):
me too!

fbutnariu (Tue, 24 Oct 2017 13:07:17 GMT):
hello everyone ~ I have an issue while trying to setup Explorer. More exactly, following the doc from https://github.com/hyperledger/blockchain-explorer at step when trying to generate my channel I get "2017-10-24 16:04:28.712 EEST [common/configtx/tool] main -> CRIT 004 Error on outputBlock: Error writing genesis block: open ./channel-artifacts/genesis.block: no such file or directory"

fbutnariu (Tue, 24 Oct 2017 13:08:16 GMT):
Florins-MBP:first-network florinbutnariu$ ./byfn.sh -m generate -c mychannel Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10000' Continue (y/n)? y proceeding ... /Users/florinbutnariu/fabric-samples/samples/bin/cryptogen ########################################################## ##### Generate certificates using cryptogen tool ######### ########################################################## org1.example.com org2.example.com sed: 1: "s/CA1_PRIVATE_KEY/0df97 ...": unescaped newline inside substitute pattern sed: 1: "s/CA2_PRIVATE_KEY/17691 ...": unescaped newline inside substitute pattern rm: docker-compose-e2e.yamlt: No such file or directory /Users/florinbutnariu/fabric-samples/samples/bin/configtxgen ########################################################## ######### Generating Orderer Genesis block ############## ########################################################## 2017-10-24 16:04:28.676 EEST [common/configtx/tool] main -> INFO 001 Loading configuration 2017-10-24 16:04:28.709 EEST [common/configtx/tool] doOutputBlock -> INFO 002 Generating genesis block 2017-10-24 16:04:28.712 EEST [common/configtx/tool] doOutputBlock -> INFO 003 Writing genesis block 2017-10-24 16:04:28.712 EEST [common/configtx/tool] main -> CRIT 004 Error on outputBlock: Error writing genesis block: open ./channel-artifacts/genesis.block: no such file or directory Failed to generate orderer genesis block...

t_stephens67 (Tue, 24 Oct 2017 13:10:16 GMT):
@joaquimpedrooliveira Thank! I'll have to check it out the next time I spin up my network

fbutnariu (Tue, 24 Oct 2017 13:11:11 GMT):
on the web i found something similar here https://stackoverflow.com/questions/46137070/hyperledger-genesis-block, but in my case i've no spaces in the path

AndreiZhigulin (Tue, 24 Oct 2017 16:10:30 GMT):
Has joined the channel.

AndreiZhigulin (Tue, 24 Oct 2017 16:13:38 GMT):
Hello! I'm using the github guide, and it says that I need to run byfn.sh from the first-network folder. In the generated network-config.json I can see that it refers to the data not from "my-netwokr" folder, but from "fabric-docker-compose-svt", and it has different peers, orderers etc. Why is it so and what should I do to run it successfully?

AndreiZhigulin (Tue, 24 Oct 2017 16:15:02 GMT):
When I modify my paths to first-network, it miss a lot of data (orderers etc.), but with pre-defined folder it doesn't work either

AndreiZhigulin (Tue, 24 Oct 2017 16:19:05 GMT):

Clipboard - 24 октября 2017 г., 19:18

AndreiZhigulin (Tue, 24 Oct 2017 16:19:13 GMT):
Also if I run scripts from svt folder, I get the following error

AndreiZhigulin (Tue, 24 Oct 2017 16:19:39 GMT):
I am logged in docker, so I don't understand what's wrong

AndreiZhigulin (Tue, 24 Oct 2017 16:36:36 GMT):
Well, I downloaded images from the svt folder, ran scripts, now I get the following:

AndreiZhigulin (Tue, 24 Oct 2017 16:36:41 GMT):

Clipboard - 24 октября 2017 г., 19:36

ErikPenfield (Wed, 25 Oct 2017 05:21:37 GMT):
Has joined the channel.

AuHuR (Wed, 25 Oct 2017 07:46:56 GMT):
Has joined the channel.

fbutnariu (Wed, 25 Oct 2017 10:45:09 GMT):
hello

t_stephens67 (Wed, 25 Oct 2017 12:48:28 GMT):
Hi

rbulgarelli (Wed, 25 Oct 2017 12:48:56 GMT):
Has joined the channel.

rbulgarelli (Wed, 25 Oct 2017 12:48:59 GMT):
Hey

risabhsharma71 (Wed, 25 Oct 2017 12:55:20 GMT):

Clipboard - October 25, 2017 6:25 PM

fbutnariu (Wed, 25 Oct 2017 18:34:50 GMT):
I have an issue while trying to setup Explorer. More exactly, following the doc from https://github.com/hyperledger/blockchain-explorer at step when trying to generate my channel I get "2017-10-24 16:04:28.712 EEST [common/configtx/tool] main -> CRIT 004 Error on outputBlock: Error writing genesis block: open ./channel-artifacts/genesis.block: no such file or directory" Florins-MBP:first-network florinbutnariu$ ./byfn.sh -m generate -c mychannel Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10000' Continue (y/n)? y proceeding ... /Users/florinbutnariu/fabric-samples/samples/bin/cryptogen ########################################################## ##### Generate certificates using cryptogen tool ######### ########################################################## org1.example.com org2.example.com sed: 1: "s/CA1_PRIVATE_KEY/0df97 ...": unescaped newline inside substitute pattern sed: 1: "s/CA2_PRIVATE_KEY/17691 ...": unescaped newline inside substitute pattern rm: docker-compose-e2e.yamlt: No such file or directory /Users/florinbutnariu/fabric-samples/samples/bin/configtxgen ########################################################## ######### Generating Orderer Genesis block ############## ########################################################## 2017-10-24 16:04:28.676 EEST [common/configtx/tool] main -> INFO 001 Loading configuration 2017-10-24 16:04:28.709 EEST [common/configtx/tool] doOutputBlock -> INFO 002 Generating genesis block 2017-10-24 16:04:28.712 EEST [common/configtx/tool] doOutputBlock -> INFO 003 Writing genesis block 2017-10-24 16:04:28.712 EEST [common/configtx/tool] main -> CRIT 004 Error on outputBlock: Error writing genesis block: open ./channel-artifacts/genesis.block: no such file or directory Failed to generate orderer genesis block...

fbutnariu (Wed, 25 Oct 2017 18:35:00 GMT):
on the web i found something similar here https://stackoverflow.com/questions/46137070/hyperledger-genesis-block, but in my case i've no spaces in the path

john111 (Thu, 26 Oct 2017 04:50:12 GMT):
Has joined the channel.

labcoinpoc (Thu, 26 Oct 2017 07:11:10 GMT):
Has joined the channel.

BucciA (Thu, 26 Oct 2017 08:55:09 GMT):
hello

Dpkkmr (Thu, 26 Oct 2017 08:55:34 GMT):

Clipboard - October 26, 2017 2:25 PM

Dpkkmr (Thu, 26 Oct 2017 08:55:39 GMT):
I think there is a bug in README.md file:

Dpkkmr (Thu, 26 Oct 2017 08:56:09 GMT):

Clipboard - October 26, 2017 2:26 PM

BucciA (Thu, 26 Oct 2017 09:01:14 GMT):
How can someone help me with Sawtooth

RocMax (Thu, 26 Oct 2017 09:30:01 GMT):
Has joined the channel.

ascatox (Thu, 26 Oct 2017 09:36:12 GMT):
Has joined the channel.

ascatox (Thu, 26 Oct 2017 09:38:34 GMT):
Hi All, I'd like to use this tool with fabric 1.0, is this possible yet? Someone told me that this version of fabric lacks of a native API REST, necessary for the blockchain explorer tool. Is this correct? Thanks all!

ascatox (Thu, 26 Oct 2017 09:38:34 GMT):
Hi All, I'd like to use this tool with Fabric 1.0, is this possible yet? Someone told me that this version of fabric lacks of a native API REST, necessary for the blockchain explorer tool. Is this correct? Thanks all!

lclclc (Thu, 26 Oct 2017 09:54:59 GMT):
@BucciA I

lclclc (Thu, 26 Oct 2017 09:55:12 GMT):
think there should another channel for Sawtooth.

RocMax (Thu, 26 Oct 2017 09:59:15 GMT):
@ascatox it

RocMax (Thu, 26 Oct 2017 09:59:41 GMT):
Works fine with fabric 1.0

ascatox (Thu, 26 Oct 2017 10:00:14 GMT):
Wonderful!

fbutnariu (Thu, 26 Oct 2017 12:27:04 GMT):
@Dpkkmr yes, you're right ! thanks man & kudos

fbutnariu (Thu, 26 Oct 2017 12:27:04 GMT):
@Dpkkmr yes, you're right ! thanks man & kudos to you

IanSparkes (Thu, 26 Oct 2017 14:09:49 GMT):
Has joined the channel.

AndreiZhigulin (Thu, 26 Oct 2017 14:25:46 GMT):
Hello, can someone explain me how to fix error with SSL? Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. I've set "enableTls”:true.

satheeshk (Thu, 26 Oct 2017 14:34:25 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=MeJKvrg7MBWShwTv6) @fbutnariu A patch recently got merged that addresses this problem, you will have to create a folder before running the byfn.sh script. Please try to follow the latest docs

KevinBai (Fri, 27 Oct 2017 02:28:53 GMT):
Hi, can the latest version supported fabric 1.0.3?

deepak.guru (Fri, 27 Oct 2017 06:44:14 GMT):
Has joined the channel.

lclclc (Fri, 27 Oct 2017 06:45:11 GMT):
I found another fabric-explorer: `https://github.com/onechain/fabric-explorer`

lclclc (Fri, 27 Oct 2017 06:45:41 GMT):
What is the relationship between it and `https://github.com/hyperledger/blockchain-explorer`

lclclc (Fri, 27 Oct 2017 06:45:42 GMT):
Are they same project?

labcoinpoc (Fri, 27 Oct 2017 07:15:43 GMT):
Hey guys, I solved the peer list problem.

MuhammadSalah (Fri, 27 Oct 2017 10:15:25 GMT):
Has joined the channel.

MuhammadSalah (Fri, 27 Oct 2017 10:16:13 GMT):
Hello, people. Any idea how to get first hands on blockchain?

lclclc (Fri, 27 Oct 2017 10:17:36 GMT):
read the document.

MuhammadSalah (Fri, 27 Oct 2017 10:19:36 GMT):
I did, I have followed the tutorial and all. It's quite vague tho, I have built the whole thing over dockers; I did all the build your first network thing. I was hoping for some materials for better insights, on how to use the binaries provided? How to compose solutions? A real hands on, I mean.

MuhammadSalah (Fri, 27 Oct 2017 10:20:44 GMT):
If I am here on the wrong place or channel, a redirection will be appreciated.

lclclc (Fri, 27 Oct 2017 10:24:07 GMT):
#fabric-questions will be a good channel for you.

MuhammadSalah (Fri, 27 Oct 2017 10:25:09 GMT):
Thank you for responsiveness.

tuomasristeli (Fri, 27 Oct 2017 12:35:15 GMT):
Has joined the channel.

risabhsharma71 (Fri, 27 Oct 2017 13:08:46 GMT):

Clipboard - October 27, 2017 6:38 PM

AndreaChiodoni (Fri, 27 Oct 2017 13:59:23 GMT):
Has joined the channel.

AndreiZhigulin (Fri, 27 Oct 2017 14:03:21 GMT):
Guys, can someone explain me, how this example can work in ubuntu? I can see only SSLv3 available on the machine, while mysql can't be SSLv3.

sk (Fri, 27 Oct 2017 14:07:49 GMT):
Has joined the channel.

sk (Fri, 27 Oct 2017 14:25:55 GMT):
Followed instructions from here to set up - https://github.com/hyperledger/blockchain-explorer I could run BYFN successfully and its running. Also I have run “generateArtifacts.sh” to generate assets for “crypto-config”. When I try to run /.start.sh for Node app it gives error -> Please open Internet explorer to access :http://localhost:8080/ [2017-10-27 19:07:24.384] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140735977403200:error:1411713E:SSL routines:ssl_check_srvr_ecc_cert_and_alg:ecc cert not for signing:../deps/openssl/openssl/ssl/ssl_lib.c:2512: 140735977403200:error:14082130:SSL routines:ssl3_check_cert_and_algorithm:bad ecc cert:../deps/openssl/openssl/ssl/s3_clnt.c:3544: ] at ClientRequest. (/Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:711:12) at emitOne (events.js:96:13) at ClientRequest.emit (events.js:188:7) at TLSSocket.socketErrorListener (_http_client.js:309:9) at emitOne (events.js:96:13) at TLSSocket.emit (events.js:188:7) at onwriteError (_stream_writable.js:343:10) at onwrite (_stream_writable.js:361:5) at WritableState.onwrite (_stream_writable.js:90:5) at fireErrorCallbacks (net.js:467:13) [2017-10-27 19:07:24.388] [ERROR] Helper - admin enrollment failed (node:58277) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot save null userContext. E1027 19:07:24.406298000 140735977403200 ssl_transport_security.c:921] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-27 19:07:24.414] [ERROR] Query - Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 E1027 19:07:24.414650000 140735977403200 ssl_transport_security.c:921] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Channel.js]: Failed Query channel info. Error: Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-27 19:07:24.417] [ERROR] Query - Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-27 19:07:24.417] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/app/query.js:301:32) E1027 19:07:25.546020000 140735977403200 ssl_transport_security.c:921] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-27 19:07:25.548] [ERROR] Query - Error: Connect Failed at /Shailesh_Data/Labs/RnD/BlockChain/Hyperledger/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15 [2017-10-27 19:07:25.598] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140735977403200:error:1411713E:SSL routines:ssl_check_srvr_ecc_cert_and_alg:ecc cert not for signing:../deps/openssl/openssl/ssl/ssl_lib.c:2512: 140735977403200:error:14082130:SSL routines:ssl3_check_cert_and_algorithm:bad ecc cert:../deps/openssl/openssl/ssl/s3_clnt.c:3544: What could be the issue and how to fix it?

nelaturuk (Fri, 27 Oct 2017 18:56:13 GMT):
Has joined the channel.

mogamboizer (Sat, 28 Oct 2017 00:47:10 GMT):
is it possible to use the blockchain explorer with the set of dev docker images?

philviana (Sat, 28 Oct 2017 04:01:24 GMT):
Has joined the channel.

AndpyxaTutunnik (Sat, 28 Oct 2017 12:38:25 GMT):
Has joined the channel.

aviralwal (Sat, 28 Oct 2017 17:36:35 GMT):
Has joined the channel.

SantoshShahane (Sat, 28 Oct 2017 20:39:40 GMT):
mogamboizer - It is possible to use, i am able to integrate my Java SDK with network that comes with fabric-docker-compose-svt & explorer

alimamacoin (Mon, 30 Oct 2017 05:01:33 GMT):
Has joined the channel.

deepakvparmar (Mon, 30 Oct 2017 06:53:12 GMT):
Can we export transactions data using hyperledger explorer?

blackdog1987 (Mon, 30 Oct 2017 06:57:13 GMT):

Clipboard - October 30, 2017 2:56 PM

blackdog1987 (Mon, 30 Oct 2017 06:57:17 GMT):
How will peers sync block?

blackdog1987 (Mon, 30 Oct 2017 07:01:36 GMT):
I think it's case2

pranaysoni0211 (Mon, 30 Oct 2017 07:11:14 GMT):
Has joined the channel.

sk (Mon, 30 Oct 2017 07:44:11 GMT):
Anyone faced with this error - [2017-10-27 19:07:24.384] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140735977403200:error:1411713E:SSL routines:ssl_check_srvr_ecc_cert_and_alg:ecc cert not for signing:../deps/openssl/openssl/ssl/ssl_lib.c:2512: 140735977403200:error:14082130:SSL routines:ssl3_check_cert_and_algorithm:bad ecc cert:../deps/openssl/openssl/ssl/s3_clnt.c:3544: ] - posted above on channel and found any root cause or fix?

parags (Mon, 30 Oct 2017 14:24:46 GMT):
; [ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=scBhdAxrFAnH5d9aE) @t_stephens67 That worked for me. Thanks much!! Am now able to browse the blockchain.

nicolapaoli (Mon, 30 Oct 2017 16:22:31 GMT):
Has joined the channel.

tmkaranraj (Mon, 30 Oct 2017 16:52:02 GMT):
Has joined the channel.

lclclc (Tue, 31 Oct 2017 02:07:09 GMT):
@t_stephens67 Do you know where is the network admin name and password is configured?

lclclc (Tue, 31 Oct 2017 02:08:09 GMT):
We know the default admin and adminpw should be put in explorer config file, but where they come from?

deepak.guru (Tue, 31 Oct 2017 05:18:08 GMT):
Hi, in fabric explorer can someone please tell the default credentails in mysql mysql -u -p < db/fabricexplorer.sql

lclclc (Tue, 31 Oct 2017 05:33:11 GMT):
I think it depends on what you configured when you install mysql service.

deepak.guru (Tue, 31 Oct 2017 05:57:19 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=qQA9hP2FLLfM9QwD3) @lclclc Thanks My mistake.. resolved now.. I installed the package and asked for cred... Thanks

pancake (Tue, 31 Oct 2017 07:16:13 GMT):
Has joined the channel.

atiffarrukh (Tue, 31 Oct 2017 07:58:53 GMT):
Has joined the channel.

miiiiiyoung (Tue, 31 Oct 2017 08:30:15 GMT):
Has joined the channel.

t_stephens67 (Tue, 31 Oct 2017 12:13:49 GMT):
@lclclc admin/ adminpw is the default identity for hyperledger composer so if you are using your own chaincode and not composer you will need to configure whatever your admin credentials are for your chaincode

lclclc (Tue, 31 Oct 2017 12:15:49 GMT):
but where, that's my problem. I found some clue in ca server of docker-compose file, but not sure if it is a chaincode credentials.

t_stephens67 (Tue, 31 Oct 2017 12:16:35 GMT):
IDK I used composer

lclclc (Tue, 31 Oct 2017 12:16:52 GMT):
`fabric-ca-server start --ca.certfile /etc/hyperledger/fabric-ca-server-config/ca.org1.example.com-cert.pem --ca.keyfile /etc/hyperledger/fabric-ca-server-config/19ab65abbb04807dad12e4c0a9aaa6649e70868e3abd0217a322d89e47e1a6ae_sk -b admin:adminpw - d`

t_stephens67 (Tue, 31 Oct 2017 12:16:59 GMT):
What Identity do you use to invoke your chaincode you could use that

lclclc (Tue, 31 Oct 2017 12:18:25 GMT):
I am using the default identity of composer to access composer

lclclc (Tue, 31 Oct 2017 12:19:11 GMT):
but composer need credential to access fabric chain. I just don't know, where should we configure the admin of the fabric blockchain..

t_stephens67 (Tue, 31 Oct 2017 12:26:11 GMT):
If you can bring up a composer rest server with -> composer-rest-server -p hlfv1 -n my-network -i admin -s adminpw -a true then it should all be configured.

lclclc (Tue, 31 Oct 2017 12:30:46 GMT):
I can, I just wondering, where this adminpw is from.

lclclc (Tue, 31 Oct 2017 12:31:19 GMT):
If I want a custom password, to prevent others attack my network with default network.

DanielDaucik (Tue, 31 Oct 2017 12:47:34 GMT):
Has joined the channel.

veeru.rayidi (Tue, 31 Oct 2017 15:36:28 GMT):
Has joined the channel.

veeru.rayidi (Tue, 31 Oct 2017 15:37:38 GMT):
vendor/gopkg.in/yaml.v2/yamlh.go github.com/hyperledger/fabric/vendor/gopkg.in/yaml.v2/yamlprivateh.go > build/goshim.tar.bz2", ...) failed. make (e=87): The parameter is incorrect. make: *** [Makefile:296: build/goshim.tar.bz2] Error 87 getting this when run make dist-clean all Building Hyperledger Fabric

DomSteil (Tue, 31 Oct 2017 21:14:36 GMT):
Has joined the channel.

DomSteil (Tue, 31 Oct 2017 21:17:41 GMT):
hello

DomSteil (Tue, 31 Oct 2017 21:17:46 GMT):
quick questioN:

DomSteil (Tue, 31 Oct 2017 21:18:20 GMT):
I have a network spun up and I have configured the config.json file with the correct parametes and reran npm install.

DomSteil (Tue, 31 Oct 2017 21:18:37 GMT):
anything else have to do to connect explorer to existing network

shken (Wed, 01 Nov 2017 02:10:06 GMT):
Has joined the channel.

shken (Wed, 01 Nov 2017 02:10:37 GMT):

blockchain-explorer-error.png

shken (Wed, 01 Nov 2017 02:10:51 GMT):

blockchain-explorer-page.png

shken (Wed, 01 Nov 2017 02:11:05 GMT):
any idea why this?

lclclc (Wed, 01 Nov 2017 02:14:58 GMT):

Clipboard

lclclc (Wed, 01 Nov 2017 02:15:13 GMT):
@shken I think that's the reason.

shken (Wed, 01 Nov 2017 02:17:35 GMT):

org1msp.png

shken (Wed, 01 Nov 2017 02:17:36 GMT):
Is there a problem here? problemˈpräbləm problem의 정의 명사 a matter or situation regarded as unwelcome or harmful and needing to be dealt with and overcome. mental health problems 동의어: difficulty, trouble, worry, complication, difficult situation, snag, hitch, drawback, stumbling block, obstacle, hurdle, hiccup, setback, catch, predicament, plight, misfortune, mishap, misadventure, dilemma, quandary, headache, nightmare; nuisance, bother, pest, irritant, thorn in one's side/flesh, vexation, drag, pain, pain in the neck an inquiry starting from given conditions to investigate or demonstrate a fact, result, or law. Under his influence Dirac worked on some problems in statistical mechanics. 참조 no problem, No problem., problem solving, solve the problem, No problem!, solve a problem, health problem, serious problem, another problem, problem child problem의 번역 명사 문제 problem, matter, question, pupil, theme 과제 problem 문 door, gate, problem, portal, sentence, literature 묘수 풀이 문제 problem 체스 따위의 묘수 풀이 문제 problem 브리지 따위의 묘수 풀이 문제 problem 형용사 문제가 되는 problem 사회 문제를 다루는 problem 문학 따위 사회 문제를 다루는 problem

shken (Wed, 01 Nov 2017 02:17:58 GMT):
Is there a problem here?

lclclc (Wed, 01 Nov 2017 02:20:57 GMT):
Are you using the svt network?

shken (Wed, 01 Nov 2017 02:35:00 GMT):

blockchain-explorer-svt.png

shken (Wed, 01 Nov 2017 02:35:14 GMT):

blockchain-explorer-docker.png

shken (Wed, 01 Nov 2017 02:35:22 GMT):
yes!

lclclc (Wed, 01 Nov 2017 02:49:18 GMT):
Have you change the default config.json and app/network.json?

lclclc (Wed, 01 Nov 2017 02:49:18 GMT):
Have you changed the default config.json and app/network.json?

sidoknowia (Wed, 01 Nov 2017 03:14:32 GMT):
Has joined the channel.

sidoknowia (Wed, 01 Nov 2017 03:16:02 GMT):
Hello, I'm new to blockchain community (entire concept perse). Need your advice on how to get to speed. I've read about how blockchain is transforming certain industries. Would love to develop something on hyperledger

zhiqiang 1 (Wed, 01 Nov 2017 04:01:28 GMT):
Has joined the channel.

shken (Wed, 01 Nov 2017 04:01:40 GMT):
Yeah, I changed it.

shken (Wed, 01 Nov 2017 04:19:39 GMT):
please, help me T^T

erNail (Wed, 01 Nov 2017 10:55:33 GMT):
Hi, is there a way to stop/reset the explorer ?

lclclc (Wed, 01 Nov 2017 11:14:05 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=oCTqMvmmNAyqWmNXQ) @shken So the problem is your change.

t_stephens67 (Wed, 01 Nov 2017 13:32:10 GMT):
@erNail you need to run mysql -u -p < db/fabricexplorer.sql to clear out the DB to reset

t_stephens67 (Wed, 01 Nov 2017 13:32:19 GMT):
"mysql -u -p < db/fabricexplorer.sql"

kayadhami (Wed, 01 Nov 2017 15:59:03 GMT):
Has joined the channel.

jfodale (Wed, 01 Nov 2017 17:32:29 GMT):
Has joined the channel.

jfodale (Wed, 01 Nov 2017 17:33:35 GMT):
@sk Did you ever resolve the "Calling enrollment endpoint failed with error" problem? I'm running into the same problem now.

jfodale (Wed, 01 Nov 2017 19:46:04 GMT):
anyways, I'm trying to connect an existing fabric into blockchain-explorer. Not having any luck. The github documentation says to modify my "network-config.json file accordingly." It's finding my certs correctly, but main.js is unable to connect. Is there some other config that needs to be tweaked?

jfodale (Wed, 01 Nov 2017 20:36:24 GMT):
Getting the error "status:500, message: Authorization for GETINSTALLEDCHAINCODES has been denied [This identity is not an admin]"

jfodale (Wed, 01 Nov 2017 21:30:01 GMT):
well, nvm on that error. I changed nothing, just restarted the script again, and its working :thinking:

sk (Thu, 02 Nov 2017 06:14:57 GMT):
@jfodale "Calling enrolment endpoint failed with error" problem is faced when app is unable to reach to Fabric -CA server. I have resolved it by correcting Fabric-CA IP into network-config-tls.json

erNail (Thu, 02 Nov 2017 08:06:36 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=boqShkzHspcvCAka2) @t_stephens67 Thank you. Can this be found in the documentation ?

lclclc (Thu, 02 Nov 2017 08:30:16 GMT):
I think there is a typo in readme.md of this project

lclclc (Thu, 02 Nov 2017 08:30:41 GMT):

Clipboard

lclclc (Thu, 02 Nov 2017 08:30:52 GMT):
Should this be channel-artifacts?

lclclc (Thu, 02 Nov 2017 08:31:13 GMT):
the name will mislead newbee users IMHO

sk (Thu, 02 Nov 2017 08:55:03 GMT):
yes. it is typo on web-page. It must be channel-artifacts to work.

lclclc (Thu, 02 Nov 2017 09:05:47 GMT):
Can developer of this project fix that?

jeevas (Thu, 02 Nov 2017 09:36:24 GMT):
@lclclc we have fixed this issues. will push it soon.

lclclc (Thu, 02 Nov 2017 09:36:39 GMT):
good

lclclc (Thu, 02 Nov 2017 09:37:22 GMT):
There was an issue about incorrect peer list, have anyone of you looked into that?

jeevas (Thu, 02 Nov 2017 09:38:02 GMT):
yes. we are looking into this.

lclclc (Thu, 02 Nov 2017 09:38:51 GMT):
Can you explain why it happens? Is it really a hard-coded bug?

jeevas (Thu, 02 Nov 2017 09:40:16 GMT):
yes.. we have changed dynamically now.

lclclc (Thu, 02 Nov 2017 09:40:50 GMT):
hope it will be released soon.

jeevas (Thu, 02 Nov 2017 09:41:01 GMT):
sure.

sk (Thu, 02 Nov 2017 10:24:17 GMT):
any idea on this error - [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Connect Failed

jeevas (Thu, 02 Nov 2017 10:51:22 GMT):
@sk Have you changed app/network-config.json?

sk (Thu, 02 Nov 2017 10:51:36 GMT):
yes

sk (Thu, 02 Nov 2017 10:52:25 GMT):
I am using TLS so changed only network-config-tls.json... should I change both?

sk (Thu, 02 Nov 2017 10:52:25 GMT):
I am using TLS so changed only network-config-tls.son... should I change both?

jeevas (Thu, 02 Nov 2017 10:59:36 GMT):
No.. should change only network-config-tls.json.

sk (Thu, 02 Nov 2017 11:00:41 GMT):
yes, I already did it. Run docker-inspect network byfn command and found IPs of each container and copied it into the json file.

sk (Thu, 02 Nov 2017 11:27:36 GMT):

shailesh.kanzariya@infostretch.com

sk (Thu, 02 Nov 2017 11:27:36 GMT):

shailesh.kanzariya@infostretch.com

sk (Thu, 02 Nov 2017 11:28:46 GMT):
@jeevas let me know if you see any issue into it

sk (Thu, 02 Nov 2017 11:29:25 GMT):
this is when I run with TLS=False

mna2016 (Thu, 02 Nov 2017 11:29:56 GMT):
Hi All, I need to show to a client how block hashes are calculated in hyperledger v1.0. How to view the fields "CurrentBlockHash" and "PreviousBlockHash"

jeevas (Thu, 02 Nov 2017 12:16:17 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=6bzteaziW2cyHAjnt) @sk It looks good. if you use TLS = false. should work. which network u have started first-network or fabric-docker-compose-svt?

sk (Thu, 02 Nov 2017 12:18:05 GMT):
@jeevas first-network which comes with explorer

jeevas (Thu, 02 Nov 2017 13:11:00 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ogm4ZbXiCnbNnW4ce) @sk can try to start with fabric-docker-compose-svt. before that stop "./byfn.sh -m down -c mychannel" . follow below steps.1. `cd fabric-docker-compose-svt` 2. `./download_images.sh` 3. `./start.sh`

jeevas (Thu, 02 Nov 2017 13:11:00 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ogm4ZbXiCnbNnW4ce) @sk can you try to start with fabric-docker-compose-svt. before that stop first-network "./byfn.sh -m down -c mychannel" and follow these steps. 1. `cd fabric-docker-compose-svt` 2. `./download_images.sh` 3. `./start.sh

sk (Thu, 02 Nov 2017 13:18:18 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=f6ra9MyHEx6ZRQ4PH) @jeevas sure, let me try. In between how "fabric-docker-compose-svt" is different ?

sk (Thu, 02 Nov 2017 13:42:44 GMT):

Screen Shot 2017-11-02 at 7.11.53 PM.png

sk (Thu, 02 Nov 2017 13:42:47 GMT):
@jeevas same error

sk (Thu, 02 Nov 2017 13:42:47 GMT):
@jeevas same errror

UtkarshSingh (Thu, 02 Nov 2017 14:17:58 GMT):
How a Block is created and linked into the Blockchain, in Hyperledger Fabric ? In bitcoin, 1. A certain no. of txns constitute a Block [ Block => Block no. + Previous Block's Hash + Txns + x(sealing no., a puzzle need to solve in Minning process) In Minning,

UtkarshSingh (Thu, 02 Nov 2017 14:41:01 GMT):
How a Block is created and linked into the Blockchain, in Hyperledger Fabric ? In bitcoin, 1. A fixed no. of txns constitute a Block [ Block => Block no. + Previous Block's Hash + Txns + x(sealing no., a puzzle need to solve in Minning process) 2. Minning is done to solve the puzzle , and to Seal the Block [ time taken : 10mins approx ] 3. After this, all peers verify the Sealed Block (i.e., Minning process) 4. This Sealed Block gets appended to the Blockchain In this way, Block Creation is done; Proof of Work Consensus Algorithm is applied; And finally, Block gets chained to the Blockchain How this works in Hyperledger Fabric ? [Note: I have gone through the Txn Flow of Hyperledger Fabric, but could not find these] [1-3]Block creation related 1. How a Block is created ? 2. Block has only 1 txn ? (if no, how we can use this in IOT then, where instant response is the need, i.e., highly efficient protocol) 3. Block has fixed no. of txns ? [4-6 related to Consensus Algo] 4. How Consensus Algorithm works (even at the time of malicious entities) 5. What if endorsers cheats? 6. What if 51% of the peers of a channel are malicious ? [7-8 Hashing & Sealing of Block] 7. Are we using similar Sealing of Blocks(Minning)? Solving puzzles or Simple Hashing is applied ?? 8. How efficient is Hyperledger Fabric, in terms of validating a brand new Transaction ? (from txn proposal to txn being appended to the Blockchain ) [Security] 9.As, Solving a puzzle in Bitcoin Blockchain is making the system Computationally-Secure, so that malicious parties(having <51% network's computational power) can't break it. How secure is Hyperledger Fabric ??

t_stephens67 (Thu, 02 Nov 2017 14:58:36 GMT):
@UtkarshSingh look up the Kafka based ordering service for hyperledger fabric. The block size is determined by the rate of transactions to a max size or a batch timer. With this a block could have 1 txn or a size you specify (if the size isnt met by the batch timer the block wont be full)

t_stephens67 (Thu, 02 Nov 2017 15:01:31 GMT):
@UtkarshSingh Additionally bitcoin and etherium are both permission-less block chains meaning anyone can jump on and start. With hyper-ledger fabric the blockchain is permissioned so the peers will need to be verified before allowing them access to the blockchain. Look at hyperledger as more of a business solution rather than an open thing anyone can jump on.

Derashe (Thu, 02 Nov 2017 15:27:41 GMT):
Has joined the channel.

PradeepKunche (Thu, 02 Nov 2017 16:52:51 GMT):
Has joined the channel.

sam (Thu, 02 Nov 2017 22:45:22 GMT):
Has joined the channel.

JyothsnaGali (Fri, 03 Nov 2017 11:10:29 GMT):
Has joined the channel.

Timstar65 (Fri, 03 Nov 2017 12:29:44 GMT):
Has joined the channel.

bennettneale (Fri, 03 Nov 2017 16:20:55 GMT):
Has joined the channel.

expire (Sat, 04 Nov 2017 08:52:47 GMT):
Has joined the channel.

goyomx (Sat, 04 Nov 2017 18:10:11 GMT):
Has joined the channel.

DomSteil (Sun, 05 Nov 2017 05:26:36 GMT):
Anyone get this error before:

DomSteil (Sun, 05 Nov 2017 05:26:54 GMT):
url.js:81 throw new TypeError('Parameter "url" must be a string, not ' + typeof url); ^ TypeError: Parameter "url" must be a string, not undefined at Url.parse (url.js:81:11) at Object.urlParse [as parse] (url.js:75:5) at new Endpoint (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:136:24) at Peer.Remote (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:95:20) at Peer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:53:3) at Client.newPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:173:14) at setupPeers (/home/ubuntu/blockchain-explorer/app/helper.js:80:19) at Object. (/home/ubuntu/blockchain-explorer/app/helper.js:59:13) at Module._compile (module.js:570:32)

pancake (Sun, 05 Nov 2017 05:52:42 GMT):
Hi, all, i am trying to install explorer by following this doc, but an error occur when i run `.start.sh`, the info in log.log as below: ``

pancake (Sun, 05 Nov 2017 05:52:42 GMT):
Hi, all, i am trying to install explorer by following this doc: https://github.com/hyperledger/blockchain-explorer, but an error occur when i run `.start.sh`, the info in log.log as below: `fs.js:640 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/root/blockchain-explorer/fabric-docker-compose-svt/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/ca.crt' at Error (native) at Object.fs.openSync (fs.js:640:18) at Object.fs.readFileSync (fs.js:508:33) at newOrderer (/root/blockchain-explorer/app/helper.js:94:27) at Object. (/root/blockchain-explorer/app/helper.js:55:13) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)`

pancake (Sun, 05 Nov 2017 05:52:42 GMT):
Hi, all, i am trying to install explorer by following this doc: https://github.com/hyperledger/blockchain-explorer, but an error occur when i run `.start.sh`, the info in log.log as below: ```fs.js:640 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/root/blockchain-explorer/fabric-docker-compose-svt/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/ca.crt' at Error (native) at Object.fs.openSync (fs.js:640:18) at Object.fs.readFileSync (fs.js:508:33) at newOrderer (/root/blockchain-explorer/app/helper.js:94:27) at Object. (/root/blockchain-explorer/app/helper.js:55:13) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)```

pancake (Sun, 05 Nov 2017 05:52:42 GMT):
Hi, all, i am trying to install explorer by following this doc: https://github.com/hyperledger/blockchain-explorer, but an error occur when i run `.start.sh`, the info in `log.log` as below: ```fs.js:640 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/root/blockchain-explorer/fabric-docker-compose-svt/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/ca.crt' at Error (native) at Object.fs.openSync (fs.js:640:18) at Object.fs.readFileSync (fs.js:508:33) at newOrderer (/root/blockchain-explorer/app/helper.js:94:27) at Object. (/root/blockchain-explorer/app/helper.js:55:13) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)```

pancake (Sun, 05 Nov 2017 05:52:42 GMT):
Hi, all, i am trying to install explorer by following this doc: https://github.com/hyperledger/blockchain-explorer, but an error occur when i run `.start.sh`, the info in `log.log` as below: ```fs.js:640 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/root/blockchain-explorer/fabric-docker-compose-svt/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/ca.crt' at Error (native) at Object.fs.openSync (fs.js:640:18) at Object.fs.readFileSync (fs.js:508:33) at newOrderer (/root/blockchain-explorer/app/helper.js:94:27) at Object. (/root/blockchain-explorer/app/helper.js:55:13) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)``` Could you pls

pancake (Sun, 05 Nov 2017 05:52:42 GMT):
Hi, all, i am trying to install explorer by following this doc: https://github.com/hyperledger/blockchain-explorer, but an error occur when i run `.start.sh`, the info in `log.log` as below: ```fs.js:640 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/root/blockchain-explorer/fabric-docker-compose-svt/crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/ca.crt' at Error (native) at Object.fs.openSync (fs.js:640:18) at Object.fs.readFileSync (fs.js:508:33) at newOrderer (/root/blockchain-explorer/app/helper.js:94:27) at Object. (/root/blockchain-explorer/app/helper.js:55:13) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)``` Could you pls give me some help?

pancake (Sun, 05 Nov 2017 10:31:42 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=b7XSYApFRECk4HZL7) @berndoostrum Hi, berndoostrum, have you solved this problem yet?

pancake (Sun, 05 Nov 2017 10:32:08 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=3Ds6WZt4tA5s4qQbG) @berndoostrum This error.

wiggy (Sun, 05 Nov 2017 12:46:28 GMT):
Has joined the channel.

pancake (Sun, 05 Nov 2017 12:49:43 GMT):
Is anyone could help me?

MadhavaReddy (Sun, 05 Nov 2017 15:38:44 GMT):
Has joined the channel.

MadhavaReddy (Sun, 05 Nov 2017 15:41:29 GMT):
Hi All, have installed blockchain-explorer and see the app is up and running however don't see data in any tab other than peer, created a channel and deployed chaincode and invoked couple of transaction, can you please help me why am not able to see anything in explorer

jjmiranda (Sun, 05 Nov 2017 17:25:41 GMT):
Has joined the channel.

MadhavaReddy (Sun, 05 Nov 2017 17:49:42 GMT):
Hi All can you please help on what value need to set for below varaibles in config.json "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs"

MadhavaReddy (Sun, 05 Nov 2017 18:11:46 GMT):
In log i keep seeing below error can you please help me to resolve the issue [2017-11-05 18:07:17.588] [ERROR] Helper - admin enrollment failed [2017-11-05 18:07:17.589] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/app/query.js:175:18) at process._tickCallback (internal/process/next_tick.js:109:7) [2017-11-05 18:07:17.589] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/app/query.js:301:32) at process._tickCallback (internal/process/next_tick.js:109:7) (node:25779) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 72): Error: Cannot save null userContext. [2017-11-05 18:07:18.650] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 127.0.0.1:7054] at ClientRequest. (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:711:12) at emitOne (events.js:96:13) at ClientRequest.emit (events.js:188:7) at Socket.socketErrorListener (_http_client.js:310:9) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at emitErrorNT (net.js:1281:8) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9) [2017-11-05 18:07:18.650] [ERROR] Helper - admin enrollment failed [2017-11-05 18:07:18.650] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/app/query.js:175:18) at process._tickCallback (internal/process/next_tick.js:109:7) [2017-11-05 18:07:18.650] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined

jjmiranda (Sun, 05 Nov 2017 18:11:56 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=zeAvjHA8d7sJFrnRn) @lclclc Hi! Keystore for Composer Fabric its in /home/ubuntu/.composer-credentials but "signcert folder" ???

mulderbm (Sun, 05 Nov 2017 19:31:45 GMT):
Has joined the channel.

qingsongGuo (Mon, 06 Nov 2017 01:49:39 GMT):
Has joined the channel.

naruto1982 (Mon, 06 Nov 2017 03:02:58 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=svCZsZpqCPLNZCWNo) @MadhavaReddy Hi, I met the same problem and it seems that a lot of developers face the same issue. In my opinion, you don't need change these 2 values. Because the document says you just need to change the values relevant to the mysql and network configuration.

pancake (Mon, 06 Nov 2017 05:45:19 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=dCZTAEWYMjaPhStqC) Could anyone give me some help about the error as below?

lclclc (Mon, 06 Nov 2017 05:58:04 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=yfJAyRgiexwH3uonb) @jjmiranda You are seeking in the wrong place. That folder is used to store the imported private/public key. The keystore and signcert folder is inside your network folder. If you are using sth like "first-network", you can just search "msp" in that folder, you will see keystore and signcert of an admin user in crypto-config folder, that is what you need to copy, also, you need to use "identity import" command to import them into that .composer-credentials folder.

qingsongGuo (Mon, 06 Nov 2017 08:14:30 GMT):

Clipboard - November 6, 2017 4:14 PM

qingsongGuo (Mon, 06 Nov 2017 08:14:56 GMT):

Clipboard - November 6, 2017 4:14 PM

qingsongGuo (Mon, 06 Nov 2017 08:16:00 GMT):
Does this configuration need to be changed

qingsongGuo (Mon, 06 Nov 2017 08:16:12 GMT):
GOPATH

qingsongGuo (Mon, 06 Nov 2017 08:18:27 GMT):
what does it do

qingsongGuo (Mon, 06 Nov 2017 08:19:01 GMT):
I started this project for the first time

qingsongGuo (Mon, 06 Nov 2017 08:25:21 GMT):
I've seen before that people say don't need to change this variable

hasegawa (Mon, 06 Nov 2017 09:58:35 GMT):
Has joined the channel.

vikkyagarwal (Mon, 06 Nov 2017 13:35:37 GMT):
Has joined the channel.

andimit (Mon, 06 Nov 2017 14:49:06 GMT):
Has joined the channel.

MadhavaReddy (Mon, 06 Nov 2017 18:44:44 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=FjpvJP4hf45LudC74) @naruto1982 Thank you, but still no data is showing in explorer other than peer numbers :-( in log i see below error [2017-11-06 18:43:37.148] [ERROR] Helper - admin enrollment failed [2017-11-06 18:43:37.149] [ERROR] Query - Error: Missing userContext parameter

MadhavaReddy (Mon, 06 Nov 2017 18:46:25 GMT):
Hi All have updated network config files and started the explorer, in UI i only see number of peer's nothing else, in log am seeing below errors, can you please help me to fix the issue [2017-11-06 18:43:37.148] [ERROR] Helper - admin enrollment failed [2017-11-06 18:43:37.149] [ERROR] Query - Error: Missing userContext parameter

MadhavaReddy (Tue, 07 Nov 2017 02:30:08 GMT):
Hi All have updated network config files and started the explorer, in UI i only see number of peer's nothing else, in log am seeing below errors, can you please help me to fix the issue [2017-11-06 18:43:37.148] [ERROR] Helper - admin enrollment failed [2017-11-06 18:43:37.149] [ERROR] Query - Error: Missing userContext parameter

qingsongGuo (Tue, 07 Nov 2017 02:35:58 GMT):

Clipboard - November 7, 2017 10:35 AM

qingsongGuo (Tue, 07 Nov 2017 02:36:36 GMT):
I had the same problem

qingsongGuo (Tue, 07 Nov 2017 02:38:02 GMT):

Clipboard - November 7, 2017 10:37 AM

qingsongGuo (Tue, 07 Nov 2017 02:38:20 GMT):
look my explorer

prmdmshra (Tue, 07 Nov 2017 06:38:02 GMT):

Clipboard - November 7, 2017 12:07 PM

prmdmshra (Tue, 07 Nov 2017 06:38:12 GMT):

Clipboard - November 7, 2017 12:07 PM

prmdmshra (Tue, 07 Nov 2017 06:38:41 GMT):
I am also facing the same issue as reported above by @MadhavaReddy @qingsongGuo

prmdmshra (Tue, 07 Nov 2017 06:38:41 GMT):
I am also facing the same issue as reported above by @MadhavaReddy @qingsongGuo Kindly Advice

prmdmshra (Tue, 07 Nov 2017 06:39:36 GMT):

Clipboard - November 7, 2017 12:09 PM

risabhsharma71 (Tue, 07 Nov 2017 10:31:58 GMT):
@qingsongGuo keep enabletls to flase

flash139 (Tue, 07 Nov 2017 14:36:43 GMT):
Has joined the channel.

prmdmshra (Wed, 08 Nov 2017 06:10:05 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=6icWm3fJwxWt6mKYY) Any update on the issue :-(

sac1984pat (Wed, 08 Nov 2017 06:45:35 GMT):
Has joined the channel.

naruto1982 (Wed, 08 Nov 2017 09:44:17 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=PSeaaqAiSYCs2fsX6) @risabhsharma71 Hello, I don't think disabling the TLS can solve this common issue. Me and other guys have tried several times. If you solve it by following your configuration, please share it with us. You will be highly appreciated by doing so. Thanks.

knagware9 (Wed, 08 Nov 2017 17:20:09 GMT):
Has left the channel.

MadhavaReddy (Wed, 08 Nov 2017 18:00:42 GMT):
Hi All have updated network config files and started the explorer, in UI i only see number of peer's nothing else, in log am seeing below errors, can you please help me to fix the issue [2017-11-06 18:43:37.148] [ERROR] Helper - admin enrollment failed [2017-11-06 18:43:37.149] [ERROR] Query - Error: Missing userContext parameter

dcs0001 (Wed, 08 Nov 2017 22:12:22 GMT):
Has joined the channel.

MadhavaReddy (Thu, 09 Nov 2017 04:03:58 GMT):
is this community active like other channels?

jeevas (Thu, 09 Nov 2017 07:35:46 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Bv2pRc7rXLktNGoGA) @MadhavaReddy we are checking this issues. will get back you soon. if you keep enable TLS = false. follow the below steps. It should work. you can try to start with fabric-docker-compose-svt. before that stop first-network "./byfn.sh -m down -c mychannel" and follow these steps. 1. `cd fabric-docker-compose-svt` 2. `./download_images.sh` 3. `./start.sh

MadhavaReddy (Thu, 09 Nov 2017 08:17:33 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=2SDkHR6J6NoRKF2pq) @jeevas Thank you, still am getting enrollment error :-( [2017-11-09 08:15:42.324] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 127.0.0.1:7054] at ClientRequest. (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:711:12)

jeevas (Thu, 09 Nov 2017 08:25:09 GMT):
can you share your log?

jeevas (Thu, 09 Nov 2017 08:27:00 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=LCiaXC4DbFFjfsau6) @MadhavaReddy can you give your docker ps log and docker logs --follow ca_peerOrg1

MadhavaReddy (Thu, 09 Nov 2017 09:16:04 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ofiSywciSpPn7JW2C) @jeevas , have generated artifacts manually through crypto tool

MadhavaReddy (Thu, 09 Nov 2017 09:16:04 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ofiSywciSpPn7JW2C) @jeevas , have generated artifacts manually through crypto tool so am not using CA here, can you please suggests what end point i need to give in network-config file for CA instead of "ca": "http://127.0.0.1:7054",

qingsongGuo (Thu, 09 Nov 2017 10:03:03 GMT):

Clipboard - November 9, 2017 6:02 PM

qingsongGuo (Thu, 09 Nov 2017 10:03:07 GMT):
is like that

qingsongGuo (Thu, 09 Nov 2017 10:03:52 GMT):
I tried your method, too

qingsongGuo (Thu, 09 Nov 2017 10:04:29 GMT):
still an getting error

qingsongGuo (Thu, 09 Nov 2017 10:05:05 GMT):
@jeevas

jeevas (Thu, 09 Nov 2017 10:06:23 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=oiwwJusa7evidRz9N) @qingsongGuo could you share ur "docker logs --follow ca_peerOrg1" . Please confirm ur TLS enabled is false or True.

qingsongGuo (Thu, 09 Nov 2017 10:07:55 GMT):
tls is false

qingsongGuo (Thu, 09 Nov 2017 10:11:32 GMT):

Clipboard - November 9, 2017 6:11 PM

qingsongGuo (Thu, 09 Nov 2017 10:11:47 GMT):

Clipboard - November 9, 2017 6:11 PM

AlexisRabeuf (Thu, 09 Nov 2017 11:25:31 GMT):
Has joined the channel.

pancake (Thu, 09 Nov 2017 14:01:00 GMT):
@qingsongGuo @prmdmshra Same error with you.

flash139 (Fri, 10 Nov 2017 06:14:14 GMT):
Hi all ,I'm a beginner to this. I had installed blockchain explorer from https://github.com/hyperledger/blockchain-explorer and my query is 1)My dashboard only showing peers so How to check the transactions and blocks ? 2)When followed this steps mysql DB is created with name - FabricExplorer is there any relation with dashboard peers and transactions ?

flash139 (Fri, 10 Nov 2017 06:15:05 GMT):
3)How to add new blocks and transactions to my dashboard ? please help me

jeevas (Fri, 10 Nov 2017 06:54:14 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=yYXf8vZJjhhga5aeL) @flash139 For transaction . you can execute the this command "docker exec -it cli bash" and invoke your peer chain code.

flash139 (Fri, 10 Nov 2017 07:44:44 GMT):
thankyou @jeevas Can u please elaborate this ..

jeevas (Fri, 10 Nov 2017 08:00:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=XJeJaEeboS5hsxvHN) @flash139 you can refer this link - https://hyperledger-fabric.readthedocs.io/en/latest/build_network.html and you will get more idea about Channel Configuration Transaction. based on that u can execute the CLI container and We need only pass in the channel identifier and name of the chaincode. u can get invoke command from your "cat scripts/script.sh" file and get invoke command change your channel name .

mzphitt (Fri, 10 Nov 2017 22:09:04 GMT):
Has joined the channel.

comeback4you (Sat, 11 Nov 2017 04:33:02 GMT):
Has joined the channel.

Tianjian (Sat, 11 Nov 2017 08:53:41 GMT):
Has joined the channel.

Russell-Columbia (Sat, 11 Nov 2017 23:35:26 GMT):
Has joined the channel.

george (Sun, 12 Nov 2017 20:04:53 GMT):
Has joined the channel.

gxx (Mon, 13 Nov 2017 01:29:34 GMT):
Has joined the channel.

flash139 (Mon, 13 Nov 2017 13:33:17 GMT):
I am trying to run the following command for Create and Join Channel : peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls $CORE_PEER_TLS_ENABLED --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem But i am keep getting an Error: Error connecting to orderer.example.com:7050 due to open /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem: no such file or directory

suvpatil (Mon, 13 Nov 2017 13:34:17 GMT):
Has joined the channel.

suvpatil (Mon, 13 Nov 2017 13:54:36 GMT):
Hi All, I have change the network from folder fabric-docker-compose-svt, to 5 organisation and all network peers are running fine. Also made the changes in network-config.json file. But I am getting only peer and chaincode numbers in my explorer and block, transaction are 0. when I see logs gettting below errors: [32m[2017-11-13 18:43:39.538] [INFO] Helper - #[39mSuccessfully enrolled user 'admin' #[31m[2017-11-13 18:43:39.589] [ERROR] Helper - #[39madmin enrollment failed #[31merror#[39m: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 #[31merror#[39m: [Channel.js]: Failed Query block. Error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 #[31m[2017-11-13 18:43:39.627] [ERROR] Query - #[39mError: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 (node:3633) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 363): TypeError: Cannot read property 'number' of undefined #[32m[2017-11-13 18:45:39.278] [INFO] Helper - #[39mSuccessfully loaded member from persistence #[31merror#[39m: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 #[31merror#[39m: [Channel.js]: Failed Query block. Error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 #[31m[2017-11-13 18:45:39.289] [ERROR] Query - #[39mError: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 (node:3633) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 366): TypeError: Cannot read property 'number' of undefined

myin2000 (Mon, 13 Nov 2017 21:36:25 GMT):
Has joined the channel.

MohammadObaid (Tue, 14 Nov 2017 08:50:58 GMT):
@jeevas I setup fabric environemnt on aws instance and all dockers run without any problem. Now what I want to try is to setup blockchain explorer on my subdomain and connect with my aws blockchain network. Is it possible through blockhain explorer?

flash139 (Tue, 14 Nov 2017 09:12:33 GMT):

my_hyperledger_explorer.png

aks1981 (Tue, 14 Nov 2017 09:46:15 GMT):
Has joined the channel.

jeevas (Tue, 14 Nov 2017 09:47:13 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=iby3SgYnEz9sTYDKR) @suvpatil could you please pull the latest code and verify again

jeevas (Tue, 14 Nov 2017 09:48:18 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=GFCApR6ZFMuvNy5j2) @MohammadObaid I will check from my side and let you know

jeevas (Tue, 14 Nov 2017 10:18:34 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=wuMduAXJeWtQFXdSH) @flash139 Are you getting any issues in Fabric network setup? Please share your logs

MohammadObaid (Tue, 14 Nov 2017 12:06:13 GMT):
Alright @jeevas thanks a lot :)

Chandraamit (Tue, 14 Nov 2017 16:35:30 GMT):
Has joined the channel.

UtkarshSingh (Tue, 14 Nov 2017 16:45:33 GMT):
For all the beginners out there, like me. I would strongly recommend you all to go through a course, titled, Blockchain for Business - An Introduction to Hyperledger Technologies, on edX It will help you in building and visualizing the concepts.

satheeshk (Tue, 14 Nov 2017 16:58:03 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=3FRiQz9cNDX24a3f5) @MohammadObaid Connecting to a fabric network on AWS is not any different from connecting a locally, as long as the blockchain explorer nodejs backed-end can talk to fabric network via grpc then everything will work fine. Please make sure you update the network configuration network-config.json accordingly to point to right peer ip/port and crypto artifacts

Subratami (Tue, 14 Nov 2017 17:52:33 GMT):
Has joined the channel.

anishman (Wed, 15 Nov 2017 03:45:08 GMT):
Has joined the channel.

anishman (Wed, 15 Nov 2017 04:02:16 GMT):
Hello Everyone, I'm trying to setup Blockchain Explorer following the steps stated in Github. ------------------- #1. cd first-network #2 ./bootstrap-1.0.2.sh #3 mkdir -p ./channel-artifacts #4 ./byfn.sh -m generate -c mychannel #5 ./byfn.sh -m up -c mychannel ------------------- I am getting errors at Step #5 where I'm not able to create the channel (it results in a error). Has anyone been through the same problem before or knows how to fix it? I'd be grateful if I could get some info regarding this issue. Thanks beforehand. -Anish I've added the error log below. ----------------------------------------------------------------- proceeding ... peer1.org1.example.com is up-to-date peer0.org1.example.com is up-to-date peer1.org2.example.com is up-to-date ca_peerOrg1 is up-to-date orderer.example.com is up-to-date ca_peerOrg2 is up-to-date peer0.org2.example.com is up-to-date cli is up-to-date ____ _____ _ ____ _____ / ___| |_ _| / \ | _ \ |_ _| \___ \ | | / _ \ | |_) | | | ___) | | | / ___ \ | _ < | | |____/ |_| /_/ \_\ |_| \_\ |_| Build your first network (BYFN) end-to-end test Channel name : bctest Creating channel... CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key CORE_PEER_LOCALMSPID=Org1MSP CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt CORE_PEER_TLS_ENABLED=true CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp CORE_PEER_ID=cli CORE_LOGGING_LEVEL=DEBUG CORE_PEER_ADDRESS=peer0.org1.example.com:7051 2017-11-15 03:16:03.073 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2017-11-15 03:16:03.073 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2017-11-15 03:16:03.076 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2017-11-15 03:16:03.076 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP 2017-11-15 03:16:03.076 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity 2017-11-15 03:16:03.076 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP 2017-11-15 03:16:03.076 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing identity 2017-11-15 03:16:03.076 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0A8C060A074F7267314D53501280062D...53616D706C65436F6E736F727469756D 2017-11-15 03:16:03.076 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: 6617BC35DD3AF26C00E7C59BAB75DF67B3E76663ED68BFAC1433AFF048D10F1E 2017-11-15 03:16:03.076 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP 2017-11-15 03:16:03.076 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing identity 2017-11-15 03:16:03.076 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP 2017-11-15 03:16:03.076 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity 2017-11-15 03:16:03.076 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AC0060A1208021A0608F3E2AED00522...F6F759D5D57BBB3925753953B34F23B8 2017-11-15 03:16:03.076 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 4E39C222A9830AEBCFF9DDEEFBB9B3E2BFFF7C1B7CD88CC64A5E293BBA773CAD Error: Got unexpected status: BAD_REQUEST Usage: peer channel create [flags] Flags: -c, --channelID string In case of a newChain command, the channel ID to create. -f, --file string Configuration transaction file generated by a tool such as configtxgen for submitting to orderer -t, --timeout int Channel creation timeout (default 5) Global Flags: --cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint --logging-level string Default logging level and overrides, see core.yaml for full syntax -o, --orderer string Ordering service endpoint --test.coverprofile string Done (default "coverage.cov") --tls Use TLS when communicating with the orderer endpoint -v, --version Display current version of fabric peer server !!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!! ========= ERROR !!! FAILED to execute End-2-End Scenario ===========

cminarovits (Wed, 15 Nov 2017 05:31:11 GMT):
Has joined the channel.

Subratami (Wed, 15 Nov 2017 06:29:38 GMT):
Hi all, i'm new to this project , need url for the code setup locally in Ubuntu( in Oracle virtual box). Any one prepared a good doc for a full proof setup steps,plz share

UtkarshSingh (Wed, 15 Nov 2017 06:53:43 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=xFZfzhgfJTYjrh6Ss) @Subratami

ArnabChatterjee (Wed, 15 Nov 2017 08:17:18 GMT):
Has joined the channel.

TimskiiTim (Wed, 15 Nov 2017 12:18:04 GMT):
Has joined the channel.

ArchanGanguly (Wed, 15 Nov 2017 15:30:56 GMT):
Has joined the channel.

JayTC (Wed, 15 Nov 2017 16:26:29 GMT):
Has joined the channel.

CodeReaper (Thu, 16 Nov 2017 04:43:46 GMT):
Hey, I wanted to ask that if the explorer works on a database that stores data for trasnactions every time it get the respective event, what happens if the application goes through a little downtime?It will miss those transactions and blocks permanently?

flash139 (Thu, 16 Nov 2017 07:04:26 GMT):
Can we add more channels to the explorer ? I had created a channel - mychannel , and I wanted to create another channel to dashboard is it possible ..?

amarbabuk (Thu, 16 Nov 2017 07:54:47 GMT):
Has joined the channel.

sravs (Thu, 16 Nov 2017 08:07:38 GMT):
Has joined the channel.

jeevas (Thu, 16 Nov 2017 10:32:28 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=HtEwGe3PTZ4nvNSSy) @flash139 we have implemented that future. will release soon

Srybarkiewic (Thu, 16 Nov 2017 10:48:47 GMT):
Has joined the channel.

yogesh.fulsunge (Thu, 16 Nov 2017 13:19:08 GMT):
Has joined the channel.

yogesh.fulsunge (Thu, 16 Nov 2017 13:19:13 GMT):
when i start hyperledger fabric and deploy network i see docker container size keeps on growing and disk becomes 100% full. how to stop this problem ??

flash139 (Thu, 16 Nov 2017 14:32:05 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=9bNvoGm9rxndnaEbu) @jeevas my dashboard shows a 1 chaincode ,Can I add another chaincode to it and How? Its in go lang can we write in java ?

flash139 (Thu, 16 Nov 2017 14:33:22 GMT):
Is there a way to merge hyperledgr composer with explorer .So that transactions made in composer can be viewed in the explorer?

creativemonk (Thu, 16 Nov 2017 18:09:53 GMT):
Has joined the channel.

lilyweiopensource (Thu, 16 Nov 2017 23:13:37 GMT):
Has joined the channel.

gjoshevski (Fri, 17 Nov 2017 01:50:58 GMT):
Has joined the channel.

gjoshevski (Fri, 17 Nov 2017 01:55:06 GMT):
Hey, Has anyone managed to connect the blockchain explorer with the fabric-dev-servers images from the composer documentation?

gjoshevski (Fri, 17 Nov 2017 01:55:59 GMT):
I don't know where to look for the admin key and cert?

gjoshevski (Fri, 17 Nov 2017 01:55:59 GMT):
I don't know where to look for the admin key and cert

czarx (Fri, 17 Nov 2017 04:20:21 GMT):
Has joined the channel.

wininani (Fri, 17 Nov 2017 12:32:48 GMT):
Has joined the channel.

vitorduarte (Fri, 17 Nov 2017 15:01:20 GMT):
Has joined the channel.

matanyahu (Fri, 17 Nov 2017 21:01:07 GMT):
Hi, I am experiencing an error when I try to launch explorer with a standard first-network configuration

matanyahu (Fri, 17 Nov 2017 21:01:19 GMT):
[2017-11-17 20:57:53.785] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140480353146688:error:1411713E:SSL routines:ssl_check_srvr_ecc_cert_and_alg:ecc cert not for signing:../deps/openssl/openssl/ssl/ssl_lib.c:2520: 140480353146688:error:14082130:SSL routines:ssl3_check_cert_and_algorithm:bad ecc cert:../deps/openssl/openssl/ssl/s3_clnt.c:3550: ] at ClientRequest. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:711:12) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at TLSSocket.socketErrorListener (_http_client.js:387:9) at emitOne (events.js:116:13) at TLSSocket.emit (events.js:211:7) at onwriteError (_stream_writable.js:408:12) at onwrite (_stream_writable.js:430:5) at _destroy (internal/streams/destroy.js:39:7) at TLSSocket.Socket._destroy (net.js:561:3) [2017-11-17 20:57:53.787] [ERROR] Helper - admin enrollment failed

matanyahu (Fri, 17 Nov 2017 21:02:04 GMT):
I tried to modify config.json to either use or not to use tls but in both cases the launch of explorer failed

matanyahu (Fri, 17 Nov 2017 21:02:44 GMT):
what is weird is that explorer tried to obtain certs from fabric-docker-compose-svt/crypto-config instead of first-network/crypto-config

matanyahu (Fri, 17 Nov 2017 21:02:58 GMT):
I copied certs generated by .byfn.sh to fabric-docker-compose-svt/crypto-config

matanyahu (Fri, 17 Nov 2017 21:04:07 GMT):
I see that tls is enabled in the byfn network configuration within docker-compose-cli.yaml

matanyahu (Fri, 17 Nov 2017 21:09:11 GMT):
the folder /tmp/fabric-client-kvs is empty

matanyahu (Fri, 17 Nov 2017 22:48:25 GMT):
I made sure that generated certs are correct but still my deployment fails

matanyahu (Fri, 17 Nov 2017 22:48:33 GMT):
any help with the above would be greatly apprecaited

matanyahu (Fri, 17 Nov 2017 22:49:07 GMT):
I have impression it is somehow related to an inability to interpret certificates generated by cryptogen when ./byfn.sh is executed

matanyahu (Fri, 17 Nov 2017 22:49:29 GMT):
paths to certs are correct

matanyahu (Sat, 18 Nov 2017 07:43:46 GMT):
can anyone help me with this issue?

matanyahu (Sat, 18 Nov 2017 07:43:57 GMT):
I was struggling with it yesterday, to no avail

MohitYadav (Sat, 18 Nov 2017 11:39:08 GMT):
Has joined the channel.

fabriziosta (Sun, 19 Nov 2017 20:03:19 GMT):
Has joined the channel.

saadmir (Mon, 20 Nov 2017 02:54:16 GMT):
Has joined the channel.

qurikuduo (Mon, 20 Nov 2017 03:28:09 GMT):

Clipboard - 2017年11月20日上午11点26分

qurikuduo (Mon, 20 Nov 2017 03:30:10 GMT):
I'm following this guid: http://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/devenv.html everthin goes well in previous step.

qurikuduo (Mon, 20 Nov 2017 03:31:11 GMT):
Any suggest will be a good help, thx.

qurikuduo (Mon, 20 Nov 2017 03:35:34 GMT):
Sorry, everybody, I'm in incorrect channel. :"

qurikuduo (Mon, 20 Nov 2017 03:35:38 GMT):
:)

Riussi (Mon, 20 Nov 2017 08:50:30 GMT):
Has joined the channel.

Luke_Chen (Mon, 20 Nov 2017 08:53:07 GMT):
Has joined the channel.

seungchan (Mon, 20 Nov 2017 09:12:10 GMT):
Has joined the channel.

seungchan (Mon, 20 Nov 2017 09:12:16 GMT):
Hi, everyone. I have question. When I use Hyperledger Explorer, can i customize UI of Hyperledger Explorer?

Luke_Chen (Mon, 20 Nov 2017 09:33:09 GMT):
@suvpatil ``` suvpatil November 13, 2017 9:54 PM Hi All, I have change the network from folder fabric-docker-compose-svt, to 5 organisation and all network peers are running fine. Also made the changes in network-config.json file. But I am getting only peer and chaincode numbers in my explorer and block, transaction are 0. when I see logs gettting below errors: [32m[2017-11-13 18:43:39.538] [INFO] Helper - #[39mSuccessfully enrolled user 'admin' #[31m[2017-11-13 18:43:39.589] [ERROR] Helper - #[39madmin enrollment failed #[31merror#[39m: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 #[31merror#[39m: [Channel.js]: Failed Query block. Error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 #[31m[2017-11-13 18:43:39.627] [ERROR] Query - #[39mError: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 (node:3633) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 363): TypeError: Cannot read property 'number' of undefined #[32m[2017-11-13 18:45:39.278] [INFO] Helper - #[39mSuccessfully loaded member from persistence #[31merror#[39m: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 #[31merror#[39m: [Channel.js]: Failed Query block. Error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 #[31m[2017-11-13 18:45:39.289] [ERROR] Query - #[39mError: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/suvit/GoWork/hyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 (node:3633) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 366): TypeError: Cannot read property 'number' of undefined ```

Luke_Chen (Mon, 20 Nov 2017 09:33:29 GMT):
did you figure out this problem?

Luke_Chen (Mon, 20 Nov 2017 09:43:25 GMT):
here is my solution:

Luke_Chen (Mon, 20 Nov 2017 09:43:47 GMT):
here is my solution: ````

glotov (Mon, 20 Nov 2017 10:44:49 GMT):
Has joined the channel.

glotov (Mon, 20 Nov 2017 11:30:33 GMT):
hi guys! I just noticed that "data_hash" of the current block is completely different from the "previous_hash" of the following block. Fabric images 1.0.1, errors in logs. Why may it be so?

glotov (Mon, 20 Nov 2017 11:30:33 GMT):
hi guys! I just noticed that "data_hash" of the current block is completely different from the "previous_hash" of the following block. Fabric images 1.0.1,no errors in logs. Why may it be so?

Shachindra (Mon, 20 Nov 2017 22:38:29 GMT):
Has joined the channel.

RocMax (Mon, 20 Nov 2017 23:13:36 GMT):
@glotov the data_hash is hash of transactions in this block , the previous_hash is hash of all data in previous block. Actually a block can not have its own hash in it, because before hash you need to know all data of the block include the hash.

marksta (Tue, 21 Nov 2017 09:02:43 GMT):
Has joined the channel.

glotov (Tue, 21 Nov 2017 10:26:48 GMT):
@RocMax , I agree with your reasoning. I meant that blockchain explorer should calculate and show the current_hash, so that people could clearly see the link between blocks.

Manasabingi (Tue, 21 Nov 2017 12:45:59 GMT):
Has joined the channel.

suneel18 (Wed, 22 Nov 2017 10:58:35 GMT):
Has joined the channel.

suneel18 (Wed, 22 Nov 2017 10:58:41 GMT):
Hello All, Can anyone tell me what is difference in Public Permissioned blockchain network and Private Permissioned blockchain network

trongtoanRaD (Wed, 22 Nov 2017 12:46:59 GMT):
Has joined the channel.

lucasdf (Wed, 22 Nov 2017 13:13:42 GMT):
Has joined the channel.

MadhavaReddy (Wed, 22 Nov 2017 15:25:52 GMT):
Hi All, can you please help me on how the block listener is working in blockchain explorer

ajkush (Wed, 22 Nov 2017 15:47:54 GMT):
Has joined the channel.

MadhavaReddy (Wed, 22 Nov 2017 20:10:28 GMT):
Hi All, when i try to run explorer am seeing below error in log can you please help me to fix the issue error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate has expired or is not yet valid at /home/ubuntu/work/src/github.com/hyperledger/explorer/fabric-explorer/node_modules/grpc/src/client.js:554:15 error: [Channel.js]: Failed Query channel info. Error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate has expired or is not yet valid at /home/ubuntu/work/src/github.com/hyperledger/explorer/fabric-explorer/node_modules/grpc/src/client.js:554:15 [2017-11-22 20:08:48.913] [ERROR] Query - Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate has expired or is not yet valid at /home/ubuntu/work/src/github.com/hyperledger/explorer/fabric-explorer/node_modules/grpc/src/client.js:554:15 [2017-11-22 20:08:48.913] [DEBUG] Query - <<<<<<<<<< channel height >>>>>>>>> [2017-11-22 20:08:48.913] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/ubuntu/work/src/github.com/hyperledger/explorer/fabric-explorer/app/query.js:301:32) at

BasanthVerma (Thu, 23 Nov 2017 10:35:50 GMT):
Has joined the channel.

MadhavaReddy (Thu, 23 Nov 2017 15:45:36 GMT):
Hi All, am trying to run fabric explorer using balance transfer crypto files and getting below error, please suggests what is the issue here [2017-11-23 15:40:59.781] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: Parse Error] at ClientRequest. (/home/ubuntu/work/src/github.com/hyperledger/explorer/fabric-explorer/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:711:12) at emitOne (events.js:115:13) at ClientRequest.emit (events.js:210:7) at Socket.socketOnData (_http_client.js:459:9) at emitOne (events.js:115:13) at Socket.emit (events.js:210:7) at addChunk (_stream_readable.js:266:12) at readableAddChunk (_stream_readable.js:253:11) at Socket.Readable.push (_stream_readable.js:211:10) at TCP.onread (net.js:585:20) [2017-11-23 15:40:59.781] [ERROR] Helper - admin enrollment failed [2017-11-23 15:40:59.781] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/home/ubuntu/work/src/github.com/hyperledger/explorer/fabric-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/home/ubuntu/work/src/github.com/hyperledger/explorer/fabric-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/home/ubuntu/work/src/github.com/hyperledger/explorer/fabric-explorer/app/query.js:175:18) at at process._tickCallback (internal/process/next_tick.js:188:7)

jasoncys (Fri, 24 Nov 2017 03:46:53 GMT):
Has joined the channel.

mne (Fri, 24 Nov 2017 13:34:04 GMT):
Has left the channel.

kong-bo (Sat, 25 Nov 2017 06:48:20 GMT):
Has joined the channel.

vincewong (Sun, 26 Nov 2017 11:54:30 GMT):
Has joined the channel.

MadhavaReddy (Mon, 27 Nov 2017 09:45:34 GMT):
Hi All when i try to create channel using explorer api getting below error can you please help to fix the issue

MadhavaReddy (Mon, 27 Nov 2017 09:45:36 GMT):
ubuntu@GEFabricNode2:~/work/src/github.com/hyperledger/fabric-explorer/router$ curl -s -X POST \ > http://localhost:8080/apis/channels \ > -H "content-type: application/json" \ > -d '{ > channels.js "channelName":"mychannel1", > channels.js "channelConfigPath":"../artifacts/mychannel1.tx", > channels.js "configUpdate":false > }' Error

SyntaxError: Unexpected token c in JSON at position 2
   at JSON.parse (<anonymous>)
   at parse (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/body-parser/lib/types/json.js:89:19)
   at /home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/body-parser/lib/read.js:121:18
   at invokeCallback (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/raw-body/index.js:224:16)
   at done (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/raw-body/index.js:213:7)
   at IncomingMessage.onEnd (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/raw-body/index.js:273:7)
   at emitNone (events.js:105:13)
   at IncomingMessage.emit (events.js:207:7)
   at endReadableNT (_stream_readable.js:1059:12)
   at _combinedTickCallback (internal/process/next_tick.js:138:11)

MadhavaReddy (Mon, 27 Nov 2017 09:48:15 GMT):
curl -s -X POST \ > http://localhost:8080/apis/channels \ > -H "content-type: application/json" \ > -d '{"channelName":"mychannel1","channelConfigPath":"../artifacts/mychannel1.tx","configUpdate":false}' Error

ReferenceError: channels is not defined
   at /home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/router/channels.js:76:5
   at Layer.handle [as handle_request] (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/express/lib/router/layer.js:95:5)
   at next (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/express/lib/router/route.js:137:13)
   at Route.dispatch (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/express/lib/router/route.js:112:3)
   at Layer.handle [as handle_request] (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/express/lib/router/layer.js:95:5)
   at /home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/express/lib/router/index.js:281:22
   at Function.process_params (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/express/lib/router/index.js:335:12)
   at next (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/express/lib/router/index.js:275:10)
   at /home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/router/channels.js:52:5
   at Layer.handle [as handle_request] (/home/ubuntu/work/src/github.com/hyperledger/fabric-explorer/node_modules/express/lib/router/layer.js:95:5)

MadhavaReddy (Mon, 27 Nov 2017 09:49:56 GMT):
i see that channel1.tx file is present in that dir ~/work/src/github.com/hyperledger/fabric-explorer/router$ ls -ltr ../artifacts/mychannel1.tx -rw-rw-r-- 1 ubuntu ubuntu 371 Nov 27 09:24 ../artifacts/mychannel1.tx

mikykey (Mon, 27 Nov 2017 12:04:35 GMT):
Has joined the channel.

jeevas (Mon, 27 Nov 2017 12:12:44 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=nb7qfb4KrHYgR8MQK) @MadhavaReddy will check and let you know

muasif80 (Tue, 28 Nov 2017 03:16:30 GMT):
Has joined the channel.

vurumadla (Tue, 28 Nov 2017 06:06:34 GMT):
Has joined the channel.

vurumadla (Tue, 28 Nov 2017 06:09:06 GMT):
hi .. i have cloned blockchain-explorer project and ran all the steps. all the steps went fine. but the final step( ./start.sh) is not working. it is not showing any logs neither running on browser. can anyone help me on this

ankitkamra (Tue, 28 Nov 2017 07:12:41 GMT):
Has joined the channel.

ankitkamra (Tue, 28 Nov 2017 11:16:32 GMT):
Hi, I have download the blockchain explorer and i want to connect to my fabric network instead of creating new network. I have made changes in network-config-tls.json but i am getting following error:- [2017-11-28 19:36:21.895] [INFO] Helper - Successfully loaded member from persistence error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown at /home/fdit02/Hyperledger-explorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 error: [Channel.js]: Failed Query channel info. Error: Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown at /home/fdit02/Hyperledger-explorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 Can anyone please help me to resolve the problem, Thanks in advance

MadhavaReddy (Tue, 28 Nov 2017 13:19:44 GMT):
Hi All, i followed exact steps what is given in the Blockchain explorer with first network, the network is coming up and explorer page is up and running, it showing the initial transactions, blocks which are created through CLI but its not showing any transactions when i send through the API's

MadhavaReddy (Tue, 28 Nov 2017 13:20:03 GMT):
curl -s -X POST \ http://localhost:8080/apis/channels/mychannel/chaincodes/mycc \ -H "content-type: application/json" \ -d '{ "peers": ["127.0.0.1:7051", "127.0.0.1:8051"], "fcn":"invoke", "args":["a","b","10"] }'

MadhavaReddy (Tue, 28 Nov 2017 13:21:23 GMT):
this is the invoke cmd am calling through cmd prompt its executed successfully ( returns some binary data ) but i don't see this transactions either in explorer UI or in backend

MadhavaReddy (Tue, 28 Nov 2017 13:22:06 GMT):
more over am seeing below error continuously in log.log file [2017-11-28 12:33:51.907] [ERROR] Helper - admin enrollment failed [2017-11-28 12:33:51.908] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getRegisteredUsers.then (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/app/query.js:71:18) at [2017-11-28 12:33:51.908] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/ubuntu/work/src/github.com/hyperledger/blockchain-explorer/app/query.js:169:32) at (node:73210) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 744): Error: Cannot save null userContext. [2017-11-28 12:33:52.966] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140229686667072:error:1411713E:SSL routines:ssl_check_srvr_ecc_cert_and_alg:ecc cert not for signing:../deps/openssl/openssl/ssl/ssl_lib.c:2520: 140229686667072:error:14082130:SSL routines:ssl3_check_cert_and_algorithm:bad ecc cert:../deps/openssl/openssl/ssl/s3_clnt.c:3550: ]

MadhavaReddy (Tue, 28 Nov 2017 13:22:24 GMT):
Can you please help me on these issues

jeevas (Tue, 28 Nov 2017 13:28:12 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=3fRYwAyfuvvQyc55g) @MadhavaReddy Thank you. will check api call issues and get back to you.

MadhavaReddy (Tue, 28 Nov 2017 13:28:31 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=nGB2TE9bLqGSJ7rDG) @jeevas Thank you so much

lenardb79 (Tue, 28 Nov 2017 22:06:15 GMT):
Has joined the channel.

ankitkamra (Tue, 28 Nov 2017 23:34:36 GMT):
hi @jeevas I have download the blockchain explorer and i want to connect to my fabric network instead of creating new network. I have made changes in network-config-tls.json but i am getting following error:- [2017-11-28 19:36:21.895] [INFO] Helper - Successfully loaded member from persistence error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown at /home/fdit02/Hyperledger-explorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 error: [Channel.js]: Failed Query channel info. Error: Error: Failed to deserialize creator identity, err MSP Org1MSP is unknown at /home/fdit02/Hyperledger-explorer/blockchain-explorer/node_modules/grpc/src/client.js:554:15 Can you please help me to resolve the problem, Thanks in advance

xingstarx (Wed, 29 Nov 2017 01:50:12 GMT):
Has joined the channel.

LemonMinp (Wed, 29 Nov 2017 03:49:28 GMT):
Has joined the channel.

sk (Wed, 29 Nov 2017 06:00:30 GMT):
@jfodale Yes, it was unable to communicate with CA. Solutions (1) Ensure you have all correct certificates in place or delete all and generate new certificates e.g. "crypt-config" & "artifacts" folders (2) Try with docker-compose-svt. Let me know if this solves your problem or not

MadhavaReddy (Wed, 29 Nov 2017 06:56:38 GMT):
Hi All, why the user name (admin) and the org (org1) has been hard-coded on all the services in explorer node js file, please suggests how to enroll a new user other admin?

xingstarx (Wed, 29 Nov 2017 08:47:45 GMT):
``` 2017-11-29 08:39:08.092 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 2DF2DB04A276521C03B890F7A46015B688404BDD32C5D3A4A1D45771BACB1A0A Error: Got unexpected status: BAD_REQUEST Usage: peer channel create [flags] Flags: -c, --channelID string In case of a newChain command, the channel ID to create. -f, --file string Configuration transaction file generated by a tool such as configtxgen for submitting to orderer -t, --timeout int Channel creation timeout (default 5) Global Flags: --cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint --logging-level string Default logging level and overrides, see core.yaml for full syntax -o, --orderer string Ordering service endpoint --test.coverprofile string Done (default "coverage.cov") --tls Use TLS when communicating with the orderer endpoint -v, --version Display current version of fabric peer server !!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!! ========= ERROR !!! FAILED to execute End-2-End Scenario =========== ``` I am clone https://github.com/hyperledger/blockchain-explorer repo, when I exec `./byfn.sh -m up -c mychannel` in terminal , it fail, and log in above

blackdog1987 (Wed, 29 Nov 2017 09:23:16 GMT):
Has left the channel.

VenkataPavanKumarVarri (Wed, 29 Nov 2017 12:11:35 GMT):
Has joined the channel.

SukanyaParashar (Wed, 29 Nov 2017 16:54:43 GMT):
Has joined the channel.

seungchan (Thu, 30 Nov 2017 00:51:49 GMT):
hi, I'm trying explorer. I have one question. where is 'keyValueStore' in config.json?

vurumadla (Thu, 30 Nov 2017 04:47:20 GMT):
hi @MadhavaReddy can you help me on making blockchain-explorer up. i followed all the steps but start.sh is not showing up anything

jeevas (Thu, 30 Nov 2017 05:36:24 GMT):
@ankitkamra @xingstarx @vurumadla can you stop all docker container and delete all fabric images and try. follow below steps for delete containers and images docker stop $(docker ps -a -q) docker rm -f $(docker ps -a -q) rm -rf ./crypto-config/* rm -rf ~/.hfc* docker system prune -a after that follow the url https://github.com/hyperledger/blockchain-explorer readme document.. it should work...

xingstarx (Thu, 30 Nov 2017 05:59:30 GMT):
ok, thx

KangkanBora (Thu, 30 Nov 2017 11:15:09 GMT):
Has joined the channel.

MadhavaReddy (Thu, 30 Nov 2017 12:04:49 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=3K74RazgNwi5iYo4p) @vurumadla Please follow the below steps follow below steps for delete containers and images docker stop $(docker ps -a -q) docker rm -f $(docker ps -a -q) rm -rf ./crypto-config/* rm -rf ~/.hfc* docker system prune -a after that follow the url https://github.com/hyperledger/blockchain-explorer readme document..

GulshanKumar (Thu, 30 Nov 2017 12:35:29 GMT):
Has joined the channel.

GulshanKumar (Thu, 30 Nov 2017 12:35:34 GMT):
hello guys. I really new to Blockchain-Hyperledger and i want learn more about it. i want to know about consensus protocols used in the various Hyperledger projects

GulshanKumar (Thu, 30 Nov 2017 12:39:12 GMT):
can anyone please help me?

mbharadwaj (Thu, 30 Nov 2017 17:45:29 GMT):
Has joined the channel.

mbharadwaj (Thu, 30 Nov 2017 17:47:25 GMT):
can blockchain-explorer be used to explore a business network that has been setup via composer? i have been able to run explorer locally, and make modifications to connect to my fabric etc. i do have a business network build via composer and see transactions there. i can't get this to be visible in explorer - what do i need to do (if it is possible)"

iamprem (Thu, 30 Nov 2017 21:53:36 GMT):
Has joined the channel.

mvaibhavshah (Fri, 01 Dec 2017 04:51:14 GMT):
Has joined the channel.

mvaibhavshah (Fri, 01 Dec 2017 04:54:06 GMT):
Need urgent help please....how to get the history of all the transactions like create asset, update asset, delete asset, transactions related to update etc from different registries sequentially. Want to simulate same as we see "All transactions" in PlayGround. In historian APIs it is just giving the transactionid but not the attributes. All other explorer APIs provides the information respective to specific repositories..But I need all transactions (different APIs) in one call....

jasoncys (Fri, 01 Dec 2017 05:22:38 GMT):
[The answer is yes. You need to update two files in the explorer directory: config.json and app/network-config.json. Be mindful of the location of the .pem and _sk files for "admin". Good luck.](https://chat.hyperledger.org/channel/blockchain-explorer?msg=aSsrQ5jvGGorKCqjZ) @mbharadwaj

AkhilBhavirisetty (Fri, 01 Dec 2017 07:47:31 GMT):
Has joined the channel.

AkhilBhavirisetty (Fri, 01 Dec 2017 09:22:08 GMT):
@jasoncys can you please elaborate, on how to use the existing fabric network created using hyperledger composer? What should be the channel name ? How can i check the existing channel using command line ?

mbharadwaj (Fri, 01 Dec 2017 14:08:13 GMT):
@jasoncys thank you. i did go through those config changes. i don't see the channel - or in other words my confusion is in line with @AkhilBhavirisetty question above - how do i define the channel name etc?

jasoncys (Fri, 01 Dec 2017 14:17:40 GMT):
[ ] In config.json, change the "channelsList" to ["composerchannel"] or the channel name you created using composer, and set "enableTls":false. In app/networkconfig.json, update "admin" {"key": "keystore", "cert": "signcerts"} and copy those two folders to the explorer working path. Hope it helps. (https://chat.hyperledger.org/channel/blockchain-explorer?msg=8rzno39AhcSky7AzK) @mbharadwaj

mbharadwaj (Fri, 01 Dec 2017 14:35:48 GMT):
@jasoncys - will try that out and cross check with what i did. thank you!

sunibabu (Sat, 02 Dec 2017 10:33:19 GMT):
Has joined the channel.

AkhilBhavirisetty (Mon, 04 Dec 2017 19:49:05 GMT):
@jasoncys Thanks for helping me out

AkhilBhavirisetty (Mon, 04 Dec 2017 19:49:18 GMT):
But when i can the config files

AkhilBhavirisetty (Mon, 04 Dec 2017 19:50:04 GMT):
while I started the explorer, in the log.log file , i can see error admin enrollment failed

AkhilBhavirisetty (Mon, 04 Dec 2017 20:05:11 GMT):
[2017-12-04 12:04:34.106] [INFO] Helper - Successfully enrolled user 'admin'[2017-12-04 12:04:34.130] [ERROR] Helper - admin enrollment failed

AkhilBhavirisetty (Mon, 04 Dec 2017 20:05:31 GMT):
can any one please help me to solve this issue ?

AkhilBhavirisetty (Mon, 04 Dec 2017 20:55:46 GMT):
I am able to successfully configure my fabric explorer to view the fabric network created by composer's sample fabric network :grinning:

jasoncys (Tue, 05 Dec 2017 01:49:59 GMT):
[I encountered the same problem but I still could connect to the fabric network built by composer. Tried to look into the admin enrolment failed problem but to no avail. And glad to hear that you've successfully connected to the fabric network.](https://chat.hyperledger.org/channel/blockchain-explorer?msg=AjeS99bAGsyinxDcS) @AkhilBhavirisetty

fch22 (Tue, 05 Dec 2017 07:51:56 GMT):
Has joined the channel.

fch22 (Tue, 05 Dec 2017 07:56:11 GMT):
Hi All I would like to make a change in a widget, but don't find how to generate the `index-gen.js` file. Can you help me ?

jeevas (Tue, 05 Dec 2017 10:31:28 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=JDtn4n7RAfhJ7yEQ5) @fch22 execute your webpack build command

fch22 (Tue, 05 Dec 2017 10:42:34 GMT):
@jeevas , thanks I have executed a `npm install ` as indicated in the readme, but don't see the file updated. Did I miss something ?

jeevas (Tue, 05 Dec 2017 10:46:23 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=sX2KyFREPEtY5LogX) @fch22 for generate the index-gen.js file you need to execute " npm run build " command in explorer_client folder itself..

fch22 (Tue, 05 Dec 2017 10:49:39 GMT):
@jeevas , thanks, so I did, but getting following error: ``` [explorer_client]$ npm run build > fabric-explorer-client@1.0.0 build /home/chaume1/nkoin-git/explorer/explorer_client > webpack sh: webpack: command not found npm ERR! Linux 3.10.0-693.2.2.el7.x86_64 npm ERR! argv "/usr/bin/node" "/bin/npm" "run" "build" npm ERR! node v6.11.3 npm ERR! npm v3.10.10 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! fabric-explorer-client@1.0.0 build: `webpack` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the fabric-explorer-client@1.0.0 build script 'webpack'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the fabric-explorer-client package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! webpack npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs fabric-explorer-client npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls fabric-explorer-client npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! Please include the following file with any support request: npm ERR! /home/chaume1/nkoin-git/explorer/explorer_client/npm-debug.log ````

jeevas (Tue, 05 Dec 2017 10:50:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=sCzuJk854wYLkmPqJ) @fch22 execute before npm install in explorer_client folder after that execute build command

jeevas (Tue, 05 Dec 2017 10:54:10 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=EXyaCeLtAEA2iFamZ) in explorer client folder - run" npm install " then execute the "npm run build"

fch22 (Tue, 05 Dec 2017 11:00:01 GMT):
thanks for your update, just started a npm-install, it goes to the "fetch metadata" steps , but now still running , but no progress information is displayed, I don't know if the process is long....

fch22 (Tue, 05 Dec 2017 12:12:58 GMT):
npm install took some times, but now completed and I've been able to run `npm run build`, and it is ok

fch22 (Tue, 05 Dec 2017 12:13:01 GMT):
thanks

jwjwj (Tue, 05 Dec 2017 19:58:16 GMT):
Has joined the channel.

mvaibhavshah (Wed, 06 Dec 2017 08:48:49 GMT):
Hello All...I am new to blockchain-explorer...I have created the network using hyperledger composer and everything is working fine...from composer-rest-server I can get the APIs and can work on it...so now I want to use blockchain-explorer on top of hyperledger composer networks only...don't want to create a new fabric

mvaibhavshah (Wed, 06 Dec 2017 08:48:55 GMT):
so what are the steps...

mvaibhavshah (Wed, 06 Dec 2017 08:49:27 GMT):
1. Download blockchain-explorer - https://github.com/hyperledger/blockchain-explorer

mvaibhavshah (Wed, 06 Dec 2017 08:52:00 GMT):
2. Modify config.json - channel name and tls =false

mvaibhavshah (Wed, 06 Dec 2017 08:52:09 GMT):
3. npm install

mvaibhavshah (Wed, 06 Dec 2017 08:52:16 GMT):
4. ./start.sh

mvaibhavshah (Wed, 06 Dec 2017 08:52:23 GMT):
is that correct steps?

MattShams (Wed, 06 Dec 2017 09:00:25 GMT):
Has joined the channel.

mvaibhavshah (Wed, 06 Dec 2017 09:14:05 GMT):
I have installed mysql also into the server...

mvaibhavshah (Wed, 06 Dec 2017 09:14:25 GMT):
but when I execute "start.sh" it is not giving anything

fch22 (Wed, 06 Dec 2017 10:57:18 GMT):
it generates a log.log file in the same directory

mvaibhavshah (Wed, 06 Dec 2017 11:24:50 GMT):
@fch22 : thanks but steps are okay?

muasif80 (Wed, 06 Dec 2017 12:21:44 GMT):
Has left the channel.

mbharadwaj (Wed, 06 Dec 2017 15:25:04 GMT):
@mvaibhavshah - you will need to also update app/network-config-tls.json with correct values for your peer

mbharadwaj (Wed, 06 Dec 2017 15:25:27 GMT):
sorry just app/network-config.json

mbharadwaj (Wed, 06 Dec 2017 15:25:43 GMT):
the tls come comes into play when tls=true

SomaNayak (Wed, 06 Dec 2017 17:55:11 GMT):
Has joined the channel.

VenkataPavanKumarVarri (Thu, 07 Dec 2017 05:13:07 GMT):
Hi All

VenkataPavanKumarVarri (Thu, 07 Dec 2017 05:13:19 GMT):
I am starting HyperLedger Fabric PoC

VenkataPavanKumarVarri (Thu, 07 Dec 2017 05:13:54 GMT):
I am just trying to understand the roles and responsibilities of hyperledger fabric blockchain developer

mvaibhavshah (Thu, 07 Dec 2017 07:48:24 GMT):
@mbharadwaj : Thanks a lot...I will try and post an update

Titan_01 (Thu, 07 Dec 2017 10:38:49 GMT):
Has joined the channel.

MadhavaReddy (Thu, 07 Dec 2017 13:13:02 GMT):
Hi All, am planning to use user which belongs to org1 and org2 in Blockchain explorer rather than admin which is hardcoded in all the services can you please help me on this, is there any enrollment service available?

piiizh (Thu, 07 Dec 2017 14:40:48 GMT):
Has joined the channel.

erNail (Thu, 07 Dec 2017 14:47:41 GMT):
Hi, when trying to connect to my TLS-enabled network, when executing `node main.js` i get a `Error: ENOENT: no such file or directory, open '/home/vagrant/blockchain-explorer/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt'`. Why is the app trying to acces the `first-network` directory ?

erNail (Thu, 07 Dec 2017 15:07:55 GMT):
Okay, seems like i need to configure the `/app/network-config-tls.json`. It should be mentioned in the `README.md`

bzeyben (Thu, 07 Dec 2017 18:17:24 GMT):
Has joined the channel.

ztanaka1971 (Fri, 08 Dec 2017 02:06:35 GMT):
Has joined the channel.

Soundharya (Fri, 08 Dec 2017 05:26:23 GMT):
Has joined the channel.

rajeev20 (Fri, 08 Dec 2017 15:28:03 GMT):
@here Hi all, I am running my chaincode by use of `chaincode-docker-devmode` in fabric sample file from http://hyperledger-fabric.readthedocs.io/en/release/samples.html .How can I use blockchain explorer in this?

Dan (Fri, 08 Dec 2017 17:00:47 GMT):
no worries. I'll have to defer to someone else on how to answer this question.

Dan (Fri, 08 Dec 2017 17:00:47 GMT):
Hi @rajeev20. When posting questions, everyone will see your post without using here. The rocket chat notification for _at here_ is a little loud and it is preferred people do not use it. Explorer is used to see the contents of the ledger.

gdinhof (Fri, 08 Dec 2017 17:03:05 GMT):
Has joined the channel.

rajeev20 (Fri, 08 Dec 2017 17:41:33 GMT):
@Dan I apologize for using `@here`. my Question is is in `chaincode-docker-devmode` only one file which bring network up. But for using blockchain explorer we need channel-artifacts. So How can I use blockchain explorer for testing my chaincode?

rajeev20 (Fri, 08 Dec 2017 17:46:34 GMT):
I can't hard code `int` `invoke` command like `chaincode example`(as shown in blockchain explorer instruction). Because i have to give inputs from keyboard.

rajeev20 (Fri, 08 Dec 2017 17:54:22 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=oJh5PJnLeay94ZcDc) @Dan I just want to use different chaincode in blockcahin explorer. In which i can give the values in chaincode from keyboard.

JeremyStanton (Fri, 08 Dec 2017 22:01:00 GMT):
Has joined the channel.

seungchan (Sat, 09 Dec 2017 12:26:14 GMT):

Clipboard - 2017년 12월 9일 오후 9시 23분

seungchan (Sat, 09 Dec 2017 12:26:53 GMT):

Clipboard - 2017년 12월 9일 오후 9시 26분

seungchan (Sat, 09 Dec 2017 12:27:29 GMT):

Clipboard - 2017년 12월 9일 오후 9시 27분

kvskmech (Sat, 09 Dec 2017 12:57:11 GMT):
Has joined the channel.

bjain (Sat, 09 Dec 2017 14:04:09 GMT):
Has joined the channel.

VikramBelathur (Sat, 09 Dec 2017 17:24:06 GMT):
Has joined the channel.

FrancisKabu (Sun, 10 Dec 2017 22:16:26 GMT):
Has joined the channel.

mvaibhavshah (Mon, 11 Dec 2017 05:51:55 GMT):
Hello All I am trying to install blockchain-explorer ... I am using composer hyperledger

mvaibhavshah (Mon, 11 Dec 2017 05:52:14 GMT):
I am getting error if I run ./start.sh

mvaibhavshah (Mon, 11 Dec 2017 05:52:15 GMT):
module.js:471 throw err; ^ Error: Cannot find module 'stomp-broker-js' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/ubuntu/documentapproval/blockchain-explorer/socket/websocketserver.js:16:17) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)

mvaibhavshah (Mon, 11 Dec 2017 06:28:15 GMT):
now getting

mvaibhavshah (Mon, 11 Dec 2017 06:28:16 GMT):
Please open Internet explorer to access :http://localhost:8980/ /home/ubuntu/documentapproval/blockchain-explorer/app/helper.js:373 var address = ORGS[org][peer].requests; ^ TypeError: Cannot read property 'peer1' of undefined at Object.getPeerAddressByName (/home/ubuntu/documentapproval/blockchain-explorer/app/helper.js:373:25) at buildTarget (/home/ubuntu/documentapproval/blockchain-explorer/app/query.js:178:41) at getChainInfo (/home/ubuntu/documentapproval/blockchain-explorer/app/query.js:67:15) at Object.getChannelHeight (/home/ubuntu/documentapproval/blockchain-explorer/app/query.js:166:9) at getMaxBlockNum (/home/ubuntu/documentapproval/blockchain-explorer/service/blockscanner.js:91:18) at Object.syncBlock (/home/ubuntu/documentapproval/blockchain-explorer/service/blockscanner.js:31:9) at Timeout._onTimeout (/home/ubuntu/documentapproval/blockchain-explorer/listener/blocklistener.js:38:22) at ontimeout (timers.js:365:14) at tryOnTimeout (timers.js:237:5) at Timer.listOnTimeout (timers.js:207:5)

seungchan (Mon, 11 Dec 2017 06:40:55 GMT):
Hello, help me anyone... this is my error message..

seungchan (Mon, 11 Dec 2017 06:40:56 GMT):
[2017-12-11 15:36:20.602] [ERROR] Query - Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at /home/bsch0111/blockchain-explorer/node_modules/grpc/src/node/src/client.js:554:15

javapriyan (Mon, 11 Dec 2017 07:44:06 GMT):
Has joined the channel.

erNail (Mon, 11 Dec 2017 10:41:29 GMT):
Hi, i've successfully connected the Explorer to my own multi-org-chain. However, it's only working partially:

erNail (Mon, 11 Dec 2017 10:41:29 GMT):
Hi, i've successfully connected the Explorer to my own multi-org-chain. However, it's only working partially. This is the output i'm getting: ``` [2017-12-11 10:40:15.043] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:16.067] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:17.095] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:18.122] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:19.146] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:20.168] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:21.191] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:22.214] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:23.236] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:24.260] [INFO] Helper - Successfully loaded member from persistence E1211 10:40:24.267867994 20992 ssl_transport_security.c:583] Could not add root certificate to ssl context. E1211 10:40:24.268472355 20992 ssl_transport_security.c:1375] Cannot load server root certificates. E1211 10:40:24.268898442 20992 security_connector.c:855] Handshaker factory creation failed with TSI_INTERNAL_ERROR. E1211 10:40:24.269265918 20992 secure_channel_create.c:112] Failed to create secure subchannel for secure name '127.0.0.1:7051' E1211 10:40:24.269650083 20992 secure_channel_create.c:143] Failed to create subchannel arguments during subchannel creation. error: [Peer.js]: sendProposal - timed out after:45000 error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT at Timeout._onTimeout (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:107:19) at ontimeout (timers.js:475:11) at tryOnTimeout (timers.js:310:5) at Timer.listOnTimeout (timers.js:270:5) error: [Channel.js]: Failed Transaction Query. Error: Error: REQUEST_TIMEOUT at Timeout._onTimeout (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:107:19) at ontimeout (timers.js:475:11) at tryOnTimeout (timers.js:310:5) at Timer.listOnTimeout (timers.js:270:5) ```

erNail (Mon, 11 Dec 2017 10:41:29 GMT):
Hi, i've successfully connected the Explorer to my own multi-org-chain. However, it's only working partially. This is the output i'm getting: ``` [2017-12-11 10:40:15.043] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:16.067] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:17.095] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:18.122] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:19.146] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:20.168] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:21.191] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:22.214] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:23.236] [INFO] Helper - Successfully loaded member from persistence [2017-12-11 10:40:24.260] [INFO] Helper - Successfully loaded member from persistence E1211 10:40:24.267867994 20992 ssl_transport_security.c:583] Could not add root certificate to ssl context. E1211 10:40:24.268472355 20992 ssl_transport_security.c:1375] Cannot load server root certificates. E1211 10:40:24.268898442 20992 security_connector.c:855] Handshaker factory creation failed with TSI_INTERNAL_ERROR. E1211 10:40:24.269265918 20992 secure_channel_create.c:112] Failed to create secure subchannel for secure name '127.0.0.1:7051' E1211 10:40:24.269650083 20992 secure_channel_create.c:143] Failed to create subchannel arguments during subchannel creation. error: [Peer.js]: sendProposal - timed out after:45000 error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT at Timeout._onTimeout (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:107:19) at ontimeout (timers.js:475:11) at tryOnTimeout (timers.js:310:5) at Timer.listOnTimeout (timers.js:270:5) error: [Channel.js]: Failed Transaction Query. Error: Error: REQUEST_TIMEOUT at Timeout._onTimeout (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:107:19) at ontimeout (timers.js:475:11) at tryOnTimeout (timers.js:310:5) at Timer.listOnTimeout (timers.js:270:5) ``` Anyone have an idea what could be the problem ?

chwolf (Mon, 11 Dec 2017 13:27:50 GMT):
Has joined the channel.

chwolf (Mon, 11 Dec 2017 13:27:58 GMT):
Has left the channel.

mvaibhavshah (Mon, 11 Dec 2017 15:32:10 GMT):
@mbharadwaj @MadhavaReddy @Vrushali : I am trying to install blockchain explorer...I have setup hyperledger composer

Vrushali (Mon, 11 Dec 2017 15:32:10 GMT):
Has joined the channel.

mvaibhavshah (Mon, 11 Dec 2017 15:32:58 GMT):
the question is what should I write in key and cert? as in my connection composer...there are four files not folders

mbharadwaj (Tue, 12 Dec 2017 01:43:08 GMT):
it should be the key and cert of the peer

mvaibhavshah (Tue, 12 Dec 2017 03:48:24 GMT):
can you provide the location....as I see four files only from composer credential folder...or can you paste your contains of both config and network config..

mvaibhavshah (Tue, 12 Dec 2017 10:19:27 GMT):

Clipboard - December 12, 2017 3:48 PM

mvaibhavshah (Tue, 12 Dec 2017 11:31:01 GMT):
I have setup the hyperledger composer fabric in ubuntu. I am able to connect to composer-rest-server and can create / connect REST APIs. Now I have also installed everything required for BlockChain Explorer....I have copied the values of connection.json in config file like channel name etc. I have also updated network-config.json file but not able to find from where to get the keystore and signcert...Please see above image, which shows files in .composer-credentials.

jeevas (Tue, 12 Dec 2017 15:36:47 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=rxA35QKgujKaxJHjf) @erNail we are working on this issue and will release soon

jeevas (Tue, 12 Dec 2017 15:38:50 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ArpEx9To4Xf4MSYrZ) @mvaibhavshah Still Are you facing this issues. Please give proper config path in your helper js file.

jeevas (Tue, 12 Dec 2017 15:46:54 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=8KTXk8Zv29AYoShJw) @mvaibhavshah you didn't configure properly in network config json. Please verify

jeevas (Tue, 12 Dec 2017 15:49:43 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=gYmNzSMjR6AbNahJK) @MadhavaReddy we are working on this. will release soon

mvaibhavshah (Tue, 12 Dec 2017 17:18:00 GMT):
@jeevas : I am not getting this error now..Now I am stuck in

mvaibhavshah (Tue, 12 Dec 2017 17:18:01 GMT):
Please open Internet explorer to access :http://localhost:9229/ [2017-12-12 17:13:03.777] [INFO] Helper - Successfully enrolled user 'admin' [2017-12-12 17:13:03.812] [ERROR] Helper - admin enrollment failed [2017-12-12 17:13:04.880] [INFO] Helper - Successfully loaded member from persistence [2017-12-12 17:13:05.937] [INFO] Helper - Successfully loaded member from persistence [2017-12-12 17:13:07.045] [INFO] Helper - Successfully loaded member from persistence error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: chaincode error (status: 500, message: Authorization for GETINSTALLEDCHAINCODES on channel getinstalledchaincodes has been denied with error Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]) at /home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:554:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: chaincode error (status: 500, message: Authorization for GETINSTALLEDCHAINCODES on channel getinstalledchaincodes has been denied with error Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]) at /home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:554:15 [2017-12-12 17:13:07.093] [ERROR] Query - Error: chaincode error (status: 500, message: Authorization for GETINSTALLEDCHAINCODES on channel getinstalledchaincodes has been denied with error Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]) at /home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:554:15

mvaibhavshah (Tue, 12 Dec 2017 17:18:34 GMT):
I have copied keystore and signcerts from /user/admin

mvaibhavshah (Tue, 12 Dec 2017 18:08:16 GMT):

Clipboard - December 12, 2017 11:37 PM

jeevas (Wed, 13 Dec 2017 05:09:02 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=vRvTrWSRnLaF2QW4y) @mvaibhavshah Nice. Thank you

Khaled.MH (Wed, 13 Dec 2017 14:33:24 GMT):
Has joined the channel.

yingmsky (Thu, 14 Dec 2017 07:42:19 GMT):
Has joined the channel.

leezie (Thu, 14 Dec 2017 14:00:10 GMT):
Has joined the channel.

muasif80 (Fri, 15 Dec 2017 12:31:25 GMT):
Has joined the channel.

muasif80 (Fri, 15 Dec 2017 12:31:31 GMT):
hi

muasif80 (Fri, 15 Dec 2017 12:31:35 GMT):
anyone here?

muasif80 (Fri, 15 Dec 2017 12:49:08 GMT):
Can i see contents of a block

CodeReaper (Fri, 15 Dec 2017 13:05:15 GMT):
yes

muasif80 (Fri, 15 Dec 2017 13:25:57 GMT):
Ok how?

muasif80 (Fri, 15 Dec 2017 13:26:19 GMT):
Using blockchain-explorer

Arghyachakroborty (Fri, 15 Dec 2017 18:38:13 GMT):
Has joined the channel.

Arghyachakroborty (Fri, 15 Dec 2017 18:38:18 GMT):
Hi... I am new to the whole Blockchain thing.. and currently trying my hands on "Hyperledger Fabric". I have installed it in my own Amazon EC2 server (Ubuntu 16.x). I have come to know about "hyperledger Explorer" , which is supposed to provide a nice UI for the underlying blockchain. The only problem I have is : how to open "Hyperledger Fabric Explorer" from outside the linux box ? All the examples / videos I have come across so far opens the UI in localhost. But, I can not do the same (or not willing to). If I want to access the UI from my laptop (say), what steps I need to follow ? Any help will be much appreciated ..

formax (Fri, 15 Dec 2017 21:05:07 GMT):
Has joined the channel.

DRSK (Sat, 16 Dec 2017 10:15:48 GMT):
Has joined the channel.

DRSK (Sat, 16 Dec 2017 10:20:05 GMT):
@Arghyachakroborty Make the port in which it is running open, to the network your laptop is in. Then try ip_of_EC2_Instance:port_no from browser in your system. I am also relatively new to this. This is how I solved my issue when i got stuck.

DRSK (Sat, 16 Dec 2017 10:23:00 GMT):
I was trying out the fabcar sample from https://hyperledger-fabric.readthedocs.io/en/release/write_first_app.html . It worked well but I doubt how the block chain property of immutability is working there. Can anyone please help me out in this? Any help will be very much appreciated.

ledger (Sun, 17 Dec 2017 11:58:36 GMT):
Has joined the channel.

iyerrama25 (Sun, 17 Dec 2017 17:35:01 GMT):
Has joined the channel.

VytenisN (Sun, 17 Dec 2017 21:31:28 GMT):
Has joined the channel.

sayan-chatterjee (Mon, 18 Dec 2017 05:36:09 GMT):
Has joined the channel.

sayan-chatterjee (Mon, 18 Dec 2017 06:50:47 GMT):
Can anyone redirect me to any sample where I can setup fabric networks in different systems and then able to apply same blockchain to 2 different peers in different org on different host machines

Dpkkmr (Mon, 18 Dec 2017 12:58:33 GMT):
Hi, I think we need to modify byfn.sh script line no.32 to point to correct bin folder. Modified code: export PATH=${PWD}/bin:${PWD}:$PATH Earlier Code: export PATH=${PWD}/../bin:${PWD}:$PATH

andy_joyful (Mon, 18 Dec 2017 14:29:24 GMT):
Has joined the channel.

andy_joyful (Mon, 18 Dec 2017 14:35:03 GMT):
Hi! How can I connect Explorer to Composer?

andy_joyful (Mon, 18 Dec 2017 14:35:03 GMT):
Hi! How can I connect Explorer to Composer? It shows no blocks, no transactions

andy_joyful (Mon, 18 Dec 2017 14:41:13 GMT):
Explorer says in log.log: [31m[2017-12-18 20:39:13.275] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/root/fabric-tools/blockchain-explorer/app/query.js:210:32) E1218 20:39:13.469101735 1762 ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.

andy_joyful (Mon, 18 Dec 2017 14:49:26 GMT):

screen.png

muasif80 (Mon, 18 Dec 2017 16:58:04 GMT):
hi

muasif80 (Mon, 18 Dec 2017 16:59:04 GMT):
can i modify the ui for explorer?

tkuhrt (Mon, 18 Dec 2017 17:59:27 GMT):
@muasif80 : All Hyperledger code is open source. You can download the code and modify it. Hyperledger Explorer is in Gerrit at: https://gerrit.hyperledger.org/r/#/admin/projects/blockchain-explorer

muasif80 (Mon, 18 Dec 2017 18:00:24 GMT):
Yes thanks i m right now working on that.

muasif80 (Mon, 18 Dec 2017 18:00:51 GMT):
Its using webpack which i have not used before so learning it. Thanks

tkuhrt (Mon, 18 Dec 2017 18:02:14 GMT):
Cool! If there is anything that you would like to contribute back, I know the community would appreciate your pull requests.

muasif80 (Mon, 18 Dec 2017 18:02:39 GMT):
Ok I will.

muasif80 (Mon, 18 Dec 2017 18:12:39 GMT):
You need to run the following commands

muasif80 (Mon, 18 Dec 2017 18:12:49 GMT):
in the blockchain-explorer/js directory

muasif80 (Mon, 18 Dec 2017 18:12:58 GMT):
npm install webpack -q

muasif80 (Mon, 18 Dec 2017 18:12:58 GMT):
npm install webpack -g

muasif80 (Mon, 18 Dec 2017 18:13:25 GMT):
webpack --config=webpack.config.js

muasif80 (Mon, 18 Dec 2017 18:13:45 GMT):
It will build the UI and make available your UI changes

jeffguo (Tue, 19 Dec 2017 00:15:48 GMT):
Has joined the channel.

hanumankumar (Tue, 19 Dec 2017 06:18:55 GMT):
Has joined the channel.

jeevas (Tue, 19 Dec 2017 07:56:07 GMT):
Hi, Just want to inform to all that we have merged the latest code in block chain explorer ( https://github.com/hyperledger/blockchain-explorer ) . The new code has features that resolves all the reported issues. Please update with latest code to continue with hassle free coding :) .

DRSK (Tue, 19 Dec 2017 08:16:24 GMT):
Have anyone tried out the fabcar sample from hyperledger tutorial?

labcoinpoc (Tue, 19 Dec 2017 08:20:06 GMT):
is tls necessary required in new version of explorer ? cause there is no "enableTls" config anymore

labcoinpoc (Tue, 19 Dec 2017 08:20:06 GMT):
is tls required in new version of explorer ? cause there is no "enableTls" config anymore

jeevas (Tue, 19 Dec 2017 09:00:20 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=iviqEDHcQLXhdCzzx) @labcoinpoc The current configuration always enabled TLS true. however the configuration can be changed to point to a non-tls enable peer by modifying the protocol (`grpcs -> grpc`) and port (`7051->7050`) in the `config.json`

lautroy (Tue, 19 Dec 2017 11:19:18 GMT):
Has joined the channel.

lautroy (Tue, 19 Dec 2017 11:24:04 GMT):
@labcoinpoc it seems that tls is enabled in hard code, it is easy to switch in app/helper.js.

lautroy (Tue, 19 Dec 2017 11:24:09 GMT):

Clipboard - December 19, 2017 7:24 PM

ankitkamra (Tue, 19 Dec 2017 11:43:21 GMT):
just remove comment for if-else block and set property enableTls in config.json it should work

jeevas (Tue, 19 Dec 2017 12:43:07 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=spDmJohm3ZZ6dXv9P) @lautroy Thank you . we have removed the hard code value in helper class and it will get peer url directly from config json . based on the configuration can be changed to point to a non-tls enable peer by modifying the protocol (`grpcs -> grpc`) and port (`7051->7050`) in the `config.json

muasif80 (Tue, 19 Dec 2017 17:43:27 GMT):
I want to attach blockchain-explorer with the network from java sdk e2e org

muasif80 (Tue, 19 Dec 2017 17:43:31 GMT):
But could not

krabradosty (Tue, 19 Dec 2017 22:04:14 GMT):
Has joined the channel.

labcoinpoc (Wed, 20 Dec 2017 01:14:19 GMT):
@jeevas @lautroy Thanks a lot guys, I will try it.:thumbsup:

labcoinpoc (Wed, 20 Dec 2017 01:14:19 GMT):
@jeevas @lautroy Thanks a lot guys, I will try it. :thumbsup:

satheeshk (Wed, 20 Dec 2017 04:18:35 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=P3d2WyjLSPJssSdpX) @muasif80 What is the problem you are facing ?

muasif80 (Wed, 20 Dec 2017 04:19:18 GMT):
It does not show any blocks or transactions data for channel bar but it shows it for foo. There are two channels in the network

muasif80 (Wed, 20 Dec 2017 04:19:36 GMT):
The example network in java sdk

satheeshk (Wed, 20 Dec 2017 04:20:08 GMT):
are you able to select the bar channel from the drop-down on top right corner ?

muasif80 (Wed, 20 Dec 2017 04:22:32 GMT):
Yes

muasif80 (Wed, 20 Dec 2017 04:22:52 GMT):
it refreshes the screen and foo channel info goes away but bar channel info does not come up

muasif80 (Wed, 20 Dec 2017 04:23:04 GMT):
If i select foo back it refresh screen with foo info

muasif80 (Wed, 20 Dec 2017 04:23:44 GMT):
The real question might be that whether blockchain explorer supporting multiple channels or is there any issue with it right now. I have pull latest after seeing the above info

muasif80 (Wed, 20 Dec 2017 04:24:03 GMT):
Rigth now doing some updates to config and will try with bar channel again.

satheeshk (Wed, 20 Dec 2017 04:24:22 GMT):
It does support multiple channels..

muasif80 (Wed, 20 Dec 2017 04:24:23 GMT):
When i make it only one channel config still it did not work anyways I will share with you what i am doing.

satheeshk (Wed, 20 Dec 2017 04:24:53 GMT):
Can you please check the logs from the repo root folder ? Does it have any error wrt missing user context ?

muasif80 (Wed, 20 Dec 2017 04:25:00 GMT):
1. I copied e2e_2Orgs certs in this block_chain explorer 2. updated config.json 3. updated network_config (which is perhaps not needed now)

muasif80 (Wed, 20 Dec 2017 04:25:20 GMT):
I am doing updates to these config as soon as I am done and run it i will share in few minutes

muasif80 (Wed, 20 Dec 2017 04:39:34 GMT):
@satheeshk I have log but how can i attach it here?

muasif80 (Wed, 20 Dec 2017 04:40:23 GMT):
Ok the logs are shared here.

muasif80 (Wed, 20 Dec 2017 04:41:02 GMT):

log.log

muasif80 (Wed, 20 Dec 2017 04:55:18 GMT):
The first error is ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.

gomsb143 (Wed, 20 Dec 2017 06:04:40 GMT):
Has joined the channel.

gomsb143 (Wed, 20 Dec 2017 06:05:58 GMT):
Hello Everyone can anyone help me or just point me in the right direction . How to decode the blocks in the network? TIA

satheeshk (Wed, 20 Dec 2017 07:05:11 GMT):
@muasif80 Can you please check with the latest code from github ? Please clear your old repository.

satheeshk (Wed, 20 Dec 2017 07:10:53 GMT):
Because we removed the netwrok_config.json, and it shouldn't exist anymore.. also please check if the peer in java sdk network is TLS enabled

satheeshk (Wed, 20 Dec 2017 07:18:46 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=spDmJohm3ZZ6dXv9P) @lautroy This has been fixed with the latest commit https://github.com/hyperledger/blockchain-explorer/commit/d5d0b41fe2fc872b76457adbf6325a974329e0f9

PabloBascunana (Wed, 20 Dec 2017 08:49:53 GMT):
Has joined the channel.

labcoinpoc (Wed, 20 Dec 2017 08:52:24 GMT):
@jeevas thanks for your work! @lautroy @satheeshk I am testing new version. Seems like there is still some issue with peerlist, in my project it keeps writing more and more peers info into database. I am checking settings and source code about this. by the way, now explorer can show peerlist in real-time doesn't it? but according to the source code I think it only adds new peers, if one peer offline can explorer show the change?

muasif80 (Wed, 20 Dec 2017 12:38:33 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=xPrLjkgvTtr277HYT) @satheeshk It is TLS enabled.

jeevas (Wed, 20 Dec 2017 12:52:23 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=E8yfDk9HKN2pfWcYT) @labcoinpoc The netowk discovery part is being worked on by both Fabric and NodeSDK team. This work is dependent on fabric network (https://jira.hyperledger.org/browse/FAB-5451) . Once that is implemented will apply in blockchain explorer.

mastercpt (Wed, 20 Dec 2017 14:44:49 GMT):
Has joined the channel.

mastercpt (Wed, 20 Dec 2017 14:56:46 GMT):
I edited the first-network files and trying to create a 2 org 4 peer network. According to the startup and docker it appears that there are 8 peers running (2 in each org). However Blockchain explorer only shows 1 peer. (peer0.org1). Even if I do a new server new install with everything default, it still only shows 1 peer. Is that normal? Is there somewhere I am missing to connect the additional peers?

ankashu (Wed, 20 Dec 2017 18:25:25 GMT):
Has joined the channel.

labcoinpoc (Thu, 21 Dec 2017 00:42:05 GMT):
@jeevas Thanks for your reply!

DRSK (Thu, 21 Dec 2017 05:03:25 GMT):
Can anyone please suggest a tutorial for hyperledger explorer?

satheeshk (Thu, 21 Dec 2017 07:58:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Miosgw6gdng3S4mhD) @mastercpt This is the normal behaviour now. Explorer will only show the peer that it is connected to. Once the network discovery part is completed, it will be able to show all the peers

satheeshk (Thu, 21 Dec 2017 07:59:22 GMT):
@DRSK please follow the readme doc on github. That will guide you through the setup

hexelon (Thu, 21 Dec 2017 13:32:37 GMT):
Has joined the channel.

hexelon (Thu, 21 Dec 2017 13:36:49 GMT):
i'm running the blockchain explorer on a network generated by composer (disabled TLS for now) and getting "Error: unknown service protos.Endorser" from fabric for all my queries, any idea what can cause this?

prasadguru.r (Thu, 21 Dec 2017 20:28:27 GMT):
Has joined the channel.

prasadguru.r (Thu, 21 Dec 2017 20:28:37 GMT):
https://stackoverflow.com/questions/47931969/hyperledger-composer-per-to-peer-connection-not-establishing

prasadguru.r (Thu, 21 Dec 2017 20:28:49 GMT):
Can any please help to proceed further

prasadguru.r (Thu, 21 Dec 2017 20:29:56 GMT):
*one

DRSK (Fri, 22 Dec 2017 04:20:51 GMT):
Hi, I tried running explorer after going through https://github.com/hyperledger/blockchain-explorer but in localhost:8080 nothing is getting loaded. Has anyone faced the same or have any clue to solve this?

pb (Fri, 22 Dec 2017 09:39:57 GMT):
Has joined the channel.

pb (Fri, 22 Dec 2017 09:40:19 GMT):
Anybody here??

shkakkad (Fri, 22 Dec 2017 13:23:30 GMT):
Has joined the channel.

mvaibhavshah (Fri, 22 Dec 2017 13:24:13 GMT):
@DRSK : You can check log.log in blockchain explorer folder to analysis the issue

ManikhandanSp (Sat, 23 Dec 2017 07:01:12 GMT):
Has joined the channel.

ManikhandanSp (Sat, 23 Dec 2017 07:01:21 GMT):
Hi , I am facing issues when connecting two peers using hyper ledger fabric composer. Please can you help?

shkakkad (Sat, 23 Dec 2017 18:37:29 GMT):
Has left the channel.

satheeshk (Sat, 23 Dec 2017 19:59:54 GMT):
Hello Everyone, We are ready to do a release blockchain-explorer that is compatible with Fabric 1.x. Please try it from https://github.com/hyperledger/blockchain-explorer/ and provide your feedback. Thanks

mp (Sat, 23 Dec 2017 21:23:12 GMT):
Has joined the channel.

yoyokeen (Sun, 24 Dec 2017 09:46:20 GMT):
OK

yoyokeen (Sun, 24 Dec 2017 09:46:35 GMT):
Already can test it?

yoyokeen (Sun, 24 Dec 2017 10:53:06 GMT):
```[2017-12-24 18:52:10.770] [ERROR] blockscanner - TypeError: Cannot read property 'bar' of undefined at Object.getChannelForOrg (/opt/fabricExp/blockchain-explorer/app/helper.js:164:20) at Object.getInstalledChaincodes (/opt/fabricExp/blockchain-explorer/app/query.js:124:23) at saveChaincodes (/opt/fabricExp/blockchain-explorer/service/blockscanner.js:127:32) at next (native) at onFulfilled (/opt/fabricExp/blockchain-explorer/node_modules/co/index.js:65:19) at /opt/fabricExp/blockchain-explorer/node_modules/co/index.js:54:5 at co (/opt/fabricExp/blockchain-explorer/node_modules/co/index.js:50:10) at Object.syncChaincodes (/opt/fabricExp/blockchain-explorer/service/blockscanner.js:170:5) at Timeout._onTimeout (/opt/fabricExp/blockchain-explorer/listener/blocklistener.js:38:22) at ontimeout (timers.js:365:14) ```

yoyokeen (Sun, 24 Dec 2017 10:53:29 GMT):
the fabric network is fabric-sdk-java

yoyokeen (Sun, 24 Dec 2017 10:53:53 GMT):
``` "channel": "bar", ```

MadhavaReddy (Sun, 24 Dec 2017 16:43:15 GMT):
Hi All, if there are multiple channel's please let me know to put in config.json file

MohammadObaid (Sun, 24 Dec 2017 18:23:35 GMT):
Does blockchain explorer suppot node v 8.4 ?

xeonpitar (Mon, 25 Dec 2017 02:13:39 GMT):
Has joined the channel.

Batu (Mon, 25 Dec 2017 02:49:01 GMT):
Has joined the channel.

Batu (Mon, 25 Dec 2017 02:49:31 GMT):
Hello

Batu (Mon, 25 Dec 2017 02:52:23 GMT):
I'm following https://github.com/IBM/BlockchainNetwork-CompositeJourney

Batu (Mon, 25 Dec 2017 02:53:06 GMT):
on the step 3. Generate the Business Network Archive (BNA)

Batu (Mon, 25 Dec 2017 02:53:52 GMT):
"npm install" command gives error

Batu (Mon, 25 Dec 2017 02:54:17 GMT):
npm WARN lifecycle my-network@0.0.1~prepublish: cannot run in wd %s %s (wd=%s) my-network@0.0.1 mkdirp ./dist && composer archive create --sourceType dir --sourceName . -a ./dist/my-network.bna /home/batu/BlockchainNetwork-CompositeJourney npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none was installed. npm WARN my-network@0.0.1 No repository field.

Batu (Mon, 25 Dec 2017 02:56:34 GMT):
Can anyone help me

yoyokeen (Mon, 25 Dec 2017 06:25:21 GMT):
```[fabric@localhost blockchain-explorer]$ node main.js /home/fabric/blockchain-explorer/node_modules/grpc/src/grpc_extension.js:48 throw e; ^ Error: Cannot find module '/home/fabric/blockchain-explorer/node_modules/grpc/src/node/extension_binary/node-v48-linux-x64-glibc/grpc_node.node' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/fabric/blockchain-explorer/node_modules/grpc/src/grpc_extension.js:32:13) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)```

MohammadObaid (Mon, 25 Dec 2017 06:42:36 GMT):
Hi all. I connected blockchain explorer with my exisitng network everything works fine for me except peer block where it is incrementing peer value by 1. Is this intentional. I have connected only one peer with blockchain explorer

MohammadObaid (Mon, 25 Dec 2017 06:42:54 GMT):

peerproblem.png

yoyokeen (Mon, 25 Dec 2017 07:21:08 GMT):
```npm WARN deprecated crypto@0.0.3: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.```

rohanagarwal (Mon, 25 Dec 2017 21:29:51 GMT):
Has joined the channel.

jaswanth (Tue, 26 Dec 2017 04:28:14 GMT):
Has joined the channel.

jeevas (Tue, 26 Dec 2017 06:30:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=E8GeEyjaR3J4DdLqp) @MadhavaReddy u can keep default channel only in config json. no need to write multiple channel in config json.

jaswanth (Tue, 26 Dec 2017 10:48:28 GMT):
hi all , i am trying to add explorer to my existing application , but i got the following error ```/home/jaswanth/goProjects/src/github.com/Dev_setup_v1/timer/timer.js:53 stomp.send('/topic/metrics/blockPerMinMeter',{},JSON.stringify({timestamp:new Date().getTime()/1000,value:blockPerMinMeter.sum()})) ^ TypeError: Cannot read property 'send' of undefined at Timeout._onTimeout (/home/jaswanth/goProjects/src/github.com/Dev_setup_v1/timer/timer.js:53:14) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5)``` any Help ?

jaswanth (Tue, 26 Dec 2017 10:48:28 GMT):
hi all , i am trying to add explorer to my existing application , but i got the following error ```/home/jaswanth/goProjects/src/github.com/Dev_setup_v1/timer/timer.js:53 stomp.send('/topic/metrics/blockPerMinMeter',{},JSON.stringify({timestamp:new ^ Date().getTime()/1000,value:blockPerMinMeter.sum()})) TypeError: Cannot read property 'send' of undefined at Timeout._onTimeout (/home/jaswanth/goProjects/src/github.com/Dev_setup_v1/timer/timer.js:53:14) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5)``` any Help ?

jaswanth (Tue, 26 Dec 2017 10:48:28 GMT):
hi all , i am trying to add explorer to my existing application , but i got the following error ```/home/jaswanth/goProjects/src/github.com/Dev_setup_v1/timer/timer.js:53 stomp.send('/topic/metrics/blockPerMinMeter',{},JSON.stringify({timestamp:new ^ Date().getTime()/1000,value:blockPerMinMeter.sum()})) TypeError: Cannot read property 'send' of undefined at Timeout._onTimeout (/home/jaswanth/goProjects/src/github.com/Dev_setup_v1/timer/timer.js:53:14) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5)``` any Help ?

anupamsinha15 (Tue, 26 Dec 2017 16:09:07 GMT):
Has joined the channel.

tkuhrt (Tue, 26 Dec 2017 16:43:51 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ej4kfbNJsxEYvkbKR) @Batu: This seems like a question for the Hyperledger Composer community. Try the #composer channel.

muasif80 (Tue, 26 Dec 2017 18:23:00 GMT):
fs.js:961 return binding.readdir(pathModule._makeLong(path), options.encoding); ^ Error: ENOENT: no such file or directory, scandir '/home/ubuntu/blockchain-explorer/node_modules/grpc/src/node/extension_binary' at Error (native) at Object.fs.readdirSync (fs.js:961:18) at Object. (/home/ubuntu/blockchain-explorer/node_modules/grpc/src/grpc_extension.js:37:23) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19)

muasif80 (Tue, 26 Dec 2017 18:23:18 GMT):
I got this during npm install for blockchain

muasif80 (Tue, 26 Dec 2017 18:23:18 GMT):
I got this during npm install for blockchain explorere

muasif80 (Tue, 26 Dec 2017 18:23:18 GMT):
I got this during npm install for blockchain explorer

AmarshAnand (Tue, 26 Dec 2017 21:00:31 GMT):
Has joined the channel.

AmarshAnand (Tue, 26 Dec 2017 21:00:34 GMT):
hi all. a message i just posted on SO - https://stackoverflow.com/questions/47973275/hyperledger-fabric-discover-network-topology-graphically abstract : I have just started working with Hyperledger Fabric. I was looking for a tool that would demonstrate graphically the entire network and its operations.

DannyWong (Wed, 27 Dec 2017 02:17:04 GMT):
Has joined the channel.

satheeshk (Fri, 29 Dec 2017 11:34:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=TLLEc36pbJwfJLW4S) @MohammadObaid Thanks !. This definitely looks like a bug.

satheeshk (Fri, 29 Dec 2017 11:37:23 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=afkYZ9yRW6HZQyqHZ) @AmarshAnand This blockchain explorer doesn't have this functionality.

formax (Fri, 29 Dec 2017 17:50:44 GMT):
Hi all. I apologise in advance for the 1million times question, but does `blockchain-explorer` works with `sawtooth` as well?

dexhunter (Sat, 30 Dec 2017 07:53:38 GMT):
Has joined the channel.

KangkanBora (Sat, 30 Dec 2017 09:03:26 GMT):
Hello All, I have a use case to query block (by number/by hash etc) and I am defining a chincode for that separately and using node sdk to interact with chaincode code which is written in golang . When I am importing the ledger package I am getting this error ```Error: Error getting chaincode code chaincode: Error getting chaincode package bytes: Error obtaining dependencies for github.com/hyperledger/fabric/core/ledger: : failed with error: "exit status 1" can't load package: package github.com/hyperledger/fabric/core/ledger: cannot find package "github.com/hyperledger/fabric/core/ledger" in any of: /opt/go/src/github.com/hyperledger/fabric/core/ledger (from $GOROOT) /opt/gopath/src/github.com/hyperledger/fabric/core/ledger (from $GOPATH)``` , Can anybody help me out on this . Thanks in advance

MohammadObaid (Sat, 30 Dec 2017 10:16:53 GMT):
@satheeshk I have run this 3 to 4 times and I have observed this behaviour all the times. Peer value increment indefinitely. Second thing I want to know is it possible to show some more data at `block section` or `transaction section` ? Right now it only shows previous hash , timestamp etc. If it is possible to show endorsement signatures etc ?

elias_p (Sat, 30 Dec 2017 10:30:19 GMT):
Has joined the channel.

marc0o (Sat, 30 Dec 2017 15:10:31 GMT):
Has joined the channel.

LabibFarag (Sat, 30 Dec 2017 18:58:27 GMT):
Has joined the channel.

LabibFarag (Sat, 30 Dec 2017 21:52:14 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=XfPZArrjyve4EWMFp) @melnikus did you solved this issue

rajshrimp (Sun, 31 Dec 2017 04:57:20 GMT):
Has joined the channel.

nehirakdag (Tue, 02 Jan 2018 07:27:46 GMT):
Has joined the channel.

devendraburman (Tue, 02 Jan 2018 12:34:38 GMT):
Has joined the channel.

PetrVlasekCA (Tue, 02 Jan 2018 13:41:19 GMT):
Has joined the channel.

satheeshk (Tue, 02 Jan 2018 13:50:13 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=iKvJt7BZrScmpBA3u) @formax It doesn't work with sawtooth-lake yet, although there is plan to make it compatible with different blockchain platforms.

satheeshk (Tue, 02 Jan 2018 15:02:19 GMT):

explorer1.png

satheeshk (Tue, 02 Jan 2018 15:02:25 GMT):

explorer2.png

satheeshk (Tue, 02 Jan 2018 15:02:55 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Pr5paJYR6huiPFyvc) @MohammadObaid Hi Mohammad, clicking on the little expand icon on block and txn will open up this modal.

MohammadObaid (Wed, 03 Jan 2018 06:44:44 GMT):
@satheeshk Oh thanks I got this. Regarding peer value increment issue, I filed that on jira .

satheeshk (Wed, 03 Jan 2018 06:59:37 GMT):
Thanks @MohammadObaid , I have created one already. https://jira.hyperledger.org/browse/BE-87

MohammadObaid (Wed, 03 Jan 2018 07:00:05 GMT):
@satheeshk Thanks :)

knagware9 (Wed, 03 Jan 2018 07:33:54 GMT):
Has joined the channel.

praveentalari (Wed, 03 Jan 2018 17:34:35 GMT):
Has joined the channel.

phanikumar (Wed, 03 Jan 2018 17:51:23 GMT):
Has joined the channel.

phanikumar (Wed, 03 Jan 2018 17:56:37 GMT):
Is there any specific channel to discuss about what blockchain exactly is?

anbknaga (Wed, 03 Jan 2018 18:39:07 GMT):
Has joined the channel.

jfobrien29 (Wed, 03 Jan 2018 21:46:37 GMT):
Has joined the channel.

praveentalari (Thu, 04 Jan 2018 03:44:11 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=PKDZPgoa4ZAf55xgB) @jeevas

praveentalari (Thu, 04 Jan 2018 03:44:11 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=PKDZPgoa4ZAf55xgB) @jeevas

praveentalari (Thu, 04 Jan 2018 03:46:12 GMT):
That's the problem everyone is facing github README didn't mention anything about network config json

praveentalari (Thu, 04 Jan 2018 05:20:53 GMT):
changes required to enable explorer for

praveentalari (Thu, 04 Jan 2018 05:22:24 GMT):
one can understand config

satheeshk (Thu, 04 Jan 2018 10:09:41 GMT):
@phanikumar try #general

KangkanBora (Thu, 04 Jan 2018 11:12:29 GMT):
@here Hello All, Greetings for the day, I have a Use case that I am Storing and transacting with some data and saving it into ledger , I am able to query in ledger by chaincode and able to see the data stored into State Db (couchdb) and also from block for a registered network user, but while I am queering from block its giving me the recent block , is there any sdk method so that I am able to see the whole blocks for a particular registered user into block chain network .

praveentalari (Thu, 04 Jan 2018 11:18:36 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=8paQTR8oRsETXfArA) @jeevas tried everything ```but didn't work```

praveentalari (Thu, 04 Jan 2018 11:18:36 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=8paQTR8oRsETXfArA) @jeevas ```tried everything but didn't work```

praveentalari (Thu, 04 Jan 2018 11:23:26 GMT):
is github README steps missing anything ? http://localhost:8080/ and :8080 is not showing anything and no logs printed in log.log

satheeshk (Thu, 04 Jan 2018 12:45:58 GMT):
@praveentalari Is node running ? can you check `ps -ef | grep node` shows any node process ?

satheeshk (Thu, 04 Jan 2018 12:50:40 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=zfx2y2Lp4ipGL3H7J) @KangkanBora You can query every block by passing the block number, you can use `channel.queryBlock()` method available in node-sdk.

praveentalari (Thu, 04 Jan 2018 13:30:35 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=LfimRWrf5KjZazTtu) @satheeshk

praveentalari (Thu, 04 Jan 2018 13:31:20 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=LfimRWrf5KjZazTtu) @satheeshk ```

praveentalari (Thu, 04 Jan 2018 13:31:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=LfimRWrf5KjZazTtu) @satheeshk ``` . ```

praveentalari (Thu, 04 Jan 2018 13:38:00 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=LfimRWrf5KjZazTtu) @satheeshk ps -ef | grep node output is same as i run before and log.log is fs.js:961 return binding.readdir(pathModule._makeLong(path), options.encoding); ^ Error: ENOENT: no such file or directory, scandir '/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/grpc/src/node/extension_binary' at Error (native) at Object.fs.readdirSync (fs.js:961:18) at Object. (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/grpc/src/grpc_extension.js:37:23) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19)

satheeshk (Thu, 04 Jan 2018 14:18:48 GMT):
Looks like its is missing modules, did the `npm install` successful ?

praveentalari (Thu, 04 Jan 2018 14:35:08 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=NWsMywLDHGjngn85i) @satheeshk no errors and no ouput

praveentalari (Thu, 04 Jan 2018 15:47:18 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=NWsMywLDHGjngn85i) @satheeshk npm ```info it worked if it ends with ok npm verb cli [ '/Users/pt/.nvm/versions/node/v6.12.2/bin/node', npm verb cli '/Users/pt/.nvm/versions/node/v6.12.2/bin/npm', npm verb cli 'install', npm verb cli '--verbose' ] npm info using npm@3.10.10 npm info using node@v6.12.2 npm info lifecycle fabric-explorer@0.0.1~preinstall: fabric-explorer@0.0.1 npm verb correctMkdir /Users/pt/.npm/_locks correctMkdir not in flight; initializing npm verb lock using /Users/pt/.npm/_locks/staging-c2bad2f3fe49eb84.lock for /Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/.staging npm verb unlock done using /Users/pt/.npm/_locks/staging-c2bad2f3fe49eb84.lock for /Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/.staging npm info linkStuff fabric-explorer@0.0.1 npm verb linkBins fabric-explorer@0.0.1 npm verb linkMans fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~install: fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~postinstall: fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~prepublish: fabric-explorer@0.0.1 npm WARN fabric-explorer@0.0.1 No repository field. npm verb npm verb If you need help, you may report this error at: npm verb npm verb exit [ 0, true ] npm info ok```

praveentalari (Thu, 04 Jan 2018 15:47:18 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=NWsMywLDHGjngn85i) @satheeshk npm install --verbose output is ```npm info it worked if it ends with ok npm verb cli [ '/Users/pt/.nvm/versions/node/v6.12.2/bin/node', npm verb cli '/Users/pt/.nvm/versions/node/v6.12.2/bin/npm', npm verb cli 'install', npm verb cli '--verbose' ] npm info using npm@3.10.10 npm info using node@v6.12.2 npm info lifecycle fabric-explorer@0.0.1~preinstall: fabric-explorer@0.0.1 npm verb correctMkdir /Users/pt/.npm/_locks correctMkdir not in flight; initializing npm verb lock using /Users/pt/.npm/_locks/staging-c2bad2f3fe49eb84.lock for /Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/.staging npm verb unlock done using /Users/pt/.npm/_locks/staging-c2bad2f3fe49eb84.lock for /Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/.staging npm info linkStuff fabric-explorer@0.0.1 npm verb linkBins fabric-explorer@0.0.1 npm verb linkMans fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~install: fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~postinstall: fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~prepublish: fabric-explorer@0.0.1 npm WARN fabric-explorer@0.0.1 No repository field. npm verb npm verb If you need help, you may report this error at: npm verb npm verb exit [ 0, true ] npm info ok```

praveentalari (Thu, 04 Jan 2018 16:20:04 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=KnAnPBYNREYQj9xxD) fixed it by creating empty node/extension_binary folders inside /Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/grpc/src/ and after doing rebuild, I got new error ----> Please open Internet explorer to access :http://localhost:8080/ error when connecting to db: { Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password: YES) at Handshake.Sequence._packetToError (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14) at Handshake.ErrorPacket (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/protocol/sequences/Handshake.js:130:18) at Protocol._parsePacket (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/protocol/Protocol.js:279:23) at Parser.write (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/protocol/Parser.js:76:12) at Protocol.write (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/protocol/Protocol.js:39:16) at Socket. (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/Connection.js:103:28) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:176:18) at Socket.Readable.push (_stream_readable.js:134:10) -------------------- at Protocol._enqueue (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/protocol/Protocol.js:145:48) at Protocol.handshake (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/protocol/Protocol.js:52:23) at Connection.connect (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/mysql/lib/Connection.js:130:18) at handleDisconnect (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/db/mysqlservice.js:39:16) at Object. (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/db/mysqlservice.js:60:1) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) code: 'ER_ACCESS_DENIED_ERROR',

tkuhrt (Thu, 04 Jan 2018 21:54:40 GMT):
Hi, Hyperledger Blockchain maintainers. I am not sure if you get notified of pull requests, but I made one for BE-91. https://gerrit.hyperledger.org/r/16579

tkuhrt (Thu, 04 Jan 2018 21:59:42 GMT):
Also https://gerrit.hyperledger.org/r/#/c/16583

praveentalari (Fri, 05 Jan 2018 01:36:00 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=JoehQdHJ8XJTNxNF7) i forgot to update config.js with my mysql password. Now everything is working fine. my changes are ```1.create required folder structure for grpc node/extension_binary in blockchain-explorer/node_modules/grpc/src/ 2.update config.js with your mysql password.``` Thank you everyone.

KangkanBora (Fri, 05 Jan 2018 05:00:42 GMT):
@satheeshk Thanks, It worked for me but there one thing I wanted to ask that SDK is returning payload data in buffer array and I am converting it to string but getting some Unicod characters along with that. Is there any way to rmove those characters and convert it to flat JSON. Thanks in advance . :)

yogesh.fulsunge (Fri, 05 Jan 2018 10:36:16 GMT):
how to deploy business network on cloud ?? which cloud environment can be used for free ?

satheeshk (Fri, 05 Jan 2018 14:17:56 GMT):
Thanks for your patch @tkuhrt

DineshChandra (Sat, 06 Jan 2018 03:04:40 GMT):
Has joined the channel.

jayprakash (Sun, 07 Jan 2018 00:04:10 GMT):
Has joined the channel.

mupparajuv (Sun, 07 Jan 2018 06:31:54 GMT):
Has joined the channel.

anupamsinha15 (Sun, 07 Jan 2018 07:08:29 GMT):
Hello Everyone... I was doing the lab assignment for Hyperledger Composer doing a sample tutorial-network business network and stumbling upon while doing the trnsaction wondering if anyone could help me understnad the issue.. i have been trying from past 1 hour trying different approach, but none of them are working this is my CTO * * My commodity trading network * namespace org.acme.biznet asset Commodity identified by tradingSymbol { o String tradingSymbol o String description o String mainExchange o Double quantity --> Trader owner } participant Trader identified by tradeId { o String tradeId o String firstName o String lastName } transaction Trade { --> Commodity commodity --> Trader newOwner } here;s my logic.js function tradeCommodity(trade) { trade.commodity.owner = trade.newOwner; return getAssetRegistry('org.acme.biznet.Commodity') .then(function (assetRegistry) { return assetRegistry.update(trade.commodity); }); } and here's ACL rule Default { description: "Allow all participants access to all resources" participant: "ANY" operation: ALL resource: "org.acme.biznet.*" action: ALLOW } rule SystemACL { description: "System ACL to permit all access" participant: "ANY" operation: ALL resource: "org.hyperledger.composer.system.**" action: ALLOW } using the REST server here's my Data Source for: Trader [ { "$class": "org.acme.biznet.Trader", "tradeId": "TID1", "firstname": "TID1", "lastname": "TID1" }, { "$class": "org.acme.biznet.Trader", "tradeId": "TID2", "firstname": "TID2", "lastname": "TID2" } ] here;s my data soruce for: Commodity { "$class": "org.acme.biznet.Commodity", "tradingSymbol": "Symbol1", "description": "Cypto Symbol1", "mainExchange": "Ex1", "Quantity": 24, "Owner": "TID1" } When issuing below trade, i'm gettign error { "$class": "org.acme.biznet.Trade", "commodity": "Symbol1", "newOwner": "TID2" } Error: chaincode error (status: 500, message: Error: Instance Symbol1 has a property named owner which is not declared in org.acme.biznet.Commodity) This looks like quite straight forward to me, but not sure what am I missing here...? Please help

aviralwal (Sun, 07 Jan 2018 13:18:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=vSRDhfmcyhgWaQK85) @anupamsinha15 ask composer related questions in #composer. This channel is for Blockchain-explorer.

aviralwal (Sun, 07 Jan 2018 13:24:48 GMT):
@anupamsinha15 in asset Commodity, have you checked the cases when defining the asset. It is case sensitive... the object is `Owner` but in asset Commodity, it is defined as `owner`

anupamsinha15 (Sun, 07 Jan 2018 14:35:01 GMT):
@aviralwal thank you so much. I think that might be the problem. I have changed the cto file, but not sure how to re-deploy the business network

anupamsinha15 (Sun, 07 Jan 2018 15:57:16 GMT):
my ACL is now giving error: permissions.acl

anupamsinha15 (Sun, 07 Jan 2018 15:57:29 GMT):
[Composer] IllegalModelException: Failed to find namespace org.acme.biznet.*

anupamsinha15 (Sun, 07 Jan 2018 17:36:57 GMT):
Finally.. got it resolved.. It was a long task to do.. had to tear down the fabric and then re-install and the re-deploy the bna

anupamsinha15 (Sun, 07 Jan 2018 17:37:18 GMT):
and then not sure why ACL was giving error in VS editor

anupamsinha15 (Sun, 07 Jan 2018 17:37:29 GMT):
but finally it worked.. it seems very clumsy

aviralwal (Sun, 07 Jan 2018 19:10:48 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Z46sfHAYJppfyDXmY) @anupamsinha15 Goto `step 4` of this [tutorial](https://hyperledger.github.io/composer/tutorials/queries.html) to redeploy...

anupamsinha15 (Sun, 07 Jan 2018 19:21:53 GMT):
@aviralwal - thank you so much. Much much appreciated!

lar1m (Mon, 08 Jan 2018 13:43:50 GMT):
Has joined the channel.

ssoima (Mon, 08 Jan 2018 22:40:42 GMT):
Has joined the channel.

ssoima (Mon, 08 Jan 2018 22:50:35 GMT):
Hi guys, can someone help me configure the explorer? I am not sure why, but I get this error: ```SyntaxError: /home/parallels/blockchain-explorer/config.json: Unexpected token / in JSON at position 226 at JSON.parse () at Object.Module._extensions..json (module.js:654:27) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at Object. (/home/parallels/blockchain-explorer/utils/ledgerMgr.js:19:12) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) ```

ssoima (Mon, 08 Jan 2018 22:52:07 GMT):
And I use this config ```{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com"//, //"tls_cacerts": "/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host":"localhost", "port":"8080", "channel": "mychannel", "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"30000", "mysql":{ "host":"127.0.0.1", "port":"3306", "database":"fabricexplorer", "username":"root", "passwd":"123456" } } ```

jeevas (Tue, 09 Jan 2018 04:57:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=rzy5rk8KHQRBRqZ3j) @ssoima don't comment inside the json.comments of the form //… or /*…*/ are not allowed in JSON.

rhansharief (Tue, 09 Jan 2018 07:04:08 GMT):
Has joined the channel.

ThomasYuan (Tue, 09 Jan 2018 15:11:12 GMT):
Has joined the channel.

ssoima (Tue, 09 Jan 2018 18:46:10 GMT):
Thank you. I removed it. However, it still does not work properly. For what do I need key and cert. I am not using TLS. Does it also work without? The github description does not really help me.

ssoima (Tue, 09 Jan 2018 18:58:50 GMT):
My current configuration looks like this: ```{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/home/parallels/.composer/client-data/admin@brix", "cert": "/home/parallels/.composer/client-data/admin@brix" } } }, "host":"localhost", "port":"8080", "channel": "mychannel", "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"30000", "mysql":{ "host":"127.0.0.1", "port":"3306", "database":"fabricexplorer", "username":"root", "passwd":"root" } } ```

cchalc (Tue, 09 Jan 2018 20:43:43 GMT):
Has joined the channel.

LabibFarag (Tue, 09 Jan 2018 21:24:17 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ZcD9Eegwpdimq4onb) @andy_joyful did you solved this issue ?

asavchen (Tue, 09 Jan 2018 21:37:52 GMT):
Has joined the channel.

LabibFarag (Tue, 09 Jan 2018 21:38:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Y6Pxdeh4A2oHFwHy5) @muasif80 what about this issue ? solved ? I'm facing the same

ThomasYuan (Wed, 10 Jan 2018 03:45:31 GMT):
@LabibFarag Same here. anyone knows how to fix it?

ThomasYuan (Wed, 10 Jan 2018 03:46:17 GMT):
Actually it's not exactly same.

ThomasYuan (Wed, 10 Jan 2018 03:46:38 GMT):
```E0110 03:38:47.022693635 5956 ssl_transport_security.cc:585] Could not add root certificate to ssl context. E0110 03:38:47.022794635 5956 ssl_transport_security.cc:1383] Cannot load server root certificates. E0110 03:38:47.022824435 5956 security_connector.cc:1046] Handshaker factory creation failed with TSI_INTERNAL_ERROR. E0110 03:38:47.022838235 5956 secure_channel_create.cc:113] Failed to create secure subchannel for secure name '127.0.0.1:7051' E0110 03:38:47.022849335 5956 secure_channel_create.cc:145] Failed to create subchannel arguments during subchannel creation. ```

ThomasYuan (Wed, 10 Jan 2018 03:47:05 GMT):
``` ```

ThomasYuan (Wed, 10 Jan 2018 03:47:05 GMT):
``` [2018-01-10 03:40:05.181] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/home/nxtech/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/home/nxtech/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getOrgAdmin.then (/home/nxtech/blockchain-explorer/app/query.js:93:18) at [2018-01-10 03:40:05.182] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/nxtech/blockchain-explorer/app/query.js:208:33) at ```

mprasad25 (Wed, 10 Jan 2018 05:24:29 GMT):
Has joined the channel.

lkolisko (Wed, 10 Jan 2018 09:43:39 GMT):
Has joined the channel.

vkblue (Wed, 10 Jan 2018 14:05:39 GMT):
Does this support multiple channels? When I add more channels to the config.json, I could see the channels listed in the drop down, but I dont see the data collection happening for other channels!

ThomasYuan (Wed, 10 Jan 2018 17:07:03 GMT):
@LabibFarag Actually it works. It didn't work because I was trying to deploy it on Cloud, and trying to access it remotely (not localhost:8080)

ThomasYuan (Wed, 10 Jan 2018 17:07:23 GMT):
If it's locally, then everything just works fine.

rbailey (Wed, 10 Jan 2018 22:43:22 GMT):
Has joined the channel.

Apoorva (Thu, 11 Jan 2018 07:08:05 GMT):
Has joined the channel.

Apoorva (Thu, 11 Jan 2018 07:10:03 GMT):
I followed the steps provided in https://github.com/hyperledger/blockchain-explorer/ but I'm unable to connect to my localhost..I have configured the config.json as mentioned.. can anyone help me to resolve this?

ankitkamra (Thu, 11 Jan 2018 12:57:58 GMT):
@Apoorva Do you want to connect blockchain explorer to existing network ?

lkolisko (Thu, 11 Jan 2018 13:31:44 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=bgBBvi6BqSW9FHGWm) @LabibFarag @andy_joyful I was getting the same error when the communication target was not enabled for TLS connection. Replacing grpcs with grpc in the config.json of the explorer resolved the issue for me.

Apoorva (Thu, 11 Jan 2018 13:34:35 GMT):
@ankitkamra yes! the existing network in the sense

Apoorva (Thu, 11 Jan 2018 13:36:27 GMT):
@ankitkamra the existing network in the sense I have just tried the fabric samples provided.. I'm new to this technology

satheeshk (Thu, 11 Jan 2018 15:07:25 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=eRLFtZEHi76e4TmjC) @vkblue do you have that channel added/configured in the network

satheeshk (Thu, 11 Jan 2018 15:08:29 GMT):
@Apoorva Is there any error messages in the logs.. can you check log file in the explorer root folder ?

vkblue (Thu, 11 Jan 2018 15:09:09 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=GoYoJvMDMB3pgfvmD) @satheeshk Yes ofcourse, I see one change in the config.json, does the channel : accepts array any more?

particle4dev (Thu, 11 Jan 2018 16:10:23 GMT):
Has joined the channel.

singh.amitkumar (Thu, 11 Jan 2018 17:37:24 GMT):
Has joined the channel.

ankitkamra (Thu, 11 Jan 2018 23:44:49 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=TAogFZbo7AupnFCzX) @Apoorva Modify app/network-config.json and give inputs of your network entities. After then follow these steps: https://github.com/hyperledger/blockchain-explorer#running-blockchain-explorer Prerequisite: MySQL should be installed

Stecec (Fri, 12 Jan 2018 11:12:36 GMT):
Has joined the channel.

Stecec (Fri, 12 Jan 2018 11:19:19 GMT):
Hi All, I'm tring to connect Hyperledger Explorer to a distributed Fabric network. I have this error in the "log.log" file: Please open Internet explorer to access :http://localhost:8080/ /home/cecco/blockchain-explorer-master/app/helper.js:164 if(channels[org][channelName] == undefined) ^ TypeError: Cannot read property 'common' of undefined at Object.getChannelForOrg (/home/cecco/blockchain-explorer-master/app/helper.js:164:20) at getChainInfo (/home/cecco/blockchain-explorer-master/app/query.js:91:23) at Object.getChannelHeight (/home/cecco/blockchain-explorer-master/app/query.js:205:9) at getMaxBlockNum (/home/cecco/blockchain-explorer-master/service/blockscanner.js:100:18) at Object.syncBlock (/home/cecco/blockchain-explorer-master/service/blockscanner.js:40:9) at Timeout._onTimeout (/home/cecco/blockchain-explorer-master/listener/blocklistener.js:50:22) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) I don't know the problem is in my "config.json" file. Thanks

Stecec (Fri, 12 Jan 2018 11:19:19 GMT):
Hi All, I'm tring to connect Hyperledger Explorer to a distributed Fabric network. I have this error in the "log.log" file: Please open Internet explorer to access :http://localhost:8081/ /home/cecco/blockchain-explorer-master/app/helper.js:164 if(channels[org][channelName] == undefined) ^ TypeError: Cannot read property 'common' of undefined at Object.getChannelForOrg (/home/cecco/blockchain-explorer-master/app/helper.js:164:20) at getChainInfo (/home/cecco/blockchain-explorer-master/app/query.js:91:23) at Object.getChannelHeight (/home/cecco/blockchain-explorer-master/app/query.js:205:9) at getMaxBlockNum (/home/cecco/blockchain-explorer-master/service/blockscanner.js:100:18) at Object.syncBlock (/home/cecco/blockchain-explorer-master/service/blockscanner.js:40:9) at Timeout._onTimeout (/home/cecco/blockchain-explorer-master/listener/blocklistener.js:50:22) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) I don't know the problem is in my "config.json" file. I change the port to 8081, because my 8080 is busy. Thanks

Stecec (Fri, 12 Jan 2018 11:19:19 GMT):
Hi All, I'm tring to connect Hyperledger Explorer to a distributed Fabric network. I have this error in the "log.log" file: Please open Internet explorer to access :http://localhost:8081/ /home/cecco/blockchain-explorer-master/app/helper.js:164 if(channels[org][channelName] == undefined) ^ TypeError: Cannot read property 'common' of undefined at Object.getChannelForOrg (/home/cecco/blockchain-explorer-master/app/helper.js:164:20) at getChainInfo (/home/cecco/blockchain-explorer-master/app/query.js:91:23) at Object.getChannelHeight (/home/cecco/blockchain-explorer-master/app/query.js:205:9) at getMaxBlockNum (/home/cecco/blockchain-explorer-master/service/blockscanner.js:100:18) at Object.syncBlock (/home/cecco/blockchain-explorer-master/service/blockscanner.js:40:9) at Timeout._onTimeout (/home/cecco/blockchain-explorer-master/listener/blocklistener.js:50:22) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) I don't know if the problem is in my "config.json" file. I change the port to 8081, because my 8080 is busy. Thanks

Luke_Chen (Fri, 12 Jan 2018 12:40:14 GMT):
@Stecec Maybe you should patse your config.json file here

Stecec (Fri, 12 Jan 2018 16:12:36 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=WcoZrz7TwK5zDxQYi) @Luke_Chen This is my config.json file: { "network-config": { "orderer": { "url": "grpcs://orderer.example.com:7050", "server-hostname": "orderer.example.com", "tls_cacerts": "crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt" }, "a": { "name": "peera", "mspid": "aMSP", "ca": "https://ca.a.example.com:7054", "peer0": { "requests": "grpcs://peer0.a.example.com:7051", "events": "grpcs://peer0.a.example.com:7053", "server-hostname": "peer0.a.example.com", "tls_cacerts": "crypto-config/peerOrganizations/a.example.com/peers/peer0.a.example.com/tls/ca.crt" }, "peer1": { "requests": "grpcs://peer1.a.example.com:7051", "events": "grpcs://peer1.a.example.com:7053", "server-hostname": "peer1.a.example.com", "tls_cacerts": "crypto-config/peerOrganizations/a.example.com/peers/peer1.a.example.com/tls/ca.crt" }, "admin": { "key": "crypto-config/peerOrganizations/a.example.com/users/Admin@a.example.com/msp/keystore", "cert": "crypto-config/peerOrganizations/a.example.com/users/Admin@a.example.com/msp/signcerts" } }, "b": { "name": "peerb", "mspid": "bMSP", "ca": "https://ca.b.example.com:7054", "peer0": { "requests": "grpcs://peer0.b.example.com:7051", "events": "grpcs://peer0.b.example.com:7053", "server-hostname": "peer0.b.example.com", "tls_cacerts": "crypto-config/peerOrganizations/b.example.com/peers/peer0.b.example.com/tls/ca.crt" }, "peer1": { "requests": "grpcs://peer1.b.example.com:7051", "events": "grpcs://peer1.b.example.com:7053", "server-hostname": "peer1.b.example.com", "tls_cacerts": "crypto-config/peerOrganizations/b.example.com/peers/peer1.b.example.com/tls/ca.crt" }, "admin": { "key": "crypto-config/peerOrganizations/b.example.com/users/Admin@b.example.com/msp/keystore", "cert": "crypto-config/peerOrganizations/b.example.com/users/Admin@b.example.com/msp/signcerts" } }, "c": { "name": "peerc", "mspid": "cMSP", "ca": "https://ca.c.example.com:7054", "peer0": { "requests": "grpcs://peer0.c.example.com:7051", "events": "grpcs://peer0.c.example.com:7053", "server-hostname": "peer0.c.example.com", "tls_cacerts": "crypto-config/peerOrganizations/c.example.com/peers/peer0.c.example.com/tls/ca.crt" }, "peer1": { "requests": "grpcs://peer1.c.example.com:7051", "events": "grpcs://peer1.c.example.com:7053", "server-hostname": "peer1.c.example.com", "tls_cacerts": "crypto-config/peerOrganizations/c.example.com/peers/peer1.c.example.com/tls/ca.crt" }, "admin": { "key": "crypto-config/peerOrganizations/c.example.com/users/Admin@c.example.com/msp/keystore", "cert": "crypto-config/peerOrganizations/c.example.com/users/Admin@c.example.com/msp/signcerts" } } }, "host":"localhost", "port":"8081", "channel": "common", "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"30000", "mysql":{ "host":"127.0.0.1", "port":"3306", "database":"fabricexplorer", "username":"root", "passwd":"q" } }

Stecec (Fri, 12 Jan 2018 16:22:14 GMT):
@Luke_Chen I also tried to change the values "requests" and "events" inserting the ips of the peers in my network (instead the names).

B2BProgrammer (Fri, 12 Jan 2018 23:52:53 GMT):
Has joined the channel.

Luke_Chen (Sat, 13 Jan 2018 03:31:51 GMT):
@Stecec please delete the orderer item and restart the explorer service.

sudheesh001 (Sat, 13 Jan 2018 11:55:28 GMT):
Has joined the channel.

ashtoncoghlan (Sat, 13 Jan 2018 12:53:48 GMT):
Has joined the channel.

PrakashJha (Sat, 13 Jan 2018 15:16:26 GMT):
Has joined the channel.

PrakashJha (Sat, 13 Jan 2018 15:16:50 GMT):
Hi , is there anyone who can pls help me to setup xo_java in aws sawtootth ami server

ssoima (Sat, 13 Jan 2018 19:10:21 GMT):
@Luke_Chen, do you know if/how the explorer can be setuped without TLS?

kuvelky (Sat, 13 Jan 2018 22:31:06 GMT):
Has joined the channel.

vanitas92 (Sat, 13 Jan 2018 22:31:52 GMT):
Has joined the channel.

Luke_Chen (Sun, 14 Jan 2018 02:09:57 GMT):
yes, just change grpcs:// to grpc://

harsha (Sun, 14 Jan 2018 13:27:59 GMT):
Has joined the channel.

harsha (Sun, 14 Jan 2018 14:02:41 GMT):
HI, are we planning to publish docker-images and host them under https://hub.docker.com/r/hyperledger/ ?

harsha (Sun, 14 Jan 2018 14:02:41 GMT):
HI, is there a plan to publish docker-images and host them under https://hub.docker.com/r/hyperledger/ ?

harsha (Sun, 14 Jan 2018 14:03:24 GMT):
User User_1 added by harsha.

wbwangk (Mon, 15 Jan 2018 06:14:10 GMT):
Has joined the channel.

newlife 1 (Mon, 15 Jan 2018 07:43:07 GMT):
Has joined the channel.

mschmidt (Mon, 15 Jan 2018 09:31:52 GMT):
Has joined the channel.

aj2121 (Mon, 15 Jan 2018 10:54:38 GMT):
Has joined the channel.

aj2121 (Mon, 15 Jan 2018 10:54:55 GMT):
hie i m new to this framework so can u tell me how to setup Hyperledger frabic on windows from start

Derashe (Mon, 15 Jan 2018 16:10:27 GMT):
Has left the channel.

rlofblad (Mon, 15 Jan 2018 19:39:58 GMT):
Has joined the channel.

rodgeffrancis (Tue, 16 Jan 2018 06:59:54 GMT):
Has joined the channel.

sebastian.paul (Tue, 16 Jan 2018 09:25:01 GMT):
Has joined the channel.

vkblue (Tue, 16 Jan 2018 15:30:14 GMT):
How to specify multiple channels in the config.json?

TonyBy44 (Tue, 16 Jan 2018 16:59:39 GMT):
Has joined the channel.

mehmetshams (Tue, 16 Jan 2018 19:52:16 GMT):
Has joined the channel.

ishihara.shun (Wed, 17 Jan 2018 06:07:49 GMT):
Has joined the channel.

fiendster (Wed, 17 Jan 2018 07:25:48 GMT):
Has joined the channel.

land-pack (Wed, 17 Jan 2018 07:55:14 GMT):
Has joined the channel.

land-pack (Wed, 17 Jan 2018 07:55:27 GMT):
hello, guys

hanumankumarn (Wed, 17 Jan 2018 11:20:21 GMT):
Has joined the channel.

evajeong (Wed, 17 Jan 2018 15:54:47 GMT):
Has joined the channel.

AshishMishra 1 (Wed, 17 Jan 2018 16:54:12 GMT):
Has joined the channel.

ebullientdrift (Thu, 18 Jan 2018 07:12:24 GMT):
Has joined the channel.

guyCLINTON (Thu, 18 Jan 2018 10:07:54 GMT):
Has joined the channel.

guyCLINTON (Thu, 18 Jan 2018 10:08:06 GMT):
HI everyone - looking for a smart contracts writer with a strong moral approach to help us better humanity with our straightforward Blockchain implementation - Help!

Rakesh007 (Thu, 18 Jan 2018 11:27:30 GMT):
Has joined the channel.

bryancan (Thu, 18 Jan 2018 17:56:11 GMT):
Has joined the channel.

land-pack (Fri, 19 Jan 2018 03:23:11 GMT):
Hello guys! I have run my geth on CLI, and then i try to run a Ethereum wallet, it's show me an error "is another instance running ..." how do i fixed this?

pankajgoyal (Fri, 19 Jan 2018 04:22:41 GMT):
Has joined the channel.

AshishMishra 1 (Fri, 19 Jan 2018 06:53:27 GMT):
Hi guys.. I 'm getting repo errors, when doing a npm install.. is there a workaround to fix this? npm info it worked if it ends with ok npm verb cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '--verbose' ] npm info using npm@3.10.10 npm info using node@v6.12.2 npm info lifecycle fabric-explorer@0.0.1~preinstall: fabric-explorer@0.0.1 npm verb correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing npm verb lock using /root/.npm/_locks/staging-bb62a377fcb2c77e.lock for /root/blockchain-explorer/node_modules/.staging npm verb unlock done using /root/.npm/_locks/staging-bb62a377fcb2c77e.lock for /root/blockchain-explorer/node_modules/.staging npm info linkStuff fabric-explorer@0.0.1 npm verb linkBins fabric-explorer@0.0.1 npm verb linkMans fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~install: fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~postinstall: fabric-explorer@0.0.1 npm info lifecycle fabric-explorer@0.0.1~prepublish: fabric-explorer@0.0.1 npm WARN fabric-explorer@0.0.1 No repository field. npm verb npm verb If you need help, you may report this error at: npm verb npm verb exit [ 0, true ] npm info ok

liujingkun2017 (Fri, 19 Jan 2018 07:41:40 GMT):
Has joined the channel.

litlay (Fri, 19 Jan 2018 07:50:27 GMT):
Has joined the channel.

amrit.gautam (Fri, 19 Jan 2018 08:30:59 GMT):
Has joined the channel.

AkshayJindal (Fri, 19 Jan 2018 15:54:47 GMT):
Has joined the channel.

dccarew (Fri, 19 Jan 2018 18:16:03 GMT):
Has joined the channel.

dccarew (Fri, 19 Jan 2018 18:28:21 GMT):
Hi folks. Just brought up Explorer for the first time on Ubuntu but I'm using a fabric instance that I setup in another directory tree. The directory paths in config.json for the admin key and cert seem to be interpreted as always relative to the Explorer folder even if they have a leading / Is there a way to specify a fully qualified path in config.json ? PS I've worked around it for now by creating a symbolic link in my Explorer folder

AkshayJindal (Sun, 21 Jan 2018 16:59:48 GMT):

Explorer-Tx-Timestamp.png

MarcoPapageorgiou (Mon, 22 Jan 2018 00:38:56 GMT):
Has joined the channel.

vizillion (Mon, 22 Jan 2018 03:28:48 GMT):
Has joined the channel.

tritone11 (Mon, 22 Jan 2018 11:19:04 GMT):
Has joined the channel.

tritone11 (Mon, 22 Jan 2018 11:19:37 GMT):
hello, I am trying to connect the blockchain explorer with the basic-network of the example tuna app, but even after editing the config.json file I cannot see the transactions on the explorer

tritone11 (Mon, 22 Jan 2018 11:19:49 GMT):
Anybody has a clue to how to do it?

prithveesh (Mon, 22 Jan 2018 11:43:37 GMT):
Has joined the channel.

sudheesh001 (Mon, 22 Jan 2018 12:59:51 GMT):
I completely admire the ease with which this project easily setup. Kudos to the team. However, I had a code cleanup suggestion to remove the `first-network` directory from the existing repository and rather add sufficient documentation on how to bring up `fabric-samples` and use explorer with it. Filed it in JIRA BE-113

satheeshk (Mon, 22 Jan 2018 15:21:09 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=PGL5YKF2BQecgqp7K) @harsha Yes Harsha, there is plan https://jira.hyperledger.org/browse/BE-42 - thisis the open ticket for this item

harsha (Mon, 22 Jan 2018 19:14:24 GMT):
@satheeshk Ok, any ETA on the same ?

harsha (Mon, 22 Jan 2018 19:14:24 GMT):
@satheeshk Thank you, any ETA on the same ?

apoltar (Mon, 22 Jan 2018 19:26:16 GMT):
Has joined the channel.

trungtran (Tue, 23 Jan 2018 07:09:14 GMT):
Has joined the channel.

pangxt (Tue, 23 Jan 2018 08:13:02 GMT):
Has joined the channel.

abody (Tue, 23 Jan 2018 08:57:12 GMT):
Has joined the channel.

abody (Tue, 23 Jan 2018 08:58:41 GMT):
Hi everybody, I just cloned the blockchain-explorer repository, i was wondering why this project needs mysql ? All tutorials i've done with hyperledger fabric use couchDb to store the state.

akuma921 (Tue, 23 Jan 2018 09:38:01 GMT):
Hey All, one quick query... from any available SDKs can we fetch all the orgs/peers/orderes for a given channel..provided we have 'channel' as the only input to the SDK API

AnariSengbe (Tue, 23 Jan 2018 09:38:07 GMT):
Has joined the channel.

akuma921 (Tue, 23 Jan 2018 09:38:29 GMT):
because I rememmber in every SDK we first create a HDClient object ..which needs network topology

akuma921 (Tue, 23 Jan 2018 09:39:36 GMT):
https://stackoverflow.com/questions/47789462/list-all-the-peers-part-of-the-channel-in-hyperledger-fabric

akuma921 (Tue, 23 Jan 2018 10:36:06 GMT):
HFClient*

ddealmei (Tue, 23 Jan 2018 11:14:17 GMT):
Has joined the channel.

karthikumt (Tue, 23 Jan 2018 13:36:29 GMT):
Has joined the channel.

satheeshk (Tue, 23 Jan 2018 14:56:16 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=WZWYXAT6jyTswsP9s) @abody Explorer uses MySQL to store information from fabric to display it on web

abody (Tue, 23 Jan 2018 16:44:54 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Mbf4C3aECexhaQs2h) @satheeshk ok thank you :)

chave070 (Tue, 23 Jan 2018 21:11:38 GMT):
Has joined the channel.

chave070 (Tue, 23 Jan 2018 21:33:36 GMT):
@vkblue Hello, have you found out how to specify multiple channels in the config.json? @satheeshk I have configured the network to have multiple channels, but it looks like the code won't take an array of channels from the JSON.

vkblue (Tue, 23 Jan 2018 21:34:24 GMT):
@chave070 Not yet, config.jso used to accept an array, but not any more....

chave070 (Tue, 23 Jan 2018 21:37:11 GMT):
@jeevas was the one who changed that feature from previous commits. Could you help @vkblue and I connect to multiple channels? BTW, thanks for replying vkblue.

chave070 (Tue, 23 Jan 2018 22:03:10 GMT):
jeevas

satheeshk (Wed, 24 Jan 2018 04:45:10 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=RXiJM7AJwNkzynJuW) @chave070 You dont need to specify all the channels in config.json. Just provide one that's available and the application should fetch other channel details from the fabric network

satheeshk (Wed, 24 Jan 2018 04:46:42 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=aqzfJGXeJDoxS7Btj) @harsha We are working on the roadmap for next release, and we should know soon. But I think this can be worked independently on the current release. So if there are any takers, patches are always welome.

harsha (Wed, 24 Jan 2018 04:49:44 GMT):
@satheeshk Given the integration of blockchain-explorer with cello, there are couple changes that got into cello and are breaking cello on non-x86 platform. I would want to take it up and provide relevant patch.

satheeshk (Wed, 24 Jan 2018 04:55:07 GMT):
Cello is integrated with explorer ?

harsha (Wed, 24 Jan 2018 06:45:55 GMT):
That's right.

vkblue (Wed, 24 Jan 2018 13:57:48 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=psrTYpfoPnr7CZbRd) @satheeshk Thanks for the reply, I do have one channel in my config and I see 4 channels listed in my drop down, but I have a total of 8 channels all together. I did check the peer/tls configurations they are look correct!!!

vkblue (Wed, 24 Jan 2018 13:57:48 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=psrTYpfoPnr7CZbRd) @satheeshk Thanks for the reply, I do have one channel in my config and I see 4 channels listed in my drop down, but I have a total of 8 channels all together. I did check the peer/tls configurations they are correct!!!

vkblue (Wed, 24 Jan 2018 14:12:22 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=o5xS4Y4Egamh5QZZ9) @harsha Not sure about your answer?! You agree on?

chave070 (Wed, 24 Jan 2018 15:35:56 GMT):
@satheeshk Thanks for the information.

chave070 (Wed, 24 Jan 2018 15:37:14 GMT):
@vkblue does it show the same channel in the drop down?

vkblue (Wed, 24 Jan 2018 15:40:55 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=phWk6tHnwuQuxLd9S) @chave070 Shows 4/8 channels!

chave070 (Wed, 24 Jan 2018 15:48:36 GMT):
@vkblue nice!, would you mind showing an example of a config file that has multiple channels?

vkblue (Wed, 24 Jan 2018 16:11:29 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=rezgu9ioTMnwA9pBy) @chave070 ``` { "network-config": { "org1": { "name": "MemberOrg1", "mspid": "Org1MSP", "peer0": { "requests": "grpcs://169.99.229.9:7051", "events": "grpcs://169.99.229.9:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer1": { "requests": "grpcs://169.99.229.9:8051", "events": "grpcs://169.99.229.9:8053", "server-hostname": "peer1.org1.example.com", "tls_cacerts": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "org2": { "name": "MemberOrg2", "mspid": "Org2MSP", "peer0": { "requests": "grpcs://169.99.229.9:9051", "events": "grpcs://169.99.229.9:9053", "server-hostname": "peer0.org2.example.com", "tls_cacerts": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "peer1": { "requests": "grpcs://169.99.229.9:10051", "events": "grpcs://169.99.229.9:10053", "server-hostname": "peer1.org2.example.com", "tls_cacerts": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "admin": { "key": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore", "cert": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } }, "org3": { "name": "MemberOrg3", "mspid": "Org3MSP", "peer0": { "requests": "grpcs://169.99.229.9:11051", "events": "grpcs://169.99.229.9:11053", "server-hostname": "peer0.org3.example.com", "tls_cacerts": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt" }, "peer1": { "requests": "grpcs://169.99.229.9:12051", "events": "grpcs://169.99.229.9:12053", "server-hostname": "peer1.org3.example.com", "tls_cacerts": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt" }, "admin": { "key": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/keystore", "cert": "../go/src/github.com/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/signcerts" } } }, "host":"localhost", "port":"8080", "channel": "mvp-channel-1", "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"30000", "mysql":{ "host":"localhost", "port":"3306", "database":"fabricexplorer", "username":"root", "passwd":"p@ssw0rd" } } ```

chave070 (Wed, 24 Jan 2018 16:18:42 GMT):
@vkblue Thank you lots!

vkblue (Wed, 24 Jan 2018 16:37:37 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=E4fEADfYghPcazmLL) @chave070 You are welcome, this is only partial, I have 6 Org network with 8 channels... Only 4 channels shows up in the dropdown...

harsha (Wed, 24 Jan 2018 16:41:20 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=jFCXQFQzuX983bWBo) @vkblue This was for integration of Cello + Explorer

vkblue (Wed, 24 Jan 2018 16:41:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Taaf4J6ZBmCxvbayk) @harsha Oh ok, thanks!

sonnykui (Wed, 24 Jan 2018 19:08:42 GMT):
Has joined the channel.

gesaleh (Wed, 24 Jan 2018 19:46:08 GMT):
Has joined the channel.

blockhash (Thu, 25 Jan 2018 05:24:06 GMT):
Has joined the channel.

chandrairawan (Thu, 25 Jan 2018 07:29:21 GMT):
Has joined the channel.

binaysgautam (Thu, 25 Jan 2018 09:54:14 GMT):
Has joined the channel.

dineshJagadees (Thu, 25 Jan 2018 09:56:26 GMT):
Has joined the channel.

Ryan2 (Thu, 25 Jan 2018 10:15:09 GMT):
Has joined the channel.

benjamin.matten (Thu, 25 Jan 2018 10:22:38 GMT):
Has joined the channel.

Ryan2 (Thu, 25 Jan 2018 10:24:10 GMT):
I connected to chaincode, but not really understand the graph displayed, and data is only current data, how can I see the previous data, how can I understand transaction per second and generated blocks per second. Thank you

Ryan2 (Thu, 25 Jan 2018 10:25:40 GMT):
Can anyone understand how to use the explorer to evaluate the throughput of the system tell me

Ryan2 (Thu, 25 Jan 2018 10:26:04 GMT):
Thank you very much!!!

reyaansh (Thu, 25 Jan 2018 11:55:14 GMT):
Has joined the channel.

satheeshk (Thu, 25 Jan 2018 12:50:43 GMT):
Hi @RyanLe 2 , currently historical data is not available in the graph. It just shows the txn/interval or block/interval. However we have some story items planned to query the historical data in the graph.

Ryan2 (Thu, 25 Jan 2018 14:23:03 GMT):
Hi @satheeshk

Ryan2 (Thu, 25 Jan 2018 14:23:49 GMT):
Can you tell me how to get information generated block/second or block per minute

Ryan2 (Thu, 25 Jan 2018 14:24:42 GMT):
One of most important info is transaction per second but I am not able to get it from the explorer

Ryan2 (Thu, 25 Jan 2018 14:24:53 GMT):
Can you tell me how to get

chave070 (Thu, 25 Jan 2018 16:03:59 GMT):
@vkblue Is mspid,org,events, and createdt in the fabricexplorer database in the table peer show the value of NULL? database - fabricexplorer table - peer want to know values for - org, mspid, events, createdt

SridharYerram (Thu, 25 Jan 2018 16:23:49 GMT):
does hyperledger works in : Windows Environment ?

vkblue (Thu, 25 Jan 2018 16:57:30 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=LYTfEr2YpNq6EubDY) @chave070 Yes, you are correct,those 4 columns show nulls

vkblue (Thu, 25 Jan 2018 17:06:08 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=W6TTFW5SWCNt5XQBy) I see channel & peer_ref_channel tables empty as well...

chave070 (Thu, 25 Jan 2018 17:28:40 GMT):
@vkblue another question, When you change channels does everything in the explorer update? For example, the block max number, the peerlist, the transaction history.

vkblue (Thu, 25 Jan 2018 17:29:56 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=4gydASPFHQw9eKwGk) @chave070 Yes, but dont think it is updating correctly tho. Peer list shows all the 12 peers in all the channels.

Marumolar (Thu, 25 Jan 2018 17:48:11 GMT):
Has joined the channel.

dperritano (Thu, 25 Jan 2018 19:04:12 GMT):
Has joined the channel.

vikascjadhav (Thu, 25 Jan 2018 19:38:38 GMT):
Has joined the channel.

kerokhin (Fri, 26 Jan 2018 06:09:05 GMT):
Has joined the channel.

niyuelin (Fri, 26 Jan 2018 08:50:12 GMT):
Has joined the channel.

milliger (Fri, 26 Jan 2018 09:42:44 GMT):
Has joined the channel.

vasumaniram (Fri, 26 Jan 2018 14:18:45 GMT):
Has joined the channel.

vasumaniram (Fri, 26 Jan 2018 16:09:08 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ryjBisaxSNdXPBqfa) @hexelon Have you found any solution? Because i face the same issue.

vasumaniram (Fri, 26 Jan 2018 16:10:25 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ryjBisaxSNdXPBqfa) @hexelon Have you found any solution? Because i face the same issue.

nfrunza (Fri, 26 Jan 2018 17:01:03 GMT):
Has joined the channel.

sascha (Sat, 27 Jan 2018 23:19:18 GMT):
Has joined the channel.

sascha (Sat, 27 Jan 2018 23:19:31 GMT):
Is explorer compatible with composer?

sascha (Sat, 27 Jan 2018 23:19:36 GMT):
How do I connect it?

sascha (Sat, 27 Jan 2018 23:19:55 GMT):
Everything in the repo is based on the "first-network".

sascha (Sat, 27 Jan 2018 23:20:30 GMT):
Some fields in `config.json` are not documented, such as `mspid`. Any thoughts?

sascha (Sat, 27 Jan 2018 23:20:46 GMT):
@here ^^

sascha (Sun, 28 Jan 2018 11:47:27 GMT):
@here The `config.json` setting `"channelsList": ["mychannel"]` is not working. Where is this documented?

Dan (Sun, 28 Jan 2018 19:33:12 GMT):
Has left the channel.

HarryZhu (Mon, 29 Jan 2018 00:12:54 GMT):
Has joined the channel.

fengfengs (Mon, 29 Jan 2018 05:05:03 GMT):
Has joined the channel.

vinayak mahajan (Mon, 29 Jan 2018 06:20:41 GMT):
Has joined the channel.

gen_el (Mon, 29 Jan 2018 10:02:15 GMT):
Seems the path of "certs:" in the config.json is treated as a relative path, even if i specify the root path /

gen_el (Mon, 29 Jan 2018 10:02:20 GMT):
why?

nasserfci (Mon, 29 Jan 2018 12:56:28 GMT):
Has joined the channel.

nasserfci (Mon, 29 Jan 2018 12:57:34 GMT):
when i run blockchain explore i found this problem ``` /blockchain-explorer/app/helper.js:164 if(channels[org][channelName] == undefined) ^ TypeError: Cannot read property 'mychannel' of undefined at Object.getChannelForOrg (/blockchain-explorer/app/helper.js:164:20) at getChainInfo (/blockchain-explorer/app/query.js:91:23) at Object.getChannelHeight (/blockchain-explorer/app/query.js:205:9) at getMaxBlockNum (/blockchain-explorer/service/blockscanner.js:100:18) at Object.syncBlock (/blockchain-explorer/service/blockscanner.js:40:9) at Timeout._onTimeout (/blockchain-explorer/listener/blocklistener.js:50:22) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) ```

nfrunza (Mon, 29 Jan 2018 13:13:09 GMT):
@nasserfci , if you did not follow the instructions, please review https://github.com/hyperledger/blockchain-explorer

nfrunza (Mon, 29 Jan 2018 13:13:28 GMT):
@nasserfci thank you

satheeshk (Mon, 29 Jan 2018 13:33:29 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=KbWZhzd2v7g2nRHyY) @sascha Hello there, There is no straight forward way to connect explorer composer

satheeshk (Mon, 29 Jan 2018 13:40:00 GMT):
There is a jira ticket for this item https://jira.hyperledger.org/browse/BE-101

nasserfci (Mon, 29 Jan 2018 14:14:26 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=xgXYw56gJmtX5EwZr) @nfrunza i follow the tutorial which is change in config file and make mychannel but it's still same error

nfrunza (Mon, 29 Jan 2018 14:16:28 GMT):
@nasserfci , do you have the backed running? do you see any data in UI ?

nasserfci (Mon, 29 Jan 2018 14:17:13 GMT):
the server didn't work

nfrunza (Mon, 29 Jan 2018 14:19:20 GMT):
can you try postman and use GET for the URL http://localhost:8080/api/status/get

nasserfci (Mon, 29 Jan 2018 14:20:42 GMT):
the case with me is that i use cello to stand up fabric (from byfn projct) the configuration {2 Org , 2 Ca and orderer and explore and cli } the CLI run script that generate certifcate and install chain code and join all peer to the channel and now i want to add explore container

nasserfci (Mon, 29 Jan 2018 14:22:03 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=nLfCsy5TKHWoDwLRu) @nfrunza i don't have postman but when i run node main.js i get this error and close terminal

nfrunza (Mon, 29 Jan 2018 14:23:32 GMT):
@nasserfci did you clone from "https://github.com/hyperledger/blockchain-explorer.git" ?

nfrunza (Mon, 29 Jan 2018 14:26:06 GMT):
@nasserfci , can you try again, do some clean up and retry , use commands : docker stop $(docker ps -a -q) docker rm -f $(docker ps -a -q) rm -rf ./crypto-config/* rm -rf ~/.hfc*

nfrunza (Mon, 29 Jan 2018 14:27:44 GMT):
@nasserfci 1) fabric backed should be running, use $ docker ps to see the status

nfrunza (Mon, 29 Jan 2018 14:29:02 GMT):
@nasserfci 2) start node sdk in a new terminal

nasserfci (Mon, 29 Jan 2018 14:30:16 GMT):
the problem with me is that i am using cello to standup fabric

nfrunza (Mon, 29 Jan 2018 14:31:45 GMT):
are you able to see the status when $ docker ps ?

nasserfci (Mon, 29 Jan 2018 14:34:25 GMT):

Screen Shot 2018-01-29 at 4.33.58 PM.png

nfrunza (Mon, 29 Jan 2018 14:36:38 GMT):
@nasserfci the next would be to start from another terminal, cd blockchain-explorer

nfrunza (Mon, 29 Jan 2018 14:37:13 GMT):
@nasserfci npm install ./start.sh

nasserfci (Mon, 29 Jan 2018 14:37:20 GMT):
ok i clone the blockchain explorer

nasserfci (Mon, 29 Jan 2018 14:37:54 GMT):
and when i cat log.log i found same error Please open Internet explorer to access :http://localhost:8080/ /home/iahmed16/blockchain-explorer/app/helper.js:164 if(channels[org][channelName] == undefined) ^ TypeError: Cannot read property 'mychannel' of undefined at Object.getChannelForOrg (/home/iahmed16/blockchain-explorer/app/helper.js:164:20) at getChainInfo (/home/iahmed16/blockchain-explorer/app/query.js:91:23) at Object.getChannelHeight (/home/iahmed16/blockchain-explorer/app/query.js:205:9) at getMaxBlockNum (/home/iahmed16/blockchain-explorer/service/blockscanner.js:100:18) at Object.syncBlock (/home/iahmed16/blockchain-explorer/service/blockscanner.js:40:9) at Timeout._onTimeout (/home/iahmed16/blockchain-explorer/listener/blocklistener.js:50:22) at ontimeout (timers.js:475:11) at tryOnTimeout (timers.js:310:5) at Timer.listOnTimeout (timers.js:270:5)

nfrunza (Mon, 29 Jan 2018 14:38:07 GMT):
@nasserfci make sure you DO not run as root

nasserfci (Mon, 29 Jan 2018 14:38:25 GMT):
no i didn't run it using sudo

nfrunza (Mon, 29 Jan 2018 14:39:04 GMT):
when run $ ls -la should be your user name

nasserfci (Mon, 29 Jan 2018 14:41:25 GMT):
you mean i run ls -la on machine ? that contain container ?

nfrunza (Mon, 29 Jan 2018 14:42:18 GMT):
under /home/iahmed16

nasserfci (Mon, 29 Jan 2018 14:43:05 GMT):
yes it contain my username

nfrunza (Mon, 29 Jan 2018 14:44:10 GMT):
in blockchain-explorer did you run npm install

nasserfci (Mon, 29 Jan 2018 14:44:40 GMT):
yes i run it

nfrunza (Mon, 29 Jan 2018 14:44:52 GMT):
do you see the Blockchain explorer UI

nasserfci (Mon, 29 Jan 2018 14:45:24 GMT):
no

nfrunza (Mon, 29 Jan 2018 14:45:46 GMT):
do you have mysql installed?

nasserfci (Mon, 29 Jan 2018 14:46:29 GMT):
i have mysql as container and when i telnet on it it work

nfrunza (Mon, 29 Jan 2018 14:52:55 GMT):
do you have the same credentials in blockchain-explorer/config.json for mysql ?

nasserfci (Mon, 29 Jan 2018 14:55:46 GMT):
i didn't add certificate for mysql how can i add it ?

nasserfci (Mon, 29 Jan 2018 14:59:56 GMT):
but i think the problem not in the mysql because when i change password in config.json it give me error with access denied

nfrunza (Mon, 29 Jan 2018 15:04:27 GMT):
the mysql user/pass should be same

nfrunza (Mon, 29 Jan 2018 15:04:41 GMT):
try to restasrt mysql

nasserfci (Mon, 29 Jan 2018 15:06:44 GMT):
yes it's the same it's with root username and root password and i tried to access it from bash and it's work successfully

nfrunza (Mon, 29 Jan 2018 15:12:10 GMT):
you want to run block chain explorer and use cello as end point?

nasserfci (Mon, 29 Jan 2018 15:21:02 GMT):
no i use cello to stand up fabric and it's setup every thing successful what i want to do is that to use explorer

nfrunza (Mon, 29 Jan 2018 15:26:55 GMT):
@nasserfci i see, in blockchain explorer we have 2 files, query and helper.js that is the backend endpoint api for the blockchain explorer

nfrunza (Mon, 29 Jan 2018 15:30:26 GMT):
@nasserfci , try to see if you can reuse the end point api with cell fabric

nfrunza (Mon, 29 Jan 2018 15:30:32 GMT):
cello*

balmeida (Mon, 29 Jan 2018 22:17:34 GMT):
Has joined the channel.

balmeida (Mon, 29 Jan 2018 22:17:40 GMT):
Hi guys

balmeida (Mon, 29 Jan 2018 22:17:53 GMT):
anyone can help me with Blockchain-explorer?

balmeida (Mon, 29 Jan 2018 22:18:00 GMT):
Thank you

balmeida (Mon, 29 Jan 2018 22:18:52 GMT):
I'm getting: Helper - Failed to find a peer matching the url grpcs://hsot:7051

balmeida (Mon, 29 Jan 2018 22:18:52 GMT):
I'm getting: Helper - Failed to find a peer matching the url grpcs://host:7051

hanumankumarn (Tue, 30 Jan 2018 06:29:34 GMT):
How to set up explorer with sawtooth lake?

nasserfci (Tue, 30 Jan 2018 07:58:39 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=3fya59tNYqGZy6XHd) @nfrunza is there any documentation for integration between existing fabric and explore and how to use end point api?

hanumankumarn (Tue, 30 Jan 2018 08:50:10 GMT):
How to integrate sawtooth lake with explorer?

omostcomputer (Tue, 30 Jan 2018 10:27:39 GMT):
Has joined the channel.

satheeshk (Tue, 30 Jan 2018 13:32:49 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ayy6f7nmz6hX8jPeb) @hanumankumarn This version doesn't support sawtooth lake yet

nfrunza (Tue, 30 Jan 2018 13:34:05 GMT):
@balmeida Please follow up instructions https://github.com/hyperledger/blockchain-explorer

Pardha (Tue, 30 Jan 2018 14:29:31 GMT):
@balmeida how did you bring up the peers ?

Pardha (Tue, 30 Jan 2018 14:30:02 GMT):
if you did not use the standard ports.. you need to modify config.json of blockchain-explorer to specify the correct port

sh777 (Tue, 30 Jan 2018 15:43:27 GMT):
Has joined the channel.

JitendraKumar (Tue, 30 Jan 2018 16:40:51 GMT):
Has joined the channel.

JitendraKumar (Tue, 30 Jan 2018 16:42:17 GMT):
hello all i am new in this can any one tell me how to create token in hyperleder ? is that posible?

JitendraKumar (Tue, 30 Jan 2018 16:43:14 GMT):
please answer i confused should i user hyperleder or etherium ?

erbernardino (Tue, 30 Jan 2018 17:05:36 GMT):
Has joined the channel.

Pardha (Tue, 30 Jan 2018 21:27:39 GMT):
@JitendraKumar this forum is dedicated to explorer project. Please ask this kind of questions in "general" channel. You will get help.

Amir (Tue, 30 Jan 2018 21:33:20 GMT):
Has joined the channel.

vkblue (Wed, 31 Jan 2018 01:46:48 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=4gydASPFHQw9eKwGk) @chave070 Just checking whether you were able to fix this multi-channel config?

JitendraKumar (Wed, 31 Jan 2018 12:05:37 GMT):
I am start working with one of my friend and he is going to launch ICO for crowd funding. As i am a java developer so he asked me to help regarding creating block chain and token for sale, But as I know very little about Hyperledger and get confused. I haven’t found any document regarding token creation and how its work in Hyperledger. Please guide me regarding that thanks

satheeshk (Wed, 31 Jan 2018 12:42:48 GMT):
@JitendraKumar your best bet is to use #general channel to get information about this.

subigyaupadhyay (Wed, 31 Jan 2018 13:02:02 GMT):
Has joined the channel.

subigyaupadhyay (Wed, 31 Jan 2018 13:03:21 GMT):
Hey everyone. I have deployed a hyperledger composer blockchain network to hyperledger fabric network successfully using https://hyperledger.github.io/composer/next-unstable/tutorials/deploy-to-fabric-single-org I have also generated a rest server for my blockchain network and have an app running. I wanted to use Blockchain EXPLORER for viewing activity on my underlying blockchain network. But not quite sure how to implement it on my network. Does anyone have any idea working on how to do the same???? It would be of great help.

subigyaupadhyay (Wed, 31 Jan 2018 13:06:13 GMT):
I followed these instructions https://github.com/hyperledger/blockchain-explorer and implemented the same for "first-network" and it worked fine but how should I modify the config.json file so as to implement in my blockchain network

subigyaupadhyay (Wed, 31 Jan 2018 13:09:45 GMT):

Screen Shot 2018-01-31 at 6.38.44 PM.png

subigyaupadhyay (Wed, 31 Jan 2018 13:14:42 GMT):
Any help regarding this integrating this with the EXPLORER would be really helpful.

subigyaupadhyay (Wed, 31 Jan 2018 13:14:42 GMT):
Any help on integrating this with the EXPLORER would be really helpful.

satheeshk (Wed, 31 Jan 2018 15:31:10 GMT):
@subigyaupadhyay do you know where composer stores its peer's admin keys and cert files ?

satheeshk (Wed, 31 Jan 2018 15:31:56 GMT):
The config.json in the explorer needs to be updated with the path for these files and the peer ip address

hungle9 (Wed, 31 Jan 2018 16:03:33 GMT):
Has joined the channel.

subigyaupadhyay (Wed, 31 Jan 2018 16:20:17 GMT):

Screen Shot 2018-01-31 at 9.47.05 PM.png

subigyaupadhyay (Wed, 31 Jan 2018 16:21:48 GMT):

Screen Shot 2018-01-31 at 9.50.08 PM.png

subigyaupadhyay (Wed, 31 Jan 2018 16:23:07 GMT):
@satheeshk As you can see, the particular channel is not being shown. I don't know if there's an issue or it is meant to be like that. Any help regarding this?

satheeshk (Wed, 31 Jan 2018 16:30:34 GMT):
There definitely is some problem. Can you check the explorer logs under your root where you run ./start.sh

subigyaupadhyay (Wed, 31 Jan 2018 16:42:36 GMT):

Screen Shot 2018-01-31 at 10.11.53 PM.png

subigyaupadhyay (Wed, 31 Jan 2018 16:43:54 GMT):
@satheeshk it runs clean.

chave070 (Wed, 31 Jan 2018 16:56:16 GMT):
@vkblue I have not been able to make it work. I still have one channel showing on the channel list and the use case network I have is two channels with one peer per channel. I used your config file as a resource, but that adds an extra peer on the channel that I added on the config file. Thanks for checking!

chave070 (Wed, 31 Jan 2018 16:58:50 GMT):
@vkblue do you mind sending an image of your explorer showing the listing of channels?

vkblue (Wed, 31 Jan 2018 17:47:21 GMT):

mchannels.pdf

vkblue (Wed, 31 Jan 2018 17:47:36 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=SMGa85MiLhStZYMNR) @chave070 Please find the screen shot, I have some client information masked in the pdf. Channel1 shows most of the data perfect. Except that it has only 2 peers. I see all 12 peers listed for all channels.

chave070 (Wed, 31 Jan 2018 18:08:02 GMT):
@vkblue Thank you! Did you mess with the source code? Is there anyone that has a use case that is working correctly on the explorer? @satheeshk are you able to produce multi-channels on the explorer?

vkblue (Wed, 31 Jan 2018 18:08:40 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Z35tW7eQG3f6KoRaS) @chave070 I would love to mess with the code, but too busy with some deadlines. May be in a week or two.

Pardha (Wed, 31 Jan 2018 19:01:39 GMT):
@vkblue @chave070 I would love you guys to contribute..

Pardha (Wed, 31 Jan 2018 19:02:01 GMT):
we are creating roadmap and updating jira with the immediate tasks

Pardha (Wed, 31 Jan 2018 19:02:21 GMT):
Let me know when you are ready to contribute

LeDang (Thu, 01 Feb 2018 03:59:16 GMT):
Has joined the channel.

hanumankumarn (Thu, 01 Feb 2018 12:35:46 GMT):
How to setup explorer with fabric?

nfrunza (Thu, 01 Feb 2018 14:06:39 GMT):
@hanumankumarn , as of now first-network is embedded in the block-chain explorer, we are in process of decoupling first network, once available you will be ready to configure it to point your independently running fabric

rjones (Thu, 01 Feb 2018 18:00:47 GMT):
Has joined the channel.

rjones (Thu, 01 Feb 2018 18:01:44 GMT):
@nfrunza I haven't tested https://gerrit.hyperledger.org/r/#/c/17409/ . is there an easy test I can do to see if it works?

nfrunza (Thu, 01 Feb 2018 18:02:02 GMT):
jquery 3.00?

rjones (Thu, 01 Feb 2018 18:02:41 GMT):
there is a CVE for the current version, the recommended upgrade is to 3.0

nfrunza (Thu, 01 Feb 2018 18:03:24 GMT):
actually, i tested last week, but i wanted to see if any other vulnerabilities may be in the current source code

rjones (Thu, 01 Feb 2018 18:04:17 GMT):
nfrunza

alain2sf (Fri, 02 Feb 2018 10:12:45 GMT):
Has joined the channel.

Darumada (Fri, 02 Feb 2018 14:03:05 GMT):
Has joined the channel.

Darumada (Fri, 02 Feb 2018 14:07:23 GMT):
Hi , are hyperledger explorer work with hyperledger fabric v 1.1.0 ?

nfrunza (Fri, 02 Feb 2018 15:09:59 GMT):
@Darumada , If you refer to blockchain-explorer , now it is available to be configured with independent running fabric first network

KnightTuring (Sat, 03 Feb 2018 10:20:08 GMT):
Has joined the channel.

Zmhan-github (Sat, 03 Feb 2018 14:52:10 GMT):
Has joined the channel.

rjones (Sat, 03 Feb 2018 21:19:45 GMT):
Has left the channel.

Ryan2 (Mon, 05 Feb 2018 02:04:28 GMT):
Hello, Can I ask one question, How to remove peer from existing fabric network

hanumankumarn (Mon, 05 Feb 2018 06:49:06 GMT):
Anybody did the set up for fabric and explorer in aws?

hanumankumarn (Mon, 05 Feb 2018 06:50:18 GMT):
i did set up in local its working but in aws i am not able to view in the browser

Amir (Mon, 05 Feb 2018 07:35:50 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=jqkTyupRK3xknZByR) @hanumankumarn check this http://cello.readthedocs.io/en/latest/awsinstall/

hanumankumarn (Mon, 05 Feb 2018 07:49:05 GMT):
@Amir I did set up in aws but i not able to access in browser

hanumankumarn (Mon, 05 Feb 2018 07:49:55 GMT):

fabric-explorer.png

hanumankumarn (Mon, 05 Feb 2018 07:50:11 GMT):
This in in aws

hanumankumarn (Mon, 05 Feb 2018 07:51:30 GMT):

fabric-explorer in local.png

hanumankumarn (Mon, 05 Feb 2018 07:51:47 GMT):
This is in local

Amir (Mon, 05 Feb 2018 07:57:07 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=NtNQM2gqhX69jz4Sv) @hanumankumarn did you try port 8087 on aws (i.e AWS_IP:8087 ) ?

Amir (Mon, 05 Feb 2018 08:02:13 GMT):
also check if the container is up and running, according to the doc it should be on port 8080, but did you used cello to deploy on aws ? if that is the case in the host node list containers (`docker ps`) and look the explorer service provider and its related port. port 8080 is used by cello dashboard

hanumankumarn (Mon, 05 Feb 2018 08:08:13 GMT):
https://github.com/hyperledger/blockchain-explorer

hanumankumarn (Mon, 05 Feb 2018 08:08:34 GMT):
i followed this url for set up

hanumankumarn (Mon, 05 Feb 2018 08:08:51 GMT):
i did not used cello

hanumankumarn (Mon, 05 Feb 2018 08:26:47 GMT):
i changed the port no

JeremyH (Mon, 05 Feb 2018 11:10:54 GMT):
Has joined the channel.

gaurav94 (Mon, 05 Feb 2018 15:12:51 GMT):
Has joined the channel.

pasimoes (Mon, 05 Feb 2018 21:49:28 GMT):
Has joined the channel.

msarres (Mon, 05 Feb 2018 23:49:24 GMT):
Has joined the channel.

sourishkrout (Tue, 06 Feb 2018 02:37:40 GMT):
Has joined the channel.

pb (Tue, 06 Feb 2018 03:13:56 GMT):
@here Hi I am trying to run explorer but unable to link my chaincode with it .Here is my config file { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer0": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore", "cert": "/basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts" } } }, "host":"localhost", "port":"8080", "channel": "mychannel", "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"30000", "mysql":{ "host":"127.0.0.1", "port":"3306", "database":"InformationBlockChain", "username":"root", "passwd":"abc" } }

pb (Tue, 06 Feb 2018 03:13:56 GMT):
Hi I am trying to run explorer but unable to link my chaincode with it .Here is my config file { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer0": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore", "cert": "/basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts" } } }, "host":"localhost", "port":"8080", "channel": "mychannel", "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"30000", "mysql":{ "host":"127.0.0.1", "port":"3306", "database":"InformationBlockChain", "username":"root", "passwd":"inapp" } }

pb (Tue, 06 Feb 2018 03:13:56 GMT):
Hi I am trying to run explorer but unable to link my chaincode with it .Here is my config file { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer0": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore", "cert": "/basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts" } } }, "host":"localhost", "port":"8080", "channel": "mychannel", "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"30000", "mysql":{ "host":"127.0.0.1", "port":"3306", "database":"InformationBlockChain", "username":"root", "passwd":"abc" } }

AditiChandna (Tue, 06 Feb 2018 07:41:18 GMT):
Has joined the channel.

AditiChandna (Tue, 06 Feb 2018 07:41:39 GMT):
Hello .. I have to install a bna file . I am following the link https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-single-org.html . However when I run the command: composer runtime install -c PeerAdmin@fabric-network -n tutorial-network ,, I am getting the error : Error: Error trying install composer runtime. Error: No valid responses from any peers. Response from attempted peer comms was an error: Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com").. Any help on this please

pathfinder2104 (Tue, 06 Feb 2018 10:36:35 GMT):
Has joined the channel.

purandam (Tue, 06 Feb 2018 12:00:16 GMT):
Has joined the channel.

vikramjit (Tue, 06 Feb 2018 12:42:49 GMT):
Has joined the channel.

minollo (Tue, 06 Feb 2018 15:33:06 GMT):
Has joined the channel.

sravs (Wed, 07 Feb 2018 07:18:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=RZW6EB99kHnuBNbuM) @pb I am also having same issue.. please anyone one help me.

mumubin (Wed, 07 Feb 2018 07:31:48 GMT):
Has joined the channel.

mumubin (Wed, 07 Feb 2018 07:43:10 GMT):
Please open Internet explorer to access :http://localhost:8080/ ^[[31merror^[[39m: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:65:15) at /opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:568:15 ^[[31merror^[[39m: [Client.js]: Failed Installed Chaincodes Query. Error: Error: 14 UNAVAILABLE: Connect Failed

mumubin (Wed, 07 Feb 2018 07:44:30 GMT):
{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/opt/gopath/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/opt/gopath/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/opt/gopath/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host": "localhost", "port": "8080", "channel": "mychannel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "mysql": { "host": "127.0.0.1", "port": "3306", "database": "fabricexplorer", "username": "root", "passwd": "Aabb_123" } }

sravs (Wed, 07 Feb 2018 10:37:07 GMT):
hello every one, [ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=JjCH76byTJqynwi99) please help me.

sravs (Wed, 07 Feb 2018 11:01:48 GMT):
Can we connect explorer with couch db??

bingimanasa (Wed, 07 Feb 2018 12:22:07 GMT):
Has joined the channel.

bingimanasa (Wed, 07 Feb 2018 12:23:34 GMT):
HI,how to configure explorer with couchdb? what are the changes to be done in config.json file.

satheeshk (Wed, 07 Feb 2018 14:50:39 GMT):
No.. hyperledger explorer cannot connect to couch db..

craik.zhang (Thu, 08 Feb 2018 00:43:40 GMT):
Has joined the channel.

bingimanasa (Thu, 08 Feb 2018 05:48:48 GMT):
how to run fabcar chaincode in blockchain explorer.

bingimanasa (Thu, 08 Feb 2018 05:49:59 GMT):
Iam running fabcar chaincode and when i seen in explorer transactions are not updated.

sravs (Thu, 08 Feb 2018 06:10:08 GMT):
hello

sravs (Thu, 08 Feb 2018 06:14:52 GMT):
@satheeshk when i run firstnetwork chain codes and blocks are showing in explorer, if i run any other network , explorer may not able to integrate with my chain codes and blocks. only peers are showing. if u aware about this can u plz give me any idea.

sravs (Thu, 08 Feb 2018 06:16:01 GMT):

Clipboard - February 8, 2018 11:45 AM

sravs (Thu, 08 Feb 2018 06:16:01 GMT):

Clipboard - February 8, 2018 11:45 AM

sravs (Thu, 08 Feb 2018 09:49:44 GMT):
Any one here?

nfrunza (Thu, 08 Feb 2018 11:53:40 GMT):
@sr what is your configuration setup in config.json for the "network-config" key?

sravs (Thu, 08 Feb 2018 12:09:45 GMT):
@nfrunza My config.json file is

sravs (Thu, 08 Feb 2018 12:09:48 GMT):
{ "network-config": { "org1": { "name": "Org1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://192.168.0.119:7051", "events": "grpcs://192.168.0.119:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/sowmya/fabric-dev-servers-multipeer2/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer2": { "requests": "grpcs://192.168.0.119:8051", "events": "grpcs://192.168.0.119:8053", "server-hostname": "peer1.org1.example.com", "tls_cacerts": "/home/sowmya/fabric-dev-servers-multipeer2/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer3": { "requests": "grpcs://localhost:7051", "events": "grpcs://localhost:7053", "server-hostname": "peer2.org1.example.com", "tls_cacerts": "/home/sowmya/fabric-dev-servers-multipeer2/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/home/sowmya/fabric-dev-servers-multipeer2/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/sowmya/fabric-dev-servers-multipeer2/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host": "localhost", "port": "9090", "channel": "composerchannel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "mysql": { "host": "127.0.0.1", "port": "3306", "database": "fabricexplorer", "username": "root", "passwd": "root" }

akshay.lawange (Thu, 08 Feb 2018 12:43:53 GMT):
Has joined the channel.

mkvaghani (Thu, 08 Feb 2018 15:38:34 GMT):
Has joined the channel.

mkvaghani (Thu, 08 Feb 2018 15:38:36 GMT):
guys I am totally new to hyperledger, how it is different from ethereum ? How to what, what is hyperlrdger actually ???

rangak (Thu, 08 Feb 2018 19:06:40 GMT):
Hi, We have a question. There is no LICENSE specified in this project's github repo. Can you please clarify what license blockchain-explorer is offered with. Thanks.

rangak (Thu, 08 Feb 2018 19:06:40 GMT):
Hi, We have a question. There is no LICENSE specified in this project's github repo. Can you please clarify what license blockchain-explorer is offered with ? Thanks.

CT123 (Thu, 08 Feb 2018 20:09:15 GMT):
Has joined the channel.

nfrunza (Thu, 08 Feb 2018 20:36:23 GMT):
@mkvaghani https://hyperledger.org/about

Darumada (Thu, 08 Feb 2018 21:10:34 GMT):
hi, how to restart explorer?

nfrunza (Thu, 08 Feb 2018 22:23:50 GMT):
@Darumada blockchain-explorer$pkill node

nfrunza (Thu, 08 Feb 2018 22:24:10 GMT):
@Darumada blockchain-explorer$node main.js

vitorqshr (Fri, 09 Feb 2018 01:05:03 GMT):
Has joined the channel.

grice_32 (Fri, 09 Feb 2018 05:17:33 GMT):
Has joined the channel.

grice_32 (Fri, 09 Feb 2018 05:27:12 GMT):
Hi.. I am trying to get Explorer to run and am running into some issues. I have my Fabric running on 1.1.0-preview. My application is the marbles demo. I modified the config.json to match the marbles certificates/keys. I get nothing when I run the `mysql -u -p < db/fabricexplorer.sql` command. Also, the `./start.sh` command returns me back to my command line.

Brandon (Fri, 09 Feb 2018 06:02:36 GMT):
Has joined the channel.

Brandon (Fri, 09 Feb 2018 06:03:23 GMT):
what's wrong with this error: Failed to find a peer matching the url grpcs://127.0.0.1:7051 can somebody help me

MohammadObaid (Fri, 09 Feb 2018 06:40:19 GMT):
@Brandon Your peer should be running on docker . try to change `127.0.0.1` with docker container ip

Brandon (Fri, 09 Feb 2018 06:54:52 GMT):
something like 192.168.0.5?

MohammadObaid (Fri, 09 Feb 2018 06:56:32 GMT):
Yes whatever is your conatiner ip. In mycase it is 172.16.... something . You can get container ip with this command `docker inspect container_id`

Brandon (Fri, 09 Feb 2018 06:58:24 GMT):
i will try thank u

Brandon (Fri, 09 Feb 2018 07:02:08 GMT):
[2018-02-09 15:01:44.763] [ERROR] Helper - Failed to find a peer matching the url grpcs://172.19.0.23:7051 [2018-02-09 15:01:44.767] [ERROR] Helper - Failed to find a peer matching the url grpcs://172.19.0.23:7051 /opt/hyperledger/loyalty-demo/blockchain-explorer/app/helper.js:164

Brandon (Fri, 09 Feb 2018 07:02:33 GMT):
it does not work

Brandon (Fri, 09 Feb 2018 07:03:19 GMT):
peer1": { "requests": "grpcs://172.19.0.23:7051", "events": "grpcs://172.19.0.23:7053",

MohammadObaid (Fri, 09 Feb 2018 07:13:05 GMT):
you are using tls ?

Brandon (Fri, 09 Feb 2018 07:21:01 GMT):
yes

MohammadObaid (Fri, 09 Feb 2018 07:28:03 GMT):
Strange . It worked for me with same methods. !!!

mhomaid (Fri, 09 Feb 2018 09:18:50 GMT):
Has joined the channel.

amirkabbara (Fri, 09 Feb 2018 10:11:25 GMT):
Has joined the channel.

ludeiro (Fri, 09 Feb 2018 10:20:08 GMT):
Has joined the channel.

nfrunza (Fri, 09 Feb 2018 11:58:52 GMT):
@grice_32 replace with your mysql user name, by default it's root, make sure you have mysql installed and remember your password

nfrunza (Fri, 09 Feb 2018 12:04:50 GMT):
@grice_32 make sure you do not run as root user, NO sudo

grice_32 (Fri, 09 Feb 2018 14:09:33 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=S59AkPETnNBWx4wMQ) @nfrunza How do I add an user to run something other than root? Thanks for your help!!

nfrunza (Fri, 09 Feb 2018 14:20:29 GMT):
@grice_32 i saw a question pop up but i cannot see in the chat

sankat447 (Fri, 09 Feb 2018 18:20:27 GMT):
Has joined the channel.

Caterina (Fri, 09 Feb 2018 18:47:02 GMT):
Has joined the channel.

Nabilel 1 (Sat, 10 Feb 2018 16:25:53 GMT):
Has joined the channel.

ssumanth (Mon, 12 Feb 2018 03:17:44 GMT):
Has joined the channel.

optlee (Mon, 12 Feb 2018 03:52:57 GMT):
Has joined the channel.

tilakmishra (Mon, 12 Feb 2018 05:36:50 GMT):
Has joined the channel.

harsha (Mon, 12 Feb 2018 18:10:38 GMT):
Has left the channel.

sherlyseptiani (Tue, 13 Feb 2018 03:38:08 GMT):
Has joined the channel.

evandro.franco (Tue, 13 Feb 2018 19:06:23 GMT):
Has joined the channel.

vudathasaiomkar (Wed, 14 Feb 2018 07:14:58 GMT):
Has joined the channel.

MokeyJoy (Thu, 15 Feb 2018 06:20:28 GMT):
Has joined the channel.

KGiou (Thu, 15 Feb 2018 11:27:33 GMT):
Has joined the channel.

KillerGasy (Thu, 15 Feb 2018 12:07:39 GMT):
Has joined the channel.

jack21 (Thu, 15 Feb 2018 17:30:52 GMT):
Has joined the channel.

username343 (Fri, 16 Feb 2018 05:51:50 GMT):
Has joined the channel.

hammerstrike (Fri, 16 Feb 2018 07:18:17 GMT):
Has joined the channel.

gurpreetlucky (Fri, 16 Feb 2018 07:21:02 GMT):
Has joined the channel.

gurpreetlucky (Fri, 16 Feb 2018 07:22:56 GMT):
Has left the channel.

pavaniuppalapati (Fri, 16 Feb 2018 11:20:05 GMT):
Has joined the channel.

PavanJuttada (Fri, 16 Feb 2018 12:38:44 GMT):
Has joined the channel.

jtayl22 (Fri, 16 Feb 2018 14:23:40 GMT):
Has joined the channel.

rjones (Fri, 16 Feb 2018 15:45:18 GMT):
Has joined the channel.

jtayl22 (Fri, 16 Feb 2018 15:52:53 GMT):
Where is the document that tells how to gracefully stop blockchain-explorer? I have been using kill

jtayl22 (Fri, 16 Feb 2018 15:56:06 GMT):
Currently getting "error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: EOF" Any help will be appreciated.

compcoinproof (Fri, 16 Feb 2018 16:41:31 GMT):
Has joined the channel.

rjones (Fri, 16 Feb 2018 19:22:47 GMT):
༼ つ ◕_◕ ༽つ your votes https://gerrit.hyperledger.org/r/#/c/17987/

ims43 (Sat, 17 Feb 2018 05:21:36 GMT):
Has joined the channel.

nfrunza (Sat, 17 Feb 2018 14:22:30 GMT):
block chain explorer is decoupled from fabric network, easy to stop is pkil node

nfrunza (Sat, 17 Feb 2018 14:23:05 GMT):
pkill node

nfrunza (Sat, 17 Feb 2018 14:23:29 GMT):
@jtayl22 pkill node

Srini 86 (Sun, 18 Feb 2018 00:35:12 GMT):
Has joined the channel.

Srini 86 (Sun, 18 Feb 2018 00:37:32 GMT):
Hello all - I am trying to configure explorer and I am getting the following errors : [2018-02-17 18:24:49.835] [ERROR] blockscanner - TypeError: Cannot read property 'mmcchannel' of undefined at Object.getChannelForOrg (/opt/apps/blockchain-explorer/app/helper.js:164:19) at Object.getPeerList (/opt/apps/blockchain-explorer/app/query.js:200:23) at /opt/apps/blockchain-explorer/service/blockscanner.js:148:28 at Array.forEach (native) at savePeerlist (/opt/apps/blockchain-explorer/service/blockscanner.js:147:11) at next (native) at onFulfilled (/opt/apps/blockchain-explorer/node_modules/co/index.js:65:19) at /opt/apps/blockchain-explorer/node_modules/co/index.js:54:5 at co (/opt/apps/blockchain-explorer/node_modules/co/index.js:50:10) at Object.syncPeerlist (/opt/apps/blockchain-explorer/service/blockscanner.js:179:5) error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: Failed to deserialize creator identity, err MSP OrgMarshM SP is unknown at new createStatusError (/opt/apps/blockchain-explorer/node_modules/grpc/src/client.js:65:15) at /opt/apps/blockchain-explorer/node_modules/grpc/src/client.js:568:15 error: [Channel.js]: Failed Query channel info. Error: Error: 2 UNKNOWN: Failed to deserialize creator identity, err MSP OrgMarshMSP is unknow n Any help to resolve this issue is appreciated

nfrunza (Sun, 18 Feb 2018 03:52:19 GMT):
@Srini 86 please review your config.json by default "channel": "mychannel", did you try to create your channel?

Srini 86 (Sun, 18 Feb 2018 04:19:39 GMT):
@nfrunza Thanks, Yes I have create my channel with name mmcchannel

Srini 86 (Sun, 18 Feb 2018 04:25:25 GMT):
@nfrunza peer channel list 2018-02-18 04:24:33.026 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP 2018-02-18 04:24:33.026 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity 2018-02-18 04:24:33.029 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2018-02-18 04:24:33.029 UTC [msp/identity] Sign -> DEBU 004 Sign: plaintext: 0A89070A5B08031A0B088180A4D40510...631A0D0A0B4765744368616E6E656C73 2018-02-18 04:24:33.029 UTC [msp/identity] Sign -> DEBU 005 Sign: digest: 274236780A61B407A651C064E4229F725DD0E034E738565D79DE37FD37DFF70A 2018-02-18 04:24:33.033 UTC [channelCmd] list -> INFO 006 Channels peers has joined to: 2018-02-18 04:24:33.033 UTC [channelCmd] list -> INFO 007 mmcchannel 2018-02-18 04:24:33.033 UTC [main] main -> INFO 008 Exiting.....

nfrunza (Sun, 18 Feb 2018 04:27:52 GMT):
@Srini 86 you will have to update the config.json,

Srini 86 (Sun, 18 Feb 2018 04:32:21 GMT):
@nfrunza "host": "hostname.xxxx.com", "port": "8080", "channel": "mmcchannel", "GOPATH":"../artifacts", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "enableTls":true, "loglevel":"DEBUG", "users":[ { "username":"admin", "secret":"adminpw" } ], "mysql": { "host": "127.0.0.1", "port": "3306", "database": "fabricexplorer", "username": "blockchain", "passwd": "b$@#lckchain" } }

Srini 86 (Sun, 18 Feb 2018 12:03:03 GMT):
@nfrunza here is the config file

Srini 86 (Sun, 18 Feb 2018 12:03:05 GMT):
"host": "hostname.xxxx.com", "port": "8080", "channel": "mmcchannel", "GOPATH":"../artifacts", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "enableTls":true, "loglevel":"DEBUG", "mysql": { "host": "127.0.0.1", "port": "3306", "database": "fabricexplorer", "username": "blockchain", "passwd": "b$@#lckchain" } }

nfrunza (Sun, 18 Feb 2018 12:49:20 GMT):
@Srini 86 did you configure to a network? and do you start that network with your channel name? and in config.json you configured the path to your network?

Srini 86 (Sun, 18 Feb 2018 14:04:48 GMT):
@nfrunza I am following https://github.com/CATechnologies/blockchain-tutorials/wiki/Tutorial:-Hyperledger-Fabric-v1.1-%E2%80%93-Create-a-Development-Business-Network-on-zLinux with four orgs instead of three. I have completed all the steps until Update Anchor Peers https://github.com/CATechnologies/blockchain-tutorials/wiki/Tutorial:-Hyperledger-Fabric-v1.1-%E2%80%93-Create-a-Development-Business-Network-on-zLinux#update-anchor-peers

Srini 86 (Sun, 18 Feb 2018 14:05:19 GMT):
and then installed Explorer, I am able to see the channel name but no peers

Srini 86 (Sun, 18 Feb 2018 14:13:32 GMT):
@nfrunza and in config.json you configured the path to your network? yes, I have added all four orgs with tls_cacerts and other attributes. Is there any specific attribute for the network path?

nfrunza (Sun, 18 Feb 2018 14:41:20 GMT):
@Srini 86 we support https://github.com/hyperledger/blockchain-explorer i do not have knowledge of the other tutorials

Srini 86 (Sun, 18 Feb 2018 15:39:10 GMT):
@nfrunza I am following the steps in https://github.com/hyperledger/blockchain-explorer to setup the explorer.

Srini 86 (Sun, 18 Feb 2018 15:39:58 GMT):
I was able to bring up sample network in the explorer, but when I created my own network with a new channel, it is not showing up

nfrunza (Sun, 18 Feb 2018 18:16:27 GMT):
@Srini 86 if you do not see the peers mean in config.json path is wrong, search for "fabric-path" and update to you network

nfrunza (Sun, 18 Feb 2018 18:18:41 GMT):
@Srini 86 follow up http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html

donbr (Sun, 18 Feb 2018 19:02:47 GMT):
Has joined the channel.

juni (Mon, 19 Feb 2018 06:10:04 GMT):
Has joined the channel.

siribo4134 (Mon, 19 Feb 2018 09:51:51 GMT):
Has joined the channel.

siribo4134 (Mon, 19 Feb 2018 09:55:31 GMT):
Hi, I have the same problem.

siribo4134 (Mon, 19 Feb 2018 09:56:12 GMT):
llc@llc-node05:~/blockchain-explorer$ more log.log Please open Internet explorer to access :http://127.0.0.1:8080/ /home/llc/blockchain-explorer/app/helper.js:166 return channels[org][channelName]; ^ TypeError: Cannot read property 'pccchannel' of undefined at Object.getChannelForOrg (/home/llc/blockchain-explorer/app/helper.js:166:22) at getChainInfo (/home/llc/blockchain-explorer/app/query.js:91:23) at Object.getChannelHeight (/home/llc/blockchain-explorer/app/query.js:205:9) at getMaxBlockNum (/home/llc/blockchain-explorer/service/blockscanner.js:100:18) at Object.syncBlock (/home/llc/blockchain-explorer/service/blockscanner.js:40:9) at Timeout._onTimeout (/home/llc/blockchain-explorer/listener/blocklistener.js:50:22) at ontimeout (timers.js:386:11) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5)

sravs (Mon, 19 Feb 2018 10:34:02 GMT):

Clipboard - February 19, 2018 4:03 PM

RahulPadole (Mon, 19 Feb 2018 11:22:50 GMT):
Has joined the channel.

RahulPadole (Mon, 19 Feb 2018 11:26:02 GMT):
When I am running explorer ..I am getting following error on command prompt. Also I am not sure ..when I add a peer in config.json then is peer suppose to represent the peer from blockchain network running in background. Even I don't see any chaincode deployed on this peer.

RahulPadole (Mon, 19 Feb 2018 11:26:07 GMT):
2018-02-19 16:52:19.900] [ERROR] Query - Error: 2 UNKNOWN: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com") at new createStatusError (/home/padole/HyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:64:15)

RahulPadole (Mon, 19 Feb 2018 11:26:38 GMT):
Also I am not sure ..when I add a peer in config.json then is peer suppose to represent the peer from blockchain network running in background ?

vitiko (Mon, 19 Feb 2018 11:42:02 GMT):
Has joined the channel.

imranfahad (Tue, 20 Feb 2018 06:41:08 GMT):
Has joined the channel.

amir169 (Tue, 20 Feb 2018 08:03:20 GMT):
Has joined the channel.

aviralwal (Tue, 20 Feb 2018 09:47:23 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=a34d4qgh9gviE6KSj) @RahulPadole Please check whether the certificate for the peer passed is the correct one. This error appears when the incorrect certificate is passed

aviralwal (Tue, 20 Feb 2018 09:50:18 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Jd32GJLNtCAhunoEJ) @sravs in the `config.json`, check if you have used grpcs or grpc and that the peer certificate passed is the correct one. This error is either due to incorrect tls certificate passed or that there is no tls security in grpc. First check the certficate passed in tls. If that is correct then use `grpc` instead of `grpcs`

hammerstrike (Tue, 20 Feb 2018 14:12:39 GMT):
Hi, how to reset hyperledger explorer data ?

nfrunza (Tue, 20 Feb 2018 18:50:36 GMT):
@hammerstrike mysql -uroot -p < db/fabricexplorer.sql where root is your DB user for fabric

KangkanBora (Wed, 21 Feb 2018 05:39:38 GMT):
@here Hi all, greetings of the day, I want to see the current block hash , I am getting *previous block hash* and *data hash* and *block number* using node sdk, is there any method in node sdk as like java sdk to get the *current block hash*

DongkyuPark98 (Wed, 21 Feb 2018 06:44:52 GMT):
Has joined the channel.

sravs (Wed, 21 Feb 2018 06:56:24 GMT):
thank you @aviralwal i changed to grpc, it worked.... thanks alot

dumpaul33 (Wed, 21 Feb 2018 08:42:27 GMT):
Has joined the channel.

PrabhatSutar (Wed, 21 Feb 2018 13:12:37 GMT):
Has joined the channel.

Comuto (Wed, 21 Feb 2018 13:18:31 GMT):
Has joined the channel.

donald86trung (Wed, 21 Feb 2018 14:09:11 GMT):
Has joined the channel.

AldoFilho (Wed, 21 Feb 2018 16:41:54 GMT):
Has joined the channel.

nickris (Wed, 21 Feb 2018 19:11:57 GMT):
Has joined the channel.

Er1ck (Wed, 21 Feb 2018 21:55:16 GMT):
Has joined the channel.

tc-crypto (Thu, 22 Feb 2018 00:36:31 GMT):
Has joined the channel.

tc-crypto (Thu, 22 Feb 2018 00:37:50 GMT):
any idea on how to resolve this error:

tc-crypto (Thu, 22 Feb 2018 00:37:51 GMT):
^[[31merror^[[39m: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: EOF at new createStatusError (/home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:583:15

Brandon (Thu, 22 Feb 2018 01:37:00 GMT):
Failed to find a peer matching the url grpcs://127.0.0.1:7051 can somebody help me

Brandon (Thu, 22 Feb 2018 01:37:50 GMT):
[2018-02-09 15:01:44.763] [ERROR] Helper - Failed to find a peer matching the url grpcs://172.19.0.23:7051 [2018-02-09 15:01:44.767] [ERROR] Helper - Failed to find a peer matching the url grpcs://172.19.0.23:7051 /opt/hyperledger/loyalty-demo/blockchain-explorer/app/helper.js:164 it does not work peer1": { "requests": "grpcs://172.19.0.23:7051", "events": "grpcs://172.19.0.23:7053",

hammerstrike (Thu, 22 Feb 2018 11:12:58 GMT):
Hi, Is Hyperledger-Explorer free to download and Use? As I have not found any LICENSE. Can I do modifications for own purpose ?

marksta (Thu, 22 Feb 2018 15:41:43 GMT):
Has left the channel.

CaryMa (Thu, 22 Feb 2018 19:18:10 GMT):
Has joined the channel.

CaryMa (Thu, 22 Feb 2018 21:23:32 GMT):
@hammerstrike https://creativecommons.org/licenses/by/4.0/

PraveenKumar5 (Fri, 23 Feb 2018 00:45:47 GMT):
Has joined the channel.

satheeshk (Fri, 23 Feb 2018 12:40:32 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=cGDYceKAodFJKjyRm) @hammerstrike It uses Apache 2.0 license, thanks for the note. I have uploaded a patch to add LICENSE

sisea.hu (Fri, 23 Feb 2018 16:53:36 GMT):
Has joined the channel.

cbf (Fri, 23 Feb 2018 17:58:46 GMT):
Has joined the channel.

cbf (Fri, 23 Feb 2018 18:00:49 GMT):
Played with explorer after a long hiatus

cbf (Fri, 23 Feb 2018 18:00:56 GMT):
very nice

cbf (Fri, 23 Feb 2018 18:02:34 GMT):
installing mysql was a minor challenge (had not done that in ages) but the rest was a cake walk... would be even nicer if it could be installed via npm rather than git clone

cbf (Fri, 23 Feb 2018 18:03:49 GMT):
the other piece of feedback would be to be careful about referencing the 'latest' docs - you may want to explicitly reference the version of the docs that represents a specific release against which it has been tested

jodafm (Fri, 23 Feb 2018 18:54:37 GMT):
Has joined the channel.

LuckLi (Sat, 24 Feb 2018 02:15:42 GMT):
Has joined the channel.

PDLTNetwork (Sat, 24 Feb 2018 07:44:09 GMT):
Has joined the channel.

CaryMa (Sat, 24 Feb 2018 19:12:51 GMT):
Hi guys, i've noticed that explorer requires nodeJS version 6.9.x, but fabric requires 8.9.x, I am on my way setting up my first fabric network, should I be concerned of the version contradiction? or what version are you guys running with. thanks.

BV (Sat, 24 Feb 2018 22:04:54 GMT):
Has joined the channel.

yoko (Sun, 25 Feb 2018 02:44:56 GMT):
Has joined the channel.

phanikumar1210 (Sun, 25 Feb 2018 04:43:22 GMT):
Has joined the channel.

nolimitkun (Sun, 25 Feb 2018 20:40:32 GMT):
Has joined the channel.

Randyshu2018 (Mon, 26 Feb 2018 08:53:37 GMT):
Has joined the channel.

purandam (Mon, 26 Feb 2018 12:30:51 GMT):
I have configured SoftHsm in my project (node sdk [alpha]) as it is given below. bccsp: default: PKCS11 PKCS11: Library: /usr/local/Cellar/softhsm/2.1.0/lib/softhsm/libsofthsm2.so Pin: 98765432 Label: ForFabric hash: SHA2 security: 256 filekeystore: # The directory used for the software file-based keystore keystore: msp/keystore But I got error PKCS11 is not initilazied . If anybody has an idea plz share. Note: I have installed softhsm, openssl etc.

nfrunza (Mon, 26 Feb 2018 13:08:02 GMT):
@purandam is this question related to blockchain explorer project ?

sakoula (Mon, 26 Feb 2018 13:13:13 GMT):
Has joined the channel.

ttvanderveen (Mon, 26 Feb 2018 16:35:22 GMT):
Has joined the channel.

gen_el (Mon, 26 Feb 2018 18:32:30 GMT):
There is a bug in `./db/mysqlservice.js` **line 27** `var port = mysql.port?mysql.port:"3306";` should be **`var port = mysqlconfig.port?mysqlconfig.port:"3306";`**

gen_el (Mon, 26 Feb 2018 18:32:30 GMT):
There is a bug in `./db/mysqlservice.js` **line 27** `var port = mysql.port?mysql.port:"3306";` should be `var port = mysqlconfig.port?mysqlconfig.port:"3306";`

gen_el (Mon, 26 Feb 2018 18:32:30 GMT):
There is a bug in ./db/mysqlservice.js **line 27** `var port = mysql.port?mysql.port:"3306";` should be `var port = mysqlconfig.port?mysqlconfig.port:"3306";`

gen_el (Mon, 26 Feb 2018 18:32:30 GMT):
There is a bug in ./db/mysqlservice.js **line 27** `var port = mysql.port?mysql.port:"3306";` should be `var port = mysqlconfig.port?mysqlconfig.port:"3306";` . I was ignoring the new mysql port i specified in my `config.json`

gen_el (Mon, 26 Feb 2018 18:32:30 GMT):
There is a bug in ./db/mysqlservice.js **line 27** `var port = mysql.port?mysql.port:"3306";` should be `var port = mysqlconfig.port?mysqlconfig.port:"3306";` . It was ignoring the new mysql port i specified in my `config.json`

tkuhrt (Mon, 26 Feb 2018 21:38:32 GMT):
@gen_el : Thanks for finding this issue. Can you enter a Jira bug (https://jira.hyperledger.org) and if possible a PR for this change?

fabcan (Tue, 27 Feb 2018 08:39:32 GMT):
Has joined the channel.

e-nikolov (Tue, 27 Feb 2018 10:34:12 GMT):
Has joined the channel.

e-nikolov (Tue, 27 Feb 2018 10:36:46 GMT):
Has anyone else experienced issues with mysql 8.0.4?

e-nikolov (Tue, 27 Feb 2018 10:37:28 GMT):
I get this error from the logs of the block explorer: ``` ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client ```

e-nikolov (Tue, 27 Feb 2018 10:37:40 GMT):
if I revert to mysql 8.0.3, it works fine

e-nikolov (Tue, 27 Feb 2018 10:38:56 GMT):
from their release notes, it seems that some auth methods were removed in 8.0.4

gen_el (Tue, 27 Feb 2018 10:44:34 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Mf3DhXGuZZS5EFCqG) @tkuhrt Logged `https://jira.hyperledger.org/browse/BE-148`

VikasJakhar (Tue, 27 Feb 2018 20:07:24 GMT):
Has joined the channel.

Randyshu2018 (Wed, 28 Feb 2018 02:13:48 GMT):

Clipboard - 2018年2月28日上午10点12分

srini_keshav (Wed, 28 Feb 2018 08:37:05 GMT):
Has joined the channel.

tsuberg (Wed, 28 Feb 2018 13:11:43 GMT):
Has joined the channel.

arunmitteam (Thu, 01 Mar 2018 04:24:39 GMT):
Has joined the channel.

SKDHANUKA (Thu, 01 Mar 2018 17:16:52 GMT):
Has joined the channel.

AkramAlkhalil (Thu, 01 Mar 2018 19:57:52 GMT):
Has joined the channel.

arunmitteam (Fri, 02 Mar 2018 02:26:25 GMT):
Hi, can I run blockchain explorer and the fabric instance in different machines?

arunmitteam (Fri, 02 Mar 2018 02:26:26 GMT):
I made changes in config.json of the explorer to point it to a remote fabric instance. It did not work for me. So wanted to check if anyone else has tried it

arunmitteam (Fri, 02 Mar 2018 03:26:59 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=dCZTAEWYMjaPhStqC) @pancake Hi, were you able to get this resolved?

arunmitteam (Fri, 02 Mar 2018 03:27:25 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=SmWACTmcRACfQPtKb) @pancake Any luck with this issue?

arunmitteam (Fri, 02 Mar 2018 03:56:33 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ryjBisaxSNdXPBqfa) @hexelon Hi, were you able to resolve this issue?

nfrunza (Fri, 02 Mar 2018 12:01:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=A2cxcgnyRJwZTXBJt) @gen_el BE-148 is fixed and available for pull

nfrunza (Fri, 02 Mar 2018 12:04:13 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=P57SMnzmbAAqg3Aah) @arunmitteam please verify if you have that files, and i see you have under blockchain-explorer directory fabric-docker-composer, your network should not reside under blockchain explorer directory

nfrunza (Fri, 02 Mar 2018 12:05:46 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=caP7oR9D7EuJEeHxY) @arunmitteam please verify if you have that files, and i see you have under blockchain-explorer directory fabric-docker-composer, your network should not reside under blockchain explorer directory

nfrunza (Fri, 02 Mar 2018 12:05:46 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=caP7oR9D7EuJEeHxY) @arunmitteam please verify if you have that file, and i see you have under blockchain-explorer directory fabric-docker-composer, your network should not reside under blockchain explorer directory

xmoooz (Fri, 02 Mar 2018 16:12:35 GMT):
Has joined the channel.

arunmitteam (Fri, 02 Mar 2018 20:09:59 GMT):
Hi @nfrunza I'm trying to connect to a remote fabric instance. is that possible? Have sent you a DM. Thanks again for the help and response.

arunmitteam (Fri, 02 Mar 2018 20:18:03 GMT):
I'm able to connect the explorer to a local fabric instance and the app runs fine. But I see the below error in the logs - Query - Error: 12 UNIMPLEMENTED: unknown service protos.Endorser Has anyone seen this error.

arunmitteam (Fri, 02 Mar 2018 21:25:42 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=MxdBLYvpyvYR9AQ4A) I was able to resolve this issue myself. config.json was modified to point to the correct peer and orderer port number.

siva2guru (Sat, 03 Mar 2018 07:15:28 GMT):
Has joined the channel.

vmuravyev (Sat, 03 Mar 2018 11:37:34 GMT):
Has joined the channel.

KiranKM (Sat, 03 Mar 2018 11:42:24 GMT):
Has joined the channel.

gen_el (Sat, 03 Mar 2018 12:01:13 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=5W9je5vvgowuaMJfT) @nfrunza How do i contribute code?

brendonakay (Sat, 03 Mar 2018 14:30:59 GMT):
Has joined the channel.

kevinstr (Sat, 03 Mar 2018 17:30:50 GMT):
Has joined the channel.

kakashi 2 (Sun, 04 Mar 2018 04:16:54 GMT):
Has joined the channel.

dhiraj18 (Sun, 04 Mar 2018 12:32:37 GMT):
Has joined the channel.

anil.k (Sun, 04 Mar 2018 18:03:14 GMT):
Has joined the channel.

GiorgiBlockchain (Mon, 05 Mar 2018 03:37:01 GMT):
Has joined the channel.

kangkan91 (Mon, 05 Mar 2018 05:35:22 GMT):
Has joined the channel.

kangkan91 (Mon, 05 Mar 2018 05:57:12 GMT):
Hi all, I am using node sdk for quering and getting info for blocks and able to extract the info for a particular block but I am not able to find current Hash of a particular block, there is one method which return current hash but I think that is for most recent block that has been created , so if I want to get current Hash for every block is there any way to calculate it using *previousHash* *blockNumber* and *dataHash* as the definitions says. Thanks in advance .

nfrunza (Mon, 05 Mar 2018 11:42:49 GMT):
@kangkan91 please ask in https://chat.hyperledger.org/channel/fabric

nfrunza (Mon, 05 Mar 2018 11:53:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=eTi9LSsD9pvcZXtLh) @gen_el Thank you for reaching out and wishing to contribute, see https://github.com/hyperledger/blockchain-explorer/blob/master/CONTRIBUTING.md , you'll need a linux foundation account, you can find how to create one in the CONTRIBUTING.md file

nfrunza (Mon, 05 Mar 2018 11:53:45 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=eTi9LSsD9pvcZXtLh) @gen_el Thank you for reaching out and wishing to contribute, see https://github.com/hyperledger/blockchain-explorer/blob/master/CONTRIBUTING.md , you'll need a linux foundation account, you can find how to create one in the http://hyperledger-fabric.readthedocs.io/en/latest/Gerrit/lf-account.html

Kasio24 (Mon, 05 Mar 2018 13:26:38 GMT):
Has joined the channel.

rjones (Tue, 06 Mar 2018 01:56:31 GMT):
Has left the channel.

oplmzaq2 (Tue, 06 Mar 2018 03:09:33 GMT):
Has joined the channel.

shivann (Tue, 06 Mar 2018 05:35:58 GMT):
Hi Team, I am trying *Https* call to BlockExplorer application but the websocket is throwing error saying use wss call

shivann (Tue, 06 Mar 2018 05:35:58 GMT):
Hi Team, I am trying *Https* call to BlockExplorer application but the websocket is throwing error saying use wss call, did any one face this kind of issue, any solution, thanks in advance.

magicliang (Tue, 06 Mar 2018 10:23:06 GMT):
Has joined the channel.

minfun (Tue, 06 Mar 2018 13:40:21 GMT):
Has joined the channel.

wininani (Tue, 06 Mar 2018 14:29:43 GMT):
hyperledger explorer uses which technique to generate hash??

wininani (Tue, 06 Mar 2018 14:30:06 GMT):
and i want to decrypt the data hash from explorer to data..can any one help?

nfrunza (Tue, 06 Mar 2018 14:49:15 GMT):
@wininani hyperledger explorer doesn't generate hash, we read from the fabric

pb (Wed, 07 Mar 2018 05:20:03 GMT):
hi

shankar.borate (Wed, 07 Mar 2018 10:48:06 GMT):
Has joined the channel.

nfrunza (Wed, 07 Mar 2018 12:03:14 GMT):
hi

adamk1230 (Wed, 07 Mar 2018 14:47:37 GMT):
Has joined the channel.

joseph0411 (Wed, 07 Mar 2018 15:22:08 GMT):
Has joined the channel.

vishwasbalakrishna (Wed, 07 Mar 2018 21:29:13 GMT):
Has joined the channel.

cheukchan (Thu, 08 Mar 2018 05:24:40 GMT):
Has joined the channel.

liujinzhong (Thu, 08 Mar 2018 09:33:42 GMT):
Has joined the channel.

xwlean (Thu, 08 Mar 2018 14:53:03 GMT):
Has joined the channel.

gbolarhan (Thu, 08 Mar 2018 16:48:16 GMT):
Has joined the channel.

psingh 2 (Thu, 08 Mar 2018 19:22:59 GMT):
Has joined the channel.

Gandalf (Fri, 09 Mar 2018 03:57:16 GMT):
Has joined the channel.

HargobindGupta (Fri, 09 Mar 2018 09:07:52 GMT):
Has joined the channel.

HargobindGupta (Fri, 09 Mar 2018 09:08:03 GMT):
Hi

HargobindGupta (Fri, 09 Mar 2018 09:09:05 GMT):
The Blockchain explorer setup is with mysql, Is there any documentation to configure it with postgres.

ajay_konda (Fri, 09 Mar 2018 09:35:31 GMT):
Has joined the channel.

VenkateshMuthyala (Fri, 09 Mar 2018 09:46:06 GMT):
Has joined the channel.

nfrunza (Fri, 09 Mar 2018 13:39:04 GMT):
Please checkout in a week or two, we are planning to have postgres

jcap (Fri, 09 Mar 2018 15:30:47 GMT):
Has joined the channel.

jcap (Fri, 09 Mar 2018 15:31:19 GMT):
I've been standing up a fabric stack and one thing i've noticed is that when explorer comes up, it doesn't show my (currently) 1 peer

jcap (Fri, 09 Mar 2018 15:31:30 GMT):
but if simply down that explorer container

jcap (Fri, 09 Mar 2018 15:31:33 GMT):
and bring it back up

jcap (Fri, 09 Mar 2018 15:31:36 GMT):
it does suddenly

jcap (Fri, 09 Mar 2018 15:31:45 GMT):
is there some sort of race condition perhaps I am causing?

jcap (Fri, 09 Mar 2018 15:32:37 GMT):
to clarify, this goes from 0 -> orderers, peers, mysql for explorer, and explorer all in one go

nfrunza (Fri, 09 Mar 2018 23:28:14 GMT):
@jcap can i see your config.json ?

lvzewen (Sat, 10 Mar 2018 07:25:30 GMT):
Has joined the channel.

ShereenSallam (Sat, 10 Mar 2018 12:22:36 GMT):
Has joined the channel.

ShereenSallam (Sat, 10 Mar 2018 12:22:51 GMT):
User User_1 added by ShereenSallam.

ShereenSallam (Sat, 10 Mar 2018 12:22:51 GMT):
User User_2 added by ShereenSallam.

maddydev (Sat, 10 Mar 2018 23:29:46 GMT):
Has joined the channel.

PabitraMartha (Sun, 11 Mar 2018 08:28:37 GMT):
Has joined the channel.

JoeyKirkman (Sun, 11 Mar 2018 10:29:56 GMT):
Has joined the channel.

HargobindGupta (Sun, 11 Mar 2018 14:23:11 GMT):
@nfrunza I have tried below steps to configure postgres but still fails to load explorer.Can you please have a look 1.imported node module -pg. 2.Converted fabricexplorer.sql script for postgres and created the required database and tables.

HargobindGupta (Sun, 11 Mar 2018 14:24:12 GMT):
3.Added this in config.json "psql": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "postgres", "passwd": "******" }

HargobindGupta (Sun, 11 Mar 2018 14:25:02 GMT):
4.modified mysqlservice.js as attached.

HargobindGupta (Sun, 11 Mar 2018 14:26:21 GMT):

mysqlservice_pg.txt

HargobindGupta (Sun, 11 Mar 2018 14:27:31 GMT):
@nfrunza Can you please point out if I am missing out anything here.

nfrunza (Sun, 11 Mar 2018 21:55:33 GMT):
@HargobindGupta you can look in release-3 branch, it is still in development but using posrgress db

nfrunza (Sun, 11 Mar 2018 21:56:28 GMT):
@HargobindGupta FYI, the UI is still in development

MasthanbeeShaik_123 (Mon, 12 Mar 2018 12:04:13 GMT):
Has joined the channel.

headjam (Mon, 12 Mar 2018 14:48:00 GMT):
Has joined the channel.

jcap (Mon, 12 Mar 2018 14:49:49 GMT):
@nfrunza sure, but how redacted can it be, or is there a specific section of interest?

nfrunza (Mon, 12 Mar 2018 23:12:01 GMT):
@jcap would you be kind to rephrase your question? what do you expect? explorer is configured to a network that runs in your local environment, it will listen to the messages from fabric and insert blocks/transactions into explorer DB

VandanaMathur (Tue, 13 Mar 2018 03:22:44 GMT):
Has joined the channel.

HargobindGupta (Tue, 13 Mar 2018 10:47:25 GMT):
@nfrunza Thankyou :)

jspark84 (Tue, 13 Mar 2018 13:10:50 GMT):
Has joined the channel.

zimabry (Tue, 13 Mar 2018 13:14:30 GMT):
Has joined the channel.

maya1982 (Tue, 13 Mar 2018 15:13:28 GMT):
Has joined the channel.

akshaynet (Tue, 13 Mar 2018 17:24:12 GMT):
Has joined the channel.

akshaynet (Tue, 13 Mar 2018 17:29:12 GMT):
As per the capabilities mentioned at - https://www.hyperledger.org/projects/explorer - through hyperledger-explorer we can view, invoke, deploy or query blocks, transactions and associated data, network information (name, status, list of nodes), chain codes and transaction families, as well as any other relevant information stored in the ledger. I have successfully installed the explorer following the instructions given at https://github.com/hyperledger/blockchain-explorer. But I can see only view optoins for PEERS, BLOCKS, TRANSACTIONS, etc., but there is no option for deploy, query or invoke. Looking for help on this from the fellow members of this group.

grice_32 (Tue, 13 Mar 2018 19:06:09 GMT):
Has anyone deployed a composer network to Fabric and opened it up to Explorer?

nfrunza (Tue, 13 Mar 2018 19:20:13 GMT):
@akshaynet thank you for the findings, we will review and let you know

lucasdf (Tue, 13 Mar 2018 19:23:27 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=BRHkMJi6c94uabRYe) @akshaynet there were some APIs provided by Explorer in earlier versions that allowed invoking and querying chaincodes. These APIs were removed a few commits ago.

lucasdf (Tue, 13 Mar 2018 19:23:58 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ohyadLPjjTWmw4RWW) @grice_32 yes!

nfrunza (Tue, 13 Mar 2018 19:24:31 GMT):
@lucasdf do you know approximate date when it has those capabilities?

lucasdf (Tue, 13 Mar 2018 19:27:49 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=R7vaiMSoYB4t3uRbq) @nfrunza those APIs were removed in this commit https://github.com/hyperledger/blockchain-explorer/commit/b8ac105c44ca678550bf365a765863a2f8ab83a7 .

nfrunza (Tue, 13 Mar 2018 19:29:48 GMT):
@lucasdf thank you for looking

ittomato (Tue, 13 Mar 2018 23:44:36 GMT):
Has joined the channel.

alexdevassy (Wed, 14 Mar 2018 04:49:22 GMT):
Has joined the channel.

alexdevassy (Wed, 14 Mar 2018 04:50:03 GMT):
Does anyone know how to configure blockchain explorer, so that it can work with composer network deployed in fabric?

ittomato (Wed, 14 Mar 2018 04:56:56 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=NnZSAtm2RZQjc4Y3T) @alexdevassy modify your config.json configure to connect your local hyperledger fabric~

alexdevassy (Wed, 14 Mar 2018 04:59:26 GMT):
what are these variables in config.json mean ? "GOPATH":"../artifacts", "keyValueStore":"/tmp/fabric-client-kvs",

ittomato (Wed, 14 Mar 2018 08:29:23 GMT):

微信截图_20180314162054.png

yopep (Wed, 14 Mar 2018 09:06:58 GMT):
Has joined the channel.

nfrunza (Wed, 14 Mar 2018 11:01:27 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=SKuxKhKwPXQdxg9Tj) @alexdevassy GOPATH is the GO language path for the fabric, keyValueStore is the location of the keys private and public to authenticate the client in this case the explorer

nfrunza (Wed, 14 Mar 2018 13:36:18 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=duugH9q8WG4LZ4wZq) @ittomato we do not store all the data in explorer now, but in the feature release we plan to, you can see more at the node sdk, https://github.com/hyperledger/fabric-sdk-node

patelan (Wed, 14 Mar 2018 15:20:48 GMT):
Has joined the channel.

umadiraj (Wed, 14 Mar 2018 17:49:08 GMT):
Has joined the channel.

nfrunza (Wed, 14 Mar 2018 21:09:56 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=7Gmf5bwc27skXsMhv) take a look at the tut: https://fabric-sdk-node.github.io/module-api.KeyValueStore.html

nfrunza (Wed, 14 Mar 2018 21:21:56 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=BRHkMJi6c94uabRYe) @akshaynet Thank you for addressing the issue, we created a jira https://jira.hyperledger.org/browse/BE-204

ittomato (Thu, 15 Mar 2018 00:39:19 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=H6pMmSrMqdxtYHWMn) @nfrunza so now, what's the data explorer store? now the data field have some format data ,can you tell me what's this ? thank you very much. happy day

BhushanBaviskar (Thu, 15 Mar 2018 10:12:25 GMT):
Has joined the channel.

nfrunza (Thu, 15 Mar 2018 11:48:16 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=vPXkGitz2ttMMTZ8h) @ittomato Please take a look at the data models https://github.com/hyperledger/blockchain-explorer/blob/master/db/fabricexplorer.sql

MasthanbeeShaik_123 (Thu, 15 Mar 2018 13:02:04 GMT):
Hello Team, I have configured the blockchain explorer. How can we see the transaction details of a particular block?. Please help me out.

LuckyMart (Thu, 15 Mar 2018 13:20:58 GMT):
Has joined the channel.

vchinoy (Thu, 15 Mar 2018 13:23:08 GMT):
Has joined the channel.

nfrunza (Thu, 15 Mar 2018 13:39:16 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=RSv32cD6EHM4Fhq7K) @MasthanbeeShaik_123 You can either search by transaction hash, or click on block number and in details screen click on transaction hash

MasthanbeeShaik_123 (Thu, 15 Mar 2018 13:50:39 GMT):
It shows the details of the block like previous hash and current hash etc.,

MasthanbeeShaik_123 (Thu, 15 Mar 2018 13:52:57 GMT):

data.PNG

MasthanbeeShaik_123 (Thu, 15 Mar 2018 13:52:59 GMT):

block.PNG

MasthanbeeShaik_123 (Thu, 15 Mar 2018 13:54:33 GMT):
In the data.png the data is displayed as numbers. can u please what exactly it measn

MasthanbeeShaik_123 (Thu, 15 Mar 2018 13:54:33 GMT):
In the data.png the data is displayed as numbers. can u please what exactly it means.

MasthanbeeShaik_123 (Thu, 15 Mar 2018 13:54:33 GMT):
In the data.png picture the data is displayed as numbers. can u please tell me what exactly it means.

kidrecursive (Thu, 15 Mar 2018 15:29:34 GMT):
Has joined the channel.

nfrunza (Thu, 15 Mar 2018 17:58:43 GMT):
That is the encrypted data, and is being encrypted before storing into the chaincode(smart contract)

nfrunza (Thu, 15 Mar 2018 17:58:43 GMT):
I need to verify

nfrunza (Thu, 15 Mar 2018 18:00:28 GMT):
The encryption key is not always shared it depends on the chanicode and parties on transaction

nfrunza (Thu, 15 Mar 2018 18:00:28 GMT):
need verification

nfrunza (Thu, 15 Mar 2018 18:01:20 GMT):
Take a look at the : http://hyperledger-fabric.readthedocs.io/en/latest/fabric_model.html#chaincode

nfrunza (Thu, 15 Mar 2018 18:02:40 GMT):
To further obfuscate the data, values within chaincode can be encrypted (in part or in total) using common cryptographic algorithms such as AES before sending transactions to the ordering service and appending blocks to the ledger. Once encrypted data has been written to the ledger, it can only be decrypted by a user in possession of the corresponding key that was used to generate the cipher text. For further details on chaincode encryption, see the Chaincode for Developers topic.

nfrunza (Thu, 15 Mar 2018 18:02:40 GMT):
need verification

blockgeek (Thu, 15 Mar 2018 18:31:53 GMT):
Has joined the channel.

Amir (Thu, 15 Mar 2018 23:41:39 GMT):
@nfrunza I think what is stated in ( http://hyperledger-fabric.readthedocs.io/en/latest/fabric_model.html#chaincode) is the privacy of the chaincode not the data on the blockchain. it seems what is actually written in the chain is the raw data. and the numbers from @MasthanbeeShaik_123 image seems an ascii code (I may be wrong but that is what it looks)

Amir (Thu, 15 Mar 2018 23:42:22 GMT):
if you change the numbers to char you will find this string "miracleseft-blockchain"

Amir (Thu, 15 Mar 2018 23:43:14 GMT):
@MasthanbeeShaik_123 did the string that you wrote to the chain include "miracleseft-blockchain" ?

ittomato (Fri, 16 Mar 2018 00:25:19 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ogn7xq6q7PWtRo4Ha) @MasthanbeeShaik_123 can u please tell me what it means too, thanks.

ittomato (Fri, 16 Mar 2018 03:07:16 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=DhiyW4j8v35mcYNdn) @nfrunza it all store the data of hash?

yinzhiwu (Fri, 16 Mar 2018 09:45:12 GMT):
Has joined the channel.

nikbole90 (Fri, 16 Mar 2018 11:50:08 GMT):
Has joined the channel.

h.sibyani (Fri, 16 Mar 2018 13:33:14 GMT):
Has joined the channel.

nfrunza (Fri, 16 Mar 2018 17:06:19 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=LE6jpXzxB4Z6RRWSm) @ittomato As of of now we store not all data, we are in the process of modeling DB.

ittomato (Sat, 17 Mar 2018 03:35:05 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=2Fcov6oPsPgqeotdF) @nfrunza thanks for your answer,happy day!

JulianGordonHK (Sat, 17 Mar 2018 09:54:51 GMT):
Has joined the channel.

anrgbndhu (Sun, 18 Mar 2018 07:21:29 GMT):
Has joined the channel.

rrantzau (Sun, 18 Mar 2018 18:48:43 GMT):
Has joined the channel.

shaji.narayanan (Sun, 18 Mar 2018 21:34:11 GMT):
Has joined the channel.

bh4rtp (Mon, 19 Mar 2018 06:12:32 GMT):
Has joined the channel.

Unni_1994 (Mon, 19 Mar 2018 11:31:23 GMT):
Has joined the channel.

Legiit (Mon, 19 Mar 2018 14:22:52 GMT):
Has joined the channel.

am (Mon, 19 Mar 2018 18:01:01 GMT):
Has joined the channel.

gewing (Mon, 19 Mar 2018 19:16:49 GMT):
Has joined the channel.

joshuajeeson (Mon, 19 Mar 2018 19:36:38 GMT):
Has joined the channel.

ledgerblocks (Mon, 19 Mar 2018 22:34:31 GMT):
Has joined the channel.

ashishapy (Tue, 20 Mar 2018 00:33:22 GMT):
Has joined the channel.

ck0316 (Tue, 20 Mar 2018 03:43:29 GMT):
Has joined the channel.

lwrabbit (Tue, 20 Mar 2018 10:02:43 GMT):
Has joined the channel.

phal0r (Tue, 20 Mar 2018 10:19:01 GMT):
Has joined the channel.

rajivgandhi2010 (Tue, 20 Mar 2018 12:00:14 GMT):
Has joined the channel.

ShikarSharma (Tue, 20 Mar 2018 22:33:29 GMT):
Has joined the channel.

chaz8080 (Wed, 21 Mar 2018 02:10:23 GMT):
Has joined the channel.

mbouabid (Wed, 21 Mar 2018 07:35:58 GMT):
Has joined the channel.

rahulagarwal30 (Wed, 21 Mar 2018 08:42:18 GMT):
Has joined the channel.

PierreHenry (Wed, 21 Mar 2018 08:51:24 GMT):
Has joined the channel.

BlockMcChainy (Wed, 21 Mar 2018 08:59:01 GMT):
Has joined the channel.

NAWAZUDDIN552 (Wed, 21 Mar 2018 09:14:08 GMT):
Has joined the channel.

BlockMcChainy (Wed, 21 Mar 2018 10:16:07 GMT):
I want to configure my block-chain/config.json file to connect to my Hyperledger composer business network project. But I can't seem to get it right. and the error messages in log.log are also not very helpful.

expertblockdev2910 (Wed, 21 Mar 2018 15:55:37 GMT):
Has joined the channel.

nfrunza (Wed, 21 Mar 2018 17:15:22 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Brb3od7L5ueiyKDT4) @BlockMcChainy is your network up and running? I would suggest you go over http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html , then you can try composer

agnivanshi (Wed, 21 Mar 2018 19:45:19 GMT):
Has joined the channel.

suntoe (Thu, 22 Mar 2018 03:47:40 GMT):
Has joined the channel.

floatware (Thu, 22 Mar 2018 05:07:51 GMT):
Has joined the channel.

darunk67 (Thu, 22 Mar 2018 09:07:35 GMT):
Has joined the channel.

AlbertCL (Thu, 22 Mar 2018 10:43:49 GMT):
Has joined the channel.

SashiKanth (Thu, 22 Mar 2018 12:35:26 GMT):
Has joined the channel.

StevenSiahetiong (Fri, 23 Mar 2018 02:06:50 GMT):
Has joined the channel.

PrashantS (Fri, 23 Mar 2018 03:15:13 GMT):
Has joined the channel.

MrLongmire (Fri, 23 Mar 2018 07:51:25 GMT):
Has joined the channel.

andreamagagna (Fri, 23 Mar 2018 09:50:37 GMT):
Has joined the channel.

andreamagagna (Fri, 23 Mar 2018 09:55:12 GMT):
Hi everybody, does anyone know how to run the query `GET host:port/chain/blocks/{block-id}` in Fabric?

Exci (Fri, 23 Mar 2018 10:04:49 GMT):
Has joined the channel.

nfrunza (Fri, 23 Mar 2018 10:52:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=aFCaxTugGGFr8f9eo) @andreamagagna , please ask in https://chat.hyperledger.org/channel/fabric

BryanSparks (Fri, 23 Mar 2018 13:58:00 GMT):
Has joined the channel.

Exci (Fri, 23 Mar 2018 16:18:20 GMT):
Hi. I'm getting a lot of timeout errors in the explorer's logs while I'm invoking transactions in parallel to having explorer active. For a few minutes the explorer will not be loading the new blocks that are added. Some examples: ``` [2018-03-23 17:13:25.380] [ERROR] Query - Error: REQUEST_TIMEOUT at Timeout._onTimeout (/home/me/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:124:19) ``` ``` error: [Channel.js]: Failed Query block. Error: Error: REQUEST_TIMEOUT ``` ``` error: [Channel.js]: Failed Query channel info. Error: Error: REQUEST_TIMEOUT at Timeout._onTimeout (/home/exci/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:124:19) ``` I see that the documentation mentions the explorer is working for Fabric 1.0. Is there a known issue when working with version 1.1?

GurvinderSingh1 (Fri, 23 Mar 2018 16:59:30 GMT):
Has joined the channel.

GurvinderSingh1 (Fri, 23 Mar 2018 17:00:26 GMT):
Hi. Where is the best documentation or place to start for a UI developer trying to use Hyperledger Explorer for the first time?

chitambaramp (Sat, 24 Mar 2018 12:03:39 GMT):
Has joined the channel.

npc0405 (Sat, 24 Mar 2018 12:40:06 GMT):
Has joined the channel.

ittomato (Sat, 24 Mar 2018 15:10:42 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=ogn7xq6q7PWtRo4Ha) @MasthanbeeShaik_123 can tell me too

ittomato (Sat, 24 Mar 2018 15:17:12 GMT):

微信截图_20180324231642.png

ittomato (Sat, 24 Mar 2018 15:18:17 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=8g6J6WsdGy2TMgzD9) [ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=8g6J6WsdGy2TMgzD9) where is the peerlist's org config? how can i do ? thank you

nfrunza (Sat, 24 Mar 2018 15:48:02 GMT):
Has left the channel.

DUY_TA_CONG (Sat, 24 Mar 2018 19:49:54 GMT):
Has joined the channel.

AntoniosHadji (Sat, 24 Mar 2018 22:46:45 GMT):
Has joined the channel.

FrankieCheng (Sun, 25 Mar 2018 00:08:27 GMT):
Has joined the channel.

maqiutian (Sun, 25 Mar 2018 01:58:52 GMT):
Has joined the channel.

ittomato (Sun, 25 Mar 2018 02:12:30 GMT):
hello everybody?

ittomato (Sun, 25 Mar 2018 02:15:47 GMT):
where is to config the peerlist's org name ?

maqiutian (Sun, 25 Mar 2018 02:17:26 GMT):

1.png

maqiutian (Sun, 25 Mar 2018 02:17:27 GMT):

2.png

ittomato (Sun, 25 Mar 2018 02:25:48 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=GMYj3FSH3mcQA7AR8) @maqiutian npm install ,and try again .

maqiutian (Sun, 25 Mar 2018 02:33:11 GMT):
@ittomato thanks ,it works

maqiutian (Sun, 25 Mar 2018 02:34:08 GMT):
@ittomato are u from china?

ittomato (Sun, 25 Mar 2018 02:34:20 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=wyoCrw8bDzAwTdmgh) @maqiutian you are welcome !

swpnl7 (Sun, 25 Mar 2018 05:33:58 GMT):
Has joined the channel.

maqiutian (Sun, 25 Mar 2018 16:31:01 GMT):

2.png

maqiutian (Sun, 25 Mar 2018 16:31:02 GMT):

1.png

formax (Sun, 25 Mar 2018 19:26:53 GMT):
Has left the channel.

vchinoy (Sun, 25 Mar 2018 19:35:07 GMT):
@GurvinderSingh1 https://github.com/hyperledger/blockchain-explorer

fgtortosa (Sun, 25 Mar 2018 19:42:11 GMT):
Has joined the channel.

ittomato (Mon, 26 Mar 2018 00:52:29 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=nfcJvWxupdTPYixGY) @maqiutian yeah.GuanDong Province.

ccebrecos (Mon, 26 Mar 2018 10:31:28 GMT):
Hi, i'm running npm install at directory /app/test as the installation says and getting the following error: npm WARN hyperledger-explorer-test@0.3.0 No repository field. i've tried at branch release-3 and relase-3.1

ccebrecos (Mon, 26 Mar 2018 10:31:38 GMT):
does anyone knows how to fix it ?

ccebrecos (Mon, 26 Mar 2018 10:31:38 GMT):
does anyone know how to fix it ?

MasthanbeeShaik_123 (Mon, 26 Mar 2018 12:09:29 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=3g7sAuYfmaFG4aizK) @ittomato I am also searching for that. But someone told that is the encryption form of the data. But not sure about what the data is and how that data is displayed in that encrypted format.

edwardsm26 (Mon, 26 Mar 2018 13:47:16 GMT):
Has joined the channel.

edwardsm26 (Mon, 26 Mar 2018 13:58:36 GMT):
@ccebrecos Hi, That is just a warning but it doesn't cause any errors. If you encounter any problems doing the npm run test in the blockchain-explorer/client folder , just delete the node-modules in client , and do another npm install

edwardsm26 (Mon, 26 Mar 2018 14:31:23 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=PCXEJuydMt8oBd4Pa) @maqiutian Hi can you try stopping the ./start.sh script and doing a sudo service postgresql restart so you can restart your db. Once that is done try repeating the steps again.

arash_sr7 (Mon, 26 Mar 2018 15:42:30 GMT):
Has joined the channel.

Tuoba (Mon, 26 Mar 2018 19:38:08 GMT):
Has joined the channel.

pankajcheema (Tue, 27 Mar 2018 07:04:30 GMT):
Has joined the channel.

pankajcheema (Tue, 27 Mar 2018 07:04:38 GMT):
Hi All

pankajcheema (Tue, 27 Mar 2018 07:07:02 GMT):
I am trying to execute this command ```lovepreet@Php:~/fabric-samples/blockchain-explorer$ sudo -u postgres psql sudo: unknown user: postgres sudo: unable to initialize policy plugin```

pankajcheema (Tue, 27 Mar 2018 07:07:11 GMT):
Can anyone help me?

pankajcheema (Tue, 27 Mar 2018 07:10:57 GMT):
@DannyWong

pankajcheema (Tue, 27 Mar 2018 07:11:00 GMT):
@DRSK

pankajcheema (Tue, 27 Mar 2018 07:11:05 GMT):
@darrell.odonnell

darrell.odonnell (Tue, 27 Mar 2018 07:11:05 GMT):
Has joined the channel.

pankajcheema (Tue, 27 Mar 2018 07:11:12 GMT):
@DongkyuPark98

pankajcheema (Tue, 27 Mar 2018 07:11:18 GMT):
@andreamagagna

andreamagagna (Tue, 27 Mar 2018 07:14:35 GMT):
I'm sorry, I'm new to this project and I've just joined the channel

pankajcheema (Tue, 27 Mar 2018 09:21:10 GMT):
Its ok @andreamagagna

pankajcheema (Tue, 27 Mar 2018 09:21:26 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=Eyxjnv34MphRmF8T6) This error has been fixed

pankajcheema (Tue, 27 Mar 2018 09:22:01 GMT):
Guys I am trying to run Hyperledger Explorer. But it shows the following error ```postgres://hppoc:password@localhost:5432/fabricexplorer events.js:112 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE :::8080 at Object._errnoException (util.js:1003:13) at _exceptionWithHostPort (util.js:1024:20) at Server.setupListenHandle [as _listen2] (net.js:1353:14) at listenInCluster (net.js:1394:12) at Server.listen (net.js:1482:7) at Object. (/home/lovepreet/fabric-samples/blockchain-explorer/main.js:445:19) at Module._compile (module.js:662:30) at Object.Module._extensions..js (module.js:673:10) at Module.load (module.js:575:32) at tryModuleLoad (module.js:515:12)```

pankajcheema (Tue, 27 Mar 2018 09:22:06 GMT):
in the logs file

pankajcheema (Tue, 27 Mar 2018 09:30:22 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=3e4ftHcD9JmjbrbtF) Fixed

andreamagagna (Tue, 27 Mar 2018 10:00:54 GMT):
Hi all I'm trying to run Explorer, but I get this messages in the log file: `postgres://hppoc:password@localhost:5432/fabricexplorer Please open web browser to access :http://localhost:8080/ E0327 11:50:55.660152309 6662 ssl_transport_security.cc:979] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. ESC[31merrorESC[39m: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed`

andreamagagna (Tue, 27 Mar 2018 10:01:43 GMT):
Hi all, I'm trying to run Explorer, but I get these messages from the log file: ``` postgres://hppoc:password@localhost:5432/fabricexplorer Please open web browser to access :http://localhost:8080/ E0327 11:50:55.660152309 6662 ssl_transport_security.cc:979] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. ESC[31merrorESC[39m: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed ```

andreamagagna (Tue, 27 Mar 2018 10:01:53 GMT):
Does anyone know how to fix this?

Preetam007 (Tue, 27 Mar 2018 13:12:56 GMT):
Has joined the channel.

edwardsm26 (Tue, 27 Mar 2018 15:55:17 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=r3xjYw9Qbg6hDrYSh) @andreamagagna Hi , would you be able to show me what your config.json setup looks like ?

pankajcheema (Wed, 28 Mar 2018 05:14:09 GMT):
anyone facing this error in log.log while executing start.sh and shows blank screen at http://localhost:8080

pankajcheema (Wed, 28 Mar 2018 05:14:15 GMT):
`fs.js:693 return binding.read(fd, buffer, offset, length, position); ^ Error: EISDIR: illegal operation on a directory, read at Object.fs.readSync (fs.js:693:18) at tryReadSync (fs.js:557:20) at Object.fs.readFileSync (fs.js:600:19) at setupPeers (/home/sawan/Desktop/hyperledgerExplorer/blockchain-explorer/app/helper.js:60:19) at Object.createDefault (/home/sawan/Desktop/hyperledgerExplorer/blockchain-explorer/app/helper.js:50:4) at Object.start (/home/sawan/Desktop/hyperledgerExplorer/blockchain-explorer/app/timer/timer.js:38:12) at Object. (/home/sawan/Desktop/hyperledgerExplorer/blockchain-explorer/main.js:23:7) at Module._compile (module.js:660:30) at Object.Module._extensions..js (module.js:671:10) at Module.load (module.js:573:32)`

pankajcheema (Wed, 28 Mar 2018 05:14:15 GMT):
`fs.js:693 return binding.read(fd, buffer, offset, length, position); ^ Error: EISDIR: illegal operation on a directory, read at Object.fs.readSync (fs.js:693:18) at tryReadSync (fs.js:557:20) at Object.fs.readFileSync (fs.js:600:19) at setupPeers (/home/pankaj/Desktop/hyperledgerExplorer/blockchain-explorer/app/helper.js:60:19) at Object.createDefault (/home/pankaj/Desktop/hyperledgerExplorer/blockchain-explorer/app/helper.js:50:4) at Object.start (/home/pankaj/Desktop/hyperledgerExplorer/blockchain-explorer/app/timer/timer.js:38:12) at Object. (/home/pankaj/Desktop/hyperledgerExplorer/blockchain-explorer/main.js:23:7) at Module._compile (module.js:660:30) at Object.Module._extensions..js (module.js:671:10) at Module.load (module.js:573:32)`

pankajcheema (Wed, 28 Mar 2018 05:14:15 GMT):
```fs.js:693 return binding.read(fd, buffer, offset, length, position); ^ Error: EISDIR: illegal operation on a directory, read at Object.fs.readSync (fs.js:693:18) at tryReadSync (fs.js:557:20) at Object.fs.readFileSync (fs.js:600:19) at setupPeers (/home/pankaj/Desktop/hyperledgerExplorer/blockchain-explorer/app/helper.js:60:19) at Object.createDefault (/home/pankaj/Desktop/hyperledgerExplorer/blockchain-explorer/app/helper.js:50:4) at Object.start (/home/pankaj/Desktop/hyperledgerExplorer/blockchain-explorer/app/timer/timer.js:38:12) at Object. (/home/pankaj/Desktop/hyperledgerExplorer/blockchain-explorer/main.js:23:7) at Module._compile (module.js:660:30) at Object.Module._extensions..js (module.js:671:10) at Module.load (module.js:573:32)```

pankajcheema (Wed, 28 Mar 2018 05:28:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=6WdMcTxDAJwpYdz9Y) fixed error in ca.crt path

pankajcheema (Wed, 28 Mar 2018 06:49:33 GMT):
anyone facing this error after starting start.sh

pankajcheema (Wed, 28 Mar 2018 06:49:38 GMT):
```[2018-03-28 12:13:03.910] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/home/sawan/Desktop/hyperledgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/home/sawan/Desktop/hyperledgerExplorer/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getOrgAdmin.then (/home/sawan/Desktop/hyperledgerExplorer/blockchain-explorer/app/query.js:98:18) at [2018-03-28 12:13:03.911] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/sawan/Desktop/hyperledgerExplorer/blockchain-explorer/app/query.js:213:24) at ```

pankajcheema (Wed, 28 Mar 2018 06:49:48 GMT):
please help

pankajcheema (Wed, 28 Mar 2018 06:52:59 GMT):
@edwardsm26

pankajcheema (Wed, 28 Mar 2018 06:54:03 GMT):
@MasthanbeeShaik_123

pankajcheema (Wed, 28 Mar 2018 06:54:22 GMT):
@ittomato

pankajcheema (Wed, 28 Mar 2018 07:49:44 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=TnrMEM8s2cZ7ZX38B) fixed error in node modules

andreamagagna (Wed, 28 Mar 2018 08:55:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=89sp3MmdN7kWyQCXp) @edwardsm26 Hi thanks for the reply, but I've just figured out that explorer was not what i was looking for... I wanted to make queries to the ledger and I'm trying to usd sdk node now

andreamagagna (Wed, 28 Mar 2018 08:56:28 GMT):
Has left the channel.

pankajcheema (Wed, 28 Mar 2018 10:38:17 GMT):
Hi Am getting error ```postgres://hppoc:password@localhost:5432/fabricexplorer Please open web browser to access :http://localhost:8080/ [2018-03-28 16:06:57.100] [ERROR] Helper - Failed to find a peer matching the url grpcs://127.0.0.1:8051 [2018-03-28 16:06:57.107] [ERROR] Helper - Failed to find a peer matching the url grpcs://127.0.0.1:8051 /home/pankaj/hyperladger/blockchain-explorer/app/helper.js:164 if (channels[org][channelName] == undefined) ^ TypeError: Cannot read property 'anothertestchannel' of undefined at Object.getChannelForOrg (/home/pankaj/hyperladger/blockchain-explorer/app/helper.js:164:19) at getChainInfo (/home/pankaj/hyperladger/blockchain-explorer/app/query.js:96:23) at Object.getChannelHeight (/home/pankaj/hyperladger/blockchain-explorer/app/query.js:210:9) at getMaxBlockNum (/home/pankaj/hyperladger/blockchain-explorer/app/service/blockscanner.js:109:18) at Object.syncBlock (/home/pankaj/hyperladger/blockchain-explorer/app/service/blockscanner.js:41:9) at Timeout._onTimeout (/home/pankaj/hyperladger/blockchain-explorer/app/listener/blocklistener.js:50:22) at ontimeout (timers.js:386:14) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5)```

pankajcheema (Wed, 28 Mar 2018 10:38:24 GMT):
any idea

pankajcheema (Wed, 28 Mar 2018 10:40:38 GMT):
able to do `telnet 127.0.0.1 8051`

pankajcheema (Wed, 28 Mar 2018 10:40:46 GMT):
shows `connected`

sakoula (Wed, 28 Mar 2018 13:39:32 GMT):
hi does blockchain explorer works with 1.1 Fabric?

edwardsm26 (Wed, 28 Mar 2018 14:29:21 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=N2ys6yu3csLrvNrpH) Hi, can you please show me what you get when you run docker ps -a .

ayang99 (Wed, 28 Mar 2018 16:04:42 GMT):
Has joined the channel.

vchinoy (Wed, 28 Mar 2018 16:07:33 GMT):
@sakoula We haven't tested with fabric 1.1 yet. As soon as we do we will let you know. However we did upgrade the node sdk library for 1.1 and it seems to be backward compatible.

ayang99 (Wed, 28 Mar 2018 16:14:43 GMT):
is there any documentation on the format of the config.json file used by the explorer?

ayang99 (Wed, 28 Mar 2018 16:16:42 GMT):
i'd like to point a locally running explorer instance at a fabric running remotely - do I have to lay out the entire network in network-config? Shouldn't the explorer be able to construct the topology of all the nodes?

ayang99 (Wed, 28 Mar 2018 16:17:46 GMT):
And what is the purpose/intent of the host, port and channel values on config.json?

ayang99 (Wed, 28 Mar 2018 16:17:46 GMT):
And what is the purpose/intent of the host, port and channel values in config.json?

KOttoni (Wed, 28 Mar 2018 16:50:44 GMT):
Has joined the channel.

vieiramanoel (Wed, 28 Mar 2018 19:05:49 GMT):
Has joined the channel.

vieiramanoel (Wed, 28 Mar 2018 19:07:20 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=HTGgsZmhfxNyA2iBL) @edwardsm26 i'm getting the exactly same error, here is my `docker ps -a` output

vieiramanoel (Wed, 28 Mar 2018 19:07:52 GMT):
```CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 63c036a07186 development_blockchain-explorer "sh -c 'pm2-docker m…" 14 minutes ago Up 14 minutes 0.0.0.0:8080->8080/tcp blockchain-explorer 78f5923869c7 mysql/mysql-server:8.0.0 "/entrypoint.sh mysq…" 14 minutes ago Up 14 minutes 3306/tcp, 33060/tcp blockchain-explorer-mysql e50aa22f6414 development_composer-rest-server "/bin/sh -c 'compose…" 46 hours ago Up 46 hours 0.0.0.0:3000->3000/tcp development_composer-rest-server_run_1 6d299ff2ab47 dev-peer0.ministerio.saude.gov.br-cartao-vacinacao-0.17.6-8de79b5e2301d49115a6d26c0b6d6578e8a537ed92c7e50484ebef479c35f2e1 "/bin/sh -c 'cd /usr…" 46 hours ago Up 46 hours dev-peer0.ministerio.saude.gov.br-cartao-vacinacao-0.17.6 5a0ccc340d2f hyperledger/fabric-tools:x86_64-1.1.0-rc1 "/bin/bash -c './scr…" 46 hours ago Up 46 hours cli 496b70300c47 hyperledger/fabric-peer:latest "peer node start" 46 hours ago Up 46 hours 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.ministerio.saude.gov.br 92b022c67b6c hyperledger/fabric-couchdb "tini -- /docker-ent…" 46 hours ago Up 46 hours 4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp couchdb c2cc6236aecb hyperledger/fabric-ca:x86_64-1.1.0-rc1 "bash -c ./scripts/i…" 46 hours ago Up 46 hours 0.0.0.0:8054->7054/tcp ca.ministerio.saude.gov.br ```

sakoula (Wed, 28 Mar 2018 20:48:45 GMT):
@vchinoy thanks!

PhillipR 1 (Wed, 28 Mar 2018 23:37:22 GMT):
Has joined the channel.

PavanRamesh (Thu, 29 Mar 2018 04:49:55 GMT):
Has joined the channel.

ittomato (Thu, 29 Mar 2018 04:53:31 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=8LP4RLkk6mvNL3Gct) @pankajcheema run `npm install`?

ZPDCEO (Thu, 29 Mar 2018 06:28:14 GMT):
Has joined the channel.

i7ruan (Thu, 29 Mar 2018 06:50:16 GMT):
Has joined the channel.

robin666 (Thu, 29 Mar 2018 07:29:47 GMT):
Has joined the channel.

hanumankumarn (Thu, 29 Mar 2018 08:15:20 GMT):
How to set up sawtooth explorer?

vanitas92 (Thu, 29 Mar 2018 08:46:24 GMT):
Hello everyone i found a bug when setting the postgreSQL database host different than localhost: ``` `const connectionString = 'postgres://' + pgconfig.username + ':' + pgconfig.passwd + '@localhost:' + pgconfig.port + '/' + pgconfig.database;` ```

vanitas92 (Thu, 29 Mar 2018 08:47:39 GMT):
at app/db/pgservice.js

vanitas92 (Thu, 29 Mar 2018 08:48:27 GMT):
it ignores the config.json pg host database

vanitas92 (Thu, 29 Mar 2018 09:10:39 GMT):
it should be

vanitas92 (Thu, 29 Mar 2018 09:11:23 GMT):
`const connectionString = 'postgres://' + pgconfig.username + ':' + pgconfig.passwd + '@' + pgconfig.host + ':' + pgconfig.port + '/' + pgconfig.database;`

dockeryounger (Thu, 29 Mar 2018 09:42:46 GMT):
Has joined the channel.

vchinoy (Thu, 29 Mar 2018 13:08:41 GMT):
@vanitas92 Thank you. We will fix this.

nmarcetic (Thu, 29 Mar 2018 14:06:30 GMT):
Has joined the channel.

nmarcetic (Thu, 29 Mar 2018 14:07:02 GMT):
Hi folks, can somebody help me and tell how you run explorer in docker. I don't see any docker support on repo https://github.com/hyperledger/blockchain-explorer

bbehlendorf (Thu, 29 Mar 2018 15:24:24 GMT):
Has joined the channel.

ceebo (Thu, 29 Mar 2018 15:41:02 GMT):
Has joined the channel.

ayang99 (Thu, 29 Mar 2018 16:08:40 GMT):
There is a dockerhub release here: https://hub.docker.com/r/yeasy/blockchain-explorer/ - but if you check the issue in github https://github.com/yeasy/docker-blockchain-explorer/issues, you'll see that the Docker container gets out of sync a lot and just doesn't work.

ayang99 (Thu, 29 Mar 2018 16:08:40 GMT):
@nmarcetic There is a dockerhub release here: https://hub.docker.com/r/yeasy/blockchain-explorer/ - but if you check the issue in github https://github.com/yeasy/docker-blockchain-explorer/issues, you'll see that the Docker container gets out of sync a lot and just doesn't work.

phanikumar (Thu, 29 Mar 2018 16:31:28 GMT):
Is there a way to get all the successful and failure transaction details using composer-rest-server?

phanikumar (Thu, 29 Mar 2018 16:32:03 GMT):
I have gone through Historian but it only stores successful transactions

bbehlendorf (Thu, 29 Mar 2018 18:18:45 GMT):
Hi all. Since most of you are probably not on the mailing list for the project: https://lists.hyperledger.org/pipermail/hyperledger-explorer/2018-March/000001.html

vieiramanoel (Thu, 29 Mar 2018 18:59:47 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=HTGgsZmhfxNyA2iBL) @edwardsm26 someone could help in this?

bandreghetti (Thu, 29 Mar 2018 20:57:19 GMT):
Has joined the channel.

haniraza (Thu, 29 Mar 2018 21:09:46 GMT):
Has joined the channel.

phanikumar (Thu, 29 Mar 2018 22:04:15 GMT):
I wonder if I can get some information on how to handle roles for multi user authentication using composer-rest-server

kpbird (Fri, 30 Mar 2018 03:29:36 GMT):
Has joined the channel.

rajivgandhi2010 (Fri, 30 Mar 2018 06:32:16 GMT):
is it possible to setup the explorer in windows environment?

zealotnt (Fri, 30 Mar 2018 08:01:02 GMT):
Has joined the channel.

nmarcetic (Fri, 30 Mar 2018 08:52:22 GMT):
@ayang99 Thanks you for info about docker!

nmarcetic (Fri, 30 Mar 2018 08:52:22 GMT):
@ayang99 Thank you for info about docker!

chitambaramp (Fri, 30 Mar 2018 12:01:50 GMT):
Hey Guys.. I Got Stuck, please read the following.. Creating a BlockChain using the Hyperledger with Multiple Peers and channels as well as with Chain Code is my aim with in this project.. Using Hyperledger Playground i created a .bna (Business Network Archive) file that as well as i followed this to deploy it locally.. and used REST API to interact with the Block chain.. My Configurations are, Docker Engine: Version 17.03 Docker-Compose: Version 1.8 Node: 8.9 npm: v5.x git: 2.9.x Now i need Solutions for the Following, 1 ) Creating Multiple Channels 2 ) Creating Peers 3 ) Chain code (Smart Contracts)

Pan0ptic (Fri, 30 Mar 2018 16:26:51 GMT):
Has joined the channel.

MikeCohen (Fri, 30 Mar 2018 18:49:22 GMT):
Has joined the channel.

thalisson (Sun, 01 Apr 2018 02:38:02 GMT):
Has joined the channel.

cybervoid (Sun, 01 Apr 2018 10:27:58 GMT):
Has joined the channel.

hkrichen (Sun, 01 Apr 2018 10:57:34 GMT):
Has joined the channel.

BeneHei (Sun, 01 Apr 2018 23:38:51 GMT):
Has joined the channel.

lwrabbit (Mon, 02 Apr 2018 03:23:44 GMT):
Hi guys..does blockchain-explore works well with fabric 1.1?

bh4rtp (Mon, 02 Apr 2018 06:22:49 GMT):
does the latest blockchain explorer remove support for mysql database?

YanKun (Mon, 02 Apr 2018 07:44:30 GMT):
Has joined the channel.

bh4rtp (Mon, 02 Apr 2018 07:46:35 GMT):
i am using the latest fabric and fabric-sdk-node. and got these errors when running `node main.js`. ```error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [eprich1] creator org [Org1MSP] at new createStatusError (/home/allen/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/node_modules/grpc/src/client.js:64:15) at /home/allen/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Query channel info. Error: Error: 2 UNKNOWN: access denied: channel [eprich1] creator org [Org1MSP] at new createStatusError (/home/allen/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/node_modules/grpc/src/client.js:64:15) at /home/allen/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/node_modules/grpc/src/client.js:583:15 [2018-04-02 15:45:03.517] [ERROR] Query - Error: 2 UNKNOWN: access denied: channel [eprich1] creator org [Org1MSP] at new createStatusError (/home/allen/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/node_modules/grpc/src/client.js:64:15) at /home/allen/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/node_modules/grpc/src/client.js:583:15 [2018-04-02 15:45:03.520] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/app/query.js:213:24) at ```

YanKun (Mon, 02 Apr 2018 07:46:55 GMT):
I have the same questions

YanKun (Mon, 02 Apr 2018 07:47:33 GMT):
I try configure the block explorer for tunna app

bh4rtp (Mon, 02 Apr 2018 07:54:03 GMT):
i found the reason. the channel `eprich1` was not created yet. i only had the network up but didnot ran the test client.

bh4rtp (Mon, 02 Apr 2018 08:02:04 GMT):
now i can open explorer web page. but the smart contracts tab page cannot open. the log shows two errors: ```[2018-04-02 15:59:45.668] [ERROR] Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/home/allen/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/lib/Client.js:1191:11) at Channel.queryInfo (/home/allen/gopath/src/github.com/hyperledger/fabric-sdk-node/fabric-client/lib/Channel.js:896:36) at helper.getOrgAdmin.then (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/app/query.js:98:18) at [2018-04-02 15:59:45.671] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/app/query.js:213:24) at ```

bh4rtp (Mon, 02 Apr 2018 08:02:57 GMT):
i have enabled tls by adding a line ```"enableTls": true,"``` in the config.json.

bh4rtp (Mon, 02 Apr 2018 08:02:57 GMT):
i have enabled tls by adding a line ```"enableTls": true,``` in the config.json.

rajivgandhi2010 (Mon, 02 Apr 2018 09:57:29 GMT):
when I ran the "tail -f log.log" command , I got the below error "E0402 15:24:17.329000000 3056 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER."

FlorentinoSainz (Mon, 02 Apr 2018 10:15:50 GMT):
Has joined the channel.

FlorentinoSainz (Mon, 02 Apr 2018 10:22:27 GMT):
Hello, Is there any guide to connect hyperledger explorer to the default composer network/peer? I only want to monitor my peer and after setting configuration etc, I'm only getting " TypeError: Cannot read property 'length' of undefined" many times (when trying to get existing chaincodes)

FlorentinoSainz (Mon, 02 Apr 2018 10:23:01 GMT):
I mean, its clearly not connecting, but the IP and procolons look fine :scooter:

FlorentinoSainz (Mon, 02 Apr 2018 10:28:12 GMT):
postgres://hppoc:test@localhost:5432/fabricexplorer Please open web browser to access :http://0.0.0.0:8082/ [2018-04-02 10:24:59.475] [INFO] Query - Failed to get submitter [2018-04-02 10:24:59.477] [ERROR] Query - TypeError: Cannot read property 'length' of undefined at helper.getOrgAdmin.then.then (/home/ec2-user/blockchainExplorer/blockchain-explorer/app/query.js:148:44) at

YanKun (Mon, 02 Apr 2018 10:40:37 GMT):
SSL3_GET_RECORD:wrong version number. Is there someone meet the problem?

nmarcetic (Mon, 02 Apr 2018 11:09:43 GMT):
Hey folks, is it possible to run explorer just with [fabriic-samples/chaincode-docker-devmode](https://github.com/hyperledger/fabric-samples/tree/release-1.1/chaincode-docker-devmode) ? This docker-compose-simple.yaml works like a charm and its minimal fabric components set for [chaincode development according to documentation](http://hyperledger-fabric.readthedocs.io/en/release-1.1/chaincode4ade.html#install-hyperledger-fabric-samples). It would be very useful to run explorer also (even out of docker-composition). So I am curious is it possible at all ?

nmarcetic (Mon, 02 Apr 2018 11:11:56 GMT):
Looks like explorer is broken on master branch I am getting errors like `[2018-04-02 13:02:10.352] [ERROR] Query - Error: Missing userContext parameter ` Also I don't see how [explorer serve's the client code (e.g the UI) at all](https://github.com/hyperledger/blockchain-explorer). The client is separate from the app (express not serving the UI).

nmarcetic (Mon, 02 Apr 2018 11:13:02 GMT):
I would really appreciate help :) Trying to to put explorer in docker-compose (running backend , UI and postgresql )

rajivgandhi2010 (Mon, 02 Apr 2018 12:43:11 GMT):
https://github.com/hyperledger/blockchain-explorer i have configured and setup the environment by following the above url. I didn't get any errors when I setup. But, When I run "http://localhost:8080/" in browser I got the error Cannot GET /

rajivgandhi2010 (Mon, 02 Apr 2018 12:43:22 GMT):
can anyone pls help me on this?

rajivgandhi2010 (Mon, 02 Apr 2018 12:43:31 GMT):
Thanks in advance.

nmarcetic (Mon, 02 Apr 2018 12:45:47 GMT):
@rajivgandhi2010 That's because nodejs app are not serving the UI at all.... I manually build the client app ``` cd client npm install npm run build ``` And add this in main.js at line 60 ``` app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'client/build', 'index.html')); }); ``` Now when you open the localhost:8080 UI will be served

nmarcetic (Mon, 02 Apr 2018 12:46:09 GMT):
Even the documentation is not OK :) https://github.com/hyperledger/blockchain-explorer#build-hyperledger-explorer

nmarcetic (Mon, 02 Apr 2018 12:49:46 GMT):
If you see the blank page on UI after loading, open the chrome console and check for errors , for example in my case I see `react-dom.production.min.js:164 TypeError: Cannot read property 'forEach' of undefined`

rajivgandhi2010 (Mon, 02 Apr 2018 13:05:19 GMT):
I'm getting "Error: listen EADDRINUSE :::8080" in log.log file

nmarcetic (Mon, 02 Apr 2018 13:06:34 GMT):
@rajivgandhi2010 You have something that runs on port 8080 already

rajivgandhi2010 (Mon, 02 Apr 2018 13:07:08 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=TiJTqhMNm3aZ4HWeq) @nmarcetic Is there any way to change the port for this application?

nmarcetic (Mon, 02 Apr 2018 13:09:26 GMT):
Yes, [change config.json](https://github.com/hyperledger/blockchain-explorer/blob/master/config.json#L45) then [change proxy port on client](https://github.com/hyperledger/blockchain-explorer/blob/master/client/package.json#L45) and don't forget to rebuild the client ``` cd client npm install npm run build ```

manish27 (Mon, 02 Apr 2018 14:56:49 GMT):
Has joined the channel.

manish27 (Mon, 02 Apr 2018 15:01:06 GMT):
[ ](https://chat.hyperledger.org/channel/blockchain-explorer?msg=fhkvBgzujotMHJ2xt) @nmarcetic i, How to resolve below error while opening the url localhost:8080 Cannot read react-dom.production.min.js:164 TypeError: Cannot read property 'forEach' of undefined

nmarcetic (Mon, 02 Apr 2018 15:02:24 GMT):
@manish27 I think its a bug in the current code version, dunno how to resolve it :(

nmarcetic (Mon, 02 Apr 2018 15:02:45 GMT):
The whole project is currently messed

nmarcetic (Mon, 02 Apr 2018 15:03:44 GMT):
They released Fabric v1.1.0 recently , I think that cause a lot of braking changes and mess (like this one with explorer)

nmarcetic (Mon, 02 Apr 2018 15:22:45 GMT):
If someone see the problem or have idea/fix pls help us :) and post it. Thanks ;)

bh4rtp (Mon, 02 Apr 2018 16:22:15 GMT):
@nmarcetic helpful information for me. thanks.

nmarcetic (Mon, 02 Apr 2018 16:25:00 GMT):
@bh4rtp :+1_tone2:

aawayni (Mon, 02 Apr 2018 16:35:11 GMT):
Has joined the channel.

audreyle (Mon, 02 Apr 2018 17:12:30 GMT):
Has joined the channel.

vieiramanoel (Mon, 02 Apr 2018 19:15:03 GMT):
hey, someone else has faced this issue? ```[2018-04-02 19:13:01.048] [ERROR] Helper - Failed to find a peer matching the url grpcs://peer0.ministerio.saude.gov.br:7051 [2018-04-02 19:13:01.057] [ERROR] Helper - Failed to find a peer matching the url grpcs://peer0.ministerio.saude.gov.br:7051 TypeError: Cannot read property 'mainchannel' of undefined at Object.getChannelForOrg (/blockchain-explorer/app/helper.js:164:20) at getChainInfo (/blockchain-explorer/app/query.js:91:23) at Object.getChannelHeight (/blockchain-explorer/app/query.js:205:9) at getMaxBlockNum (/blockchain-explorer/service/blockscanner.js:100:18) at Object.syncBlock (/blockchain-explorer/service/blockscanner.js:40:9) at Timeout._onTimeout (/blockchain-explorer/listener/blocklistener.js:50:22) at ontimeout (timers.js:482:11) at tryOnTimeout (timers.js:317:5) at Timer.listOnTimeout (timers.js:277:5)```

vieiramanoel (Mon, 02 Apr 2018 19:16:49 GMT):
this `peer0.ministerio.saude.gov.br` host is reachable from ping

vieiramanoel (Mon, 02 Apr 2018 20:07:18 GMT):
@pankajcheema I solved our error, the orgs objects must be named "org1, org2, ..., orgN" and so on

AmirKardan (Mon, 02 Apr 2018 23:22:58 GMT):
Has joined the channel.

rjones (Tue, 03 Apr 2018 00:44:40 GMT):
Room name changed to: hyperledger-explorer by rjones

rajivgandhi2010 (Tue, 03 Apr 2018 04:16:28 GMT):
I'm getting "TypeError: Cannot read property 'forEach' of undefined" error in the console. Can anyone please help me on this? Thanks in advance.

aawayni (Tue, 03 Apr 2018 09:35:10 GMT):
Hello everyone, I try to run explorer under docker, with postgres database, I changed config.json, the proxy port on client and localhost on pgservice.js to postgres hostname, I added this: app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'client/build', 'index.html')); }); to main.js, and build the client .. I'm getting "[ERROR] Query - Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 (node:775) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at query.getChannels.then.channel (/blockchain-explorer/main.js:106:33) at (node:775) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 57) error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Channels Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15

lwrabbit (Tue, 03 Apr 2018 10:01:30 GMT):
i am using the latest fabric and fabric-sdk-go. and got these errors when running `node main.js`. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/home/deploy/www/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/deploy/www/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Query block. Error: Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/home/deploy/www/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/deploy/www/blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-04-03 16:38:45.798] [ERROR] Query - Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/home/deploy/www/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/deploy/www/blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-04-03 16:38:45.800] [ERROR] blockscanner - TypeError: Cannot read property 'data' of undefined at saveBlockRange (/home/deploy/www/blockchain-explorer/app/service/blockscanner.js:63:43) at next (native) at onFulfilled (/home/deploy/www/blockchain-explorer/node_modules/co/index.js:65:19)

lwrabbit (Tue, 03 Apr 2018 10:16:58 GMT):
help !help!

nmarcetic (Tue, 03 Apr 2018 10:26:29 GMT):
@aawayni Docker version not working

nmarcetic (Tue, 03 Apr 2018 10:26:32 GMT):
out of sync

aawayni (Tue, 03 Apr 2018 10:28:00 GMT):
@nmarcetic thanks

nmarcetic (Tue, 03 Apr 2018 10:28:17 GMT):
:+1_tone2:

lwrabbit (Tue, 03 Apr 2018 10:36:01 GMT):
@nmarcetic my question? :wink:

nmarcetic (Tue, 03 Apr 2018 10:40:15 GMT):
@lwrabbit Not sure :(

nmarcetic (Tue, 03 Apr 2018 10:41:48 GMT):
Is there is anybody from hyperledger here ? :) This chat looks more like community of desperate people

nmarcetic (Tue, 03 Apr 2018 10:41:59 GMT):
Including me ofc

edwardsm26 (Tue, 03 Apr 2018 13:40:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EEAFNBpssFDjGhwKj) Hi bh4rtp the Smart Contracts tab is still under being worked on . If the other tabs are displaying data your explorer is running correctly

robinrob (Tue, 03 Apr 2018 14:14:28 GMT):
Has joined the channel.

edwardsm26 (Tue, 03 Apr 2018 15:09:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TYxnnepphRuqF2ES8) Hi @vieiramanoel and @pankajcheema your error says it cant find a peer for 127:0.0.1:8051 and in the docker ps -a output that was attached i do not see *0.0.0.0:8051 *

edwardsm26 (Tue, 03 Apr 2018 15:10:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vSduHDfm95CENaNQm) @bh4rtp We are no longer using msyql database, we have since switched to postgres

vieiramanoel (Tue, 03 Apr 2018 15:11:02 GMT):
I fixed the error changing de the org name to org1, org2

vieiramanoel (Tue, 03 Apr 2018 15:11:46 GMT):
Everything is working now, with some bugs in the API that I'm fixing

vieiramanoel (Tue, 03 Apr 2018 15:12:02 GMT):
But the explorer works :)

vchinoy (Tue, 03 Apr 2018 15:13:01 GMT):
@bh4rtp Yes support for mysql was removed

ayang99 (Tue, 03 Apr 2018 21:16:19 GMT):
does explorer still only work with node 6.9?

bh4rtp (Wed, 04 Apr 2018 00:58:43 GMT):
@ayang99 i have modified the node >= 8.9.1, npm >= 5.6.0. it does work.

xiao8 (Wed, 04 Apr 2018 01:40:23 GMT):
Has joined the channel.

Abhilash04 (Wed, 04 Apr 2018 06:09:40 GMT):
Has joined the channel.

FlorentinoSainz (Wed, 04 Apr 2018 13:04:20 GMT):
@vieiramanoel could you share your config.json plz? I'm trying to debug my shiet and its not working :/

ayang99 (Wed, 04 Apr 2018 14:44:38 GMT):
@bh4rtp - Thanks for verifying!

ayang99 (Wed, 04 Apr 2018 14:45:58 GMT):
I'm trying to get explorer running against a different network deployed using Composer. Some advice was found here: https://stackoverflow.com/questions/47663514/how-can-i-add-the-hyperledger-fabric-explorer-to-the-hyperledger-composer-envi

ayang99 (Wed, 04 Apr 2018 15:09:43 GMT):
I have the business network running locally, and i'm using the composer-rest-server to actually interact with the ledger

ayang99 (Wed, 04 Apr 2018 15:10:17 GMT):
actions are getting picked up by the Explorer and records are making it into the Postgres db

ayang99 (Wed, 04 Apr 2018 15:10:47 GMT):
:joy:

ayang99 (Wed, 04 Apr 2018 15:12:54 GMT):
but in the Explorer web app, I get the animated "Preparing Explorer" messages ("Accessing the network", "Connecting to channel", "Loading blocks") but then I just get a blank page

ayang99 (Wed, 04 Apr 2018 15:13:25 GMT):
The log.log file shows: ``` [2018-04-04 11:03:07.099] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/Users/ayang/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/Users/ayang/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getOrgAdmin.then (/Users/ayang/hyperledger/blockchain-explorer/app/query.js:98:18) at [2018-04-04 11:03:07.101] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/Users/ayang/hyperledger/blockchain-explorer/app/query.js:213:24) at Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 4 'Org1MSP' Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename" ) VALUES( $1,$2,$3,$4,$5 ) RETURNING *; INSERT ID: 9 ```

ayang99 (Wed, 04 Apr 2018 15:13:25 GMT):
The log.log file shows: ``` [2018-04-04 11:03:07.099] [ERROR] Query - Error: Missing userContext parameter at new TransactionID (/Users/ayang/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/TransactionID.js:43:10) at Channel.queryInfo (/Users/ayang/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:765:14) at helper.getOrgAdmin.then (/Users/ayang/hyperledger/blockchain-explorer/app/query.js:98:18) at [2018-04-04 11:03:07.101] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/Users/ayang/hyperledger/blockchain-explorer/app/query.js:213:24) at ```

ayang99 (Wed, 04 Apr 2018 15:15:20 GMT):
which I remembered seeing earlier. @pankajcheema - you encountered this last week (March 28) and then commented that you fixed the node error. Can you elaborate?

FlorentinoSainz (Wed, 04 Apr 2018 16:28:12 GMT):
@ayang99 I'm also seeing the blockscanner error, it looks like it doesn't connect to the fabric :/

FlorentinoSainz (Wed, 04 Apr 2018 16:30:16 GMT):
[2018-04-04 16:30:12.444] [ERROR] Query - TypeError: Cannot read property 'length' of undefined at helper.getOrgAdmin.then.then (/home/ec2-user/blockchainExplorer/blockchain-explorer/app/query.js:148:44) at [2018-04-04 16:30:12.444] [INFO] Query - Failed to get submitter [2018-04-04 16:30:12.444] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/ec2-user/blockchainExplorer/blockchain-explorer/app/query.js:213:24) at

FlorentinoSainz (Wed, 04 Apr 2018 16:34:07 GMT):
fuck, after editing the code i saw the error, config.json key is "mspid", not "mspID"

FlorentinoSainz (Wed, 04 Apr 2018 16:35:07 GMT):
some error traces are missing in query.js :P

ayang99 (Wed, 04 Apr 2018 17:08:06 GMT):
I think my explorer _is_ actually connecting to the fabric. When I push transactions onto the ledger, the log file reports the corresponding INSERT statements into the Postgres database

ayang99 (Wed, 04 Apr 2018 17:08:06 GMT):
I think my explorer _is_ actually connecting to the fabric. When I push transactions onto the ledger, the log file reports the corresponding INSERT statements into the Explorer's PostgreSQL database

ayang99 (Wed, 04 Apr 2018 19:44:36 GMT):
I'm just trying to troubleshoot why Explorer is ending up on a blank page. The only thing I have to go on are the two errors in the log - they might be red herrings for all I know

vieiramanoel (Wed, 04 Apr 2018 21:55:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5fzcMhh4t78vTrCh3) @FlorentinoSainz of course! https://hastebin.com/omapexibej.json

nimeshpr (Thu, 05 Apr 2018 01:49:20 GMT):
Has joined the channel.

manish27 (Thu, 05 Apr 2018 06:38:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=poSrXzHyaPH8WH9tC) @vieiramanoel In which file you have changed org name to org1,org2 ?

manish27 (Thu, 05 Apr 2018 07:01:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NWxzK2M3BMQfiPSYh) I have changed config.json.Changed the organisation name but didn't work.

manish27 (Thu, 05 Apr 2018 07:01:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NWxzK2M3BMQfiPSYh) I have changed config.json.Changed the organization name but didn't work.

FlorentinoSainz (Thu, 05 Apr 2018 07:08:17 GMT):
@vieiramanoel thanks!

FlorentinoSainz (Thu, 05 Apr 2018 07:10:25 GMT):
@ayang99 after fixing my weird config bug, i'm in the same boat than you :P

FlorentinoSainz (Thu, 05 Apr 2018 07:14:41 GMT):
but I think those errors are only shown for a particular transaction, not likely the issue

FlorentinoSainz (Thu, 05 Apr 2018 07:20:28 GMT):
I have a server, but not a GUI :/

FlorentinoSainz (Thu, 05 Apr 2018 07:24:51 GMT):
@ayang99 I think we have to start the web server tho (client folder i think) (main.js is the backend it seems)

FlorentinoSainz (Thu, 05 Apr 2018 07:59:13 GMT):
@ayang99 yup, just go to the client folder and run "npm start", there you have your front end :)

Kimmelim (Thu, 05 Apr 2018 14:35:14 GMT):
Has joined the channel.

vieiramanoel (Thu, 05 Apr 2018 14:42:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5rHY34n5rcPPEjTAX) @manish27 whats your error and how's your config file?

FlorentinoSainz (Thu, 05 Apr 2018 15:34:57 GMT):
At the end i managed to pseudo-make-it-work, had to modify some code because I'm using only one peer and some of the graphs don't seem to be ready to handle that

FlorentinoSainz (Thu, 05 Apr 2018 15:35:23 GMT):
(just in case someone is using a network with only one peer)

FlorentinoSainz (Thu, 05 Apr 2018 15:45:35 GMT):
plus if using non-ssl, there's some code which reads the configuration and doesn't work if you dont include tls cert property of the node... (!!)

ayang99 (Thu, 05 Apr 2018 17:31:00 GMT):
@FlorentinoSainz That's super-helpful, thanks! I'll try it out later. What change did you need to make to the code? I am also only running a single peer.

ayang99 (Thu, 05 Apr 2018 19:18:57 GMT):
the GUI is browser-based: http://localhost:3000 usually. When I first started, I followed the steps here: https://github.com/hyperledger/blockchain-explorer#running-hyperledger-explorer and got it working without having to "npm start".

ayang99 (Thu, 05 Apr 2018 19:59:03 GMT):
Also - what did you put for the tls_cert property? I get various errors with both an empty string, and a path to a cert from a different network

ayang99 (Thu, 05 Apr 2018 20:29:52 GMT):
ok - got a quick run-down from a ReactJS guy - running npm start in the client runs the front-end part in development mode. You get useful stack traces and error reporting in the browser. Building the Explorer in "production" mode requires you to do the "npm run build" in /client which will generate the static files that then get statically linked-to by the web-app part (the node main.js in the blockchain-explorer parent directory) - this hides any useful error messages

ayang99 (Thu, 05 Apr 2018 20:30:46 GMT):
so, if you make a change to any of the code under /client, then you will either need to do a "npm start" or "npm run build"

rajivgandhi2010 (Fri, 06 Apr 2018 08:54:04 GMT):
I'm getting the below error in the browser console.

rajivgandhi2010 (Fri, 06 Apr 2018 08:54:04 GMT):
TypeError: this.props.channelList.channels is undefined

nawaz_552 (Fri, 06 Apr 2018 10:26:05 GMT):
Has joined the channel.

edwardsm26 (Fri, 06 Apr 2018 13:38:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SJrJgWTwyT3AADBRj) @rajivgandhi2010 try restarting your network then bringing your blockchain explorer up only after all the network is up.

rajivgandhi2010 (Fri, 06 Apr 2018 13:58:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=C6mTx38LydyqaduYk) @edwardsm26 still getting the same error and I'm blank screen in browser

edwardsm26 (Fri, 06 Apr 2018 16:38:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sPbdt6SCc3hPs2fib) @rajivgandhi2010 is there anything in your database currently . can you run these commands 1. sudo -u postgres psql 2. \c fabricexplorer 3. select * from chaincodes; You can than copy and paste the output of that last command.

varinder (Fri, 06 Apr 2018 20:34:34 GMT):
Has joined the channel.

navaneethaa (Sat, 07 Apr 2018 05:29:51 GMT):
I am getting the below error, the blank screen in browser, after Accessing to Network, Connecting Channel Messages on browser. at ontimeout (timers.js:365:14) at tryOnTimeout (timers.js:237:5) at Timer.listOnTimeout (timers.js:207:5) error when connecting to db: Error: Client has already been connected. You cannot reuse a client. at Client.connect (/home//blockchain-explorer/node_modules/pg/lib/client.js:59:17) at Timeout.handleDisconnect [as _onTimeout] (/home//blockchain-explorer/app/db/pgservice.js:34:12) at ontimeout (timers.js:365:14) at tryOnTimeout (timers.js:237:5) at Timer.listOnTimeout (timers.js:207:5)

navaneethaa (Sat, 07 Apr 2018 05:37:27 GMT):
Initially I had the below problem: Query - Error: No identity has been assigned to this client at Client._getSigningIdentity After modifying the node js version to 6.9.x and following all the steps of README file of Blockchain Explorer again, Now facing this new problem error when connecting to db. Tried removing the Postgresql, uninstall and re-installing again. Still the same issue. Could someone please help me to proceed further.

navaneethaa (Sat, 07 Apr 2018 05:37:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ohQu7qHmbCZkTJRcT) @Nghiadt Thanku Nghiadt !! "The connection error to db : Cannot reuse a client" is resolved now. But the initial issue is resulted again: Error: No identity has been assigned to this client at Client._getSigningIdentity [ERROR] Query - Error: No identity has been assigned to this client

navaneethaa (Sat, 07 Apr 2018 05:45:56 GMT):
Also tried removing the "node_modules" subdirectories and recreating it again with "npm install" , still same error.

ThangDC (Sat, 07 Apr 2018 07:41:17 GMT):
Has joined the channel.

mengluo668 (Sun, 08 Apr 2018 02:53:13 GMT):
Has joined the channel.

nivant9091 (Sun, 08 Apr 2018 06:20:36 GMT):
Has joined the channel.

cristiancl25 (Sun, 08 Apr 2018 10:56:33 GMT):
Has joined the channel.

Nghiadt (Sun, 08 Apr 2018 15:12:44 GMT):
Has joined the channel.

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with non-tls. My database EXPLORER psql still updating data OK and has no ERROR. But i can't access http://127.0.0.1:8080/ . It's so weird. Got no error but still can't access website. Anyone can help me? thank you all !

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with non-tls. My database EXPLORER psql still updating data OK but it has a error It's so weird. Anyone can help me? thank you all !

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with non-tls. My database EXPLORER psql still updating data OK but it has a error `[ERROR] Query - Error: No identity has been assigned to this client` It's so weird. Anyone can help me? thank you all !

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with non-tls. My database EXPLORER psql still updating data OK but it has a error `[ERROR] Query - Error: No identity has been assigned to this client [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined ` It's so weird. Anyone can help me? thank you all !

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with non-tls. My database EXPLORER psql still updating data OK but it has a error `[ERROR] Query - Error: No identity has been assigned to this client [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined` It's so weird. Anyone can help me? thank you all !

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with non-tls. My database EXPLORER psql still updating data OK but it has a error `[ERROR] Query - Error: No identity has been assigned to this client \n [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined` It's so weird. Anyone can help me? thank you all !

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with non-tls. My database EXPLORER psql still updating data OK but it has a error `[ERROR] Query - Error: No identity has been assigned to this client [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined` It's so weird. Anyone can help me? thank you all !

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with non-tls. My database EXPLORER psql still updating data OK but it has a error `[ERROR] Query - Error: No identity has been assigned to this client` `[ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined` It's so weird. Anyone can help me? thank you all !

Nghiadt (Sun, 08 Apr 2018 17:02:53 GMT):
Hi forks! In my case, i'm using EXPLORER release-3.1 and FABRIC with NON-tls. My database EXPLORER psql still updating data OK but it has a error `[ERROR] Query - Error: No identity has been assigned to this client` `[ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined` It's so weird. Anyone can help me? thank you all !

Nghiadt (Mon, 09 Apr 2018 07:38:57 GMT):
I've been trying using the `EXPLORER release-3.1` with the `first-network demo in Fabric 1.1`But I'm still stucking in this error `[ERROR] Query - Error: No identity has been assigned to this client` `[ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined` Btw, i'm using node 8.9.3. Do u have any advice?

Nghiadt (Mon, 09 Apr 2018 07:50:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qsowcgjJKiGcH8mr5) @navaneethaa Just like you, I've been getting in this problem.

nfrunza (Mon, 09 Apr 2018 10:47:03 GMT):
Has joined the channel.

edwardsm26 (Mon, 09 Apr 2018 14:17:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hAoeivQ9PSAfpWaxs) @navaneethaa try restarting postgres using the command sudo service postgresql restart

AaronD 7 (Mon, 09 Apr 2018 20:27:56 GMT):
Has joined the channel.

AaronD 7 (Mon, 09 Apr 2018 20:30:14 GMT):
I'm trying to run hyperledger explorer on the release-3 branch but I'm getting nothing but errors. I tried it on the master branch and I also have dozens of errors.

AaronD 7 (Mon, 09 Apr 2018 20:30:45 GMT):
`E0409 13:29:02.161282472 14179 ssl_transport_security.cc:979] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.`

Nghiadt (Tue, 10 Apr 2018 03:26:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qsowcgjJKiGcH8mr5) @navaneethaa hi you. I solved this problem. You need to run npm both in blockchain-explorer directory and client/ dir. Make sure you run correctly following this doc https://github.com/hyperledger/blockchain-explorer/tree/master. Then adding this codes to main.js file. `app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'client/build', 'index.html')); });`

Nghiadt (Tue, 10 Apr 2018 03:26:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qsowcgjJKiGcH8mr5) @navaneethaa hi you. I solved this problem. You need to run npm both in blockchain-explorer directory and client/ dir. Make sure you run correctly following this doc https://github.com/hyperledger/blockchain-explorer/tree/master. Then adding this codes to main.js file. `app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'client/build', 'index.html')); });`

Nghiadt (Tue, 10 Apr 2018 03:26:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qsowcgjJKiGcH8mr5) @navaneethaa hi you. I solved this problem. You need to run npm both in blockchain-explorer directory and client/ dir. Make sure you run correctly following this doc https://github.com/hyperledger/blockchain-explorer/tree/master. Then adding this codes to main.js file. `app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'client/build', 'index.html')); });`

Nghiadt (Tue, 10 Apr 2018 03:26:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qsowcgjJKiGcH8mr5) @navaneethaa hi you. I solved this problem. You need to run npm both in blockchain-explorer directory and client/ dir. Make sure you run correctly following this doc https://github.com/hyperledger/blockchain-explorer/tree/master. Then adding this codes to main.js file. app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'client/build', 'index.html')); });

Nghiadt (Tue, 10 Apr 2018 03:26:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qsowcgjJKiGcH8mr5) @navaneethaa hi you. I solved this problem. You need to run npm both in blockchain-explorer directory and client/ dir. Make sure you run correctly following this doc https://github.com/hyperledger/blockchain-explorer/tree/master. Then adding this codes to main.js file. ``app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'client/build', 'index.html')); });``

DavidHiston (Tue, 10 Apr 2018 12:33:51 GMT):
Has joined the channel.

DavidHiston (Tue, 10 Apr 2018 12:36:53 GMT):
Hi all. When i start fabric explorer I get this error in the logs:

DavidHiston (Tue, 10 Apr 2018 12:37:37 GMT):
Hi All. When I start Fabric explorer I get this error in the logs: ``` postgres://hppoc:password@localhost:5432/fabricexplorer Please open web browser to access :http://localhost:8080/ Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; ESC[31m[2018-04-10 13:18:49.735] [ERROR] Query - ESC[39mError: Peer is required at Client.queryInstalledChaincodes (/Users/davidhiston/workspace/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Client.js:906:27) at helper.getOrgAdmin.then (/Users/davidhiston/workspace/hyperledger/blockchain-explorer/app/query.js:132:18) INSERT ID: 3 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 ```

DavidHiston (Tue, 10 Apr 2018 12:37:37 GMT):
Hi All. When I start Fabric explorer I get this error in the logs: ``` postgres://hppoc:******@localhost:5432/fabricexplorer Please open web browser to access :http://localhost:8080/ Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; ESC[31m[2018-04-10 13:18:49.735] [ERROR] Query - ESC[39mError: Peer is required at Client.queryInstalledChaincodes (/Users/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Client.js:906:27) at helper.getOrgAdmin.then (/Users/hyperledger/blockchain-explorer/app/query.js:132:18) INSERT ID: 3 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 ```

DavidHiston (Tue, 10 Apr 2018 12:38:05 GMT):
Any ideas or help would be appreciated

navaneethaa (Tue, 10 Apr 2018 14:02:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ohQu7qHmbCZkTJRcT) @Nghiadt Thanku Nghiadt !! "The connection error to db : Cannot reuse a client" is resolved now. But the initial issue is resulted again: Error: No identity has been assigned to this client at Client._getSigningIdentity [ERROR] Query - Error: No identity has been assigned to this client

vinotht (Tue, 10 Apr 2018 14:21:17 GMT):
Has joined the channel.

nfrunza (Tue, 10 Apr 2018 15:03:24 GMT):
@navaneethaa Does the error Client._getSigningIdentity pevent from explorer to run in browser?

navaneethaa (Tue, 10 Apr 2018 15:10:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hgjsMdeb4RZwZTjxx) @nfrunza The browser is blank. after couple of messages like preparing explorer Accessing Network.

navaneethaa (Tue, 10 Apr 2018 15:10:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hgjsMdeb4RZwZTjxx) @nfrunza The browser is blank. after couple of messages like preparing explorer Accessing Network, Connecting Channel, Adding Blocks messages. However the fabricexplorer database connection SQL queries is resulting the correct details..

nfrunza (Tue, 10 Apr 2018 15:11:44 GMT):
please kill the node, "pkill node", build by following the instructions

nfrunza (Tue, 10 Apr 2018 15:12:26 GMT):
id the first network running?

nfrunza (Tue, 10 Apr 2018 15:12:31 GMT):
is*

navaneethaa (Tue, 10 Apr 2018 15:13:45 GMT):
to be precise, not the first network of fabric samples but my own network created.

navaneethaa (Tue, 10 Apr 2018 15:16:09 GMT):
the network is up and running and the postgresql database fabricexplorer is also resulting good results for blocks, channel,chaincodes, peer etc.

nfrunza (Tue, 10 Apr 2018 15:19:25 GMT):
do you see records inserted in postgress db?

nfrunza (Tue, 10 Apr 2018 15:19:48 GMT):
your network is based on frabric ?

nfrunza (Tue, 10 Apr 2018 15:19:52 GMT):
fabric?

navaneethaa (Tue, 10 Apr 2018 15:21:28 GMT):
yes. its fabric

navaneethaa (Tue, 10 Apr 2018 15:22:49 GMT):
and the records are inserted in postgress db. can successfully query select channel, blocks, chaincodes, peer

Nghiadt (Tue, 10 Apr 2018 15:28:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rXMDX2pNnvZgrPdJc) @navaneethaa Have you ran `npm run build` in /client? And be sure clearing your caches.

nfrunza (Tue, 10 Apr 2018 15:29:29 GMT):
@navaneethaa please follow instruction in README.md, or scroll down to see it in browser https://github.com/hyperledger/blockchain-explorer/tree/master

navaneethaa (Tue, 10 Apr 2018 15:30:05 GMT):
i did run npm run build... and followed the README.md file

navaneethaa (Tue, 10 Apr 2018 15:30:25 GMT):
ok. will try clearing the caches..

nfrunza (Tue, 10 Apr 2018 15:31:01 GMT):
do you get any errors when reading from config.jso n ?

nfrunza (Tue, 10 Apr 2018 15:31:36 GMT):
@navaneethaa make sure you verify the paths in config.json

nfrunza (Tue, 10 Apr 2018 15:31:54 GMT):
are accessible

navaneethaa (Tue, 10 Apr 2018 15:34:54 GMT):
ok @nfrunza will follow the instructions again after clearing the cache and will verify for any errors..

nfrunza (Tue, 10 Apr 2018 15:35:14 GMT):
@navaneethaa ok

dsl (Wed, 11 Apr 2018 04:59:55 GMT):
Has joined the channel.

DanHendricks (Wed, 11 Apr 2018 20:59:48 GMT):
Has joined the channel.

indira.kalagara (Thu, 12 Apr 2018 06:45:56 GMT):
Has joined the channel.

daanporon (Thu, 12 Apr 2018 09:33:53 GMT):
Has joined the channel.

daanporon (Thu, 12 Apr 2018 09:35:41 GMT):
we where using the explorer which was using mysql before and right now i switched to the latest version ... is it correct that there are a lot of things not working here that where working in the mysql version? I can't click on transactions and blocks for details, it doesn't recognise the chaincodes, ...

daanporon (Thu, 12 Apr 2018 09:36:41 GMT):
which version should i use?

daanporon (Thu, 12 Apr 2018 09:37:27 GMT):
also the activity is showing 2 blocks while there are already more then 40 :/

daanporon (Thu, 12 Apr 2018 09:37:34 GMT):
it seems the master version is really buggy

Pranoti (Thu, 12 Apr 2018 12:02:21 GMT):
Has joined the channel.

ApoorvChandurkar (Thu, 12 Apr 2018 12:05:20 GMT):
Has joined the channel.

ApoorvChandurkar (Thu, 12 Apr 2018 12:08:56 GMT):
@AaronD 7 Hi, I am having the same issue while trying to run explorer on my own fabric network with non-TLS mode. `E0409 13:29:02.161282472 14179 ssl_transport_security.cc:979] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.` Can anyone know how to resolve this issue?

ApoorvChandurkar (Thu, 12 Apr 2018 12:08:56 GMT):
@AaronD 7 Hi, I am having the same issue while trying to run explorer on my own fabric network with non-TLS mode. `E0409 13:29:02.161282472 14179 ssl_transport_security.cc:979] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.` Can anyone suggest how to resolve this issue?

ApoorvChandurkar (Thu, 12 Apr 2018 12:08:56 GMT):
@AaronD 7 Hi, I am having the same issue while trying to run explorer on my own fabric network with non-TLS mode. `E0409 13:29:02.161282472 14179 ssl_transport_security.cc:979] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.` Can anyone suggest how to resolve this issue?

nfrunza (Thu, 12 Apr 2018 16:09:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4nbmBJM6QYd62Bq6Z) @daanporon please follow up on instruction in README and update your workspace with the latest code

bh4rtp (Fri, 13 Apr 2018 00:19:31 GMT):
hi, clicking transaction id from blocks panel, blockchain explorer does not response. is it not implemented yet?

bh4rtp (Fri, 13 Apr 2018 00:26:53 GMT):
the latest blockchain-explorer works well. but there is an error telling: `[2018-04-13 08:24:40.262] [ERROR] Query - Error: No identity has been assigned to this client`. what's wrong with it?

nfrunza (Fri, 13 Apr 2018 03:28:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NR8phE7DHTwp4YLmT) @bh4rtp correct, not yet implemeted, would be next 1-2 weeks

nfrunza (Fri, 13 Apr 2018 03:29:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BdpoemFg6JfbqZcam) @bh4rtp We are looking into this, will update once fixed

ApoorvChandurkar (Fri, 13 Apr 2018 08:36:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=m9fAYvnETncm6Hcwb) @AaronD 7 Did you find any solutions to this problem I'm facing the same issue

Preetam007 (Fri, 13 Apr 2018 11:19:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SE8t8stakDAkvn7xs) @navaneethaa are you able to fix it , i am getting same error

nfrunza (Fri, 13 Apr 2018 11:59:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AEuLq3K33hCMsueSY) @ApoorvChandurkar please use master branch

ApoorvChandurkar (Fri, 13 Apr 2018 13:00:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SGndf9SuibqPitYA7) @nfrunza Yes I used the master branched and started explorer on my own fabric network but brower is not displaying anything just blank here are the logs:

ApoorvChandurkar (Fri, 13 Apr 2018 13:00:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SGndf9SuibqPitYA7) @nfrunza Yes I used the master branched and started explorer on my own fabric network but brower is not displaying anything just blank here are the logs: Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 7 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 8 [2018-04-13 18:29:32.067] [ERROR] Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/home/flash/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:1206:11) at Client.queryInstalledChaincodes (/home/flash/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:915:23) at helper.getOrgAdmin.then (/home/flash/blockchain-explorer-master/app/query.js:132:18) at

ApoorvChandurkar (Fri, 13 Apr 2018 13:02:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RG4sJSTpQeTkrsmdy) Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/home/flash/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:1206:11) at Client.queryInstalledChaincodes (/home/flash/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:915:23) at helper.getOrgAdmin.then (/home/flash/blockchain-explorer-master/app/query.js:132:18) at

nfrunza (Fri, 13 Apr 2018 13:31:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RG4sJSTpQeTkrsmdy) @ApoorvChandurkar did you run the udatepg.sql script ?

MarvinBechtold (Fri, 13 Apr 2018 14:20:25 GMT):
Has joined the channel.

nfrunza (Fri, 13 Apr 2018 14:34:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=N4i6wmLrcM8osSJyp) @daanporon use master branch

Arindam (Fri, 13 Apr 2018 21:42:31 GMT):
Has joined the channel.

Arindam (Fri, 13 Apr 2018 22:48:07 GMT):
I am also receiving same error, tried many ways but same as above message

Arindam (Fri, 13 Apr 2018 22:48:19 GMT):
No identity has been assigned to this client

Arindam (Fri, 13 Apr 2018 23:23:46 GMT):
I tried master branch and release 3 branch same error

nfrunza (Sat, 14 Apr 2018 04:19:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yg7kJTc6LPA7CQYSt) @Arindam Is this error preventing you from running Explorer?

nmrk (Sat, 14 Apr 2018 11:30:36 GMT):
Has joined the channel.

MarvinBechtold (Sat, 14 Apr 2018 11:53:05 GMT):
Hello I'm new to hyperledger fabric. I created my first network and now I want to use the explorer.

MarvinBechtold (Sat, 14 Apr 2018 11:53:24 GMT):
But I always get this error:

MarvinBechtold (Sat, 14 Apr 2018 11:53:29 GMT):
sudo -u postgres psql sudo: unknown user: postgres sudo: unable to initialize policy plugin

MarvinBechtold (Sat, 14 Apr 2018 11:53:41 GMT):
Can anyone help me please?

Arindam (Sat, 14 Apr 2018 18:12:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5KXEWzz7Q8MsbhjSJ) Yes after running on browser it is showing the logo, and saying conecting to channel and after that blank page. Please help. Can you please provide the cofig.json file which you have used to setup with basic network

Arindam (Sat, 14 Apr 2018 18:13:01 GMT):
Composer basic network

Arindam (Sat, 14 Apr 2018 20:05:47 GMT):
~/blockchain-explorer/client$ curl http://localhost:8080/api/channels curl: (52) Empty reply from server

Arindam (Sun, 15 Apr 2018 14:10:15 GMT):
Finally able to run the application

Arindam (Sun, 15 Apr 2018 14:10:39 GMT):
but the transaction tab is not working well, payload , read and write is not showing

zhasni (Sun, 15 Apr 2018 16:45:44 GMT):
Has joined the channel.

ApoorvChandurkar (Mon, 16 Apr 2018 07:03:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MNoDZzYqZJt2YJQTi) @nfrunza yes I ran the updatepg.sql script after dropping the user and starting again still getting the same error, [2018-04-16 12:32:01.561] [ERROR] Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/home/flash/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:1206:11) at Client.queryInstalledChaincodes (/home/flash/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:915:23) at helper.getOrgAdmin.then (/home/flash/blockchain-explorer-master/app/query.js:132:18) at

Preetam007 (Mon, 16 Apr 2018 10:10:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JdKxbmhyojt3vA9fN) @MarvinBechtold Postgres installation procedure created a user account called postgres that is associated with the default Postgres role. In order to use Postgres, we can log into that account. Switch over to the postgres account on your server by typing: * sudo -i -u postgres

FlorentinoSainz (Mon, 16 Apr 2018 10:16:32 GMT):
@ayang99 sorry, I removed tls_cert property (im not secured) and then in "helper.js" in getOrgMapFromConfig there's a huge if that checks that tls_cert exists, I removed the condition in the if... (according to docs, if you don't have ssl, removing tls_cert is what you have to do)

edwardsm26 (Mon, 16 Apr 2018 14:29:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NR8phE7DHTwp4YLmT) Its not implemented yet

omarqr (Mon, 16 Apr 2018 15:34:25 GMT):
Has joined the channel.

omarqr (Mon, 16 Apr 2018 15:43:26 GMT):
Hello, I just installed, configured and tried running explorer but I am getting the following message [ERROR] Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/home/flash/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:1206:11) at Client.queryInstalledChaincodes (/home/flash/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:915:23) at helper.getOrgAdmin.then (/home/flash/blockchain-explorer-master/app/query.js:132:18) at I saw someone talking about an "updatepg.sql" script, I can't find it, any idea where it is located ?

aharita (Mon, 16 Apr 2018 17:36:27 GMT):
Has joined the channel.

sunnrunner (Mon, 16 Apr 2018 22:04:15 GMT):
Has joined the channel.

MikeFair (Mon, 16 Apr 2018 23:57:05 GMT):
Has joined the channel.

FlorentinoSainz (Tue, 17 Apr 2018 06:34:11 GMT):
@omarqr I suggest you edit the code and start printing errors

FlorentinoSainz (Tue, 17 Apr 2018 06:34:42 GMT):
I spent like 1day trying to figure things which were clear there, error reporting is not vgood :P

nfrunza (Tue, 17 Apr 2018 17:52:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=i5hjacktiX4cWrxxK) @omarqr Please go over the README.md document and follow instructions

rjones (Tue, 17 Apr 2018 22:52:41 GMT):
Has joined the channel.

rjones (Tue, 17 Apr 2018 22:52:45 GMT):
I wish to make a possible controversial change to Gerrit. I'm asking all the teams that use Gerrit. May I require JIRA links in all Gerrit changes? this isn't something I can enable on a per-project basis.

nfrunza (Wed, 18 Apr 2018 04:22:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vPaEGbKhHAQG4nkMq) @Arindam we are working on adding transaction details, should be available within 1-2 weeks

nfrunza (Wed, 18 Apr 2018 04:34:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EQYCYTjTv9WQYp2tE) @rjones Yes Ry we are adding jira number to the commit message

nfrunza (Wed, 18 Apr 2018 04:38:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bBmg54ZLy8s4itE6P) @FlorentinoSainz I created a jira and someone will work on it: https://jira.hyperledger.org/browse/BE-235

dampuero (Wed, 18 Apr 2018 08:15:07 GMT):
Has joined the channel.

ApoorvChandurkar (Wed, 18 Apr 2018 09:25:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=i5hjacktiX4cWrxxK) @omarqr it's in the master branch of the explorer repo at github

nfrunza (Wed, 18 Apr 2018 12:36:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GQ7fb36H9MssEn3nb) @ApoorvChandurkar Please review README.md document, the instructions are there

jaxdave (Thu, 19 Apr 2018 13:08:26 GMT):
Has joined the channel.

FlorentinoSainz (Thu, 19 Apr 2018 13:52:12 GMT):
@nfrunza thanks!

darrell.odonnell (Thu, 19 Apr 2018 15:35:17 GMT):
Has left the channel.

ruchit-2 (Fri, 20 Apr 2018 06:44:42 GMT):
Has joined the channel.

jakerxu (Sun, 22 Apr 2018 11:02:01 GMT):
Has joined the channel.

howdyeyey (Mon, 23 Apr 2018 00:54:20 GMT):
Has joined the channel.

howdyeyey (Mon, 23 Apr 2018 00:54:23 GMT):
Greetings!

howdyeyey (Mon, 23 Apr 2018 00:54:57 GMT):

2018-04-23_10-53-42.png

howdyeyey (Mon, 23 Apr 2018 00:54:59 GMT):
I was wondering which point of Hyperledger explorer repo has this UI

howdyeyey (Mon, 23 Apr 2018 00:55:06 GMT):
because what I'm currently getting is this

howdyeyey (Mon, 23 Apr 2018 00:55:11 GMT):

2018-04-23_10-54-07.png

howdyeyey (Mon, 23 Apr 2018 00:55:37 GMT):
or are they really a different thing? =P since above is `fabric explorer` and the below one is `hyperledger explorer`

bh4rtp (Mon, 23 Apr 2018 01:25:07 GMT):
below is the latest version.

howdyeyey (Mon, 23 Apr 2018 01:29:14 GMT):
@bh4rtp I see, could you tell me if there's any branch left for the version above (not the latest)?

howdyeyey (Mon, 23 Apr 2018 01:30:06 GMT):
@bh4rtp I've tried all the branches but they seem to be transiting to the new design

howdyeyey (Mon, 23 Apr 2018 01:30:25 GMT):
I just want the old design.

bh4rtp (Mon, 23 Apr 2018 01:32:29 GMT):
i think you can use `git clone -b branch_name ...` to get specified branch. there are 6 branches available.

nekia (Mon, 23 Apr 2018 01:35:39 GMT):
Has joined the channel.

nekia (Mon, 23 Apr 2018 01:57:16 GMT):
Hi I found a thing wired. I also detected the same issue with [this one](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4CNz22FqpFPF8bji5). I could work around the issue that brower is not displaying anything by putting 'tls_cacerts' in config.json even though my fabric 1.1 environment is non-TLS. I just reported about it [here](https://stackoverflow.com/questions/49853848/hyperledger-explorer-is-empty-with-query-error-no-identity-has-been-assigned). Is that reasonable?

howdyeyey (Mon, 23 Apr 2018 02:07:29 GMT):
@bh4rtp thanks, found a trace in `reactbranch`.

nfrunza (Mon, 23 Apr 2018 02:51:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=et4rNuscydZ2wvwKQ) @howdyeyey Correct is Hyperledger explorer

howdyeyey (Mon, 23 Apr 2018 03:37:43 GMT):
@nfrunza thanks for the clarification

FlorentinoSainz (Mon, 23 Apr 2018 07:41:09 GMT):
@nekia there's a bug in the code yes, any peer without tls_cacerts gets ignored

FlorentinoSainz (Mon, 23 Apr 2018 07:41:45 GMT):
I removed that check in an if and everything worked (looked like no issues, but idk, I don't know the code)

krabradosty (Mon, 23 Apr 2018 08:33:11 GMT):
@nfrunza Hello. I have the same bug https://stackoverflow.com/questions/49853848/hyperledger-explorer-is-empty-with-query-error-no-identity-has-been-assigned Do you know how to solve?

prmdmshra (Mon, 23 Apr 2018 11:24:09 GMT):
Hi Team, Could you please suggest the changes in the config.json for running explorer on a Fabric netowrk running BNA files(Of Hyperledger Composer): https://github.com/hyperledger/blockchain-explorer/blob/master/README.md "host": "localhost", "port": "8082", "channel": "composerchannel", "keyValueStore": "/home/pwc/.composer-credentials", "eventWaitTime": "30000", "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" },

nfrunza (Mon, 23 Apr 2018 12:26:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hx494SWjvohBrD3iY) @prmdmshra As of now we have tested only with fabric samples

prmdmshra (Mon, 23 Apr 2018 12:28:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qDYx68jZzeouG3msg) @nfrunza okk Great...The Previous version was running on the Composer network....I will give a try and will update if I find a solution....Thanks

nfrunza (Mon, 23 Apr 2018 12:29:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EATmSuwnBQzEyvjxx) @prmdmshra thank you

nekia (Tue, 24 Apr 2018 02:07:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cQvmtrrNZ4nyspXaN) @FlorentinoSainz Great! Thanks.

krabradosty (Tue, 24 Apr 2018 11:19:36 GMT):

Clipboard - April 24, 2018 2:19 PM

krabradosty (Tue, 24 Apr 2018 11:19:36 GMT):

Clipboard - April 24, 2018 2:19 PM

nfrunza (Tue, 24 Apr 2018 22:46:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HX6eqmaWoBmn8xEKc) @krabradosty Is the hyperledger fabric network running? fif you follow up on README.md instructions?

krabradosty (Tue, 24 Apr 2018 23:00:48 GMT):
Yes. But I've deployed my own complex network. And yes, I've followed up the instructions

krabradosty (Tue, 24 Apr 2018 23:00:48 GMT):
Yes. But I've deployed my own complex network using Cello. And yes, I've followed up the instructions

krabradosty (Tue, 24 Apr 2018 23:01:06 GMT):
BTW, tls is disabled

nfrunza (Tue, 24 Apr 2018 23:30:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9Mi7TXaKKSdtBemcA) @krabradosty I do not know the output of the Cello, and is Cello publishing the events (blocks, chaincodes etc)?

rajivgandhi2010 (Wed, 25 Apr 2018 05:35:00 GMT):
will it work if we have multiple channel in the same network?

mengluo668 (Wed, 25 Apr 2018 10:02:20 GMT):

Error.png

mengluo668 (Wed, 25 Apr 2018 10:02:40 GMT):
Hello everyone, I am trying to run the fabric-explorer on my local(Mac + Docker), but error "No identity has been assigned to this client" block my work. I know such questions already asked many times, but it seems nobody give any solution still yet. So i want to ask once more, does anybody know how to fix this issue?

krabradosty (Wed, 25 Apr 2018 11:08:34 GMT):
@nfrunza I've deployed Explorer from scratch. Server logs: ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://52.208.1.79:8080/ Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 11 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 7 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 8 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 4 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 9 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 5 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 11 .... ```

krabradosty (Wed, 25 Apr 2018 11:08:34 GMT):
@nfrunza I've deployed Explorer from scratch. Server logs: ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://52.208.1.79:8080/ Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 11 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 7 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 8 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; .... ```

krabradosty (Wed, 25 Apr 2018 11:08:34 GMT):
@nfrunza I've deployed Explorer from scratch. Server logs: ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://52.208.1.79:8080/ Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 11 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 7 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 8 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; .... ```

krabradosty (Wed, 25 Apr 2018 11:08:34 GMT):
@nfrunza I've deployed Explorer from scratch. Server logs: ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://52.208.1.79:8080/ Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 11 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 7 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 8 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; .... ``` In my browser I see the same errors

krabradosty (Wed, 25 Apr 2018 11:08:34 GMT):
@nfrunza I've deployed Explorer from scratch. Server logs: ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://52.208.1.79:8080/ Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 11 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 7 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 8 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; .... ``` So Explorer receives data from Fabric. In my browser I see the same errors

krabradosty (Wed, 25 Apr 2018 11:44:37 GMT):
@mengluo668 Sometimes I see the same errors: ``` [2018-04-25 11:40:35.061] [ERROR] Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/home/ubuntu/monitoring-system/fabric-explorer/node_modules/fabric-client/lib/Client.js:1206:11) at Channel.queryInfo (/home/ubuntu/monitoring-system/fabric-explorer/node_modules/fabric-client/lib/Channel.js:896:36) at helper.getOrgAdmin.then (/home/ubuntu/monitoring-system/fabric-explorer/app/query.js:98:18) [2018-04-25 11:40:35.062] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/ubuntu/monitoring-system/fabric-explorer/app/query.js:213:23) [2018-04-25 11:40:42.150] [ERROR] Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/home/ubuntu/monitoring-system/fabric-explorer/node_modules/fabric-client/lib/Client.js:1206:11) at Channel.queryInfo (/home/ubuntu/monitoring-system/fabric-explorer/node_modules/fabric-client/lib/Channel.js:896:36) at helper.getOrgAdmin.then (/home/ubuntu/monitoring-system/fabric-explorer/app/query.js:98:18) [2018-04-25 11:40:42.151] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/ubuntu/monitoring-system/fabric-explorer/app/query.js:213:23) ```

krabradosty (Wed, 25 Apr 2018 12:07:36 GMT):
@nfrunza *channel* table of *fabricexplorer* database is empty. Others tables have data.

krabradosty (Wed, 25 Apr 2018 12:10:20 GMT):
s

krabradosty (Wed, 25 Apr 2018 12:11:24 GMT):

Clipboard - April 25, 2018 3:11 PM

krabradosty (Wed, 25 Apr 2018 12:11:24 GMT):

Clipboard - April 25, 2018 3:11 PM

nfrunza (Wed, 25 Apr 2018 12:17:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gRXC7Z4rCk97iDP7w) @krabradosty I have created a jira and assigned it to Jeeva, https://jira.hyperledger.org/browse/BE-249

nfrunza (Wed, 25 Apr 2018 12:20:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=r4wpKv62fxD7dAe8e) @krabradosty Is there any way you can get the trace, if you see any error in logs, or console?

krabradosty (Wed, 25 Apr 2018 12:24:08 GMT):
@nfrunza No, just server output I posted above. You can see that there is no INSERT for the *channel* table.

vmohanra (Wed, 25 Apr 2018 12:45:10 GMT):
Has joined the channel.

nfrunza (Wed, 25 Apr 2018 12:50:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rfuGsxyKhr4vM3KJE) created a jira https://jira.hyperledger.org/browse/BE-250

nfrunza (Wed, 25 Apr 2018 12:50:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rfuGsxyKhr4vM3KJE) assigned jira https://jira.hyperledger.org/browse/BE-250

edwardsm26 (Wed, 25 Apr 2018 14:13:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HX6eqmaWoBmn8xEKc) @krabradosty Have you done the npm install in /blockchain-explorer folder as well as in the /blockchain-explorer/client folder. Follow this by running npm run build in blockchain-explorer/client .

lingwchang (Wed, 25 Apr 2018 15:10:33 GMT):
Has joined the channel.

mengluo668 (Thu, 26 Apr 2018 01:23:26 GMT):
@nfrunza Please test it with Fabric 1.1.0, docker, without CA container. I believe you can see the same error

TungLuu (Thu, 26 Apr 2018 02:16:11 GMT):
Has joined the channel.

krabradosty (Thu, 26 Apr 2018 06:59:37 GMT):
@edwardsm26 Of course. Tried again, no luck. I'm using nodejs 6.9.5

jeevas (Thu, 26 Apr 2018 07:20:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yjHPP3YWKEAKPWD8J) @mengluo668 We are working on it. once we fix the issues, will let you know

mengluo668 (Thu, 26 Apr 2018 07:21:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TSSr7AkeT5XvYS2se) @jeevas Thanks

jeevas (Thu, 26 Apr 2018 07:23:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XRszWpTpY8HwHbjwn) @krabradosty Please follow the Readme document and try again.

krabradosty (Thu, 26 Apr 2018 09:55:33 GMT):
@jeevas I did it not once

MohammadObaid (Thu, 26 Apr 2018 19:29:21 GMT):
Hey @jeevas and others. I have deployed hyperledger explorer on aws ubuntu instance . After then I port forward 8080 on aws security group but when I view url with 8080 port it shows me 'cannot get ' . Any solution ?

satheeshk (Fri, 27 Apr 2018 11:35:43 GMT):
Hi @MohammadObaid Please use the template provided by AWS, it has all the required Orgs and peers setup with Hyperledger Explorer working out of the box. Please try this and let us know https://aws.amazon.com/blockchain/templates/getting-started/

satheeshk (Fri, 27 Apr 2018 11:44:02 GMT):
When creating the IAM role, it requires two privileges 1) AmazonS3FullAccess 2) AmazonEC2ContainerRegistryFullAccess

dayubian (Sat, 28 Apr 2018 05:41:32 GMT):
Has joined the channel.

TuckerSiegel (Sat, 28 Apr 2018 21:19:20 GMT):
Has joined the channel.

TuckerSiegel (Sat, 28 Apr 2018 21:21:55 GMT):

Clipboard - April 28, 2018 5:21 PM

TuckerSiegel (Sat, 28 Apr 2018 21:21:57 GMT):
Hi all, whenever I try and run my explorer install, which is running alongside composer, I get the following error in the chrome console.

TuckerSiegel (Sat, 28 Apr 2018 21:22:10 GMT):
I'm running the server on AWS EC2

nfrunza (Sun, 29 Apr 2018 17:04:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WQngr6XmsHnGxTPzc) @TuckerSiegel I have created a jira, https://jira.hyperledger.org/browse/BE-251

TuckerSiegel (Sun, 29 Apr 2018 17:05:20 GMT):
@nfrunza thanks

nfrunza (Sun, 29 Apr 2018 17:07:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6UpY46nYskb3KIo0FK) @TuckerSiegel did you follow README.md document ?

TuckerSiegel (Sun, 29 Apr 2018 17:07:15 GMT):
@nfrunza yeah

nfrunza (Sun, 29 Apr 2018 17:07:40 GMT):
please try first running locally, then AWS

TuckerSiegel (Sun, 29 Apr 2018 17:09:34 GMT):
Pulling everything from AWS and running locally would be a massive pain... I'll work on it later this week

nfrunza (Sun, 29 Apr 2018 17:16:47 GMT):
from the github

nfrunza (Sun, 29 Apr 2018 17:17:46 GMT):
ok, we didn't test in AWS, we are still in developing

TuckerSiegel (Sun, 29 Apr 2018 17:35:44 GMT):
I got it to work. I had to edit some of the node source files but it works now! On me if you want me to share my changes with you

TuckerSiegel (Sun, 29 Apr 2018 17:35:50 GMT):
@nfrunza

nfrunza (Sun, 29 Apr 2018 17:36:13 GMT):
please , we may need to update the readme

TuckerSiegel (Sun, 29 Apr 2018 17:37:48 GMT):
@nfrunza ok

nfrunza (Sun, 29 Apr 2018 17:40:25 GMT):
great thank you, i appreciate

mychewcents (Tue, 01 May 2018 14:02:38 GMT):
Has joined the channel.

lvndry (Tue, 01 May 2018 19:21:12 GMT):
Has joined the channel.

PirangPhan (Wed, 02 May 2018 02:28:23 GMT):
Has joined the channel.

zhuxubin01 (Wed, 02 May 2018 16:21:42 GMT):
hi, all,anyone knows whether blockchain-explorer supported in fabric 1.1.0

DigitalChangeGeek (Wed, 02 May 2018 21:45:31 GMT):
Has joined the channel.

DigitalChangeGeek (Wed, 02 May 2018 22:16:11 GMT):

Clipboard - May 3, 2018 12:16 AM

DigitalChangeGeek (Wed, 02 May 2018 22:16:37 GMT):
Have installed Hyperledger explorer but there seems to be an issue complaining that it cant communicate with Hyperledger due to some certificate issue (TLS) when making grpc protocol request using https://www.npmjs.com/package/grpc. Anyone know how I can resolve this would be great help?

nekia (Wed, 02 May 2018 23:48:10 GMT):
I don't know exactly the issue you mentioned, in my case, the following is a solution for the TLS related issue I have. https://stackoverflow.com/questions/49853848/hyperledger-explorer-is-empty-with-query-error-no-identity-has-been-assigned/49934968#49934968 @DigitalChangeGeek

ydk210999 (Thu, 03 May 2018 02:27:03 GMT):
Has joined the channel.

lwrabbit (Thu, 03 May 2018 03:26:09 GMT):
@zhuxubin01 I met the same problem, have you solved it?

zhuxubin01 (Thu, 03 May 2018 06:39:59 GMT):
@lwrabbit nobody reply me

zhuxubin01 (Thu, 03 May 2018 06:40:17 GMT):
anyone who can Kindly tell me

nekia (Thu, 03 May 2018 07:21:37 GMT):
@zhuxubin01 https://jira.hyperledger.org/browse/BE-228 This JIRA is still unresolved, so I think blockchain-explorer doesn't support fabric 1.1.0.

zhuxubin01 (Thu, 03 May 2018 09:39:12 GMT):
@lwrabbit supported , today I tried to run it with fabric-1.1.0 .but have same error messages same with mengluo668's problem

lwrabbit (Thu, 03 May 2018 10:03:36 GMT):
@zhuxubin01 thanks

DigitalChangeGeek (Thu, 03 May 2018 12:36:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FRSx7cC7zktz3smFW) @nekia Thanks for the suggestion. Will try it out

mansoor (Thu, 03 May 2018 15:06:47 GMT):
Has joined the channel.

zhuxubin01 (Thu, 03 May 2018 15:30:44 GMT):
@jeevas when will you fix the problem that @mengluo668 raised

jeevas (Fri, 04 May 2018 09:02:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FFmq3tYArpF9HSRaT) @zhuxubin01 i am working on it. hope it will finish in next week

dapper-hacker (Fri, 04 May 2018 10:27:12 GMT):
Has joined the channel.

dapper-hacker (Fri, 04 May 2018 10:33:37 GMT):
the link to come here on rocket chat from hyperledger explorer webpage is broken https://www.hyperledger.org/projects/explorer

AkshayJindal (Fri, 04 May 2018 11:17:40 GMT):
hello.. is it possible to see committed transactions or block via explorer?

nfrunza (Fri, 04 May 2018 12:48:47 GMT):
@krabradosty "Error: No identity has been assigned to this client" in https://jira.hyperledger.org/browse/BE-249 has been fixed, please get the latest from master branch

nfrunza (Fri, 04 May 2018 13:35:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KpSvGx9qSFtcbp62T) @nekia We are working on it, there are many new changes in HLF v1.1 we need to implement

nfrunza (Fri, 04 May 2018 13:37:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=td5yMyMF9zmAZxfSt) @zhuxubin01 We are working on integrating with HLF v1.1

nfrunza (Fri, 04 May 2018 13:38:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FRSx7cC7zktz3smFW) @nekia This is fixed, please update from master branch

nfrunza (Fri, 04 May 2018 13:39:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HoTf99Q6XfGFGM7wJ) @DigitalChangeGeek This is fixed ,please update from master branch

nfrunza (Fri, 04 May 2018 13:40:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=td5yMyMF9zmAZxfSt) @zhuxubin01 work in progress to integrate with HLF v1.1

npc0405 (Sat, 05 May 2018 06:53:45 GMT):
hi

npc0405 (Sat, 05 May 2018 06:54:34 GMT):
is there way or example available for multichannel and multinode using hyperledger composer

pravindia (Sun, 06 May 2018 17:09:00 GMT):
Has joined the channel.

vanitas92 (Sun, 06 May 2018 20:43:19 GMT):
Hello everyone, I have deployed the newest version of hyperledger-explorer but i have an issue. My network has 4 channels and the app displays them all in the dropdown, though not all dropdown is visible. Nevertheless, when i click on another channel, the dashboard does not seem to refresh the data to the new channel. I still keep the old version before the change of the ui and it works correctly. Is this an aware issue or it justs happens to me?

mengluo668 (Mon, 07 May 2018 01:41:39 GMT):
@vanitas92 you have to bind channels dropdown event to redux action dispatch. The dispatched actions It will load the data of new channel from api and save return data into redux store. As I remember, you can find out the demo of `how to map dispatch to state` in explorer source code

nekia (Mon, 07 May 2018 02:50:20 GMT):

Clipboard - May 7, 2018 12:48 PM

nekia (Mon, 07 May 2018 02:50:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nokpeABofbosiPaAP) @nfrunza Thanks! I updated the environment and the issue related to TLS error seems to be resolved but I got another issue. After displaying 'Loading blocks' message on web browser, I have a blank view. There is not any error on the console I started Hyperledger explorer. I see the above error on Chrome Deb tools console. Does anyone know about it ?

nfrunza (Mon, 07 May 2018 02:55:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=goYjRwtAFLvoPycsP) @nekia did you "npm install", "npm build" after pulling the latest, ?

nekia (Mon, 07 May 2018 03:03:30 GMT):
Yes. Actually I set up the environment from scratch. I did 'npm install', 'npm run build' under client directory by following the steps on the official site.

varinder (Mon, 07 May 2018 16:57:25 GMT):
@nfrunza Hey, I also came across same issue as nekia posted. I just rebuild my environment (followed instructions "Build Hyperledger Explorer" and "Run" on https://github.com/hyperledger/blockchain-explorer) but I keep on seeing the image he posted in my console

varinder (Mon, 07 May 2018 16:57:50 GMT):
@nfrunza is there anything else i need to do to get the latest changes?

varinder (Mon, 07 May 2018 16:59:49 GMT):

Screen Shot 2018-05-07 at 9.59.11 AM.png

nfrunza (Mon, 07 May 2018 17:25:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AKXRSgco8Xte8N5vm) @varinder did you "npm install" and "npm build", do you have the network running

varinder (Mon, 07 May 2018 17:26:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p2zeoYjRDgjb56x6R) @nfrunza yeah I did that and have the network running

nfrunza (Mon, 07 May 2018 17:26:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p2zeoYjRDgjb56x6R) i see network offline, you need running network

nfrunza (Mon, 07 May 2018 17:30:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5s29yoDFTWbp4gjtg) did you configure in config.json path to your network

varinder (Mon, 07 May 2018 17:30:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nnJ8xhJ8FxbxEkSgW) @nfrunza i think that's where the issue is

varinder (Mon, 07 May 2018 17:30:54 GMT):
let me send you my log and config.json

varinder (Mon, 07 May 2018 17:31:49 GMT):
I am doing a hyperledger composer .bna file running a local network

varinder (Mon, 07 May 2018 17:32:56 GMT):
I am running a hyperledger composer network with a modified .bna file and rest server to do the transactions. It's all running fine but struggling to make explorer work with it. I saw @prmdmshra was doing something similar. It seems the config.json requires quite a few changes so thats where I may have issues in.. I will attach below the error I am getting using *tail -f log.log* in blockchain explorer and I will attach my config.json

varinder (Mon, 07 May 2018 17:32:56 GMT):
*tail -f log.log* error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Query channel info. Error: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] @nfrunza at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-07 09:09:33.155] [ERROR] Query - Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-07 09:09:33.155] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/blockchain-explorer/app/query.js:193:24) at

varinder (Mon, 07 May 2018 17:33:16 GMT):
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/Users/vssaini/fabric-tools3/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /Users/vssaini/fabric-tools3/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Query channel info. Error: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/Users/vssaini/fabric-tools3/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /Users/vssaini/fabric-tools3/blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-07 09:09:33.155] [ERROR] Query - Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/Users/vssaini/fabric-tools3/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /Users/vssaini/fabric-tools3/blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-07 09:09:33.155] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/Users/vssaini/fabric-tools3/blockchain-explorer/app/query.js:193:24) at

nfrunza (Mon, 07 May 2018 17:33:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=u7ngxaT92ModXgjQM) @varinder Please follow up instructions in README.md

edwardsm26 (Mon, 07 May 2018 17:35:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RT3WsuT5GMq2P8w4v) Hi @vanitas92 we are working on setting the current channel of the explorer from that dropdown. That functionality has not been released yet

varinder (Mon, 07 May 2018 17:38:21 GMT):
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Query channel info. Error: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-07 09:09:33.155] [ERROR] Query - Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-07 09:09:33.155] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/blockchain-explorer/app/query.js:193:24) at

varinder (Mon, 07 May 2018 17:38:21 GMT):
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Query channel info. Error: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-07 09:09:33.155] [ERROR] Query - Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-07 09:09:33.155] [ERROR] blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/blockchain-explorer/app/query.js:193:24) at

varinder (Mon, 07 May 2018 17:39:36 GMT):
{     "network-config": {         "org1": {             "name": "hlfv1",             "mspid": "Org1MSP",             "peer1": {                 "requests": "grpc://127.0.0.1:7051",                 "events": "grpc://127.0.0.1:7053",                 "server-hostname": "peer0.org1.example.com"             },             "admin": {                 "key": "/traceability-network/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore",                 "cert": "/traceability-network/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem"             }         }     },     "host": "localhost",     "port": "8080",     "channel": "mychannel",     "keyValueStore": "/tmp/fabric-client-kvs",     "eventWaitTime": "30000",     "users":[         {          "username":"admin",          "secret":"adminpw"         }      ],     "pg": {         "host": "127.0.0.1",         "port": "5432",         "database": "fabricexplorer",         "username": "hppoc",         "passwd": "password"     },     "license": "Apache-2.0" }

nfrunza (Mon, 07 May 2018 17:40:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zdmbAttzurRBpoXY2) @varinder do yuo have mychannel name in your network?

varinder (Mon, 07 May 2018 17:41:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WzNRXP9N32oNLBMn8) @nfrunza er I don't think so

varinder (Mon, 07 May 2018 17:42:02 GMT):
i think the channel name is hlfv1

nfrunza (Mon, 07 May 2018 17:42:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=X3teH3xBWvobou3NG) @varinder add the channel name in config.json

nfrunza (Mon, 07 May 2018 19:07:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=t87WMA8Z5spt6iYHQ) @varinder add hlfv1 in config.json instead of mychannel

varinder (Mon, 07 May 2018 23:21:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mXBSc3ZRKSrcpZKsN) @nfrunza yeah I did that and went through the build/run commands but when i do the tail log, it continues to mention channel [mychannel] even though my config.json is updated

varinder (Mon, 07 May 2018 23:21:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mXBSc3ZRKSrcpZKsN) @nfrunza yeah I did that and wen through the build/run commands but when i do the tail log, it continues to mention channel [mychannel] even though my config.json is updated

varinder (Mon, 07 May 2018 23:28:04 GMT):
do I need to restart my network

nfrunza (Mon, 07 May 2018 23:28:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=w5ike8t3qXm3uymAz) @varinder I created a jira, someone will work on it, https://jira.hyperledger.org/browse/BE-259

nfrunza (Mon, 07 May 2018 23:28:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b9AmLHPXXGdyegCRY) We have not tested HL Explorer with composer

varinder (Mon, 07 May 2018 23:30:55 GMT):
I notice the container peer0.org1 is throwing channel doesn't exist, I will try rebuilding explorer

varinder (Mon, 07 May 2018 23:30:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b9AmLHPXXGdyegCRY) @nfrunza okay thank you

Starseven (Tue, 08 May 2018 11:51:48 GMT):
Has joined the channel.

umtyzc (Tue, 08 May 2018 13:43:34 GMT):
Has joined the channel.

umtyzc (Tue, 08 May 2018 14:23:42 GMT):
hi i have a missing requirement name parameter after ./start.sh postgres://hppoc:password-@localhost:5432/fabricexplorer error: [Channel.js]: Failed to create Channel. Missing requirement "name" parameter. /home/umtyzc/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:88 throw new Error('Failed to create Channel. Missing requirement "name" parameter.'); ^ Error: Failed to create Channel. Missing requirement "name" parameter. at new Channel (/home/umtyzc/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:88:10) at Client.newChannel (/home/umtyzc/blockchain-explorer/node_modules/fabric-client/lib/Client.js:210:13) at configuration.getOrgs.forEach.key (/home/umtyzc/blockchain-explorer/app/FabricClientProxy.js:143:26) at Array.forEach (native) at FabricClientProxy.createDefault (/home/umtyzc/blockchain-explorer/app/FabricClientProxy.js:137:27) at new FabricClientProxy (/home/umtyzc/blockchain-explorer/app/FabricClientProxy.js:32:8) at Object. (/home/umtyzc/blockchain-explorer/app/FabricClientProxy.js:184:18) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32)

edwardsm26 (Tue, 08 May 2018 15:33:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9QL6pu4ZJzrWKNyrF) @umtyzc hi what network are you trying to connect to ? is it mychannel?

edwardsm26 (Tue, 08 May 2018 15:36:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5ZTsCA9XCGMT23ep6) @AkshayJindal Hi , yes you are able to view committed transactions and blocks through the hyperledger explorer

albrandt (Tue, 08 May 2018 16:12:44 GMT):
Has left the channel.

Tommy109 (Tue, 08 May 2018 17:50:35 GMT):
Has joined the channel.

WHATISOOP (Wed, 09 May 2018 02:04:14 GMT):
Has joined the channel.

Saschaka (Wed, 09 May 2018 09:48:08 GMT):
Has joined the channel.

Saschaka (Wed, 09 May 2018 09:50:52 GMT):
Hi, I am running a Blockchain Demo on the development environment. Using a deployed bna file. Can I use explorer to view blocks.

Saschaka (Wed, 09 May 2018 09:51:21 GMT):
The environment is already on Fabric 1.1

vloup (Wed, 09 May 2018 10:03:28 GMT):
Has joined the channel.

gut (Wed, 09 May 2018 11:19:54 GMT):
Has joined the channel.

umtyzc (Wed, 09 May 2018 14:18:30 GMT):
Yes, it is mychannel. I try to connect basic-network example 1 peer, 1 org , 1 channel @edwardsm26 [ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8c2uwpgjQJq7yZeSZ)

akshaylawange001 (Wed, 09 May 2018 19:38:38 GMT):
Has joined the channel.

ShobhitSrivastava (Thu, 10 May 2018 11:38:35 GMT):
Has joined the channel.

ShobhitSrivastava (Thu, 10 May 2018 11:46:41 GMT):
Hi all, has anyone tried blockchain explorer on 1.1 fabirc version. I tried it on 1.0 it was working but somehow not working on 1.1. Has any one tried it yet?

mahoney1 (Thu, 10 May 2018 15:54:35 GMT):
reminder that the Community call is in 5 minutes - Join via Zoom from PC, Mac, Linux, iOS or Android:https://zoom.us/my/hyperledger.community dial-in numbers available if travelling: https://zoom.us/zoomconference?m=4IcjK7Q6jLj-wtjpwsMaXd0BSN_OFJW3would be great to hear from you and hear your Composer stories and use cases on the call - we'll also discuss the latest release and what's upcoming -> https://github.com/hyperledger/composer/wiki/Meeting-10th-May-2018

nfrunza (Thu, 10 May 2018 16:25:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qMJa4B9AQcqgJALvr) @ShobhitSrivastava Try pulling from release-3.1 branch

sgaddam (Fri, 11 May 2018 05:41:08 GMT):
Has joined the channel.

vchinoy (Fri, 11 May 2018 11:31:33 GMT):
@umtyzc Please check your config file. Org1 and org2 must have a name parameter

vchinoy (Fri, 11 May 2018 11:36:02 GMT):
@Saschaka Yes Explorer can be used to connect and view blocks from fabric 1.1 network. Please checkout latest on explorer from release-3.2

Saschaka (Fri, 11 May 2018 11:46:00 GMT):
ok, thanks I will check it

vchinoy (Fri, 11 May 2018 11:49:05 GMT):
There are plans on the table for Explorer to support Iroha, Sawtooth and Corda. Folks with a desire to help make a difference are most welcome to join our efforts! https://jira.hyperledger.org/browse/BE-264, https://jira.hyperledger.org/browse/BE-265, https://jira.hyperledger.org/browse/BE-266

prmdmshra (Fri, 11 May 2018 11:56:19 GMT):
Could you please assist me in resolving the following error: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer /home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:113 var keyPath = admin.key; ^ TypeError: Cannot read property 'key' of undefined at FabricClientProxy.setAdminForClient (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:113:23) at configuration.getOrgs.forEach.key (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:145:10) at Array.forEach () at FabricClientProxy.createDefault (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:137:27) at new FabricClientProxy (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:32:8) at Object. (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:184:18) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) The Config.json file is as follows: { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://0.0.0.0:7051", "events": "grpcs://0.0.0.0:7053", "server-hostname": "peer0.org1.example.com" }, "Admin": { "key": "/home/fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host": "localhost", "port": "8080", "channel": "mychannel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "users":[ { "username":"admin", "secret":"adminpw" } ], "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "license": "Apache-2.0" }

vchinoy (Fri, 11 May 2018 12:06:08 GMT):
@prmdmshra I see you do have admin key path defined in your config, try lower case "admin" in config file

prmdmshra (Fri, 11 May 2018 12:10:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qs4zhvvTnZyCHbdQK) @vchinoy Thanks. That error got resolved but I another error appeared: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer fs.js:921 return binding.readdir(pathModule.toNamespacedPath(path), options.encoding); ^ Error: ENOENT: no such file or directory, scandir 'home/fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore' at Object.fs.readdirSync (fs.js:921:18) at Object.readAllFiles (/home/pwc/blockchain-explorer-master/app/helper.js:25:17) at FabricClientProxy.setAdminForClient (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:114:35) at configuration.getOrgs.forEach.key (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:145:10) at Array.forEach () at FabricClientProxy.createDefault (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:137:27) at new FabricClientProxy (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:32:8) at Object. (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:184:18) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)

umtyzc (Fri, 11 May 2018 12:15:13 GMT):
Thanks vchinoy, I have one organization and this organization have a name parameter. @vchinoy [ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ohKpj4mwu3MGz6F3p)

umtyzc (Fri, 11 May 2018 12:17:44 GMT):
I try to integration between basic-network example config file: { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/umtyzc/education/LFS171x/fabric-material/basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/home/umtyzc/education/LFS171x/fabric-material/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/umtyzc/education/LFS171x/fabric-material/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "host": "localhost", "port": "8080", "channel": "mychannel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "users": { "username":"admin", "secret":"adminpw" }, "pg": { "host": "localhost", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "8940Pmkm*-" }, "license": "Apache-2.0" } }

nfrunza (Fri, 11 May 2018 14:01:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3pBQyn4JAToW52Fij) @prmdmshra Please check if you have the file, go over the config.json and try to see if the files have valid path, or simple get the file path and $cat file path

nfrunza (Fri, 11 May 2018 14:02:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SfppNPwyjvLRfokDw) @varinder if you mean hyperledger fabric network? No restart, if changes done in config.json of explorer, yes restart, sometime you may need to kill the node, use $pkill node

hariomgoyal (Sat, 12 May 2018 05:46:59 GMT):
Has joined the channel.

ShivajiBose (Sat, 12 May 2018 10:47:30 GMT):
Has joined the channel.

jack21 (Sat, 12 May 2018 12:46:17 GMT):
dos any one has this error:

jack21 (Sat, 12 May 2018 12:47:12 GMT):
wen I run start.sh I found this error in log.log:`error when connecting to db: Error: Client has already been connected. You cannot reuse a client. at Client.connect (/root/blockchain-explorer/node_modules/pg/lib/client.js:59:17) at Timeout.handleDisconnect [as _onTimeout] (/root/blockchain-explorer/app/db/pgservice.js:34:12) at ontimeout (timers.js:482:11) at tryOnTimeout (timers.js:317:5) at Timer.listOnTimeout (timers.js:277:5) `

Saschaka (Sun, 13 May 2018 10:10:08 GMT):
Hey, I am using the development environment for Hyperledger Composer and deployed be Blockchain-POC there. I would love use explorer to give some visibilty on the blocks and the network.

Saschaka (Sun, 13 May 2018 10:10:48 GMT):
I am struggeling to set up a correct config.json

Saschaka (Sun, 13 May 2018 10:12:16 GMT):
I don't know what to set for tls_cacerts. Of course I know my network path. But there are no sub-directories 'crypto-config/peerOrg ......'

Saschaka (Sun, 13 May 2018 10:12:54 GMT):
I had same when I made the Fabric 'Build your first network' example. But composer seems to handle that diffrently.

Saschaka (Sun, 13 May 2018 10:13:49 GMT):
Is there any good Tutorial/HowTo I could check? Hints in this chat are also welcome of course.

Saschaka (Sun, 13 May 2018 10:29:35 GMT):
Probably found it. Seems to be under /home/ubuntu/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config .... for the dev environment

Saschaka (Sun, 13 May 2018 10:30:41 GMT):
Unfortunately I do have an error in th Build now. If I run npm run test I do get an error:

Saschaka (Sun, 13 May 2018 10:31:55 GMT):

npm run test fails

Saschaka (Sun, 13 May 2018 10:32:37 GMT):
I did "npm install log4js" but that did not help. Any ideASß

nfrunza (Mon, 14 May 2018 01:31:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=doKNKa2C2ajSNTZzs) @Saschaka do 1) npm install on root of the project (blockchain-explorer) 2) cd client dir, npm install, npm run build. 3) from blockchain-explorer ./start.sh , then tail -f log.log

prmdmshra (Mon, 14 May 2018 07:33:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gBbFuLBccvAMm9Cax) @nfrunza Thanks!! Another error seems to appear on running the ./start.sh postgres://hppoc:password@localhost:5432/fabricexplorer /home/pwc/blockchain-explorer-master/node_modules/fabric-client/lib/Remote.js:203 throw new Error('PEM encoded certificate is required.'); ^ Error: PEM encoded certificate is required. at new Endpoint (/home/pwc/blockchain-explorer-master/node_modules/fabric-client/lib/Remote.js:203:11) at new Remote (/home/pwc/blockchain-explorer-master/node_modules/fabric-client/lib/Remote.js:125:20) at new Peer (/home/pwc/blockchain-explorer-master/node_modules/fabric-client/lib/Peer.js:53:3) at Client.newPeer (/home/pwc/blockchain-explorer-master/node_modules/fabric-client/lib/Client.js:291:14) at configuration.getPeersByOrg.forEach.key (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:173:20) at Array.forEach () at FabricClientProxy.setupPeers (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:161:36) at configuration.getOrgs.forEach.key (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:155:10) at Array.forEach () at FabricClientProxy.createDefault (/home/pwc/blockchain-explorer-master/app/FabricClientProxy.js:137:27)

Saschaka (Mon, 14 May 2018 08:39:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SerJTdb8Kh3wTDJww) @nfrunza Thank you for your answer. If I run npm install in the root of the project the installation a few things happen but it is not giving a success message. I also do not get the prompt anymore. Is that normal? Should I continue with another session?

Saschaka (Mon, 14 May 2018 08:40:13 GMT):

npm install in root folder

harsha (Mon, 14 May 2018 13:44:44 GMT):
Has joined the channel.

nfrunza (Mon, 14 May 2018 17:24:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yeqrbz36r4ZqzSMQ8) @Saschaka , please follow instructions in README.md file, did you complete all 3 steps ? and the npm run build was successful ?

nfrunza (Mon, 14 May 2018 17:29:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ENxmyXW7SHGY8XzAb) @prmdmshra , please review if in your config.json all the files paths are correct

prmdmshra (Tue, 15 May 2018 09:10:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mKcMbC5B3bbtfsPCt) @nfrunza Thanks for your continuous assistance. The errors seems to be resolved, but Blank Web page appears on Launching the Web browser. Config.jason File:

prmdmshra (Tue, 15 May 2018 09:10:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mKcMbC5B3bbtfsPCt) @nfrunza Thanks for your continuous assistance. The errors seems to be resolved, but Blank Web page appears on Launching the Web browser. Config.json File: { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://localhost:7051", "events": "grpc://localhost:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/home/pwc/fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/pwc/fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host": "localhost", "port": "8085", "channel": "composerchannel", "keyValueStore": "/home/pwc/.composer-credentials", "eventWaitTime": "30000", "users":[ { "username":"admin", "secret":"adminpw" } ], "pg": { "host": "localhost", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "license": "Apache-2.0" }

prmdmshra (Tue, 15 May 2018 09:10:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mKcMbC5B3bbtfsPCt) @nfrunza Thanks for your continuous assistance. The errors seems to be resolved, but Blank Web page appears on Launching the Web browser. Config.json File: { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://localhost:7051", "events": "grpc://localhost:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/home/pwc/fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/pwc/fabric-tools/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host": "localhost", "port": "8085", "channel": "composerchannel", "keyValueStore": "/home/pwc/.composer-credentials", "eventWaitTime": "30000", "users":[ { "username":"admin", "secret":"adminpw" } ], "pg": { "host": "localhost", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "license": "Apache-2.0" } *Logs on Log.log* postgres://hppoc:password@localhost:5432/fabricexplorer Please open web browser to access :http://localhost:8085/ Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 20 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 8 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 13

prmdmshra (Tue, 15 May 2018 09:12:15 GMT):

Clipboard - May 15, 2018 2:41 PM

gut (Tue, 15 May 2018 10:08:11 GMT):
Has left the channel.

prakhar 5 (Tue, 15 May 2018 10:44:32 GMT):
Has joined the channel.

nfrunza (Tue, 15 May 2018 11:58:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4tH9nuN6cZjAiDzgj) @prmdmshra Please describe you environment 1) do you run locally or on AWS? 2) do you use "fabric-samples/first-network" network ?

prmdmshra (Tue, 15 May 2018 12:52:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GmYWgcEBhYdAuMSSq) @nfrunza I am running it locally and have run Fabric using ./startFabric.sh https://github.com/hyperledger/composer-tools/tree/master/packages/fabric-dev-servers

nfrunza (Tue, 15 May 2018 12:55:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hFbTKnpasRLQ6jvYc) @prmdmshra I see this is composer, can you try running "fabric-samples/first-network" ? we haven't tested to run with composer, it could be different, but we have a jira for that

vikaskumar 1 (Tue, 15 May 2018 16:13:37 GMT):
Has joined the channel.

header340 (Tue, 15 May 2018 17:25:29 GMT):
Has joined the channel.

header340 (Tue, 15 May 2018 17:53:35 GMT):
I'm struggling to get Explorer to work with my Fabric 1.1.0 network. Originally tried installing the master branch of Explorer and running on the existing peer box which had Node version 8.11.1. Following the readme steps I got everything to work just fine, run the startup.sh and the log showed all of the existing blocks being scanned. No apparent errors. But visiting the localhost:8080 results in a quick graphic suggesting that things are loading and then a blank screen. Per the advice I saw above, I tried using the release-3.1 branch but I'm getting the same results. I also changed the nodejs version to 6.9.5 per the readme dependencies section but get the same results. The log file shows no errors despite a blank page coming up. I'm sort of at a loss as to how I troubleshoot further. I'm a little new to this world and don't fully understand how all of these components are stitched together. Can somebody point me in the right direction to discover a little more about why I can't get this to run?

header340 (Tue, 15 May 2018 18:05:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nvaPpkkbGgFuKZQn2) Here is a snapshot from log.log: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://localhost:8086/ Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 10 INSERT ID: 2 INSERT ID: 2 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; Insert sql is INSERT INTO peer ( "name","requests","server_hostname" ) VALUES( $1,$2,$3 ) RETURNING *; INSERT ID: 6 INSERT ID: 11 INSERT ID: 3 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 ...... INSERT ID: 77592 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *;

prmdmshra (Tue, 15 May 2018 18:09:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xjNZWEYspWP7NLXsn) @header340 I am also observing the same issue. The Web page is blank after the initial Hyperledger Explorer Loading messages and nothing shows up in the Logs

rjones (Tue, 15 May 2018 18:12:14 GMT):
Has left the channel.

header340 (Tue, 15 May 2018 18:24:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=J3J7JGqqtSgzpZz5o) @prmdmshra I would note that I can plug in the API paths and get valid responses back. For example, I can hit :8086/api/status/ and it returns {"chaincodeCount":"2","txCount":"107220","latestBlock":535,"peerCount":"3"}. But when I just visit :8086 it pulls up that loading graphic and then goes blank. The URL changes to :8086/#/ and I'm not sure what the significance of the # is. Since there seem to be no errors and the /api/* paths work, is it just as simple as the right page isn't being pulled up by default? Do I need to visit a specific page name? (:8086/)

nfrunza (Tue, 15 May 2018 23:00:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nrahaY5EXhT96sB8t) @header340 Did you configure post and host on config.json ? "host": "localhost", "port": "8080",

nfrunza (Tue, 15 May 2018 23:00:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nrahaY5EXhT96sB8t) @header340 try hard reload the page

nfrunza (Tue, 15 May 2018 23:02:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=P93nWYFsDjZzb5K33) did you npm install in root, npm install and npm run build in /client dirs?

lwrabbit (Wed, 16 May 2018 03:30:44 GMT):
hi,all. I got an err:"TypeError: Cannot read property 'mychannel' of undefined" when I start blockchain-explore。Can anyone help?

lwrabbit (Wed, 16 May 2018 03:31:57 GMT):
and my fabric version is 1.1

kyuyeon (Wed, 16 May 2018 06:31:14 GMT):
Has joined the channel.

wlimtx (Wed, 16 May 2018 09:00:42 GMT):
Has joined the channel.

vchinoy (Wed, 16 May 2018 13:31:26 GMT):
@prmdmshra If you are hitting localhost:8080 in Chrome browser, what do you see in the console(ctrl-shift-i on linux or F12 on windows)? If the page won't load there should be some error in console

vchinoy (Wed, 16 May 2018 13:32:44 GMT):
@header340 What error do you see in console if any

header340 (Wed, 16 May 2018 20:29:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=P93nWYFsDjZzb5K33) @nfrunza Yes, I've reloaded the page. Including switching to IE for a different browser and also cleared cache. Still the same results.

header340 (Wed, 16 May 2018 20:30:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4t78fEuhJmnpucXQ2) @nfrunza Yes, I followed the instructions in the readme file. This includes also running npm install in the app directory which the readme steps seem to erroneously omit.

header340 (Wed, 16 May 2018 20:42:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wCJb8uDxLkw8CmZxc) @vchinoy Ahhh.... thank you. There are some errors, although at first glance I don't know if they are concerning or not. Error during service worker registration: DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV). (anonymous) @ registerServiceWorker.js:75 WebSocket connection to 'ws://localhost:8080/' failed: WebSocket is closed before the connection is established. @ :8080/#/:1 TypeError: Cannot read property 'forEach' of undefined at t.value (HeaderView.js:67) at commitLifeCycles (react-dom.production.min.js:159) at O (react-dom.production.min.js:185) at M (react-dom.production.min.js:182) at m (react-dom.production.min.js:181) at v (react-dom.production.min.js:181) at h (react-dom.production.min.js:180) at l (react-dom.production.min.js:179) at Object.enqueueSetState (react-dom.production.min.js:110) at t.o.setState (react.production.min.js:12) @ react-dom.production.min.js:151 (this same error also occurred at line 182)

ravijaviya (Thu, 17 May 2018 06:55:37 GMT):
Has joined the channel.

HarshithaC (Thu, 17 May 2018 11:55:53 GMT):
Has joined the channel.

vchinoy (Thu, 17 May 2018 14:50:39 GMT):
@header340 Sorry I see in your earlier message your application is listening on port 8086 so you would bring it up on localhost:8086 and check for errors in console.

rthatcher (Thu, 17 May 2018 15:23:02 GMT):
Has joined the channel.

header340 (Thu, 17 May 2018 15:49:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WgNpYFbgbXTimfFxZ) @vchinoy My apologies for the port confusion. I originally didn't know how to kill/restart the process once I had launched it and so every time I changed something and went to restart Explorer I was using a new port. Hence making it up to 8086. But I did some googling and figured out how to end the processes on a particular port and hence I am now able to keep running on 8080 even with a restart. So the errors I pasted are valid as I was running Explorer on 8080 at the time.

rthatcher (Thu, 17 May 2018 16:12:30 GMT):
I have the same problem as @header340 ... I'm using Ubuntu 16.04, Fabric v1.1.0, Composer v0.19.5 I've got hyperledger-explorer 0.3.0 installed earlier in the week I've edited the config.json - and I can supply it later but it is a bit long. when I run the start script data gets written into the postgres database, and when I issue the command `curl http://localhost:8080/api/status/composerchannel` I see this data `{"chaincodeCount":"4","txCount":"31","latestBlock":21,"peerCount":"1"}` so I guess the collection side of things is good. When I hit port 8080 with the browser I get a nice graphic and a couple of status lines then a blank screen. My console in Chrome shows these errors:

rthatcher (Thu, 17 May 2018 16:12:30 GMT):
I have the same problem as @header340 ... I'm using Ubuntu 16.04, Fabric v1.1.0, Composer v0.19.5 I've got hyperledger-explorer 0.3.0 installed earlier in the week I've edited the config.json - and I can supply it later but it is a bit long. when I run the start script data gets written into the postgres database, and when I issue the command `curl http://localhost:8080/api/status/composerchannel` I see this data `{"chaincodeCount":"4","txCount":"31","latestBlock":21,"peerCount":"1"}` so I guess the collection side of things is good. When I hit port 8080 with the browser I get a nice graphic and a couple of status lines then a blank screen. My console in Chrome shows these errors: (BTW - I have had the Explorer running a few times in the past with Composer with Fabric 1.0)

rthatcher (Thu, 17 May 2018 16:12:48 GMT):

Clipboard - May 17, 2018 5:12 PM

vchinoy (Thu, 17 May 2018 18:36:02 GMT):
@header340 ok so if you are hitting http://localhost:8080 correctly, the error (Cannot read property 'foreach' in headerview.js) suggests the channel list is empty. And without a channel name, the app cannot fetch any data and hence the white screen. If the API call to get counts works, it cannot be a network connectivity issue, check config.json as for initial setup explorer reads from config file. Also Is your explorer code from release-3.1 branch or release-3.2 branch or master. If your network is fabric version 1.1.0, you need release-3.2. If your fabric network is 1.0, explorer version 0.3.0 from master will work fine for you. If you originally had fabric 1.0 and want to migrate to 1.1.0, fabric provides an upgrade guide and then you can checkout explorer from release-3.2 branch and build. Besides that if you ran npm install in the blockchain-explorer directory and then again in client directory and ran 'npm run build' in client directory before starting up app, it should be good. What happens if instead of using the start script, you run 'node main.js' in the block-chain-explorer directory.

header340 (Thu, 17 May 2018 20:08:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bpZPNvkEpA3eDuk8Y) @vchinoy I had been running release-3.1 per someone's comment from a few days ago that I saw when researching my issue. I just switched to release-3.2 and so far I'm seeing the same results. Your comment about the channel list being empty is intriguing, however. The config.json has the correct channel name but I did notice while logging into the PostgreSQL db and looking at the data within the tables, there is data within all the tables I would expect (Transactions, Peers, Chaincodes, Blocks, etc) but the Channel table is empty. The data within the Chaincodes and Peer table show the correct channel name listed. However, I do also notice in the Peer table that the Org an MSPID columns are empty. Not sure if that's relevant or not. I'm having trouble unweaving the architecture of both the main app as well as the web pages to figure out where the channel seems to get lost in translation. Stupid question but it isn't a requirement to create the channel through this app is it? My channel already exists and I'm expecting it to get picked up. I do see where the create channel functions save the channel name into the channel table but I haven't found yet where it saves it there if the channel already exists.

umtyzc (Thu, 17 May 2018 20:56:16 GMT):
I had this error after node main.js / after all step built succesfully. Error: ENOENT: no such file or directory, scandir 'Users/umtyzc/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore' at Object.fs.readdirSync (fs.js:904:18) at Object.readAllFiles (/Users/umtyzc/blockchain-explorer/app/helper.js:25:17) at FabricClientProxy.setAdminForClient (/Users/umtyzc/blockchain-explorer/app/FabricClientProxy.js:119:35) at configuration.getOrgs.forEach.key (/Users/umtyzc/blockchain-explorer/app/FabricClientProxy.js:156:9) at Array.forEach () at FabricClientProxy.createDefault (/Users/umtyzc/blockchain-explorer/app/FabricClientProxy.js:144:27) at new FabricClientProxy (/Users/umtyzc/blockchain-explorer/app/FabricClientProxy.js:27:8) at Object. (/Users/umtyzc/blockchain-explorer/app/FabricClientProxy.js:195:18) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10)

nfrunza (Thu, 17 May 2018 21:07:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ix9z8EufaXb6XFmch) @header340 use pkill node to kill the process

DavorKljajic (Fri, 18 May 2018 12:47:52 GMT):
Has joined the channel.

vchinoy (Fri, 18 May 2018 15:38:14 GMT):
@umtyzc You need to fix the path in config.json for that. For example on mine for org1 i have "//home/vchinoy/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore"

vchinoy (Fri, 18 May 2018 15:43:30 GMT):
here is a jira ticket outstanding for saving channel info to database. Currently the default channel application picks up is from config.json. So not sure exactly where the code is failing for you. Also can you check you have all changes from database end ( updatepg.sql)

umtyzc (Fri, 18 May 2018 15:54:14 GMT):
Thanks but i edit config.json file already. My path is macosx: :Users/umtyzc/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore @vchinoy [ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wBppuihHkMMTMYDbJ)

header340 (Fri, 18 May 2018 18:28:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qBYkcGYFiazAh6dvc) @vchinoy I did run the updatepg script upon initial setup per the readme doc. I'm open to any other steps or information I can provide that would add diagnostic information.

header340 (Fri, 18 May 2018 18:30:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=O04EQ3XENicdy6ySmb) @umtyzc I'm a humble beginner here but I think based on your error message that it's definitely a path issue in the config.json file as @vchinoy has suggested. Have you tried using the full path and not a relative one? Sorry, I'm not familiar with MacOS so I don't know if Users/... is a relative or absolute path.

vchinoy (Fri, 18 May 2018 18:38:56 GMT):
@umtyzc I think your path may be missing the leading / it should be /Users/.....

umtyzc (Fri, 18 May 2018 20:30:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8JPzTJYAH8qhJ3MiT) @vchinoy yes, you wewre right, i forgot / . :)

umtyzc (Fri, 18 May 2018 20:31:54 GMT):
I skip this error but now i have read property error. TypeError: Cannot read property 'rows' of undefined at Query.client.query [as callback] (/Users/umtyzc/blockchain-explorer/app/db/pgservice.js:466:22) at Query.handleError (/Users/umtyzc/blockchain-explorer/node_modules/pg/lib/query.js:143:17) at Connection.connectedErrorHandler (/Users/umtyzc/blockchain-explorer/node_modules/pg/lib/client.js:132:26) at emitOne (events.js:116:13) at Connection.emit (events.js:211:7) at Socket. (/Users/umtyzc/blockchain-explorer/node_modules/pg/lib/connection.js:117:12) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12)

umtyzc (Fri, 18 May 2018 20:39:04 GMT):
I think this is postgresql error for updatepg.sql commands i

umtyzc (Fri, 18 May 2018 20:46:23 GMT):
I run all command step by step in update.sql file, Now I run succesfully Hyperledger Explorer, thanks @vchinoy @header340 for "/ " help :)

idivanov (Sat, 19 May 2018 11:00:03 GMT):
Has joined the channel.

lwrabbit (Sun, 20 May 2018 04:42:43 GMT):
when run explorer, the FabricClientProxy Initialization information only has channelname from config.json, why?

nfrunza (Sun, 20 May 2018 05:06:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rZFdxmy5d6i8kkMKu) @lwrabbit that is the default from the fabric

nfrunza (Sun, 20 May 2018 05:06:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rZFdxmy5d6i8kkMKu) @lwrabbit that is the default from the fabric, please try to update to your channel name

lwrabbit (Sun, 20 May 2018 05:29:21 GMT):
@nfrunza thanks.I got an err like this: TypeError: Cannot read property 'mychannel' of undefined at FabricClientProxy.getChannelForOrg (/home/ubuntu/blockchain-explorer/app/FabricClientProxy.js:37:25) at getChainInfo (/home/ubuntu/blockchain-explorer/app/query.js:91:34) at Object.getChannelHeight (/home/ubuntu/blockchain-explorer/app/query.js:190:9) at getMaxBlockNum (/home/ubuntu/blockchain-explorer/app/service/blockscanner.js:152:18) at Object.syncBlock (/home/ubuntu/blockchain-explorer/app/service/blockscanner.js:40:9) at Timeout._onTimeout (/home/ubuntu/blockchain-explorer/app/listener/blocklistener.js:46:22) at ontimeout (timers.js:482:11) at tryOnTimeout (timers.js:317:5) at Timer.listOnTimeout (timers.js:277:5)

lwrabbit (Sun, 20 May 2018 05:38:08 GMT):

Clipboard - 2018年5月20日下午1点37分

lwrabbit (Sun, 20 May 2018 05:38:15 GMT):
anyone who build explorer as following met some warnings & test faild?

DavorKljajic (Sun, 20 May 2018 08:58:43 GMT):
Npm run build hang ?

DavorKljajic (Sun, 20 May 2018 08:58:58 GMT):

npm hang.png

nfrunza (Sun, 20 May 2018 16:53:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qe7ZAcoEy7bjgcgSj) @DavorKljajic please check node version

nfrunza (Sun, 20 May 2018 16:55:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EJHd6fRoCia84cZvZ) @lwrabbit check node version, what do you have in your environment ?

nfrunza (Sun, 20 May 2018 16:55:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EJHd6fRoCia84cZvZ) @lwrabbit check node version, what do you have in your environment ? Did "npm test " and coverage execute successfully?

DavorKljajic (Mon, 21 May 2018 06:18:22 GMT):
so i fixed that, but i have new error in log.log

DavorKljajic (Mon, 21 May 2018 06:18:35 GMT):

log.log.png

DavorKljajic (Mon, 21 May 2018 06:30:12 GMT):
and second one is when i run npm run build

DavorKljajic (Mon, 21 May 2018 06:30:27 GMT):

npm run build.png

DavorKljajic (Mon, 21 May 2018 06:47:40 GMT):
and here is my config file

DavorKljajic (Mon, 21 May 2018 06:47:50 GMT):

config.json.png

DavorKljajic (Mon, 21 May 2018 06:49:05 GMT):
and i put quotes on network

damba 2 (Mon, 21 May 2018 07:46:12 GMT):
Has joined the channel.

DavorKljajic (Mon, 21 May 2018 07:51:07 GMT):
i don't have any error in log.log , but i have new :(

DavorKljajic (Mon, 21 May 2018 07:51:16 GMT):

chanel list.png

nfrunza (Mon, 21 May 2018 11:25:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AG4Mdm3NrKbT9c7Kp) @DavorKljajic please use master branch

nfrunza (Mon, 21 May 2018 11:25:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AG4Mdm3NrKbT9c7Kp) @DavorKljajic Please use master branch, let me know which node version you're using, were you able to "npm run build", Are you following the README.md instructions ?

DavorKljajic (Mon, 21 May 2018 11:39:59 GMT):
i fixed that error, but i have new one. And yes i use master branch. Node is v8.11.1. , in client dir. i put that command. Yes i was following instruction. First is screen is output from npm run build , and second is from console log

DavorKljajic (Mon, 21 May 2018 11:40:29 GMT):

npm run build.png

DavorKljajic (Mon, 21 May 2018 11:40:41 GMT):

chanel list.png

DavorKljajic (Mon, 21 May 2018 11:53:54 GMT):
and the log

DavorKljajic (Mon, 21 May 2018 11:54:04 GMT):

log.log.png

nfrunza (Mon, 21 May 2018 19:58:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kJT4XLzC57jSxHoDY) @DavorKljajic The highlighted after the npm run build can be ignored, I asked to be removes, some unused imports.

nfrunza (Mon, 21 May 2018 19:58:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kJT4XLzC57jSxHoDY) @DavorKljajic The highlighted after the npm run build can be ignored, I asked to be removed, unused imports.

skarlekar (Mon, 21 May 2018 20:39:14 GMT):
Has joined the channel.

adamk1230 (Tue, 22 May 2018 15:03:56 GMT):
@DavorKljajic try reloading the UI.

tianxuanhong (Wed, 23 May 2018 07:41:43 GMT):
Has joined the channel.

tianxuanhong (Wed, 23 May 2018 07:43:37 GMT):

page.PNG

tianxuanhong (Wed, 23 May 2018 07:45:09 GMT):
Can I Add Channel by config files ?Do you know what kind of config ?thank you

nfrunza (Wed, 23 May 2018 18:15:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=N85XAgDFuwWjZFqZF) @tianxuanhong Thsi functionality is not yet available

nfrunza (Wed, 23 May 2018 18:15:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=N85XAgDFuwWjZFqZF) @tianxuanhong This functionality is not yet available

sureshtedla (Wed, 23 May 2018 18:34:44 GMT):
Has joined the channel.

swemso (Wed, 23 May 2018 20:04:40 GMT):
Has joined the channel.

vikramjit (Thu, 24 May 2018 09:07:45 GMT):
Hi Guys, i am trying to run explorer with fabric 1.1, so when i run the ./start.sh, i get the following error `FabricClientProxy - Failed to find a peer matching the url grpc://127.0.0.1:7051 `

vikramjit (Thu, 24 May 2018 09:09:02 GMT):
Hi Guys, i am try to setup explorer for one of my fabric demo, however, when i try to run the ./start.sh command i get the following error:

vikramjit (Thu, 24 May 2018 09:09:02 GMT):
Hi Guys, i am try to setup explorer for one of my fabric demo, however, when i try to run the ./start.sh command i get the following error: FabricClientProxy - Failed to find a peer matching the url grpc://127.0.0.1:7051 Any help is highly appreciated.

vikramjit (Thu, 24 May 2018 09:09:02 GMT):
Hi Guys, i am try to setup explorer for one of my fabric 1.1 demo, however, when i try to run the ./start.sh command i get the following error: FabricClientProxy - Failed to find a peer matching the url grpc://127.0.0.1:7051 Any help is highly appreciated.

vikramjit (Thu, 24 May 2018 09:09:02 GMT):
Hi Guys, i am try to setup explorer for one of my fabric 1.1 demo, however, when i try to run the ./start.sh command i get the following error: *FabricClientProxy - Failed to find a peer matching the url grpc://127.0.0.1:7051* Any help is highly appreciated.

KellyCooper (Thu, 24 May 2018 15:17:35 GMT):
Has joined the channel.

KellyCooper (Thu, 24 May 2018 15:29:41 GMT):
#training-and-education-wg includes volunteers available to edit, test and contribute to tutorials and learning materials. Feel free to post possible collaboration in the wg or @KellyCooper. We have many volunteers for beginning projects and some volunteers for advanced. One way we can support your efforts is as users/consumers to comment on clarity, strengths and gaps in your documentation/materials. Your request(s) will be viewed by the group every Monday and we can track/manage on our end. Thanks, Kelly

NihadOgresevic (Fri, 25 May 2018 00:56:07 GMT):
Has joined the channel.

neocameback (Fri, 25 May 2018 08:02:28 GMT):
Has joined the channel.

nfrunza (Fri, 25 May 2018 13:13:51 GMT):
@KellyCooper Thank you Kelly

SubhashiniSundaresan (Sat, 26 May 2018 01:25:45 GMT):
Has joined the channel.

krabradosty (Sun, 27 May 2018 12:52:48 GMT):
Hi folks. Which branch should I use with Fabric 1.1.0?

alfuente (Mon, 28 May 2018 04:47:50 GMT):
Has joined the channel.

joachimgeerts (Mon, 28 May 2018 08:33:04 GMT):
Has joined the channel.

joachimgeerts (Mon, 28 May 2018 08:33:39 GMT):
error

joachimgeerts (Mon, 28 May 2018 08:33:58 GMT):
E0528 10:30:25.432348000 140735958061952 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E0528 10:30:25.432585000 140735958061952 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/Users/joachimgeerts/Documents/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /Users/joachimgeerts/Documents/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/Users/joachimgeerts/Documents/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /Users/joachimgeerts/Documents/blockchain-explorer/node_modules/grpc/src/client.js:583:15

jeevas (Mon, 28 May 2018 12:32:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NK532noG9RRjBTFGW) @krabradosty you can use release-3.2 (https://github.com/hyperledger/blockchain-explorer/tree/release-3.2)

DavorKljajic (Mon, 28 May 2018 14:39:46 GMT):
- Fabric 1.1.0 -release-3.2 and i have this error

DavorKljajic (Mon, 28 May 2018 14:40:02 GMT):

screen123.png

DavorKljajic (Mon, 28 May 2018 14:44:13 GMT):
And here is my appconfig.json

DavorKljajic (Mon, 28 May 2018 14:46:06 GMT):

appconfig.png

WaedSaleh (Mon, 28 May 2018 19:30:11 GMT):
Has joined the channel.

nfrunza (Mon, 28 May 2018 21:20:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5chMZQWyXv3ykvha7) @DavorKljajic Did you npm install after the git pull , please retry after you follow npm install in README.md

nfrunza (Mon, 28 May 2018 21:24:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zkw9QyPeW4k4a2rLD) @jeevas Correction, release3.2 is not official, please do not use it

nfrunza (Mon, 28 May 2018 21:24:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zkw9QyPeW4k4a2rLD) @jeevas Correction, release3.2 is not official, please do not use it. Use master branch

nfrunza (Mon, 28 May 2018 21:25:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NK532noG9RRjBTFGW) @krabradosty master branch

peter.li (Tue, 29 May 2018 00:32:10 GMT):
Has joined the channel.

DavorKljajic (Tue, 29 May 2018 08:06:31 GMT):
@nfrunza yes i done on that way

VictoriaW (Tue, 29 May 2018 08:23:17 GMT):
Has joined the channel.

VictoriaW (Tue, 29 May 2018 10:14:11 GMT):
hello i just followed the instructions to use hyperledger explorer for the hyperledger fabric first network. now i cant access localholst:8080 (=> connection denied). fabric and explorer are installed on ubuntu 16.04., I connect via ssh and use windows to connect to localhost:8080. i tried ipadress:8080 as well but it always displays connection denied. I think its a problem with the access to the port maybe? can someone help? I'm really new to this stuff. Thanks!

krabradosty (Tue, 29 May 2018 11:55:50 GMT):
@nfrunza master branch doesn't work for me

MasthanbeeShaik (Tue, 29 May 2018 12:07:42 GMT):
Has joined the channel.

MasthanbeeShaik (Tue, 29 May 2018 12:11:41 GMT):
Hello, configured the hyperledger explorer by using the reference link "https://github.com/hyperledger/blockchain-explorer". There is no error in log.log file but when I am trying to open that in the browser it shows nothing. Here I am attching the sceenshots. Please help me out. Thank you.

MasthanbeeShaik (Tue, 29 May 2018 12:11:41 GMT):
Hello, configured the hyperledger explorer by using the reference link "https://github.com/hyperledger/blockchain-explorer". There is no error in log.log file but when I am trying to open that in the browser it shows nothing. Here I am attaching the screenshots. Please help me out. Thank you.

MasthanbeeShaik (Tue, 29 May 2018 12:11:56 GMT):

log.png

MasthanbeeShaik (Tue, 29 May 2018 12:11:57 GMT):

HE.png

superfleischi (Tue, 29 May 2018 14:25:40 GMT):
Has joined the channel.

nfrunza (Tue, 29 May 2018 23:49:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SKKmKSJ9RZg9bAZZz) @MasthanbeeShaik Did yu follow README.md and run db scripts? , did you npm install and npm run build?

nfrunza (Tue, 29 May 2018 23:50:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8HspYzsDn9b4vicDx) @krabradosty if you're running from release-3.2 there are updates, pull and rebuild

nfrunza (Tue, 29 May 2018 23:50:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8HspYzsDn9b4vicDx) @krabradosty if you're running from release-3.2 there are updates, pull and rebuild

superfleischi (Wed, 30 May 2018 07:18:40 GMT):
Hello, i was able to use Hyperledger Explorer with the Fabric Samples First Network Tutorial. I wanted to create a network now with multiple host using Docker Swarm. I used this Tutorial: "https://medium.com/@wahabjawed/hyperledger-fabric-on-multiple-hosts-a33b08ef24f". Beside that i want to make it visible using Hyperledger Explorer. But i honestly don't know how i have to modify the config.json to let the Explorer know where the Peers are.

superfleischi (Wed, 30 May 2018 07:21:22 GMT):
I have two peers on two different machines in the Local Area Network. I will attach the log error i got. Could somebody maybe give a hint how I can change the settings of the config.json file to make Explorer be working. Thank you

superfleischi (Wed, 30 May 2018 07:21:22 GMT):
I have two peers on two different machines in the Local Area Network. TLS is false, so i am connecting to non tls fabric peers. So i also modified the config.json, as the README.md told me. I will attach the log error i got. Could somebody maybe give a hint how I can change the settings of the config.json file to make Explorer be working. Thank you

superfleischi (Wed, 30 May 2018 07:21:57 GMT):

log.log Error.png

superfleischi (Wed, 30 May 2018 07:24:30 GMT):

config.json file.png

superfleischi (Wed, 30 May 2018 07:35:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SKKmKSJ9RZg9bAZZz) @MasthanbeeShaik I was writing up the steps i did in a little "Tutorial" using Hyperledger Explorer with Fabric Samples 1.0.6, if you want you could try my steps in order to make it run.

superfleischi (Wed, 30 May 2018 07:36:16 GMT):

Tutorial Hyperledger Explorer.docx

MasthanbeeShaik (Wed, 30 May 2018 11:06:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KZjSbeyRSjC6R6Jbu) @nfrunza yes @nfrunza I run all the scripts.

MasthanbeeShaik (Wed, 30 May 2018 11:06:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KZjSbeyRSjC6R6Jbu) @nfrunza Thank you for the response, I run all the db scripts.

MasthanbeeShaik (Wed, 30 May 2018 11:07:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XWY8n85mRoddDyKxD) @superfleischi Thanks for the response I was using Fabric 1.1.0.

grice_32 (Wed, 30 May 2018 14:55:58 GMT):
Has anyone put Explorer on top of a Composer network? I'm trying to modify the config.json file to map to the correct credentials and getting stuck. Also, I want to make sure my config.json file is correct as looks like it has changed since the last time I played with Explorer. Thanks!

JayPandya (Wed, 30 May 2018 20:00:14 GMT):
Has joined the channel.

Adhavpavan (Thu, 31 May 2018 09:14:26 GMT):
Has joined the channel.

wangrangli (Thu, 31 May 2018 10:02:20 GMT):
Has joined the channel.

wangrangli (Thu, 31 May 2018 10:48:30 GMT):
@nfrunza, I have the question same as @Saschaka run 'npm run test' command in the path blockchain-explorer/app/test. Then I used the 3 step mothod which you adviced.Those steps don't show any error except some warning. After that, when I run ./start.sh, tail -f log.log, I just got this for a long time: at Object.parse (native) at Object.Module._extensions..json (module.js:587:27) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/home/explorer/blockchain-explorer/app/db/pgservice.js:18:14) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) It seem something wrong. And I can't find start.sh process in ps -aux command. I'm use the ubuntu 16.04 server version. I installed the fabric composer peer at other server, and I can be connect the server port 7051 from the explorer server. Please give me some advice.Thank you.

nfrunza (Thu, 31 May 2018 12:03:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=As8pzDHpevTfyxC6v) @wangrangli if you want to kill node, you can use "pkill node"

nfrunza (Thu, 31 May 2018 12:08:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZiKyynHWkoum2rpXL) i have some questions: version of fabric you're running: node version? make sure connection to postgresql is correct

nfrunza (Thu, 31 May 2018 12:08:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZiKyynHWkoum2rpXL) i have some questions: version of fabric you're running: node version? make sure connection to postgresql is correct, which branch of the explorer you're using?

nfrunza (Thu, 31 May 2018 12:08:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZiKyynHWkoum2rpXL) i have some questions: version of fabric you're running: node version? make sure connection to postgresql is correct, which branch of the explorer you're using? Looks like you you have a config error, please review DB configuration

nfrunza (Thu, 31 May 2018 12:08:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZiKyynHWkoum2rpXL) i have some questions: version of fabric you're running: node version? make sure connection to postgresql is correct, which branch of the explorer you're using? Looks like you you have a config error, please review DB configuration

wangrangli (Thu, 31 May 2018 12:15:20 GMT):
@nfrunza thank you. But I don't want to kill node. I have try node version from 6.9.0 to 6.9.5, the same error is occur. I think maybe there was some error when access the database. The log line "at Object. (/home/explorer/blockchain-explorer/app/db/pgservice.js:18:14)" maybe tell us this thing. Thank you again. I was sorry for my poor English。

nfrunza (Thu, 31 May 2018 12:17:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GNWoqc6iyoGXX6Xq4) @wangrangli If you change DB config you need to bounce the server, i mean you kill nodejs the explorer node and not the fabric/composer

nfrunza (Thu, 31 May 2018 12:22:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5chMZQWyXv3ykvha7) @DavorKljajic this error is fixed, please pull and run npm install, npm run build

wangrangli (Thu, 31 May 2018 12:25:32 GMT):
@nfrunza thank you. I will try it.

wangrangli (Thu, 31 May 2018 12:26:47 GMT):
@nfrunza I don't change the DB config in config.json. so I don't know how to fix this question.

nfrunza (Thu, 31 May 2018 12:27:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iumEJmtcwHGqjHLhp) @wangrangli you need to update to you postgreSQL connection profile

nfrunza (Thu, 31 May 2018 12:28:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4SnpAFJz8CPcevEFr) you need to run the postgreSQL scripts , please read in README.md file

wangrangli (Thu, 31 May 2018 12:29:24 GMT):

Clipboard - 2018年5月31日晚上8点28分

nfrunza (Thu, 31 May 2018 12:31:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=M3kQMDJHAwnwdfRtB) @wangrangli Do you have this db schema? can you login to postgreSQL and check if you have fabricexplorer schema?

nfrunza (Thu, 31 May 2018 12:31:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=M3kQMDJHAwnwdfRtB) @wangrangli Do you have this db schema? can you login to postgreSQL and check if you have fabricexplorer schema? You have to update it, make sure you run Database setup Connect to PostgreSQL database. sudo -u postgres psql Run create database script. \i app/db/explorerpg.sql \i app/db/updatepg.sql Run db status commands. \l view created fabricexplorer database \d view created tables

wangrangli (Thu, 31 May 2018 12:41:34 GMT):
@nfrunza Yes, I have run all database script in psql by postgres user role.

nfrunza (Thu, 31 May 2018 12:44:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=m7mD4QkEQ53koDEcL) @wangrangli restart ./start.sh

wangrangli (Thu, 31 May 2018 12:44:52 GMT):
@nfrunza Thank you. I will try it. Wait a minute.

nfrunza (Thu, 31 May 2018 12:44:57 GMT):
ok

wangrangli (Thu, 31 May 2018 12:53:45 GMT):
there was same result after restart the server.

wangrangli (Thu, 31 May 2018 12:53:48 GMT):

Clipboard - 2018年5月31日晚上8点53分

wangrangli (Thu, 31 May 2018 12:58:11 GMT):
@nfrunza before run ./start.sh, i run " netstat -ctanp | grep 5432 | grep -vi list " in other terminate, but it don't show any connection to the port 5432 in that time.

nfrunza (Thu, 31 May 2018 13:03:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=s8ZDkqd895eXhQp5w) @wangrangli is you postgreSQL configured on 5432? if not update your explorer config

wangrangli (Thu, 31 May 2018 13:05:40 GMT):
@nfrunza Yes,

wangrangli (Thu, 31 May 2018 13:05:42 GMT):

Clipboard - 2018年5月31日晚上9点05分

wangrangli (Thu, 31 May 2018 13:21:06 GMT):

Clipboard - 2018年5月31日晚上9点20分

wangrangli (Thu, 31 May 2018 13:21:10 GMT):
@nfrunza Sorry, maybe the postgresql db has some error, i want to confirm the password of hppoc user, but it show don't exist the hppoc database.

wangrangli (Thu, 31 May 2018 13:49:38 GMT):
@nfrunza the password of hppoc is right. I have no idea.

wangrangli (Thu, 31 May 2018 13:49:46 GMT):

Clipboard - 2018年5月31日晚上9点49分

ayang99 (Thu, 31 May 2018 18:44:58 GMT):
Hi All - a general question: when you develop on Ethereum, you are forced to store the barest minimum of data on the blockchain itself, the actual data gets stored off-chain somewhere like IPFS. This constraint is Ethereum-specific, but does that mean people are storing large payloads in Fabric blocks? Maybe not GB, but on the order of MB?

nfrunza (Thu, 31 May 2018 19:40:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cpXjRMbqQdcDtPcMD) @wangrangli Good news, you have DB setup, did you restart explorer after creating DB?

krabradosty (Thu, 31 May 2018 21:15:51 GMT):
I've just started explorer. Here is the output: ``` ubuntu@ip-172-31-41-45:~/monitoring-system/blockchain-explorer$ node main.js postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://34.248.249.150:8080/ Insert sql is INSERT INTO chaincodes ( "name","version","path","channelname" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 7 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 8 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 4 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 9 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","txcount","createdt" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 5 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 ) RETURNING *; INSERT ID: 10 ``` There is no insertion to the `channel` table. And I think that is a problem why web-interface is not working for me. BTW I've already reported about this bug and we have jira task https://jira.hyperledger.org/browse/BE-250

nfrunza (Fri, 01 Jun 2018 01:53:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rvt9zpud3DGTNRHte) @krabradosty It is fixed in release-3.2

VinayChaudharyOfficial (Fri, 01 Jun 2018 04:52:40 GMT):
Has joined the channel.

wangrangli (Fri, 01 Jun 2018 05:46:29 GMT):
@nfrunza My friend install the hyperledger exporer and BYFN in one server 2 months ago.And it work good in now.But the explorer is use mysql database.Do you know which version use mysql database? Or maybe there has other brances. Thank you.

ascatox (Fri, 01 Jun 2018 06:20:11 GMT):
Hi All! Are working for us the widgets Tx/min and Tx/sec in your explorer page?

ascatox (Fri, 01 Jun 2018 06:45:36 GMT):
Which is the correct docker container of the project in the dockerhub ?

AshishMishra 1 (Fri, 01 Jun 2018 08:02:54 GMT):
Hi all, I installed the explorer and it connected to pg database did some inserts, but I don't see anything on the web interface, just blank page. Is this a known issue?

AshishMishra 1 (Fri, 01 Jun 2018 09:22:39 GMT):
Tried with release 3, 3.1 and 3.2. I 've a fabric 1.1.0 release n/w. On my browser console, I 'm getting the below error. registerServiceWorker.js:75 Error during service worker registration: DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV). (anonymous) @ registerServiceWorker.js:75 :8080/#/:1 WebSocket connection to 'ws://localhost:8080/' failed: WebSocket is closed before the connection is established. react-dom.production.min.js:187 TypeError: Cannot read property 'forEach' of undefined at t.value (HeaderView.js:67) at pr (react-dom.production.min.js:218) at fr (react-dom.production.min.js:211) at cr (react-dom.production.min.js:210) at sr (react-dom.production.min.js:210) at or (react-dom.production.min.js:208) at Zn (react-dom.production.min.js:206) at Object.enqueueSetState (react-dom.production.min.js:147) at t.o.setState (react.production.min.js:12) at App.js:34 Ln @ react-dom.production.min.js:187 react-dom.production.min.js:211 Uncaught TypeError: Cannot read property 'forEach' of undefined at t.value (HeaderView.js:67) at pr (react-dom.production.min.js:218) at fr (react-dom.production.min.js:211) at cr (react-dom.production.min.js:210) at sr (react-dom.production.min.js:210) at or (react-dom.production.min.js:208) at Zn (react-dom.production.min.js:206) at Object.enqueueSetState (react-dom.production.min.js:147) at t.o.setState (react.production.min.js:12) at App.js:34

nfrunza (Fri, 01 Jun 2018 12:07:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tF7FJTP7ztvkwHAKN) @wangrangli we switched to postgresql

nfrunza (Fri, 01 Jun 2018 12:10:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hd4mn7kKZB2XGSrfn) Search within commits before february 2018

nfrunza (Fri, 01 Jun 2018 12:10:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hd4mn7kKZB2XGSrfn) Search within commits before february 2018

nfrunza (Fri, 01 Jun 2018 12:10:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hd4mn7kKZB2XGSrfn) Search within commits before february 2018

nfrunza (Fri, 01 Jun 2018 12:10:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hd4mn7kKZB2XGSrfn) Search within commits before february 2018

nfrunza (Fri, 01 Jun 2018 12:17:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hPeG9nhxRdv2mpHTR) @ascatox we don't have the docker deployed yet, bjut is in work progress

nfrunza (Fri, 01 Jun 2018 12:17:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hPeG9nhxRdv2mpHTR) @ascatox we don't have the docker deployed yet, bjut is in work progress

nfrunza (Fri, 01 Jun 2018 12:18:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vNXgQaT6PSaa2iXzQ) @ascatox Can you rephrase your question?

nfrunza (Fri, 01 Jun 2018 12:18:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vNXgQaT6PSaa2iXzQ) @ascatox Can you rephrase your question?

nfrunza (Fri, 01 Jun 2018 12:18:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vNXgQaT6PSaa2iXzQ) @ascatox Can you rephrase your question?

nfrunza (Fri, 01 Jun 2018 12:18:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vNXgQaT6PSaa2iXzQ) @ascatox Can you rephrase your question?

nfrunza (Fri, 01 Jun 2018 12:18:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vNXgQaT6PSaa2iXzQ) @ascatox Can you rephrase your question?

nfrunza (Fri, 01 Jun 2018 12:23:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tF7FJTP7ztvkwHAKN) @wangrangli search in commits before february 2018, mater branch

anugu (Fri, 01 Jun 2018 12:32:08 GMT):
Has joined the channel.

ascatox (Fri, 01 Jun 2018 12:41:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9xiDTMox6ZFfDZk3Q) @nfrunza Ok thanks for the answer

anugu (Fri, 01 Jun 2018 14:32:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Hy6ijaiqxixsdpRzn) @AshishMishra 1 Can you let me know the steps you followed. Did you followed README.md doc?

ascatox (Fri, 01 Jun 2018 14:57:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Js6YdbjWRjkgkqBuB) @anugu I'm encountering the same problem!!!

manojamin (Fri, 01 Jun 2018 17:47:02 GMT):
Has joined the channel.

AshishMishra 1 (Sat, 02 Jun 2018 04:57:37 GMT):
@anugu, yes. I followed the exact same steps from readme.md in github. cd blockchain-explorer/app/test npm install npm run test --- This is failing though. cd blockchain-explorer npm install cd client/ npm install npm test -- -u --coverage npm run build For database, I did sudo -u postgres psql Run create database script. \i app/db/explorerpg.sql \i app/db/updatepg.sql

Percival Lucena (Sun, 03 Jun 2018 02:22:49 GMT):
Has joined the channel.

VenkateshDakshinamurthy (Sun, 03 Jun 2018 11:01:53 GMT):
Has joined the channel.

davidkel (Sun, 03 Jun 2018 13:56:36 GMT):
Has joined the channel.

sumeetbatheja (Sun, 03 Jun 2018 13:57:16 GMT):
Has joined the channel.

sumeetbatheja (Sun, 03 Jun 2018 13:57:19 GMT):
I am trying to connect hyperledger-explorer to a hyperledger-composer network, I followed the instructions in the github repo,both build and run : https://github.com/hyperledger/blockchain-explorer. I see no errors in console or log file, but when I navigate to localhost:8080, it tries to load the network and then I see a blank screen. In the web browser console. it says : WebSocket connection to 'ws://localhost:8080/' failed: WebSocket is closed before the connection is established. And then I get type -errors, because the HeaderView.js cannot read channels [probably cannot fetch from server since ws is closed]. This is my config.json file : { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/Users/Sumeet/fabric-dev-servers/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/Users/Sumeet/fabric-dev-servers/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts", "tls_cacerts": "/Users/Sumeet/fabric-dev-servers/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" } } }, "host": "localhost", "port": "8080", "channel": "composerchannel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "users": [{ "username": "admin", "secret": "adminpw" }], "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "postgres", "passwd": "sumeet" }, "license": "Apache-2.0" }

sumeetbatheja (Sun, 03 Jun 2018 13:57:40 GMT):
what am I doing wrong? I tried to debug this for a day but haven\t succeeded

nfrunza (Sun, 03 Jun 2018 14:40:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vgx89j2s5RwYT6kpd) @sumeetbatheja how dod you start the node? ./start.sh ?

nfrunza (Sun, 03 Jun 2018 14:41:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5TbvvRvfR7qHn96St) Do you see data in psrgresql? and did you follow README.md file and run DB scripts ?

AshishMishra 1 (Mon, 04 Jun 2018 05:25:40 GMT):
It cannot be a co-incidence that so many people are facing the same issue of seeing the blank screen. It definitely is an issue and should be addressed.

titoe218 (Mon, 04 Jun 2018 06:44:13 GMT):
Has joined the channel.

titoe218 (Mon, 04 Jun 2018 06:44:35 GMT):
Hi all, I use Hyperledger Explore to query block and transaction in my network but sometime it got this error `[ERROR] blockscanner - TypeError: Cannot read property 'data' of undefined` Does anyone knows how to fix this?

nfrunza (Mon, 04 Jun 2018 11:16:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=znbWYiPmJj6T8ZP9D) @AshishMishra 1 Cam i ask which network are you using? explorer has been tested with first network that is provided in fabric samples

nfrunza (Mon, 04 Jun 2018 11:17:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TN6xprXmBnfpnAxnF) @titoe218 Do you have more details?

AshishMishra 1 (Mon, 04 Jun 2018 13:58:24 GMT):
@nfrunza , I have my own network not the sample one. I 'm using fabric version 1.1.0 for my n/w.

nfrunza (Mon, 04 Jun 2018 13:59:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LPTF4YFQbjLXZpJ9H) @AshishMishra 1 that explains

AshishMishra 1 (Mon, 04 Jun 2018 17:20:41 GMT):
So, its not supposed to work with other networks apart from sample n/w?

AshishMishra 1 (Mon, 04 Jun 2018 17:23:17 GMT):
@nfrunza, I gave the correct endpoints, it's non tls so using grpc and not grpcs, the channel name is correctly configured. What else is needed to make it work? Sorry to say but this doesn't make any sense to me.

nfrunza (Mon, 04 Jun 2018 18:29:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WTY2hBMjRhdpWZKky) @AshishMishra 1 1) HLExplorer works with TLS

nfrunza (Mon, 04 Jun 2018 18:29:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WTY2hBMjRhdpWZKky) @AshishMishra 1 1) HLExplorer works with TLS, 2) Did you try to configure with sample first network ?

nfrunza (Mon, 04 Jun 2018 18:29:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WTY2hBMjRhdpWZKky) @AshishMishra 1 1) HLExplorer works with TLS, 2) Can you configure your network to be TLS and try ?

Gaoqi (Mon, 04 Jun 2018 20:47:44 GMT):
Has joined the channel.

yoyokeen (Tue, 05 Jun 2018 00:58:00 GMT):
```E0605 08:45:18.136806108 2653 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/fe/node_modules/grpc/src/client.js:64:15) at /opt/fe/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Channels Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/fe/node_modules/grpc/src/client.js:64:15) at /opt/fe/node_modules/grpc/src/client.js:583:15 ```

yoyokeen (Tue, 05 Jun 2018 01:00:18 GMT):
I 'm getting the error.

titoe218 (Tue, 05 Jun 2018 01:52:28 GMT):
@nfrunza I have set up a fabric network (v1.1.0) on a Ubuntu 16.04 and use Blockchain Explorer to view details of transaction. Everything works fine but when I add new transaction to my network, Blockchain Explorer cannot scan the block from my network to insert into database and through this error: `[ERROR] blockscanner - TypeError: Cannot read property 'data' of undefined` But when I erase all data in PostgreSQL of Blockchain Explorer and start explorer again it works fine?! My config file for explorer here: `{ "network-config":{ "org1":{ "name":"Org1", "mspid":"Org1MSP", "peer1":{ "requests":"grpcs://peer0.org1.example.com:7051", "events":"grpcs://peer0.org1.example.com:7053", "server-hostname":"peer0.org1.example.com", "tls_cacerts":"/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer2":{ "requests":"grpcs://peer1.org1.example.com:8051", "events":"grpcs://peer1.org1.example.com:8053", "server-hostname":"peer1.org1.example.com", "tls_cacerts":"/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "admin":{ "key":"/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert":"/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host":"localhost", "port":"8080", "channel":"my-channel", "keyValueStore":"/tmp/fabric-client-kvs", "eventWaitTime":"5000", "pg":{ "host":"127.0.0.1", "port":"5432", "database":"fabricexplorer", "username":"hppoc", "passwd":"password" }, "license":"Apache-2.0" }` It's happen when Blockchain-Explorer call getBlockByNumber function in query.js (app/) and in function saveBlockRange (service/blockscanner.js)

titoe218 (Tue, 05 Jun 2018 01:52:28 GMT):
@nfrunza I have set up a fabric network (v1.1.0) on a Ubuntu 16.04 and use Blockchain Explorer to view details of transaction. Everything works fine but when I add new transaction to my network, Blockchain Explorer cannot scan the block from my network to insert into database and through this error: `[ERROR] blockscanner - TypeError: Cannot read property 'data' of undefined` But when I erase all data in PostgreSQL of Blockchain Explorer and start explorer again it works fine?! My config file for explorer here: `{ "network-config": { "org1": { "name": "Org1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://peer0.org1.example.com:7051", "events": "grpcs://peer0.org1.example.com:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer2": { "requests": "grpcs://peer1.org1.example.com:8051", "events": "grpcs://peer1.org1.example.com:8053", "server-hostname": "peer1.org1.example.com", "tls_cacerts": "/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "admin": { "key": "/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host": "localhost", "port": "8080", "channel": "my-channel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "5000", "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "license": "Apache-2.0" }` It's happen when Blockchain-Explorer call getBlockByNumber function in query.js (app/) and in function saveBlockRange (service/blockscanner.js)

nfrunza (Tue, 05 Jun 2018 01:54:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CpLMNnL8PrQvZfWKe) @yoyokeen Please verify your config.json

nfrunza (Tue, 05 Jun 2018 01:55:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WP99mqpdFhzEh84YB) @titoe218 Can you check if inserts any data into DB, and which branch are you working on?

titoe218 (Tue, 05 Jun 2018 02:14:31 GMT):
@nfrunza yes, it inserted some block in to DB before through error. Ex: If my network has 1000 transaction in 500 block, first time run it inserts 200 block. After I erase all data in DB management and start again, it works fine and scan ok block 201st.

titoe218 (Tue, 05 Jun 2018 02:14:31 GMT):
@nfrunza yes, it inserted some block in to DB before through error. Ex: If my network has 1000 transaction in 500 block, first time run it inserts 200 block. After I erase all data in DB management and start again, it works fine and scan ok block 201.

titoe218 (Tue, 05 Jun 2018 02:15:59 GMT):
And I'm working with branch master of Blockchain-explorer

yoyokeen (Tue, 05 Jun 2018 02:16:42 GMT):
@nfrunza,I set up a fabric(v1.1.0) and get the latest 'blockchain explorper' via git clone https://github.com/hyperledger/blockchain-explorer.git

yoyokeen (Tue, 05 Jun 2018 02:17:46 GMT):
@nfrunza I already check the db data is exsiting.

nfrunza (Tue, 05 Jun 2018 03:49:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PzYEKfBboYSf279Jq) @yoyokeen Please verify your connection configuration to your network, make sure keys/certs have valid path

titoe218 (Tue, 05 Jun 2018 04:40:07 GMT):
@nfrunza Do you have any ideas about this error? Or should I use another branch like release-3.2 from blockchain-explorer?

yoyokeen (Tue, 05 Jun 2018 05:59:07 GMT):
@nfrunza,The key/cert have valid path

yoyokeen (Tue, 05 Jun 2018 05:59:35 GMT):
```E0605 13:59:04.348866478 26316 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/fe/node_modules/grpc/src/client.js:64:15) at /opt/fe/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Channels Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/fe/node_modules/grpc/src/client.js:64:15) at /opt/fe/node_modules/grpc/src/client.js:583:15 [2018-06-05 13:59:04.360] [ERROR] Query - Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/fe/node_modules/grpc/src/client.js:64:15) at /opt/fe/node_modules/grpc/src/client.js:583:15 (node:26316) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'forEach' of undefined E0605 13:59:04.369014215 26316 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/fe/node_modules/grpc/src/client.js:64:15) at /opt/fe/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Channels Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/fe/node_modules/grpc/src/client.js:64:15) at /opt/fe/node_modules/grpc/src/client.js:583:15 [2018-06-05 13:59:04.373] [ERROR] Query - Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/fe/node_modules/grpc/src/client.js:64:15) at /opt/fe/node_modules/grpc/src/client.js:583:15 (node:26316) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property 'forEach' of undefined E0605 13:59:05.352761503 26316 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. E0605 13:59:05.353324197 26316 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. E0605 13:59:06.710480155 26316 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. E0605 13:59:07.139298002 26316 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. E0605 13:59:09.319538469 26316 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. ```

yoyokeen (Tue, 05 Jun 2018 06:12:58 GMT):
@nfrunza done,fixed. the fabric net have 2orgs/4peers, but the channel only join in one peer, I remove others peers, is work well.

yoyokeen (Tue, 05 Jun 2018 06:15:33 GMT):

Clipboard - 2018年6月5日下午2点15分

yoyokeen (Tue, 05 Jun 2018 06:16:02 GMT):
@nfrunza Which browsers are supported?

titoe218 (Tue, 05 Jun 2018 10:02:44 GMT):
@nfrunza This is log details `[2018-05-30 02:30:11.684] [ERROR] Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/explorer/src/blockchain-explorer/node_modules/fabric-client/lib/Client.js:1207:11) at Client.queryInstalledChaincodes (/explorer/src/blockchain-explorer/node_modules/fabric-client/lib/Client.js:916:23) at helper.getOrgAdmin.then (/explorer/src/blockchain-explorer/app/query.js:127:18) error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Query block. Error: Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-30 02:30:47.603] [ERROR] Query - Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-30 02:30:47.604] [ERROR] blockscanner - TypeError: Cannot read property 'data' of undefined at EventEmitter. (/explorer/src/blockchain-explorer/listener/blocklistener.js:29:30) at emitOne (events.js:96:13) at EventEmitter.emit (events.js:188:7) at saveBlockRange (/explorer/src/blockchain-explorer/service/blockscanner.js:60:23) at next (native) at onFulfilled (/explorer/src/blockchain-explorer/node_modules/co/index.js:65:19)`

titoe218 (Tue, 05 Jun 2018 10:02:44 GMT):
@nfrunza This is log details `[2018-05-30 02:30:11.684] [ERROR] Query - Error: No identity has been assigned to this client at Client._getSigningIdentity (/explorer/src/blockchain-explorer/node_modules/fabric-client/lib/Client.js:1207:11) at Client.queryInstalledChaincodes (/explorer/src/blockchain-explorer/node_modules/fabric-client/lib/Client.js:916:23) at helper.getOrgAdmin.then (/explorer/src/blockchain-explorer/app/query.js:127:18) error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Query block. Error: Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-30 02:30:47.603] [ERROR] Query - Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /explorer/src/blockchain-explorer/node_modules/grpc/src/client.js:583:15 [2018-05-30 02:30:47.604] [ERROR] blockscanner - TypeError: Cannot read property 'data' of undefined at EventEmitter. (/explorer/src/blockchain-explorer/listener/blocklistener.js:29:30) at emitOne (events.js:96:13) at EventEmitter.emit (events.js:188:7) at saveBlockRange (/explorer/src/blockchain-explorer/service/blockscanner.js:60:23) at next (native) at onFulfilled (/explorer/src/blockchain-explorer/node_modules/co/index.js:65:19)`

nfrunza (Tue, 05 Jun 2018 11:18:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7SHrT2EMkSbPP8R4E) @yoyokeen What is your fabric network? Do you use first network, or you use a different one? what ports are you running grpcs? is it TLS ?

nfrunza (Tue, 05 Jun 2018 11:19:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=umsSSCkFyHpLqrp88) @yoyokeen works well with FF, GC, haven't tried IE

nfrunza (Tue, 05 Jun 2018 11:21:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ndmfjbfYkkr46uCeR) @titoe218 Try to pull from the release-3.2 branch, make sure you do npm install, as per README.md

ascatox (Tue, 05 Jun 2018 12:29:52 GMT):
Do you have released a docker version of BE?

ascatox (Tue, 05 Jun 2018 12:29:52 GMT):
Do you have released a docker version of HE?

Nikolas 11 (Tue, 05 Jun 2018 16:49:04 GMT):
Has joined the channel.

nfrunza (Wed, 06 Jun 2018 00:16:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XizFtgvC4XiSo9fRj) @ascatox No, we are working on it

nfrunza (Wed, 06 Jun 2018 00:17:26 GMT):
Anyone wants to contribute to HL Explorer

lucienlu (Wed, 06 Jun 2018 02:42:02 GMT):
Has joined the channel.

titoe218 (Wed, 06 Jun 2018 02:54:12 GMT):
@nfrunza I don't see any cert path or tls like config.json on branch master? When I start the Hyperledger Explorer from release-3.2 branch it through error not found cert from "fabric-path..."?!

titoe218 (Wed, 06 Jun 2018 07:34:58 GMT):
@nfrunza I pulled release-3.2 branch and setup ok. But when I open localhost:9090 through new error in console? `Uncaught TypeError: Cannot read property 'blocknum' of undefined at t.value (DashboardView.js:42) at commitLifeCycles (react-dom.production.min.js:159) at O (react-dom.production.min.js:185) at M (react-dom.production.min.js:182) at m (react-dom.production.min.js:181) at v (react-dom.production.min.js:181) at h (react-dom.production.min.js:180) at l (react-dom.production.min.js:179) at Object.enqueueSetState (react-dom.production.min.js:110) at t.o.setState (react.production.min.js:12)`

titoe218 (Wed, 06 Jun 2018 07:34:58 GMT):
@nfrunza I pulled release-3.2 branch and setup ok. But when I open localhost:9090 through new error in console? `Uncaught TypeError: Cannot read property 'blocknum' of undefined at t.value (DashboardView.js:42) at commitLifeCycles (react-dom.production.min.js:159) at O (react-dom.production.min.js:185) at M (react-dom.production.min.js:182) at m (react-dom.production.min.js:181) at v (react-dom.production.min.js:181) at h (react-dom.production.min.js:180) at l (react-dom.production.min.js:179) at Object.enqueueSetState (react-dom.production.min.js:110) at t.o.setState (react.production.min.js:12) value @ DashboardView.js:42 commitLifeCycles @ react-dom.production.min.js:159 O @ react-dom.production.min.js:185 M @ react-dom.production.min.js:182 m @ react-dom.production.min.js:181 v @ react-dom.production.min.js:181 h @ react-dom.production.min.js:180 l @ react-dom.production.min.js:179 enqueueSetState @ react-dom.production.min.js:110 o.setState @ react.production.min.js:12 (anonymous) @ App.js:35 setTimeout (async) value @ App.js:35 mountClassInstance @ react-dom.production.min.js:112 beginWork @ react-dom.production.min.js:138 i @ react-dom.production.min.js:176 a @ react-dom.production.min.js:176 M @ react-dom.production.min.js:182 m @ react-dom.production.min.js:181 v @ react-dom.production.min.js:181 h @ react-dom.production.min.js:180 l @ react-dom.production.min.js:179 t @ react-dom.production.min.js:190 updateContainer @ react-dom.production.min.js:191 nn.render @ react-dom.production.min.js:228 (anonymous) @ react-dom.production.min.js:242 unbatchedUpdates @ react-dom.production.min.js:188 sn @ react-dom.production.min.js:242 render @ react-dom.production.min.js:244 (anonymous) @ index.js:20 t @ bootstrap a25b85280a0d669fcca2:19 (anonymous) @ main.bbf1d24c.js:51387 t @ bootstrap a25b85280a0d669fcca2:19 (anonymous) @ bootstrap a25b85280a0d669fcca2:62 (anonymous) @ bootstrap a25b85280a0d669fcca2:62`

titoe218 (Wed, 06 Jun 2018 07:34:58 GMT):
@nfrunza I pulled release-3.2 branch and setup ok. But when I open localhost:9090 through new error in console? `Uncaught TypeError: Cannot read property 'blocknum' of undefined at t.value (DashboardView.js:42) at commitLifeCycles (react-dom.production.min.js:159) at O (react-dom.production.min.js:185) at M (react-dom.production.min.js:182) at m (react-dom.production.min.js:181) at v (react-dom.production.min.js:181) at h (react-dom.production.min.js:180) at l (react-dom.production.min.js:179) at Object.enqueueSetState (react-dom.production.min.js:110) at t.o.setState (react.production.min.js:12) value @ DashboardView.js:42 commitLifeCycles @ react-dom.production.min.js:159 O @ react-dom.production.min.js:185 M @ react-dom.production.min.js:182 m @ react-dom.production.min.js:181 v @ react-dom.production.min.js:181 h @ react-dom.production.min.js:180 l @ react-dom.production.min.js:179 enqueueSetState @ react-dom.production.min.js:110 o.setState @ react.production.min.js:12`

nfrunza (Wed, 06 Jun 2018 18:19:15 GMT):
Anyone wants to contribute to HL Explorer ?

JayPandya (Wed, 06 Jun 2018 19:04:03 GMT):
Trying to integrate HLE with Fabric network but getting this error: ``` error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [composerchannel] creator org [Org1MSP] at Object.exports.createStatusError (/Users/jaypandya/Documents/hyperledger/blockchain-explorer/node_modules/grpc/src/common.js:87:15) at Object.onReceiveStatus (/Users/jaypandya/Documents/hyperledger/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:1214:28) at InterceptingListener._callNext (/Users/jaypandya/Documents/hyperledger/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:590:42) at InterceptingListener.onReceiveStatus (/Users/jaypandya/Documents/hyperledger/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:640:8) at callback (/Users/jaypandya/Documents/hyperledger/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:867:24) error: [Channel.js]: Failed Query channel info. Error: Error: 2 UNKNOWN: access denied: channel [composerchannel] creator org [Org1MSP] ```

nfrunza (Wed, 06 Jun 2018 22:34:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HaWyLvHNpvjcJPWGC) @JayPandya What is your channel name? did you added to the default in the config.json

JayPandya (Wed, 06 Jun 2018 22:35:06 GMT):
yeah I've added(composerchannel) it in config.json file

JayPandya (Wed, 06 Jun 2018 22:38:52 GMT):
@nfrunza - but why its throwing error access denied?

nfrunza (Wed, 06 Jun 2018 22:39:44 GMT):
did you configure the path to your fabric network ?

nfrunza (Wed, 06 Jun 2018 22:40:01 GMT):
@JayPandya did you configure the path to your fabric network ?

JayPandya (Wed, 06 Jun 2018 22:41:36 GMT):
@nfrunza - yeah here is my config.json ``` { "network-config": { "org1": { "name": "Org1", "mspid": "Org1MSP", "peer0": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/Users/jaypandya/Documents/hyperledger/fabric/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer1": { "requests": "grpcs://127.0.0.1:8051", "events": "grpcs://127.0.0.1:8053", "server-hostname": "peer1.org1.example.com", "tls_cacerts": "/Users/jaypandya/Documents/hyperledger/fabric/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "admin": { "key": "/Users/jaypandya/Documents/hyperledger/fabric/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/Users/jaypandya/Documents/hyperledger/fabric/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host": "localhost", "port": "8080", "channel": "composerchannel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "users":[ { "username":"admin", "secret":"adminpw" } ], "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "license": "Apache-2.0" } ```

JayPandya (Wed, 06 Jun 2018 22:42:20 GMT):
I made changes according to my fabric network

nfrunza (Wed, 06 Jun 2018 22:46:18 GMT):
@JayPandya "access denied: channel [composerchannel] creator org [Org1MSP]" I'm wondering if you use CA

JayPandya (Wed, 06 Jun 2018 22:47:23 GMT):
I'm using CA

JayPandya (Wed, 06 Jun 2018 22:47:23 GMT):
@nfrunza - I'm using CA

nfrunza (Wed, 06 Jun 2018 22:49:18 GMT):
@JayPandya At this time we have not tested with CA

JayPandya (Wed, 06 Jun 2018 22:50:14 GMT):
so there is no option right now to use it with CA?

JayPandya (Wed, 06 Jun 2018 22:50:14 GMT):
@nfrunza - so there is no option right now to use it with CA?

nfrunza (Wed, 06 Jun 2018 22:51:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JvNo3ftmwpNsecJcj) @JayPandya I don not want to give you a wrong answer , try to ask around in fabric-questions, and fabric-ca chats

sklymenko (Thu, 07 Jun 2018 15:03:07 GMT):
Has joined the channel.

wangrangli (Fri, 08 Jun 2018 01:58:36 GMT):
@nfrunza My hyperledger explorer is run ok now. Thank you. But now, I find another question. I connect explorer to a new hyperledger composer peer node.And it worked like good.In the web browser, It show that generate hundreds blocks.But in the peer of docker, I just find one blockfile in /var/hyperledger/production/ledgersData/chains/chains/composerchannel folder.And the file size grow up for serval hours. I want to know, one blockfile contain one block, or , one blockfile could contain many blocks?

AshishMishra 1 (Fri, 08 Jun 2018 04:51:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YF8Z6cSHYkFPEt3Xt) yes, with TLS it worked. Thanks But now I 'm facing a different issue, after couple of restarts for the application. I 'm getting db connection errors. `error when connecting to db: Error: Client has already been connected. You cannot reuse a client. at Client.connect (/home/ubuntu/Monitoring/blockchain-explorer/node_modules/pg/lib/client.js:59:17) at Timeout.handleDisconnect [as _onTimeout] (/home/ubuntu/Monitoring/blockchain-explorer/app/db/pgservice.js:45:10) at ontimeout (timers.js:466:11) at tryOnTimeout (timers.js:304:5) at Timer.listOnTimeout (timers.js:267:5) error when connecting to db: Error: Client has already been connected. You cannot reuse a client. at Client.connect (/home/ubuntu/Monitoring/blockchain-explorer/node_modules/pg/lib/client.js:59:17) at Timeout.handleDisconnect [as _onTimeout] (/home/ubuntu/Monitoring/blockchain-explorer/app/db/pgservice.js:45:10) at ontimeout (timers.js:466:11) at tryOnTimeout (timers.js:304:5) at Timer.listOnTimeout (timers.js:267:5)` Any fix for that?

abraham (Fri, 08 Jun 2018 05:21:39 GMT):
Has joined the channel.

AshishMishra 1 (Fri, 08 Jun 2018 06:26:23 GMT):
Fixed it, please ignore

kelvinzhong (Fri, 08 Jun 2018 06:41:23 GMT):
Has joined the channel.

username343 (Fri, 08 Jun 2018 07:25:46 GMT):
Hi guys

username343 (Fri, 08 Jun 2018 07:26:27 GMT):
Can anybody tell me, where i can get the old version of blockchain-explorere, the one which used mysql and the block structure displayed in it was much verbose

username343 (Fri, 08 Jun 2018 07:26:27 GMT):
Can anybody tell me, where i can get the old version of blockchain-explorere, the one which used mysql and the block structure displayed in it was much more verbose

vanitas92 (Fri, 08 Jun 2018 07:28:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=37dp6Djp7A5XdpzJN) @username343 i wanted the same and i got it by going back to git with the last commit with that version, afyer the clone

vanitas92 (Fri, 08 Jun 2018 07:28:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=37dp6Djp7A5XdpzJN) @username343 i wanted the same and i got it by going back to git with the last commit with that version, after the clone type `git reset --hard 7af23d18c396867d9c087c81196f5fc070015729`

username343 (Fri, 08 Jun 2018 07:32:47 GMT):
thanks @vanitas92

aKesav (Fri, 08 Jun 2018 07:33:34 GMT):
Has joined the channel.

javrevasandeep (Fri, 08 Jun 2018 11:41:33 GMT):
Has joined the channel.

javrevasandeep (Fri, 08 Jun 2018 11:45:28 GMT):
@nfrunza I am using hyperledger explorer release 3.2. However I am able to see only peer showing up in network tab. Also nodes count is coming as 1 but in actual I do have 3 peers for each org in my network. Any idea on this?

javrevasandeep (Fri, 08 Jun 2018 12:00:15 GMT):
@nfrunza Could you please let me know the location of code which inserts peers data to peer table in postgres

nfrunza (Fri, 08 Jun 2018 12:31:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jNkG3mzKf3scqdbHd) @wangrangli I would ask this question in fabric-questions and fabric-composer chat

header340 (Fri, 08 Jun 2018 13:24:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=y99NwtBojChhWshHL) @nfrunza In my experience there are *many* blocks in a blockfile.

header340 (Fri, 08 Jun 2018 13:24:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=y99NwtBojChhWshHL) @wangrangli In my experience there are *many* blocks in a blockfile.

header340 (Fri, 08 Jun 2018 13:34:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5z3MsvBYMQEfCdTJY) @javrevasandeep Do you have all of your peers and orgs properly defined in the config.json file? For release-3.2 it's located in /app/platforms/fabric

header340 (Fri, 08 Jun 2018 13:49:29 GMT):

Explorer_Client_Errors.png

header340 (Fri, 08 Jun 2018 13:49:29 GMT):

Explorer_Client_Errors.png

header340 (Fri, 08 Jun 2018 13:49:29 GMT):

Explorer_Client_Errors.png

vchinoy (Fri, 08 Jun 2018 14:04:52 GMT):
@javrevasandeep Yes that is a bug being fixed right now

edwardsm26 (Fri, 08 Jun 2018 14:13:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FW8ygfyuKoBgNNkRE) hi @header340 ,in the blockchain-exlporer folder please run 1. pkill node, 2. node main.js .. once this is done please send what shows up in the console .

header340 (Fri, 08 Jun 2018 14:15:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XkXbZQeng9dsS8ne3) @edwardsm26 cloud@hf-app1:~/blockchain-explorer$ pkill node cloud@hf-app1:~/blockchain-explorer$ node main.js postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://10.75.12.14:8080/ Successfully received the block event[object Object]

edwardsm26 (Fri, 08 Jun 2018 14:32:00 GMT):
@header340 now I see that the websocket was hard coded.. i will put out a bug for this in jira

header340 (Fri, 08 Jun 2018 14:33:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZCMeLzi4dCzugJNc9) @edwardsm26 So... if I were accessing it from the localhost then it would work fine? Can I make a quick change somewhere and get it working on my local copy? Where would I need to do that?

edwardsm26 (Fri, 08 Jun 2018 14:38:03 GMT):
for now if you go in blockchain-explorer/client/src/components/HeaderView.js on line 132 change the url for the Websocket to

edwardsm26 (Fri, 08 Jun 2018 14:38:03 GMT):
@header340 for now if you go in blockchain-explorer/client/src/components/HeaderView.js on line 132 change the url for the Websocket to

header340 (Fri, 08 Jun 2018 14:58:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KuBBm8QJwDjF3rjyK) @edwardsm26 Ok so after doing this and re-running the build command I now seem to get the same result (pretty much the exact same debug console output as earlier posted) except for the websocket warning the IP address shows instead of localhost. But the end result is still a blank white page. Sorry but I'm at a loss as to how to help you guys help me. I don't know how to find the react-dom.production.min.js page that is also referenced in the console errors.

anzalbeg (Fri, 08 Jun 2018 16:04:57 GMT):
Has joined the channel.

anzalbeg (Fri, 08 Jun 2018 16:51:51 GMT):
Hi everyone, There is an error in Latest explorer commit "wss" not defined in CRUDService.js

anzalbeg (Fri, 08 Jun 2018 18:27:19 GMT):
Hello Everyone, i have a blockchain fabric network consist of 6 peers, 3 for each org. But when i try to deploy my network configuration on fabric-explorer and start it then only one peer information is coming on the dashboard under the network tab as well as on dashboard tab

anzalbeg (Fri, 08 Jun 2018 18:29:48 GMT):
{ "network-config": { "org1": { "name": "org1", "mspid": "org1MSP", "peer1": { "requests": "grpcs://********.207:7051", "events": "grpcs://********.207:7053", "server-hostname": "peer1-org1", "tls_cacerts": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/org1-ca-chain.pem" }, "peer2": { "requests": "grpcs://********.208:7051", "events": "grpcs://********.208:7053", "server-hostname": "peer2-org1", "tls_cacerts": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/org1-ca-chain.pem" }, "peer3": { "requests": "grpcs://********.209:7051", "events": "grpcs://********.209:7053", "server-hostname": "peer3-org1", "tls_cacerts": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/org1-ca-chain.pem" }, "admin": { "key": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/orgs/org1/admin/msp/keystore", "cert": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/orgs/org1/admin/msp/signcerts" } }, "org2": { "name": "org2", "mspid": "org2MSP", "peer1": { "requests": "grpcs://********.210:7051", "events": "grpcs://********.210:7053", "server-hostname": "peer1-org2", "tls_cacerts": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/org2-ca-chain.pem" }, "peer2": { "requests": "grpcs://********.211:7051", "events": "grpcs://********.211:7053", "server-hostname": "peer2-org2", "tls_cacerts": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/org2-ca-chain.pem" }, "peer3": { "requests": "grpcs://********.212:7051", "events": "grpcs://********.212:7053", "server-hostname": "peer3-org2", "tls_cacerts": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/org2-ca-chain.pem" }, "admin": { "key": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/orgs/org2/admin/msp/keystore", "cert": "/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/data/orgs/org2/admin/msp/signcerts" } } }, "host": "localhost", "port": "8080", "channel": "mychannel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "license": "Apache-2.0" }

anzalbeg (Fri, 08 Jun 2018 18:29:49 GMT):
this is how my config file look likes

enjoythecode (Sat, 09 Jun 2018 13:57:16 GMT):
Has joined the channel.

JuanOrtellado (Sat, 09 Jun 2018 17:50:21 GMT):
Has joined the channel.

wangrangli (Mon, 11 Jun 2018 02:18:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2ZfttEaqB4A5kP8it) @header340 @nfrunza Thank you!

bh4rtp (Mon, 11 Jun 2018 07:12:35 GMT):
hi, when all the chaincodes are instantiated, i start blockchain-explorer. but it will disturb the transactions during chaincode invocations. if starts blockchain-explorer after all transactions have been committed, everything will be ok. the following messages are from the log of my test network based on balance-transfer. ```[2018-06-11 15:05:22.019] [ERROR] invoke-chaincode - REQUEST_TIMEOUT:localhost:7051 [2018-06-11 15:05:22.019] [ERROR] invoke-chaincode - Error: ChannelEventHub has been shutdown```

bh4rtp (Mon, 11 Jun 2018 07:12:35 GMT):
hi, when all the chaincodes are instantiated, i start blockchain-explorer. but it will disturb the transactions during chaincode invocations. the network will stop running. if starts blockchain-explorer after all transactions have been committed, everything will be ok. the following messages are from the log of my test network based on balance-transfer. ```[2018-06-11 15:05:22.019] [ERROR] invoke-chaincode - REQUEST_TIMEOUT:localhost:7051 [2018-06-11 15:05:22.019] [ERROR] invoke-chaincode - Error: ChannelEventHub has been shutdown```

bh4rtp (Mon, 11 Jun 2018 07:12:35 GMT):
hi, when all the chaincodes are instantiated, i start blockchain-explorer. but it will disturb the transactions during chaincode invocations. the transaction will stop running. if starts blockchain-explorer after all transactions have been committed, everything will be ok. the following messages are from the log of my test network based on balance-transfer. ```[2018-06-11 15:05:22.019] [ERROR] invoke-chaincode - REQUEST_TIMEOUT:localhost:7051 [2018-06-11 15:05:22.019] [ERROR] invoke-chaincode - Error: ChannelEventHub has been shutdown```

bh4rtp (Mon, 11 Jun 2018 07:12:35 GMT):
hi, when all the chaincodes are instantiated, i start blockchain-explorer. but it will disturb the transactions during chaincode invocations. the committing of transaction will stop running. if starts blockchain-explorer after all transactions have been committed, everything will be ok. the following messages are from the log of my test network based on balance-transfer. ```[2018-06-11 15:05:22.019] [ERROR] invoke-chaincode - REQUEST_TIMEOUT:localhost:7051 [2018-06-11 15:05:22.019] [ERROR] invoke-chaincode - Error: ChannelEventHub has been shutdown```

bh4rtp (Mon, 11 Jun 2018 07:17:28 GMT):
i am using the latest fabric from master branch.

anzalbeg (Mon, 11 Jun 2018 11:43:00 GMT):
Can anyone tell me, what is the transaction count under the chaincode tab in explorer ?

subigyaupadhyay (Mon, 11 Jun 2018 12:33:06 GMT):
I implemented a multi peer multi organization network following this tutorial https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org. When I run the explorer, under organization transactions, OrdererMSP, Org1MSP and Org2MSP are the creators. How do I change the names of these organizations so as to reflect some genuine names rather than Org1MSP and Org2MSP. Same case with the peer names as well. I want some other names than peer0.org.example.com. Will it work if I just change it in the config.json file or do I need to set up the organizations and peers with a particular name beforehand?

subigyaupadhyay (Mon, 11 Jun 2018 12:33:25 GMT):

WhatsApp Image 2018-06-11 at 5.57.17 PM.jpeg

muna (Mon, 11 Jun 2018 13:24:35 GMT):
Has joined the channel.

npc0405 (Tue, 12 Jun 2018 01:36:53 GMT):
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.

npc0405 (Tue, 12 Jun 2018 01:37:26 GMT):
Explorer installed and while launching, it throws above error

npc0405 (Tue, 12 Jun 2018 01:37:33 GMT):
Any idea?

npc0405 (Tue, 12 Jun 2018 01:40:15 GMT):
E0612 01:38:10.429331148 2719 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.

nfrunza (Tue, 12 Jun 2018 04:54:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TMzQ4uy7RMRMKa8cF) @npc0405 verify in config.json for correct path to your network certificates, is the network running not on your personal workstation? which fabric network are you using ?

npc0405 (Tue, 12 Jun 2018 05:49:41 GMT):
fabric 1.1 Node 8.9.4 path given is correct

npc0405 (Tue, 12 Jun 2018 05:49:53 GMT):
i m running on AWS machine

npc0405 (Tue, 12 Jun 2018 05:50:07 GMT):
is there some more stuff need to be done for grpc?

MeghaGupta (Tue, 12 Jun 2018 08:55:49 GMT):
Has joined the channel.

MeghaGupta (Tue, 12 Jun 2018 08:58:48 GMT):
Hi I am running fabric 1.1 docker composer network in my local system. I was trying to coonet Hyperledger-Explorer with that but getting error ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E0612 14:21:18.051618173 10790 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E0612 14:21:18.051618173 10790 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed

MeghaGupta (Tue, 12 Jun 2018 08:58:56 GMT):
please HELP !!!

username343 (Tue, 12 Jun 2018 09:10:18 GMT):
@MeghaGupta is your fabric network using tls?

MeghaGupta (Tue, 12 Jun 2018 09:21:03 GMT):
yes

MeghaGupta (Tue, 12 Jun 2018 09:21:16 GMT):
its docker-composer

MeghaGupta (Tue, 12 Jun 2018 09:21:32 GMT):
or How I can cross check it ?

MeghaGupta (Tue, 12 Jun 2018 09:22:29 GMT):
this is defult docker conposer provided by https://github.com/hyperledger/fabric-sdk-java

MeghaGupta (Tue, 12 Jun 2018 09:23:10 GMT):
I very new to this

MeghaGupta (Tue, 12 Jun 2018 09:23:47 GMT):
I have updated config.json of hyperledger Explorer

MeghaGupta (Tue, 12 Jun 2018 09:24:12 GMT):
according to running docker

MeghaGupta (Tue, 12 Jun 2018 09:24:22 GMT):
network

MeghaGupta (Tue, 12 Jun 2018 09:25:19 GMT):
like : "network-config": { "org1": { "name": "Org1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/meghagupta/dev/blockchain-dev/java/fabric-sdk-java/src/test/fixture/sdkintegration/e2e-2Orgs/v1.1/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" },

MeghaGupta (Tue, 12 Jun 2018 09:33:13 GMT):
Please let me know if requied any more details

MeghaGupta (Tue, 12 Jun 2018 09:33:24 GMT):
HELP ME !!!

titoe (Tue, 12 Jun 2018 09:48:44 GMT):
Has joined the channel.

username343 (Tue, 12 Jun 2018 12:01:40 GMT):
@MeghaGupta are you sure your tls_cacert is correct, you need this certificate to be from the same fabric network which you've deployed

MeghaGupta (Tue, 12 Jun 2018 12:18:59 GMT):
yes

MeghaGupta (Tue, 12 Jun 2018 12:19:35 GMT):
Hi @username343 I crossed checked those CA cetificates.

AnilOner (Tue, 12 Jun 2018 12:24:25 GMT):
Has joined the channel.

MeghaGupta (Tue, 12 Jun 2018 16:06:32 GMT):
Hi anyone know the error : blockscanner - TypeError: Cannot read property 'low' of undefined at getChainInfo.then.response (/home/meghagupta/dev/blockchain-dev/java/hyperledger/Explorer/blockchain-explorer/app/query.js

MeghaGupta (Tue, 12 Jun 2018 16:06:38 GMT):
Please HELP

shiyj (Wed, 13 Jun 2018 04:30:45 GMT):
Has joined the channel.

raymondfx (Wed, 13 Jun 2018 12:50:44 GMT):
Has joined the channel.

haggs (Wed, 13 Jun 2018 13:50:22 GMT):
Has joined the channel.

YannBailly (Wed, 13 Jun 2018 15:20:58 GMT):
Has joined the channel.

RealDeanZhao (Thu, 14 Jun 2018 08:09:01 GMT):
Has joined the channel.

RealDeanZhao (Thu, 14 Jun 2018 08:42:03 GMT):
Hi guys, how to enable TLS???

RealDeanZhao (Thu, 14 Jun 2018 08:42:49 GMT):

Clipboard - June 14, 2018 4:42 PM

RealDeanZhao (Thu, 14 Jun 2018 08:42:52 GMT):
I am using the master branch.

RealDeanZhao (Thu, 14 Jun 2018 09:09:32 GMT):
The peers need to verify the client certification, how do I set the cert and key?

RealDeanZhao (Thu, 14 Jun 2018 09:32:15 GMT):

Clipboard - June 14, 2018 5:32 PM

RealDeanZhao (Thu, 14 Jun 2018 10:28:57 GMT):
Mutual TLS is not implemented. Trying to implement it in my fork.. https://fabric-sdk-node.github.io/tutorial-mutual-tls.html

aflament (Thu, 14 Jun 2018 11:05:05 GMT):
Has joined the channel.

GokhanCan (Thu, 14 Jun 2018 12:45:01 GMT):
Has joined the channel.

JonathanC (Thu, 14 Jun 2018 17:21:11 GMT):
Has joined the channel.

ATMarcks (Fri, 15 Jun 2018 01:01:32 GMT):
Has joined the channel.

paulananth (Fri, 15 Jun 2018 12:20:47 GMT):
Has joined the channel.

ndatebayo (Fri, 15 Jun 2018 13:26:10 GMT):
Has joined the channel.

ndatebayo (Fri, 15 Jun 2018 13:30:58 GMT):
hi, i'm running a HL Fabric 1.1 network on my local machine and I couldn't manage to make it work with Explorer. When I open log.log I have this message : E0615 13:27:53.933078529 19368 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E0615 13:27:53.933362284 19368 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/node_modules/grpc/src/client.js:64:15) at /home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/node_modules/grpc/src/client.js:64:15) at /home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/node_modules/grpc/src/client.js:583:15 [2018-06-15 13:27:53.936] [ERROR] Query - Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/node_modules/grpc/src/client.js:64:15) at /home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/node_modules/grpc/src/client.js:583:15 error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/node_modules/grpc/src/client.js:64:15) at /home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/node_modules/grpc/src/client.js:583:15

ndatebayo (Fri, 15 Jun 2018 13:31:10 GMT):
can anyone help me please ?

nfrunza (Fri, 15 Jun 2018 14:05:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yfa4aAcj7LtvzLKb7) @ndatebayo Did you configure your network paths in config.json ?

kenty (Fri, 15 Jun 2018 15:07:59 GMT):
Has joined the channel.

yashagrawal3 (Sun, 17 Jun 2018 11:29:51 GMT):
Has joined the channel.

knagware9 (Sun, 17 Jun 2018 15:41:17 GMT):
Hi Guys ,appconfig.json is the config file in explorer ,I tried and followed github doc but not able to connect my fabric network

jeevas (Mon, 18 Jun 2018 09:38:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kx8T5uGQTN3jGC4CN) @knagware9 what error you are facing?

SeamonJia (Mon, 18 Jun 2018 09:39:00 GMT):
Has joined the channel.

SeamonJia (Mon, 18 Jun 2018 09:43:19 GMT):
Hello, everyone! Anyone could tell me what's the roadmap and release plan of Hyperledger Explorer? I plan to find a stable version and then customize it for our own use. Your information would be deeply appreciated!

npc0405 (Mon, 18 Jun 2018 15:21:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uob9mtKwFYD22icCt) @jeevas I tried explorer and it did work.. when there was config.json present in clone. Now its been removed and replaced by appconfig.json

npc0405 (Mon, 18 Jun 2018 15:22:21 GMT):
Could you please help, How to deploy/make it working with appconfig.json

npc0405 (Mon, 18 Jun 2018 15:22:44 GMT):
there are no steps involved in readme

ajmeraharsh (Mon, 18 Jun 2018 15:33:58 GMT):
Has joined the channel.

ajmeraharsh (Mon, 18 Jun 2018 15:36:56 GMT):
@npc0405 @knagware9 The fabric related config has been shifted to `https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config.json` Now `appconfig.json` is only about host and port

npc0405 (Mon, 18 Jun 2018 15:38:08 GMT):
Thanks !!! So I will do config related changes in the same above mentioned file....? @ajmeraharsh

ajmeraharsh (Mon, 18 Jun 2018 15:38:26 GMT):
yup!

npc0405 (Mon, 18 Jun 2018 15:38:37 GMT):
Thanks a lot :)

knagware9 (Mon, 18 Jun 2018 16:08:46 GMT):
@npc0405 @jeevas I will try with this config file ,,,I was getting error means not able to read config file

npc0405 (Mon, 18 Jun 2018 16:14:55 GMT):
Yeah same getting "Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number."

npc0405 (Mon, 18 Jun 2018 16:35:12 GMT):
Any idea on this....am i missing some config?

npc0405 (Mon, 18 Jun 2018 17:38:59 GMT):
check ports if correctly mapped If all correctly mapped then check for grpcs and then change to grpc

npc0405 (Mon, 18 Jun 2018 17:41:42 GMT):
https://stackoverflow.com/questions/50039054/handshake-failed-with-fatal-error-ssl-error-ssl-error1408f10bssl-routinesssl

nhelmy (Mon, 18 Jun 2018 21:09:10 GMT):
Has joined the channel.

lwrabbit (Tue, 19 Jun 2018 07:44:16 GMT):
Hi all, my explorer is successfully running, but the web browser is blank,and client.js resposed httpcode:304, does anyone konw the problem?

ajmeraharsh (Tue, 19 Jun 2018 07:44:50 GMT):
did you check the logs? or console?

lwrabbit (Tue, 19 Jun 2018 07:48:18 GMT):
the log err is :[ERROR] blockscanner - TypeError: Cannot read property 'data' of undefined

lwrabbit (Tue, 19 Jun 2018 07:48:34 GMT):
@ajmeraharsh

edluizl (Tue, 19 Jun 2018 14:42:48 GMT):
Has joined the channel.

sureshtedla (Tue, 19 Jun 2018 18:09:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LcFj26Qn5Qgr2Z9pF) @lwrabbit what you included in appconfig.json????

lwrabbit (Wed, 20 Jun 2018 02:10:31 GMT):
@sureshtedla only host and port

lwrabbit (Wed, 20 Jun 2018 02:48:05 GMT):
Hi all, the explorer dashboard show blocks is slower than really blocknum a lot, how to solve this problem?thanks

SeamonJia (Wed, 20 Jun 2018 02:48:58 GMT):
Hello, everyone! Anyone could tell me what's the roadmap and release plan of Hyperledger Explorer? I plan to find a stable version and then customize it for our own use. Your information would be deeply appreciated!

nfrunza (Wed, 20 Jun 2018 04:00:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wp3khH75ZcZ6FCXix) @SeamonJia Do you want to contribute?

SeamonJia (Wed, 20 Jun 2018 05:11:33 GMT):
@nfrunza Sure. I'd like to contribute.

SeamonJia (Wed, 20 Jun 2018 05:24:12 GMT):
I noticed that we have to define settings in networkconfig.js for exploring Hyperledger Fabric. I wonder if the Hyperledger Explorer can explore a dynamic network, such as one that has new peers added dynamically?

lwrabbit (Wed, 20 Jun 2018 06:10:13 GMT):
After running, the synchronous blocks are written to the PG database. Can they be dynamically acquired? Polling index is too slow to keep up with the current block information.

lwrabbit (Wed, 20 Jun 2018 06:13:16 GMT):
On the other hand, how to increase the speed of writing to database?

SeamonJia (Wed, 20 Jun 2018 06:27:18 GMT):
@lwrabbit What do you mean by dynamically acquired? I suppose the listener is listening the event and can synchronize in interval.

MeghaGupta (Wed, 20 Jun 2018 06:36:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LcFj26Qn5Qgr2Z9pF) @lwrabbit

MeghaGupta (Wed, 20 Jun 2018 06:37:15 GMT):
Hi @lwrabbit could you please share yours appconfig.json

lwrabbit (Wed, 20 Jun 2018 06:40:26 GMT):
I solved that problem,thanks @MeghaGupta

lwrabbit (Wed, 20 Jun 2018 06:43:29 GMT):
@SeamonJia Query the information in current time when clicking the details of the block

MeghaGupta (Wed, 20 Jun 2018 06:43:42 GMT):
Hi I was asking for reference .. I have set the host and port but still not able to connect ..:D @lwrabbit

lwrabbit (Wed, 20 Jun 2018 06:44:33 GMT):
@SeamonJia Instead of writing the database after the query。

MeghaGupta (Wed, 20 Jun 2018 06:45:40 GMT):
I was using config.json which give kind of template but appconfig.json is different. @lwrabbit please help

SeamonJia (Wed, 20 Jun 2018 06:46:07 GMT):
@lwrabbit When clicking the details of the block, I suppose the Explorer will call API to retrieve information stored in the PG db.

lwrabbit (Wed, 20 Jun 2018 06:46:10 GMT):
I did not update the appconfig.json. @MeghaGupta ,the config.json path is app/platform/fabric/config.json,you can update it there.

SeamonJia (Wed, 20 Jun 2018 06:47:22 GMT):
@lwrabbit Did you mean it should reach out to Fabric network to get the latest information?

lwrabbit (Wed, 20 Jun 2018 06:48:56 GMT):
@SeamonJia yes

MeghaGupta (Wed, 20 Jun 2018 06:50:35 GMT):
ok thanks @lwrabbit

SeamonJia (Wed, 20 Jun 2018 06:52:24 GMT):
@lwrabbit Got it. But won't it affect the performance of the Fabric network if the block you request never changed?

lwrabbit (Wed, 20 Jun 2018 06:57:03 GMT):
Does query performance have a great impact on writing? In my application scenario, I want to write data to the Fabric network in real time. @SeamonJia

MeghaGupta (Wed, 20 Jun 2018 07:01:09 GMT):
Hi @lwrabbit could you please help me with "configtxgenToolPath": "fabric-path/fabric-samples/bin",

lwrabbit (Wed, 20 Jun 2018 07:01:23 GMT):
@SeamonJia I tried to drop the database and restart explorer. The PG database began to read and write from the first block, but if reading block could not keep up with the speed of the block generation,then?

MeghaGupta (Wed, 20 Jun 2018 07:01:25 GMT):
I am using fabric java sdk

lwrabbit (Wed, 20 Jun 2018 07:04:20 GMT):
@MeghaGupta the path is your real path of storing the binary file

MeghaGupta (Wed, 20 Jun 2018 07:09:02 GMT):
so I can give any path ?

lwrabbit (Wed, 20 Jun 2018 07:09:26 GMT):
yes

MeghaGupta (Wed, 20 Jun 2018 07:09:34 GMT):
again thanks a lot

lwrabbit (Wed, 20 Jun 2018 07:10:02 GMT):
any where you can store :wink:

MeghaGupta (Wed, 20 Jun 2018 07:22:37 GMT):
@lwrabbit any idea on this error : blockchain-explorer/main.js:46 async function startExplorer() { ^^^^^^^^ SyntaxError: Unexpected token function at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10)

MeghaGupta (Wed, 20 Jun 2018 07:25:49 GMT):
I did npm build

SeamonJia (Wed, 20 Jun 2018 07:26:01 GMT):
@lwrabbit Sorry, I'm still on my woking time in office. You do have a good point. But in my opinion, there's little chance that PG reading block could not keep up with the speed of the block generation in Fabric.

SeamonJia (Wed, 20 Jun 2018 07:27:30 GMT):
Even it falls behind, the information delays in showing the latest is tolerable, right?

SeamonJia (Wed, 20 Jun 2018 07:28:08 GMT):
@lwrabbit BTW, I noticed that we have to define settings in networkconfig.js for exploring Hyperledger Fabric. I wonder if the Hyperledger Explorer can explore a dynamic network, such as one that has new peers added dynamically?

SeamonJia (Wed, 20 Jun 2018 07:28:44 GMT):
@MeghaGupta The node version is not 8.9.x

SeamonJia (Wed, 20 Jun 2018 07:29:19 GMT):
I suggest you use 8.9.4. You can install nvm for switching between different node version.

sureshtedla (Wed, 20 Jun 2018 09:44:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gwAuBR6kAhenbRXvT) @lwrabbit i have host: localhost, port 8080 i am not getting explorer page

lwrabbit (Wed, 20 Jun 2018 09:49:18 GMT):
@sureshtedla config.json..you should set your fabric network config

sureshtedla (Wed, 20 Jun 2018 09:50:10 GMT):
can you please share me what you included?/

sureshtedla (Wed, 20 Jun 2018 09:50:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8StAgLmwd9rHNkrS9) @lwrabbit can you please share me what you included in config.json?

lwrabbit (Wed, 20 Jun 2018 09:53:42 GMT):
my config.json is the same as the demo config.json @sureshtedla

sureshtedla (Wed, 20 Jun 2018 09:54:27 GMT):
when iincluded same i am getting explorer page

sureshtedla (Wed, 20 Jun 2018 09:54:27 GMT):
when iincluded same i am not getting explorer page

sureshtedla (Wed, 20 Jun 2018 09:55:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=97hRLiDEB6mxP4aNe) @lwrabbit I have included orgs and peers and CA information in config.json still explorer not connecting

lwrabbit (Wed, 20 Jun 2018 09:56:44 GMT):
@sureshtedla Check your certificate path

sureshtedla (Wed, 20 Jun 2018 09:56:57 GMT):
all the paths are correct

sureshtedla (Wed, 20 Jun 2018 09:57:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MxpdrQYgpi4ZGx85F) @lwrabbit all the paths are correct and i dont know why its not connecting

lwrabbit (Wed, 20 Jun 2018 09:58:27 GMT):
@sureshtedla sorry,I didn't meet this problem..

sureshtedla (Wed, 20 Jun 2018 09:59:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GM4od6N2ckpybR8tC) @lwrabbit you followed previous procedure right?

lwrabbit (Wed, 20 Jun 2018 10:01:09 GMT):
@sureshtedla yes ,maybe you can check the logs

sureshtedla (Wed, 20 Jun 2018 10:02:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8NPCpWd8MrmBYzqiW) @lwrabbit can you share what demo config.json or what are the resource you are following?

lwrabbit (Wed, 20 Jun 2018 10:03:17 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config.json

sureshtedla (Wed, 20 Jun 2018 10:05:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BysLmiMdnQCZs8mNB) @lwrabbit in the link you are provided where you placed host name and port and database you are using?

lwrabbit (Wed, 20 Jun 2018 10:08:09 GMT):
@sureshtedla host and port use the default in appconfig.json

sureshtedla (Wed, 20 Jun 2018 10:08:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PPP6GKeWLQiXoBtKo) @lwrabbit database: fabricexplorer where to include?

lwrabbit (Wed, 20 Jun 2018 10:09:24 GMT):
You reminded me that I didn't configure database,but there is no problem..i don't know why..

sureshtedla (Wed, 20 Jun 2018 10:19:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NB8RMjzzd25iY4sjM) @lwrabbit okk when i enter npm run test i am getting Error cannot find module log4js/lib/log4js

MeghaGupta (Wed, 20 Jun 2018 11:16:41 GMT):
Hi, I am getting nhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:20871) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. E0620 16:41:22.125395939 20871 ssl_transport_security.cc:1228] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. E0620 16:41:23.948777003 20871 ssl_transport_security.cc:1228] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. E0620 16:41:26.535756042 20871 ssl_transport_security.cc:1228] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

MeghaGupta (Wed, 20 Jun 2018 11:21:46 GMT):
any one face this issue ?

nekia (Thu, 21 Jun 2018 03:42:35 GMT):

Clipboard - June 21, 2018 1:41 PM

nekia (Thu, 21 Jun 2018 03:44:59 GMT):
Great! It seems to be working fine in my composer environment ( fabric 1.1.0 ). I have one thing. My environment consists of 5 organizations. Peers Health list is working fine ( I can see peers on each organizaition ) but the number of nodes is still 1 on Dashboard screen and I can see only 1 peer (peer0.org1.example.com) on Network screen. Does anyone know how it is expected to work ?

szytko (Thu, 21 Jun 2018 08:16:39 GMT):
Has joined the channel.

vanitas92 (Thu, 21 Jun 2018 08:26:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xbL5ND22EGRKKmouy) @nekia Having the same problem. Also it does not refresh correctly when changing different channels.

MeghaGupta (Thu, 21 Jun 2018 08:53:41 GMT):
Hi I m facing exception : blockchain-explorer/app/persistance/postgreSQL/db/pgservice.js:319 if (!res.rows && res.rows.length == 0) resolve(null); ^ TypeError: Cannot read property 'rows' of undefined

MeghaGupta (Thu, 21 Jun 2018 08:53:54 GMT):
plese let me know if any once face it

MeghaGupta (Thu, 21 Jun 2018 08:56:54 GMT):
UnhandledPromiseRejectionWarning: error: relation "orderer" does not exist

nfrunza (Thu, 21 Jun 2018 11:54:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7292D5uAL2gnvss5r) @MeghaGupta Please follow up on README.md and install run db scripts

nfrunza (Thu, 21 Jun 2018 11:54:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7292D5uAL2gnvss5r) @MeghaGupta Please follow up on README.md and install run db scripts

nfrunza (Thu, 21 Jun 2018 12:17:03 GMT):
Anyone interested to contribute to Hyperledger Explorer?

ajmeraharsh (Thu, 21 Jun 2018 12:18:37 GMT):
@nfrunza I would be

nfrunza (Thu, 21 Jun 2018 12:19:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uhtkQZfATkMoAhHd8) @ajmeraharsh Great, can you put your email in my private chat, so we can email you an invitation to introduce yourself ?

ajmeraharsh (Thu, 21 Jun 2018 12:20:11 GMT):
sounds like a plan

nfrunza (Thu, 21 Jun 2018 12:20:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fLRpCcHrbyGCBHp3D) @ajmeraharsh thank you, nice talking to you

Mahesh-Raj (Thu, 21 Jun 2018 12:41:12 GMT):
Has joined the channel.

Mahesh-Raj (Thu, 21 Jun 2018 12:42:05 GMT):

explorer.png

ndatebayo (Thu, 21 Jun 2018 12:42:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eD8Qz3Fgq4CDShd2j) @nfrunza Hi, there is no config.json in the master branch. Should I use a previous version ?

nfrunza (Thu, 21 Jun 2018 12:43:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=x9B5b7qycXn55nFYT) @ndatebayo Looks like we missed to update the readme, see it at : blockchain-explorer/app/platform/fabric/config.json

nfrunza (Thu, 21 Jun 2018 12:44:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WHft8qgSr7vofJvRh) @Mahesh-Raj Yes, pull that version, lookup in commit

ndatebayo (Thu, 21 Jun 2018 12:44:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ddQkmZmHHqzwbinXA) @nfrunza Ok thanks I'll try that. Should I follow the rest of the readme as usual ?

nfrunza (Thu, 21 Jun 2018 12:44:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CC3LHZYqB35coswTZ) @ndatebayo correct, make sure to run db scripts

ndatebayo (Thu, 21 Jun 2018 12:45:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yzxeyyACuLWBivKai) @nfrunza Alright thanks a lot!

nfrunza (Thu, 21 Jun 2018 12:45:50 GMT):
you're welcom

Mahesh-Raj (Thu, 21 Jun 2018 12:45:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9saF3doFQ6vc2QDW2) @nfrunza that helps. thank you

ndatebayo (Thu, 21 Jun 2018 12:49:29 GMT):
@nfrunza "configtxgenToolPath" is the path leading you to configtx.yaml ?

nfrunza (Thu, 21 Jun 2018 12:50:35 GMT):
that is for the tool itself

ndatebayo (Thu, 21 Jun 2018 12:52:38 GMT):
I'm new to this, I don't really know what it is

ajmeraharsh (Thu, 21 Jun 2018 13:01:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iXAePrLAB5hGXZbNo) @ndatebayo you must have downloaded fabric-ca for `cryptogen` and `configtxgen`, you need to give that path there

ndatebayo (Thu, 21 Jun 2018 13:05:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XRgF9Jh3FEWnvyXiL) @ajmeraharsh I'm using Hyperledger Composer, I'm not sure that I use fabric-ca

ajmeraharsh (Thu, 21 Jun 2018 13:07:09 GMT):
@ndatebayo Composer on Fabric Network right? For installing Fabric network you must have downloaded binaries. If not please check here `http://hyperledger-fabric.readthedocs.io/en/release-1.1/samples.html#binaries`

ndatebayo (Thu, 21 Jun 2018 13:51:59 GMT):
Thanks, I think it is configured in the right way but I get this error in app.log

ndatebayo (Thu, 21 Jun 2018 13:52:06 GMT):
[2018-06-21 15:50:55.244] [ERROR] metricservice - TypeError: Cannot read property 'length' of null at MetricService.getPeerData (/home/salim/Documents/AGCS/blockchain/AGCS-Blockchain/explorer/app/persistance/postgreSQL/MetricService.js:36:32) at at process._tickCallback (internal/process/next_tick.js:188:7)

ndatebayo (Thu, 21 Jun 2018 13:52:06 GMT):
[2018-06-21 15:50:55.244] [ERROR] metricservice - TypeError: Cannot read property 'length' of null at MetricService.getPeerData (/AGCS/blockchain/AGCS-Blockchain/explorer/app/persistance/postgreSQL/MetricService.js:36:32) at at process._tickCallback (internal/process/next_tick.js:188:7)

ndatebayo (Thu, 21 Jun 2018 13:52:35 GMT):
(I'm running the master version)

nfrunza (Thu, 21 Jun 2018 15:23:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dWwwuRGabDgNSt4Hp) @ndatebayo do you have the network running ?

nfrunza (Thu, 21 Jun 2018 15:33:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=htuWgGdjjCP8yHnBy) Did you follow on readme documnt and run the db scripts?

nfrunza (Thu, 21 Jun 2018 15:33:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=htuWgGdjjCP8yHnBy) Did you follow on readme documnt and run the db scripts?

vanitas92 (Thu, 21 Jun 2018 17:13:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WHft8qgSr7vofJvRh) @Mahesh-Raj Yes after cloning the repository execute this command ```git reset --hard 7af23d18c396867d9c087c81196f5fc070015729```. This is the last stable commit of that design.

ktalluri (Thu, 21 Jun 2018 19:51:43 GMT):
Has joined the channel.

lwrabbit (Fri, 22 Jun 2018 02:17:56 GMT):
hi all, I got an error that "TypeError: Cannot read property 'data' of undefined" ,who knows the resson?help

lwrabbit (Fri, 22 Jun 2018 02:19:45 GMT):
and the app.log had lots of errs executing chaincode timeout ..

nekia (Fri, 22 Jun 2018 03:20:17 GMT):
Do you have any errors on console.log ? Changing loglevel from INFO to DEBUG might help you. > [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging.

nekia (Fri, 22 Jun 2018 03:21:26 GMT):
You need to rebuild client after changing loglevel @lwrabbit

lwrabbit (Fri, 22 Jun 2018 03:24:29 GMT):
@nekia thanks

vanitas92 (Fri, 22 Jun 2018 07:29:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZWmpcDrzzkgvfgAvb) @nfrunza I have succesfully dockerize the application and the database in two docker containers and it is up and running in my kubernetes cluster. Maybe i can contribute in that way.

vanitas92 (Fri, 22 Jun 2018 07:29:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZWmpcDrzzkgvfgAvb) @nfrunza I have succesfully dockerize the application and the database in two docker containers and they are up and running in my kubernetes cluster. Maybe i can contribute in that way.

nvxtien (Fri, 22 Jun 2018 11:24:09 GMT):
Has joined the channel.

Mahesh1 2 (Sat, 23 Jun 2018 16:56:04 GMT):
Has joined the channel.

SeamonJia (Sun, 24 Jun 2018 01:51:26 GMT):
@nfrunza I'd like to contribute. But I wonder if there are some rule we have to obey? I can only work in my free time since I have a full time job.

nfrunza (Sun, 24 Jun 2018 02:17:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jZCcaPE7eevqqbzeh) @SeamonJia , yes of course, we are 2 weeks sprint

SeamonJia (Sun, 24 Jun 2018 08:40:10 GMT):
@nfrunza Could you tell me more about how to make contribution? Thanks!

SeamonJia (Sun, 24 Jun 2018 12:28:30 GMT):
@vanitas92 Is it possible for you to share with us how to set up the K8s cluster? Thanks!

Jaline (Mon, 25 Jun 2018 02:49:06 GMT):
Has joined the channel.

SeamonJia (Mon, 25 Jun 2018 05:37:24 GMT):
Anybody knows that has the web socket already been in use by Hyperledger Explorer? Thanks!

AkSabz (Mon, 25 Jun 2018 06:15:47 GMT):
Has joined the channel.

kiknaio (Mon, 25 Jun 2018 07:18:21 GMT):
Has joined the channel.

javapriyan (Mon, 25 Jun 2018 07:31:49 GMT):
How to connect the explorer to a locally running fabric network

VarshithM (Mon, 25 Jun 2018 12:41:51 GMT):
Has joined the channel.

VarshithM (Mon, 25 Jun 2018 12:42:47 GMT):
Hi friends. I am new to Hyperledger. I am trying to install and use Hyperledger explorer and I get the following error message.

VarshithM (Mon, 25 Jun 2018 12:43:12 GMT):
```scriptbees@scriptbees-Vostro-270s:~/blockchain-explorer/logs/console$ cat console.log-2018-06-25 postgres://hppoc:password@127.0.0.1:5432/fabricexplorer error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [] creator org [Org1MSP] at new createStatusError (/home/scriptbees/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/scriptbees/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Channels Query. Error: Error: 2 UNKNOWN: access denied: channel [] creator org [Org1MSP] at new createStatusError (/home/scriptbees/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/scriptbees/blockchain-explorer/node_modules/grpc/src/client.js:583:15 (node:6412) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/scriptbees/blockchain-explorer/app/platform/fabric/Platform.js:188:26) at (node:6412) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:6412) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. ```

VarshithM (Mon, 25 Jun 2018 12:43:36 GMT):
Can you help me understand what the problem is?

rthatcher (Mon, 25 Jun 2018 13:55:38 GMT):
I've seen a few questions previously here about getting the Explorer to work with Hyperledger Composer. I have just tested it with the "default development Fabric" from Composer and I have a working configuration. The details are available in a Stack Overflow Q/A: https://stackoverflow.com/questions/51020162/how-to-integrate-hyperledger-composer-business-network-with-hyperledger-explorer/51025119#51025119

nfrunza (Mon, 25 Jun 2018 13:59:30 GMT):
this is great, thank you

rthatcher (Mon, 25 Jun 2018 14:02:01 GMT):
I just edited the post because the Build instructions didn't works exactly for me

nfrunza (Mon, 25 Jun 2018 14:02:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yMJpjRJubN32RqAgs) @SeamonJia We will setup a meeting with you and go over, and assign tasks

nfrunza (Mon, 25 Jun 2018 14:03:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Rf9vhEu3nhKTFPsXX) @rthatcher Can you elaborate on the instructions you found ?

rthatcher (Mon, 25 Jun 2018 14:08:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EuzJrrXvWM6woLJCm) @nfrunza - sure - on this readme page: https://github.com/hyperledger/blockchain-explorer/blob/master/README.md There are 9 commands to "Build Hyperledger Explorer" - the 3rd command `npm run test` failed for me with errors about log4js. I changed up one directory and ran `npm install` (in the app folder) and then back into test and the `npm run test` succeeded.

nfrunza (Mon, 25 Jun 2018 14:12:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7R7AhPTaJagyqjgtR) @rthatcher I see, i think we should review and change the instructions

rthatcher (Mon, 25 Jun 2018 14:13:45 GMT):
@nfrunza - that would be good - thanks.

nfrunza (Mon, 25 Jun 2018 14:16:44 GMT):
welcome

javapriyan (Tue, 26 Jun 2018 06:39:10 GMT):
Guys, I have a strange issue in running explorer locally. When I started the the app after modifying the connection profile. It says, GET is not allowed

javapriyan (Tue, 26 Jun 2018 06:39:10 GMT):
Guys, I have a strange issue in running explorer locally. When I started the the app after modifying the connection profile. It says, GET is not allowed for localhost:8080

javapriyan (Tue, 26 Jun 2018 06:39:35 GMT):
I did check the logs, there is nothing

javapriyan (Tue, 26 Jun 2018 06:40:04 GMT):
I got stuck and don't know where to go further from there

javapriyan (Tue, 26 Jun 2018 06:40:04 GMT):
I got stuck and don't know where to go further from here

lwrabbit (Tue, 26 Jun 2018 07:12:26 GMT):
hi all,now there are millions of blocks and transactions in my blockchain,the function getBlockAndTxList is too slow to execute.

lwrabbit (Tue, 26 Jun 2018 07:13:27 GMT):
How to optimize the SQL statement?

lwrabbit (Tue, 26 Jun 2018 07:13:47 GMT):

s q l

javapriyan (Tue, 26 Jun 2018 07:36:06 GMT):
https://stackoverflow.com/questions/51037345/unable-to-start-the-hyperledger-explorer-locally-throws-404

dijun (Tue, 26 Jun 2018 09:59:47 GMT):
Has joined the channel.

nfrunza (Tue, 26 Jun 2018 13:26:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZM6uCMwHdZu788Gvt) @javapriyan Can you describe how you did install and build, and start explorer?

nfrunza (Tue, 26 Jun 2018 13:30:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=92PiN2nHAk2Pw6gpm) @lwrabbit Thank you for the findings, i created a jira, https://jira.hyperledger.org/browse/BE-346

MeghaGupta (Tue, 26 Jun 2018 14:12:29 GMT):
Hi, I am running Explorer in my local machine. In console log of explorer getting : fabric-sdk-java/src/test/fixture/sdkintegration/gocc/sample1/src/github.com/example_cc/example_cc.go: Permission denied

MeghaGupta (Tue, 26 Jun 2018 14:12:30 GMT):
go/src/github.com/hyperledger/fabric-sdk-go/test/fixtures/testdata/src/github.com/example_cc1/example_cc1.go: Permission denied

MeghaGupta (Tue, 26 Jun 2018 14:12:40 GMT):
i am not using these chaincode

MeghaGupta (Tue, 26 Jun 2018 14:13:05 GMT):
this path is hard coded some where in explorer

MeghaGupta (Tue, 26 Jun 2018 14:13:08 GMT):
?

MeghaGupta (Tue, 26 Jun 2018 14:13:21 GMT):
fabric-samples/balance-transfer/artifacts/src/github.com/example_cc/go/example_cc.go: Permission denied

MeghaGupta (Tue, 26 Jun 2018 14:13:35 GMT):
fabric-samples/balance-transfer/artifacts/src/github.com/example_cc/go:

MeghaGupta (Tue, 26 Jun 2018 14:14:00 GMT):
it searching al most all the chain code sample I have in my local

nfrunza (Tue, 26 Jun 2018 14:48:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Grqyd9XsLXdftS3kX) @MeghaGupta Looks like bug, will address this, thank you

nfrunza (Tue, 26 Jun 2018 15:04:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TRnBYdgni3zKb9Bzi) a jira was assigned https://jira.hyperledger.org/browse/BE-347

MeghaGupta (Tue, 26 Jun 2018 15:22:56 GMT):
@nfrunza , I found few more detail about this issue. In PostgreSQL I have chaincode Table where my chain code path is not complete path. So may be Explorer is searching that path in my local.

MeghaGupta (Tue, 26 Jun 2018 15:22:57 GMT):
abricexplorer=# select * from chaincodes ; id | name | version | path | channelname | txcount | createdt ----+---------------+---------+-----------------------+-------------+---------+---------- 10 | example_cc_go | 1 | github.com/example_cc | foo | 0 | (1 row)

MeghaGupta (Tue, 26 Jun 2018 15:39:34 GMT):
@nfrunza even after updating correct path still getting same issue

nfrunza (Tue, 26 Jun 2018 15:57:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=75YC4RSRdMvCkXbsR) @MeghaGupta Explorer assumes it is in your local path

sasquatch85 (Tue, 26 Jun 2018 17:14:09 GMT):
Has joined the channel.

javapriyan (Wed, 27 Jun 2018 09:00:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mj9xh4a9mXoWbDeJC) @nfrunza Missed your message. My bad, I didn't build the app. Hence , it was 404

eugene-babichenko (Wed, 27 Jun 2018 13:02:34 GMT):
Has joined the channel.

eugene-babichenko (Wed, 27 Jun 2018 13:07:26 GMT):
Hello, Explorer team, I saw your project and came up with a couple of questions. First of all, I have seen a message in your mailing list about making your explorer compatible with Sawtooth. Is there any progress in this direction? My motivation for this question is that we had to create a blockchain explorer for our Sawtooth-based project. Another question: can your explorer be extended with custom views for user-defined transaction types?

nfrunza (Wed, 27 Jun 2018 18:20:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eTHyRM8yAyySx4wCz) @eugene-babichenko Can't comment on Sawtooth, can you elaborate on "custom views for user-defined transaction types" ? Any contribution to the project is welcomed

eugene-babichenko (Thu, 28 Jun 2018 07:53:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3vbnE2ciJjJWbG8HD) @nfrunza I mean something like that: 1) We have our transaction processor which accepts some payload 2) We want to parse that payload and display the result

eugene-babichenko (Thu, 28 Jun 2018 07:58:37 GMT):

Clipboard - June 28, 2018 9:54 AM

eugene-babichenko (Thu, 28 Jun 2018 08:00:09 GMT):

Clipboard - June 28, 2018 9:58 AM

nfrunza (Thu, 28 Jun 2018 13:20:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=r9DxEA6pEuCaSZciQ) @eugene-babichenko If i'm not wrong this would be a custom functionality that will parse the payload based on some configuration? how would you know which transaction payload you want to parse and display?.

eugene-babichenko (Thu, 28 Jun 2018 14:08:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Sp88mXC7iAwDLi9gL) @nfrunza In Sawtooth we have a transaction right in the transaction header, for example. Not sure how it works in Fabric.

eugene-babichenko (Thu, 28 Jun 2018 14:08:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Sp88mXC7iAwDLi9gL) @nfrunza In Sawtooth we have a transaction family name right in the transaction header, for example. Not sure how it works in Fabric.

Yuanye (Fri, 29 Jun 2018 04:01:41 GMT):
Has joined the channel.

nfrunza (Fri, 29 Jun 2018 12:47:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AEcjbrYCQuJP6uhcE) @eugene-babichenko Please create a user store and we can create a jira, it could be a valuable functionality

nfrunza (Fri, 29 Jun 2018 13:52:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KSrXbZkCmcgCMksDS) @VarshithM Can you describe the steps on install and build the application, also the configuration

SiddharthOX (Sat, 30 Jun 2018 06:07:12 GMT):
Has joined the channel.

lys94 (Sun, 01 Jul 2018 06:57:30 GMT):
Has joined the channel.

praveentalari (Sun, 01 Jul 2018 07:06:16 GMT):
cannot access http://localhost:8080/ even after doing *npm install* in blockchain-explorer/app/ folder also. Getting following issues. *console.log:* default database: `/var/db/locate.database' or $LOCATE_PATH postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:3817) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/Users/pt/blockchain-explorer/app/platform/fabric/Platform.js:188:26) at (node:3817) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:3817) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. *db.log:* [2018-07-01 12:31:08.144] [INFO] pgservice - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. *app.log:* [2018-07-01 12:31:08.459] [ERROR] Query - Error: Peer is required at Client.queryChannels (/Users/pt/blockchain-explorer/node_modules/fabric-client/lib/Client.js:821:27) at Proxy.queryChannels (/Users/pt/blockchain-explorer/app/platform/fabric/Proxy.js:234:40) at Platform.setChannels (/Users/pt/blockchain-explorer/app/platform/fabric/Platform.js:186:35) at Platform.initialize (/Users/pt/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at

BrettR (Sun, 01 Jul 2018 15:04:12 GMT):
Has joined the channel.

vanitas92 (Mon, 02 Jul 2018 09:08:35 GMT):
Hello guys! I am having the following issue when updated to realease 3.3: ```Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set","genesis_block_hash","validation_code","envelope_signature","payload_extension","creator_nonce","chaincode_proposal_input","endorser_signature","creator_id_bytes","payload_proposal_hash","endorser_id_bytes" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22 ) RETURNING *; error: value too long for type character varying(800) at Connection.parseE (/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:597:20) ```

vanitas92 (Mon, 02 Jul 2018 09:09:06 GMT):
I have one transaction that looks like this maybe is the cause of the problem

vanitas92 (Mon, 02 Jul 2018 09:16:24 GMT):
```[{0 Acuerdo Emisor emisor http://ip_address/webdav/organization/1.%20Carta%20Emisor.pdf 7b25ae0074434242d5aad3da8fd8c24c1797c0a600d8df94f5b3424c325b46c1 1 28/06/2018 FTL Developer [] [] {true true false} 4 organization3 true} {1 Conditions http://ip_address/webdav/organization/2.%20Condiciones.zip 7b25ae0074434242d5aad3da8fd8c24c1797c0a600d8df94f5b3424c325b46c1 1 28/06/18 09:37 FTL Developer [] [] {true true true} 4 organization3 true} {2 Certificate http://another_ip_address/webdav/organization/organization-20180628.pdf 7b32a25f25054a75f7bdcf41df77300cebcdd135da4d821a8f4e8f4320f909d9 1 28/06/18 09:37 Automatic [] [] {true true true} 4 organization3 true} {3 Carta organization2 emisor http://ip_addres3/webdav/organization/3.%20Carta%20a%20organization2.pdf 7b25ae0074434242d5aad3da8fd8c24c1797c0a600d8df94f5b3424c325b46c1 3 28/06/18 09:37 FTL Developer [] [] {false false true} 4 organization2 true} {4 document34 http://ip_addres3/webdav/organization/4.%20Carta%20Mandato.pdf 7b25ae0074434242d5aad3da8fd8c24c1797c0a600d8df94f5b3424c325b46c1 3 28/06/18 09:37 FTL Developer [] [] {false false true} 4 organization2 true} {5 advertising emisor http://ip_addres3/webdav/organization/5.%20Solicitu.zip 7b25ae0074434242d5aad3da8fd8c24c1797c0a600d8df94f5b3424c325b46c1 3 28/06/18 09:37 FTL Developer [] [] {false false true} 4 organization2 true} {6 anouncing http://ip_addres3/webdav/organization/6.%20ANUNCIO.pdf 7b25ae0074434242d5aad3da8fd8c24c1797c0a600d8df94f5b3424c325b46c1 3 28/06/18 09:37 FTL Developer [] [] {false true true} 4 organization2 true} {7 Solicitud normalizada Automatic http://another_ip_address/webdav/organization/StandardizedRequest-organization-20180628.pdf 3b842cf3f769c1823346d52593e9a986bd5c22189003bd49a68c64048960035d 1 28/06/18 09:37 Automatic [] [] {true false false} 4 organization3 true} {9 Acuerdo garante emisor http://ip_address/webdav/organization/7.%20Cuadro%20Difusi%C3%B3n.xml c76001d612b34b22d794fc084012c927c1e71f3bdbb99257776656e609eeab7e 1 28/06/18 09:37 FTL Developer [] [] {true false false} 4 organization3 true} {10 Cuadro difusión emisor http://ip_address/webdav/organization/7.%20Cuadro%20Difusi%C3%B3n.xml c76001d612b34b22d794fc084012c927c1e71f3bdbb99257776656e609eeab7e 1 28/06/18 09:37 FTL Developer [] [] {true false false} 4 organization3 true} {11 notification 0 [] [] {true true true} 6 false} {12 Informe favorable organization2 0 [] [] {true false true} 7 false} {13 document4 organization3 0 [] [] {true true false} 5 false} {14 document7 organization3 0 [] [] {true false false} 8 false} {15 document8: document5 organization3 0 [] [] {true false true} 8 false} {16 document6 organization2 0 [] [] {true true true} 9 false}] ```

RealDeanZhao (Mon, 02 Jul 2018 09:21:26 GMT):
@vanitas92 I met the same issue before. You can try to modify the updatepg.sql file your self and make these columns longer and then re-setup the database

RealDeanZhao (Mon, 02 Jul 2018 09:22:15 GMT):
``` ALTER TABLE Transaction ADD COLUMN validation_code character varying(50) DEFAULT NULL, ADD COLUMN envelope_signature character varying(2000) DEFAULT NULL, ADD COLUMN payload_extension character varying(2000) DEFAULT NULL, ADD COLUMN creator_id_bytes character varying(2000) DEFAULT NULL, ADD COLUMN creator_nonce character varying(2000) DEFAULT NULL, ```

RealDeanZhao (Mon, 02 Jul 2018 09:23:31 GMT):
I made all the columns with the length 2000

vanitas92 (Mon, 02 Jul 2018 09:24:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZHAHAYpnB4z7pNH7w) @RealDeanZhao Thank you. I though the same and i was trying to figure out which column was by checking the logs of postgresql

vanitas92 (Mon, 02 Jul 2018 09:37:19 GMT):
I was thinking the reason of limiting the character types in these columns. A quick consult in the following official documentation link: [https://www.postgresql.org/docs/9.0/static/datatype-character.html](https://www.postgresql.org/docs/9.0/static/datatype-character.html) says that if you do not specify the varying(n) then the database accepts strings of any size. Moreover, there is no performance issue.

RealDeanZhao (Mon, 02 Jul 2018 09:40:27 GMT):
@vanitas92 :thumbsup:

DenisDoronin (Mon, 02 Jul 2018 09:45:45 GMT):
Has joined the channel.

DenisDoronin (Mon, 02 Jul 2018 09:46:15 GMT):
Hi all! Could You please guide me? I've exported *.bna from the composer Launched it on local fabric using composer network install / composer network start command How to connect hyperledger explorer to the existing running network? I've followed guide on the github page but it requires editing config file which I don't have in my case. Thanks in advance

vanitas92 (Mon, 02 Jul 2018 10:15:58 GMT):
After putting no limit in varying in the sql script it worked perfectly. Now im facing this problem after inserting all transactions: ```INSERT ID: 127 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","blockhash","txcount","genesis_block_hash","createdt" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 122 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set","genesis_block_hash","validation_code","envelope_signature","payload_extension","creator_nonce","chaincode_proposal_input","endorser_signature","creator_id_bytes","payload_proposal_hash","endorser_id_bytes" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22 ) RETURNING *; INSERT ID: 128 Insert sql is INSERT INTO blocks ( "blocknum","channelname","prehash","datahash","blockhash","txcount","genesis_block_hash","createdt" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 123 Insert sql is INSERT INTO transaction ( "channelname","blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set","genesis_block_hash","validation_code","envelope_signature","payload_extension","creator_nonce","chaincode_proposal_input","endorser_signature","creator_id_bytes","payload_proposal_hash","endorser_id_bytes" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22 ) RETURNING *; INSERT ID: 129 Failed to receive the block event ::Error: 12 UNIMPLEMENTED: unknown service protos.Deliver Failed to receive the block event ::Error: 12 UNIMPLEMENTED: unknown service protos.Deliver Failed to receive the block event ::Error: 12 UNIMPLEMENTED: unknown service protos.Deliver Failed to receive the block event ::Error: 12 UNIMPLEMENTED: unknown service protos.Deliver ```

praveentalari (Mon, 02 Jul 2018 10:28:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=C9vPYbJfHjcZz2i9E) @DenisDoronin I am also trying to add explorer to existing network. As per someone's comment the steps mentioned in github readme are not accurate. Check this comment https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GcCL6Kcdn2jXv5sLm

DenisDoronin (Mon, 02 Jul 2018 10:30:13 GMT):
@praveentalari thanks. Have You finally managed to integrate explorer for composer network?

praveentalari (Mon, 02 Jul 2018 10:31:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dpXpTzZnQKt3Ahunv) @DenisDoronin I am struck at https://chat.hyperledger.org/channel/hyperledger-explorer?msg=D7L3AZCkDASXo7vGv

praveentalari (Mon, 02 Jul 2018 10:31:52 GMT):
[ I am struck at https://chat.hyperledger.org/channel/hyperledger-explorer?msg=D7L3AZCkDASXo7vGv ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dpXpTzZnQKt3Ahunv) @DenisDoronin

praveentalari (Mon, 02 Jul 2018 10:31:52 GMT):
[ I am stuck at https://chat.hyperledger.org/channel/hyperledger-explorer?msg=D7L3AZCkDASXo7vGv ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dpXpTzZnQKt3Ahunv) @DenisDoronin

DenisDoronin (Mon, 02 Jul 2018 10:33:54 GMT):
@praveentalari explorer uses same default port as composer. You have to change it begore npm install in config file

DenisDoronin (Mon, 02 Jul 2018 10:33:54 GMT):
@praveentalari explorer uses same default port as composer. You have to change it begore npm install in appconfig.json file

praveentalari (Mon, 02 Jul 2018 10:47:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rHWz6ekpTgprwMXMx) @DenisDoronin ..just now I have changed port to 4040 instead of 8080 in appconfig.json. I din't work :(

praveentalari (Mon, 02 Jul 2018 10:47:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rHWz6ekpTgprwMXMx) @DenisDoronin ..just now I have changed port to 4040 instead of 8080 in appconfig.json. It didn't work :(

Sairohithyanamala (Mon, 02 Jul 2018 10:52:28 GMT):
Has joined the channel.

praveentalari (Mon, 02 Jul 2018 10:56:26 GMT):
Previous version of explorer didn't ask for configtxgenToolPath in app/platform/fabric/config.json and used mysql as DB. Could anyone please share the doc which explains the transition from old to new ?

nfrunza (Tue, 03 Jul 2018 12:14:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=T8CdkfiZPjB6Ztn4m) @praveentalari configtxgenToolPath is optional for now, and we switched to postgreSQL like 3-4 months ago.

ajmeraharsh (Tue, 03 Jul 2018 14:19:29 GMT):
Hey folks! We have created another PoC, this time it's based on Sawtooth. https://airplane.thoughtchimps.com Do check and share your feedback.

krisava (Tue, 03 Jul 2018 18:19:27 GMT):
Has joined the channel.

sasquatch85 (Tue, 03 Jul 2018 18:50:07 GMT):
thanks for all the work put into the explorer lately, lots of great improvements! before a change about 3 months ago (I think here? https://github.com/hyperledger/blockchain-explorer/commit/8d71d024e24294ca289c1b0638daa3d707192a9c#diff-3e166ad59abbcf813ea5035343864249) the postgres config was in the main config.json (now in app/platform/fabric) but now only works as a part of the pgconfig.json in app/persistance/postgreSQL/db, will those remain separate from now on? the readme hasn't quite caught up to the config changes

sasquatch85 (Tue, 03 Jul 2018 18:50:07 GMT):
thanks for all the work put into the explorer lately, lots of great improvements! before a change about a month ago (I think here? https://github.com/hyperledger/blockchain-explorer/commit/8d71d024e24294ca289c1b0638daa3d707192a9c#diff-3e166ad59abbcf813ea5035343864249) the postgres config was in the main config.json (now in app/platform/fabric) but now only works as a part of the pgconfig.json in app/persistance/postgreSQL/db, will those remain separate from now on? the readme hasn't quite caught up to the config changes

RealDeanZhao (Wed, 04 Jul 2018 05:30:43 GMT):
Hi All, is there any API to get all peers of the channel?? the explorer always shows the default peer of the default org..

RealDeanZhao (Wed, 04 Jul 2018 05:33:06 GMT):
``` async setChannels() { var client = this.getClientForOrg(configuration.getDefaultOrg()); var proxy = this.getDefaultProxy(); var channelInfo = await proxy.queryChannels(); channelInfo.channels.forEach(chan => { var channelName = chan.channel_id; let channel = client.newChannel(channelName); channel.addPeer(this.getDefaultPeer()); // this line should add the list of the channel peers, not the default peer this.setupOrderers(client,channel); var channel_event_hub = channel.newChannelEventHub(this.getDefaultPeer()); this.channels[channelName] = new FabricChannel( channelName, channel, channel_event_hub ); }); } ```

zxxzzzzz (Wed, 04 Jul 2018 08:36:05 GMT):
Has joined the channel.

praveentalari (Wed, 04 Jul 2018 10:46:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=379Yc8E8GfwsAWfFb) @sasquatch85 As of now, do we need to copy paste the database configuration from app/persistance/postgreSQL/db/pgconfig.js to /platform/fabric/config.json *or* no matter what we specify we specify in /platform/fabric/config.json it will take configuration from app/persistance/postgreSQL/db/pgconfig.js only ??

praveentalari (Wed, 04 Jul 2018 10:48:23 GMT):
It's better for the whole community if the team could cross check the 10 lines of README build steps whenever there is a merge to main branch

VadimInshakov (Wed, 04 Jul 2018 17:12:04 GMT):
Has joined the channel.

harishr (Thu, 05 Jul 2018 04:16:50 GMT):
Has joined the channel.

vanitas92 (Thu, 05 Jul 2018 09:43:06 GMT):
Hello guys! In new realease 3.3 i am having some issues with peer list, dashboard does not refresh on channel selection, chaincode list and more issues. Are these issues known or just happening to me? Thanks

sasquatch85 (Thu, 05 Jul 2018 12:38:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EL7N3ptsctvYDmH8m) @praveentalari from my usage and experience with the latest few builds it is the latter: "no matter what we specify we specify in /platform/fabric/config.json it will take configuration from app/persistance/postgreSQL/db/pgconfig.json only"

nfrunza (Thu, 05 Jul 2018 15:52:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=379Yc8E8GfwsAWfFb) @sasquatch85 We missed some updates in README, will address in the next couple of days

nfrunza (Thu, 05 Jul 2018 15:54:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JKSQ3pH8hEqmAvDAq) @vanitas92 Yes, we are looking into this, please make sure you run updatepq.sql after every pull from the git

nfrunza (Thu, 05 Jul 2018 15:59:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3sN6jSk6LZs8ZjnqB) @sasquatch85 Configuration "/platform/fabric/config.json" is only for the hyperledger fabric compatible networks, and the configuration app/persistance/postgreSQL/db/pgconfig.json is for the DB. If you switch networks and using the same DB config you will have all the networks data available for the explorer

nfrunza (Thu, 05 Jul 2018 16:28:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b5nQxCXgQQCsKAYxh) @vanitas92 Please let us know: version of the fabric, branch of the explorer your are using

nfrunza (Thu, 05 Jul 2018 16:30:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QmEH4wSFYKpL7424m) @lwrabbit We are working on the DB optimization

ArigelaSatyanarayana (Fri, 06 Jul 2018 11:42:35 GMT):
Has joined the channel.

praveentalari (Fri, 06 Jul 2018 13:35:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8Rb4PkpdZb7nKkq7J) @nfrunza Is there is any suggestible working git tag or branch that we can proceed for now ?

nfrunza (Fri, 06 Jul 2018 14:42:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=duvyZAviR9jtoSHPQ) @praveentalari you can try release-3.3 branch, that is our development branch

spranay (Fri, 06 Jul 2018 16:25:42 GMT):
Has joined the channel.

gesaleh (Fri, 06 Jul 2018 20:55:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xxgRvnEGhk8tWrKN8) @nfrunza hi I'm having exactly the same issue after having all config.js clean no errors only left is this one

gesaleh (Fri, 06 Jul 2018 20:56:07 GMT):
`(node:25185) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Error: Peer is required at Client.queryChannels (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:819:27) at Proxy.queryChannels (/home/ubuntu/blockchain-explorer/app/platform/fabric/Proxy.js:234:40) at Platform.setChannels (/home/ubuntu/blockchain-explorer/app/platform/fabric/Platform.js:186:35) at Platform.initialize (/home/ubuntu/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at (node:25226) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/ubuntu/blockchain-explorer/app/platform/fabric/Platform.js:189:26) at (node:25226) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:25226) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`

gesaleh (Fri, 06 Jul 2018 20:56:07 GMT):
```(node:25185) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Error: Peer is required at Client.queryChannels (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:819:27) at Proxy.queryChannels (/home/ubuntu/blockchain-explorer/app/platform/fabric/Proxy.js:234:40) at Platform.setChannels (/home/ubuntu/blockchain-explorer/app/platform/fabric/Platform.js:186:35) at Platform.initialize (/home/ubuntu/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at (node:25226) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/ubuntu/blockchain-explorer/app/platform/fabric/Platform.js:189:26) at (node:25226) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:25226) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.```

nfrunza (Fri, 06 Jul 2018 23:21:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=53yvSDqFwr74X5wq8) @gesaleh What is your network? composer? fabric sample? Did you run DB setup? did you npm install, npm run build?

nfrunza (Fri, 06 Jul 2018 23:21:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=53yvSDqFwr74X5wq8) @gesaleh What is your network? composer? fabric sample? Did you run DB setup? did you npm install, npm run build? HLFabric network version ?

gesaleh (Sun, 08 Jul 2018 15:13:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tqSKGQhYin7NggfNE) @nfrunza it is fabric sample with one peer yes i did run install build and DB setup HLFabric is v1.1

javapriyan (Mon, 09 Jul 2018 06:06:30 GMT):
Hi guys, why there is no entry in the peer health section

tatsuya.iskw (Mon, 09 Jul 2018 07:09:07 GMT):
Has joined the channel.

Telijas (Mon, 09 Jul 2018 14:21:23 GMT):
Has joined the channel.

nfrunza (Mon, 09 Jul 2018 16:57:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uNnCMfHfy2rMJAYQj) @gesaleh Can you try the latest from release-3.4 branch, npm install, run DB setup

gesaleh (Mon, 09 Jul 2018 18:54:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=izw2EgnxK3zpcZJqG) @nfrunza latest branch I'm using it is not 3.4 ? On branch master Your branch is up-to-date with 'origin/master'

harishr (Tue, 10 Jul 2018 04:50:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Grqyd9XsLXdftS3kX) @MeghaGupta Hi,

harishr (Tue, 10 Jul 2018 04:50:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Grqyd9XsLXdftS3kX) @MeghaGupta Hi, I am unable to replicate this error. I tried changing the chaincodes as per the information here, but am unable to get the error. Can you please give me more details if possible so that I can work towards a fix?

DineshPrabhu (Tue, 10 Jul 2018 05:18:27 GMT):
Has joined the channel.

praveentalari (Tue, 10 Jul 2018 06:15:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gsFjCcRymsMCdz8pM) @gesaleh @nfrunza I have tested with release-3.4 version of the explorer. Getting the same error. My node version is v8.11.0 app.log: [ERROR] Query - Error: Peer is required console.log: default database: `/var/db/locate.database' or $LOCATE_PATH postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:6441) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/Users/pt/MY_universe/WS/go_ws/GOPATH/src/github.com/chainHero/heroes-service/blockchain-explorer/app/platform/fabric/Platform.js:188:26) at (node:6441) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:6441) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

praveentalari (Tue, 10 Jul 2018 07:07:11 GMT):
the first-network present in master branch gives !!!!!!!!!!!!!!! Query result on PEER0 is INVALID !!!!!!!!!!!!!!!! ================== ERROR !!! FAILED to execute End-2-End Scenario ====

praveentalari (Tue, 10 Jul 2018 07:07:32 GMT):
when I do ./byfn.sh -m up -c mychannel -s couchdb

Krait82 (Tue, 10 Jul 2018 11:09:23 GMT):
Has joined the channel.

gesaleh (Tue, 10 Jul 2018 11:57:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gsFjCcRymsMCdz8pM) I tried 3.4 I don't have anymore the erorrs but now i have this when i a try to go to localhost:8080 Cannot GET /

edwardsm26 (Tue, 10 Jul 2018 19:56:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JPgQ8f5xrZ6LaFBym) @gesaleh You have to go to the blochain-explorer/client folder and do the command `npm run build` then trying bringing up the application again

rajivgandhi2010 (Wed, 11 Jul 2018 06:48:18 GMT):
hyperledger blockchain explorer is not working in windows environment.. any help pls

rajivgandhi2010 (Wed, 11 Jul 2018 08:02:48 GMT):
am getting the following errors

rajivgandhi2010 (Wed, 11 Jul 2018 08:05:23 GMT):
Missing userContext or signing identity parameter

rajivgandhi2010 (Wed, 11 Jul 2018 08:05:36 GMT):
Failed to get registered user: admin, error: TypeError: Cannot read property '0' of undefined

rajivgandhi2010 (Wed, 11 Jul 2018 08:05:46 GMT):
Error: No identity has been assigned to this client

zxxzzzzz (Wed, 11 Jul 2018 08:19:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Wzz9TaqSPFYgkWKW3) @rajivgandhi2010 this error may caused by https://jira.hyperledger.org/browse/BE-373

zxxzzzzz (Wed, 11 Jul 2018 08:23:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Wzz9TaqSPFYgkWKW3) @rajivgandhi2010 the function which is used not return a value,and it will make a variable be undefined.

rajivgandhi2010 (Wed, 11 Jul 2018 08:50:10 GMT):
now am getting , Error: Channel o already exists

rajivgandhi2010 (Wed, 11 Jul 2018 08:50:12 GMT):
:(

krabradosty (Wed, 11 Jul 2018 09:47:08 GMT):
Hi. How to set up Explorer for several channels? I'm using last master.

nfrunza (Wed, 11 Jul 2018 11:12:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=orxqt89GtMZzsDLzm) @krabradosty You can pull from release-3.4 it is supporting multichannels, same configuration

nfrunza (Wed, 11 Jul 2018 11:13:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BL7MfQP4FjzLJR7aR) @rajivgandhi2010 It is not being tested in Windows

krabradosty (Wed, 11 Jul 2018 11:24:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RYrZaZHLpYxMtfWSe) @nfrunza How to specify channels? In config.json I see same entry: `"channel": "mychannel",`. I can specify an array here?

vanitas92 (Wed, 11 Jul 2018 11:59:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=s6CGgmTafL6JrkcxY) @krabradosty You only need to specify one channel that already exists in your network. The explorer should fetch all channels present in your blockchain

vchinoy (Wed, 11 Jul 2018 12:18:23 GMT):
@RealDeanZhao There is no point adding peers that we read off of config file. So the idea was to wait until network discovery is available. Fabric 1.2 offers the functionality so we will be able to fetch all peers for the given channel. We are close to providing a fabric 1.2 compatible version of explorer, stay tuned for updates on that.

nfrunza (Wed, 11 Jul 2018 12:19:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SQQ2LjnLMnkF69j7S) @vanitas92 No need to specify channels, when you start HLExplorer and connect to your network fabric will broadcast genesis blocks of your fabric, including channels, chaincodes, etc

rajivgandhi2010 (Wed, 11 Jul 2018 12:27:18 GMT):
throw new Error('The "keyValueStore" parameter must be an object that implements the following methods, which are missing: ' + err); ^ Error: The "keyValueStore" parameter must be an object that implements the following methods, which are missing: getValue() setValue()

javapriyan (Wed, 11 Jul 2018 17:18:03 GMT):
Guys, why is that the peer health is not showing up anything?

javapriyan (Wed, 11 Jul 2018 17:18:54 GMT):

Screenshot from 2018-07-11 22-48-12.png

nfrunza (Wed, 11 Jul 2018 17:26:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FMtQy85pzTogyPRP3) @javapriyan Is this from the master branch?

aanugu (Thu, 12 Jul 2018 01:47:17 GMT):
Has joined the channel.

javapriyan (Thu, 12 Jul 2018 04:35:07 GMT):
@nfrunza yes, what is the latest branch

WadeLu (Thu, 12 Jul 2018 07:35:31 GMT):
Has joined the channel.

javapriyan (Thu, 12 Jul 2018 09:10:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iqJrqXjXoT9AAtvGX) @rajivgandhi2010

lwrabbit (Thu, 12 Jul 2018 10:41:52 GMT):
hi all, i have a problem that when click the TRANSACTIONS tag ,the err console log is: error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/home/deploy/www/src/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/deploy/www/src/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Channel.js]: Failed Transaction Query. Error: Error: 2 UNKNOWN: error executing chaincode: failed to execute transaction: timeout expired while executing transaction at new createStatusError (/home/deploy/www/src/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /home/deploy/www/src/blockchain-explorer/node_modules/grpc/src/client.js:583:15

lwrabbit (Thu, 12 Jul 2018 10:42:11 GMT):
please help~

nfrunza (Thu, 12 Jul 2018 11:44:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4XCNRKg5nueuabPms) @javapriyan we plan to merge the lates this weekend, but you can try from release-3.4

nfrunza (Thu, 12 Jul 2018 11:44:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4XCNRKg5nueuabPms) @javapriyan we plan to merge the latest this weekend, but you can try from release-3.4

javapriyan (Thu, 12 Jul 2018 12:28:19 GMT):
Ok thanks @nfrunza

nfrunza (Thu, 12 Jul 2018 13:03:46 GMT):
welcome

MohammadObaid (Thu, 12 Jul 2018 16:36:00 GMT):
Hey anyone tried release3.1 version of hyperledger explorer ?

MohammadObaid (Thu, 12 Jul 2018 17:18:49 GMT):
Hey @nfrunza I am running hyperledger explorer 0.3.1 and I am getting this error . Any clue to solve this ?

MohammadObaid (Thu, 12 Jul 2018 17:19:09 GMT):

hyperledgerexplorerreact.png

MohammadObaid (Thu, 12 Jul 2018 17:19:57 GMT):
I am not sure what causing this error . My fabric server running fine and didnt get any error on hyperledger explorer backend .

nfrunza (Thu, 12 Jul 2018 17:54:47 GMT):
please try release-3.4, make sure you run DB setup and npm install

MohammadObaid (Thu, 12 Jul 2018 18:28:36 GMT):
@nfrunza I am trying getting error ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer events.js:183 throw er; // Unhandled 'error' event ^ Error: ENOENT: no such file or directory, open 'logs/app/app.log' ```

MohammadObaid (Thu, 12 Jul 2018 18:29:18 GMT):
Is logs folder supposed to be exist ? There is no logs folder in repo

nfrunza (Thu, 12 Jul 2018 19:05:31 GMT):
did you do npm install, and use ./start from root

nfrunza (Thu, 12 Jul 2018 19:53:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=j39CeuhLQSwhQ3p2h) @MohammadObaid did you do npm install, and use ./start from root

josephnicholas (Thu, 12 Jul 2018 21:00:20 GMT):
Has joined the channel.

KevinBai (Fri, 13 Jul 2018 03:11:19 GMT):
Has left the channel.

lwrabbit (Fri, 13 Jul 2018 07:59:10 GMT):
@nfrunza hi, i need help! my explorer version is release3.4.

lwrabbit (Fri, 13 Jul 2018 07:59:28 GMT):
Problem Description: Hyperledger explorer application fails to start.

lwrabbit (Fri, 13 Jul 2018 07:59:40 GMT):
(node:5414) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'forEach' of undefined (node:5414) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

lwrabbit (Fri, 13 Jul 2018 08:00:24 GMT):
and my fabric network is running

MohammadObaid (Fri, 13 Jul 2018 08:18:31 GMT):
@nfrunza I just download fresh master branch and did all setups as documented but getting same error as of @lwrabbit

BhaveshPatadiya (Fri, 13 Jul 2018 09:40:06 GMT):
Has joined the channel.

thomasland (Fri, 13 Jul 2018 10:10:56 GMT):
Has joined the channel.

thomasland (Fri, 13 Jul 2018 10:14:39 GMT):
@nfrunza blockchain-explorer node process always meet OOM when i access home page.

thomasland (Fri, 13 Jul 2018 10:15:34 GMT):
app/persistance/postgreSQL/CRUDService.js getTxList(channelName, blockNum, txid) { let sqlTxList = ` select * from transaction where blockid >= ${blockNum} and id >= ${txid} and genesis_block_hash = '${channelName}' order by transaction.id desc`; return sql.getRowsBySQlQuery(sqlTxList); } @nfrunza blockchain-explorer node process always meet OOM when i access home page. client/src/store/actions/transactions/action-creators.js export const transactionList = (channel) => dispatch => { get('/api/txList/'+channel+'/0/0/') .then(resp => { dispatch(createAction(actionTypes.TX_LIST)(resp)) }).catch((error) => { console.error(error); }) }

nfrunza (Fri, 13 Jul 2018 11:46:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d5BEFdBmeJkDmmeBA) @thomasland do you have a high volume of data? looks like a bug

nfrunza (Fri, 13 Jul 2018 11:46:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d5BEFdBmeJkDmmeBA) @thomasland do you have a high volume of data? looks like we need to put a limit, will address ASAP

nfrunza (Fri, 13 Jul 2018 11:46:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d5BEFdBmeJkDmmeBA) @thomasland do you have a high volume of data? looks like we need to put a limit, will address ASAP. Jira create https://jira.hyperledger.org/browse/BE-378

nfrunza (Fri, 13 Jul 2018 11:48:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YqbPLPjhYAaW87hN9) @MohammadObaid What is your availability? would you be able to show over the zoom meeting?

nfrunza (Fri, 13 Jul 2018 11:48:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YqbPLPjhYAaW87hN9) @MohammadObaid What is your availability? would you be able to show over the zoom meeting? please try latest from the master

MohammadObaid (Fri, 13 Jul 2018 18:32:03 GMT):
@nfrunza previously there has been branch which is angular and mysql based !! . Is that branch removed

MohammadObaid (Fri, 13 Jul 2018 18:32:05 GMT):
?

nfrunza (Fri, 13 Jul 2018 18:57:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rXrKZN9fCiF2QiWJp) @MohammadObaid try from december last year

nfrunza (Fri, 13 Jul 2018 19:51:22 GMT):
Please get the latest from the master branch we have many fixes and some new features

nfrunza (Fri, 13 Jul 2018 19:51:31 GMT):
Please get the latest from the master branch we have many fixes and some new features

thomasland (Sat, 14 Jul 2018 02:49:25 GMT):
@nfrunza BIG THANKS for your reply. We have a high volume of data. There are two large fields in the table transaction (chaincode_proposal_input,write_set).

dharuq (Sat, 14 Jul 2018 10:21:39 GMT):
Has joined the channel.

risabhsharma (Sun, 15 Jul 2018 04:24:25 GMT):
Has joined the channel.

StefanKosc (Mon, 16 Jul 2018 09:53:11 GMT):
Has joined the channel.

StefanKosc (Mon, 16 Jul 2018 09:53:55 GMT):
Hi, is it possible to limit access to explorer for some users?

nfrunza (Mon, 16 Jul 2018 16:08:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=q8vNbxiqc4hMbFdjr) @thomasland welcome

nfrunza (Mon, 16 Jul 2018 16:09:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3HQtcG9mD98GFqmwP) @StefanKosc No we do not support, administration of any user, or logging functionality

nfrunza (Mon, 16 Jul 2018 18:00:47 GMT):
Please pull the latest from master branch, and let us know your feedback.

nfrunza (Tue, 17 Jul 2018 15:44:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d5BEFdBmeJkDmmeBA) @thomasland Please get the latest from the master and rerun again

labcoinpoc (Wed, 18 Jul 2018 01:54:50 GMT):

スクリーンショット 2018-07-18 10.54.09.png

labcoinpoc (Wed, 18 Jul 2018 01:54:50 GMT):

スクリーンショット 2018-07-18 10.54.09.png

labcoinpoc (Wed, 18 Jul 2018 01:54:50 GMT):

スクリーンショット 2018-07-18 10.54.09.png

labcoinpoc (Wed, 18 Jul 2018 01:55:31 GMT):
Hi I added blockchain explorer to my hyperledger composer project, It works almost fine but I met 2 problems: 1. the peer name does not show up 2. the web client does not auto refresh , when new block is made the number near notice bell (left top) is changed automatically but other part of web does not change until refresh all page manually

labcoinpoc (Wed, 18 Jul 2018 01:55:31 GMT):
Hi I added blockchain explorer to my hyperledger composer project, It works almost fine but I met 2 problems: 1. the peer name does not show up 2. the web client does not auto refresh , when new block is made the number near notice bell (left top) is changed automatically but other part of web does not change until refresh all page manually image above is screen shot

labcoinpoc (Wed, 18 Jul 2018 01:55:31 GMT):
Hi I added blockchain explorer to my hyperledger composer project, It works almost fine but I met 2 problems: 1. the peer name does not show up 2. the web client does not auto refresh , when new block is made the number near notice bell (left top) is changed automatically but other part of web does not change until refresh all page manually image above is screen shot does anybody know how to fix these?

thomasland (Wed, 18 Jul 2018 08:01:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XtpZSLAY5THAtPTAd) @nfrunza @nfrunza GOOD JOB.It works. I encountered the following error,and drop the index "transaction_chaincode_proposal_input_idx". error: index row size 3368 exceeds maximum 2712 for index "transaction_chaincode_proposal_input_idx"

praveentalari (Wed, 18 Jul 2018 10:12:58 GMT):
locate: illegal option -- r usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH locate: illegal option -- r usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH locate: illegal option -- r usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Property config.syncStartDate set to 2018/01/01 Please open web browser to access :http://localhost:8080/ pid is 8895 ........./blockchain-explorer/app/persistence/postgreSQL/db/pgservice.js:319 if (!res.rows || res.rows.length == 0) resolve(null); ^ TypeError: Cannot read property 'rows' of undefined at Query.client.query [as callback] (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/app/persistence/postgreSQL/db/pgservice.js:319:16) at Query.handleError (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/pg/lib/query.js:143:17) at Connection.connectedErrorHandler (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/pg/lib/client.js:132:26) at emitOne (events.js:116:13) at Connection.emit (events.js:211:7) at Socket. (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/pg/lib/connection.js:117:12) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11)

praveentalari (Wed, 18 Jul 2018 10:26:56 GMT):
locate: illegal option -- r usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH locate: illegal option -- r usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH locate: illegal option -- r usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Property config.syncStartDate set to 2018/01/01 Please open web browser to access :http://localhost:8080/ pid is 9687 Insert sql is INSERT INTO orderer ( "requests","server_hostname" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 1 ../blockchain-explorer/app/persistence/postgreSQL/db/pgservice.js:319 if (!res.rows || res.rows.length == 0) resolve(null); ^ TypeError: Cannot read property 'rows' of undefined at Query.client.query [as callback] (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/app/persistence/postgreSQL/db/pgservice.js:319:16) at Query.handleError (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/pg/lib/query.js:143:17) at Connection.connectedErrorHandler (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/pg/lib/client.js:132:26) at emitOne (events.js:116:13) at Connection.emit (events.js:211:7) at Socket. (/Users/pt/MY_universe/WS/github_ws/hyperledger_related/blockchain-explorer/node_modules/pg/lib/connection.js:117:12) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11)

MariaMoreno98 (Wed, 18 Jul 2018 10:41:08 GMT):
Has joined the channel.

MariaMoreno98 (Wed, 18 Jul 2018 10:41:16 GMT):
Hey Hyperledgers! I have started fabric network with 1 organization having 7 peers All transactions are happening just fine But when i had a look at hyperledger explorer to visualize, i see only 1 node I am not sure whats the reason!

MariaMoreno98 (Wed, 18 Jul 2018 10:41:31 GMT):

peers.jpg

FlavioSS (Wed, 18 Jul 2018 10:53:57 GMT):
Has joined the channel.

nfrunza (Wed, 18 Jul 2018 12:20:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cvsPEFobtHv7MpyJF) @labcoinpoc Please let me know the version of the fabric you are connecting to? We will look into the refresh and peer not showing

nfrunza (Wed, 18 Jul 2018 12:29:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5xr6M24imsKiasrJX) @lwrabbit Please use master branch

nfrunza (Wed, 18 Jul 2018 13:23:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cvsPEFobtHv7MpyJF) @labcoinpoc jira created, someone will work on it, https://jira.hyperledger.org/browse/BE-393

nfrunza (Wed, 18 Jul 2018 13:46:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3ZpBYfeB8u3XWuJBK) @praveentalari We have a jira tha someone is working on for the "locate: illegal option -- r" error, please let me know which branch are you using ?, we recommend using master branch

nfrunza (Wed, 18 Jul 2018 13:51:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Y2hWP3B7MnkpGnEBe) @MariaMoreno98 We have a jira and is being assigned , https://jira.hyperledger.org/browse/BE-397

nfrunza (Wed, 18 Jul 2018 13:52:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d5BEFdBmeJkDmmeBA) @thomasland in one of the conversation you mentioned this is being solved, can you comment if it's still an issue?

nfrunza (Wed, 18 Jul 2018 13:54:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d5BEFdBmeJkDmmeBA) @thomasland I hope this is being solved in the latest master branch, do you still face same issue?

nfrunza (Wed, 18 Jul 2018 13:55:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BL7MfQP4FjzLJR7aR) @rajivgandhi2010 We are not testing in Windows env

nfrunza (Wed, 18 Jul 2018 13:56:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CaDKyDDDHskTYXYaQ) Did you update the latest from master branch?

nfrunza (Wed, 18 Jul 2018 17:00:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2BYoNktqvrQrakJ3B) @praveentalari Please ask this question in fabric-questions channel

nfrunza (Wed, 18 Jul 2018 17:02:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EL7N3ptsctvYDmH8m) @praveentalari The README has been updated

nfrunza (Wed, 18 Jul 2018 17:04:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=53yvSDqFwr74X5wq8) @gesaleh Please updated thew latest from master, run DB setup and all the "npm install's" as instructed

nfrunza (Wed, 18 Jul 2018 17:06:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b5nQxCXgQQCsKAYxh) @vanitas92 Did you update the latest from master?

nfrunza (Wed, 18 Jul 2018 17:07:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZM6uCMwHdZu788Gvt) @javapriyan have you been able to run explorer?

nfrunza (Wed, 18 Jul 2018 17:07:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2JFCww5tdqrM7NPeJ) @vanitas92 This error has been solved

BlockchainBusiness (Wed, 18 Jul 2018 23:45:42 GMT):
Has joined the channel.

Hz (Thu, 19 Jul 2018 03:13:45 GMT):
Has joined the channel.

thomasland (Thu, 19 Jul 2018 03:23:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=k2sxpveonskPWo3Bz) @nfrunza @nfrunza in latest master branch , the OOM error was solved.

samir.tata (Thu, 19 Jul 2018 03:57:27 GMT):
Has joined the channel.

labcoinpoc (Thu, 19 Jul 2018 04:24:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5kajNS7KYxEsssPaD) @nfrunza Many thanks for the prompt reply, my environment is: PostgreSQL 10.4 (Debian 10.4-2.pgdg90+1) Hyperledger Fabric 1.1 Hyperledger Composer 0.19.12 Node 8.11.2 npm 6.2.0 Docker 18.05.0-ce OSX 10.13.6 And my config.json: ``` { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "./hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "./hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "channel": "composerchannel", "orderers": [ { "mspid": "OrdererMSP", "server-hostname": "orderer.example.com", "requests": "grpc://127.0.0.1:7050" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "./bin", "SYNC_START_DATE_FORMAT": "YYYY/MM/DD", "syncStartDate": "2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" } ```

NakaoK (Thu, 19 Jul 2018 04:32:45 GMT):
Has joined the channel.

labcoinpoc (Thu, 19 Jul 2018 04:34:59 GMT):
@nfrunza Should I add these in Jira too?

llhl001 (Thu, 19 Jul 2018 06:11:39 GMT):
Has joined the channel.

llhl001 (Thu, 19 Jul 2018 06:12:05 GMT):
[root@llhl178 blockchain-explorer]# ./start.sh postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Property config.syncStartDate set to 2018/01/01 Please open web browser to access :http://localhost:8880/ pid is 46354 (node:46354) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'grpc.default_authority' of undefined at BlockScanner.savePeerlist (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/explorer/backend/BlockScanner.js:375:54) at at process._tickCallback (internal/process/next_tick.js:188:7) (node:46354) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:46354) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Successfully received the block event[object Object] ^CReceived kill signal, shutting down gracefully Closed out remaining connections

rushiraj111 (Thu, 19 Jul 2018 07:13:58 GMT):
Has joined the channel.

MeghaGupta (Thu, 19 Jul 2018 08:05:31 GMT):
Emitted 'error' event at: at Server.emit (events.js:182:13) at emitErrorNT (net.js:1354:8) at process._tickCallback (internal/process/next_tick.js:63:19) ../hyperledger/Explorer/blockchain-explorer/app/persistance/postgreSQL/db/pgservice.js:437 if (!res.rows || res.rows.length == 0) resolve(null); ^

MeghaGupta (Thu, 19 Jul 2018 08:05:40 GMT):
any think on this eeor

MeghaGupta (Thu, 19 Jul 2018 08:05:42 GMT):
error

MeghaGupta (Thu, 19 Jul 2018 08:20:09 GMT):
update file postgreSQL/db/pgservice.js with if (!res||!res.rows || res.rows.length == 0) resolve(null);

MeghaGupta (Thu, 19 Jul 2018 08:20:20 GMT):
this solved the issue

praveentalari (Thu, 19 Jul 2018 08:38:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tjsKSBounqiqZvCnc) @nfrunza Yes, I am using master branch

praveentalari (Thu, 19 Jul 2018 09:54:21 GMT):
I have a doubt, In *blockchain-explorer/app/persistence/postgreSQL/db/explorerpg.sql* it is hardcoded as CREATE USER hppoc with password 'password'; So, even if I change database,username,passwd in pgconfig.json it will not take effect and will be useless, right ?

ndatebayo (Thu, 19 Jul 2018 12:49:03 GMT):
Has left the channel.

nekia (Thu, 19 Jul 2018 13:11:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YqbPLPjhYAaW87hN9) @MohammadObaid Do you still have this problem on your environment ? I'm looking at this issue in [JIRA](https://jira.hyperledger.org/browse/BE-379). @lwrabbit

nfrunza (Thu, 19 Jul 2018 14:08:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K4vsRS486QRCXpjL8) @praveentalari you can change in blockchain-explorer/app/persistence/postgreSQL/db/explorerpg.sql and pgconfig.json

nfrunza (Thu, 19 Jul 2018 15:42:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ATx3LgK4b5oGkikfb) @llhl001 Created a jira, someone will look into: https://jira.hyperledger.org/browse/BE-400

CsterKuroi (Fri, 20 Jul 2018 03:43:17 GMT):
Has joined the channel.

praveentalari (Fri, 20 Jul 2018 06:14:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lg49otGZ6YPxC7SCR) @nfrunza Then github README should be updated I guess, it has mentioned *"Modify pgconfig.json to update postgresql properties pg host, port, database, username, password details."* but nothing about changes required in explorerpg.sql If the changes are done only in pgconfig.json, the following steps don't work as expected. *"Run create database script. \i app/persistence/postgreSQL/db/explorerpg.sql \i app/persistence/postgreSQL/db/updatepg.sql"*

praveentalari (Fri, 20 Jul 2018 06:14:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lg49otGZ6YPxC7SCR) @nfrunza Then github README should be updated I guess, it has mentioned * "Modify pgconfig.json to update postgresql properties pg host, port, database, username, password details." * but nothing about changes required in explorerpg.sql If the changes are done only in pgconfig.json, the following steps don't work as expected. * "Run create database script. \i app/persistence/postgreSQL/db/explorerpg.sql \i app/persistence/postgreSQL/db/updatepg.sql" *

dimaxgl (Fri, 20 Jul 2018 09:21:04 GMT):
Has joined the channel.

nfrunza (Fri, 20 Jul 2018 20:18:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nXK6biEtNTf86fjwL) @praveentalari Will add to the README.md file, thank you for mentioning

nfrunza (Fri, 20 Jul 2018 21:06:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tppxheb7XsyMJXNX9) @MeghaGupta Please verify if your fabric network is up and running

nfrunza (Fri, 20 Jul 2018 21:07:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oHS29bs35oqhseCxp) @npc0405 please verify if your network is up

nfrunza (Fri, 20 Jul 2018 21:08:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yfa4aAcj7LtvzLKb7) @ndatebayo Verify if your network is running

ndatebayo (Fri, 20 Jul 2018 21:08:07 GMT):
Has joined the channel.

nfrunza (Fri, 20 Jul 2018 21:09:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=apmnGW5JgmFoiuyDJ) @joachimgeerts Please verify if your network is running

nfrunza (Fri, 20 Jul 2018 21:10:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5chMZQWyXv3ykvha7) @DavorKljajic Did you npm install, npm build?

titog (Sun, 22 Jul 2018 20:05:30 GMT):
Has joined the channel.

BlockchainBusiness (Sun, 22 Jul 2018 23:13:13 GMT):
GUYS!!! Whats the best starting point for implementing Hyperledger Explorer? The Github page is...not very helpful...any assistance would be greatly appreciated!!

BlockchainBusiness (Mon, 23 Jul 2018 00:21:38 GMT):
Hi all, in DESPERATE need of some help...Ive set up the Hyperledger Explorer as per the GitHub page...however when I navigate to localhost:8080 - I get a nothing!!! PLEASE HELP

BlockchainBusiness (Mon, 23 Jul 2018 00:33:21 GMT):
GUYS!!! SOME ONE IN THIS ROOM HAS THE ANSWER!!!

BlockchainBusiness (Mon, 23 Jul 2018 00:33:56 GMT):
:angry:

BlockchainBusiness (Mon, 23 Jul 2018 03:43:03 GMT):
Hi all just wanted to share a solution to a problem I was having....I followed the Hyperledger Tutorial here: https://github.com/hyperledger/blockchain-explorer I tried for many hours to get it working, but every time I would navigate to local host I would simply get a blank screen. To find out what the problem was I went to the logs folder and realised that the config.json file did not accurately reflect my directory structure....basically the file path was wrong! I fixed it and it worked. The reason Im sharing this is because Im sure there are many people who are beginners and perhaps need the help..

labcoinpoc (Mon, 23 Jul 2018 07:47:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KzFhuni7i66gAK8cg) @nfrunza I did some test on this and added a commit to the Jira, maybe I found the reason, please check if it is correct, thanks!

labcoinpoc (Mon, 23 Jul 2018 07:47:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KzFhuni7i66gAK8cg) @nfrunza I did some test on this and added a comment to the Jira, maybe I found the reason, please check if it is correct, thanks!

lys94 (Mon, 23 Jul 2018 14:37:55 GMT):
Hi! I‘m a newcomer to blockchain-explorer, and I have built the explorer following the tutorial. Now I want to display something new about blocks or transaction ( just like some data generated in my chaincode ) but I can't find how the api request gets the data response ( a path or databases ). Is there anybody can explain how it works for me? thanks a lot~~

lys94 (Mon, 23 Jul 2018 14:40:35 GMT):

20180723223910.png

lys94 (Mon, 23 Jul 2018 14:40:38 GMT):

20180723223906.png

nfrunza (Mon, 23 Jul 2018 17:53:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oPukfr4h392kt7jNb) @lys94 See the REST API at: blockchain-explorer/app/explorer/rest/dbroutes.js

nfrunza (Mon, 23 Jul 2018 17:56:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qqctLurKqWs8qhGMS) @BlockchainBusiness The logs are logging such errors, and if you follow README.md we have instructions on how to configure, but it is good that you figured out.

praveentalari (Tue, 24 Jul 2018 10:32:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LSW4cJZewyxmcrMFX) @nfrunza Is there a way to get those values from some properties file and updating the explorerpg.sql , updatepg.sql . Instead of updating them manually ?

huy.tranibm (Tue, 24 Jul 2018 13:53:39 GMT):
Has joined the channel.

huy.tranibm (Tue, 24 Jul 2018 14:05:30 GMT):
Hello team! is there a reason why bc-explorer not rendering on IE11?

the_andrewswu (Tue, 24 Jul 2018 14:19:16 GMT):
Has joined the channel.

DrLana (Tue, 24 Jul 2018 14:55:52 GMT):
Has joined the channel.

nfrunza (Tue, 24 Jul 2018 16:38:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EKaJ9CYQhY3dgYT3b) @huy.tranibm We haven't tested with IE11

VadimInshakov (Tue, 24 Jul 2018 16:50:38 GMT):
Why explorer don't work with other node processes on machine? How to workaround it?

nfrunza (Tue, 24 Jul 2018 20:44:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=i9xuPSMBJGBJKD2uo) @VadimInshakov Can you describe your scenario ?

nfrunza (Tue, 24 Jul 2018 20:44:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=i9xuPSMBJGBJKD2uo) @VadimInshakov Can you describe your scenario ? fabric version you're using?

VadimInshakov (Tue, 24 Jul 2018 22:58:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oHoC7GLAFQT65dmzM) @nfrunza https://github.com/hyperledger/blockchain-explorer/blob/master/TROUBLESHOOT.md#background-information here it is written that one of the reasons for the problems with launching can be "Another node process is running". So, when I tried to start explorer on machine with Fabric (1.1), it didnt work. But when I configured explorer on separate vps, it's launched and now works fine.

nfrunza (Wed, 25 Jul 2018 01:20:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=J6o7BaqtQytWSBbRZ) @VadimInshakov Thank you for the feedback, and great that worked for you.

nfrunza (Wed, 25 Jul 2018 01:25:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MR7YGPCajb6BmakoP) @praveentalari We have a jira for your suggestion, https://jira.hyperledger.org/browse/BE-415

VadimInshakov (Wed, 25 Jul 2018 08:57:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jQLTgFzrAXFE6dE5T) @nfrunza But why so?

ndatebayo (Wed, 25 Jul 2018 10:02:40 GMT):
Has left the channel.

rajivgandhi2010 (Wed, 25 Jul 2018 11:50:21 GMT):
will hyperledger explorer work on windows environment?

nfrunza (Wed, 25 Jul 2018 12:32:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GQdqspCXCt5SW3J9E) @rajivgandhi2010 i do not have any information regarding windows OS

ajmeraharsh (Wed, 25 Jul 2018 12:35:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GQdqspCXCt5SW3J9E) @rajivgandhi2010 Explorer needs nodejs and postgre, so if you can get these running on windows. it should be able to run explorer as well. I haven't tried though.

rajivgandhi2010 (Wed, 25 Jul 2018 13:09:39 GMT):
am getting [ERROR] Query - Error: Missing userContext or signing identity parameter any help on this?

nfrunza (Wed, 25 Jul 2018 13:12:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GYTfqCxxmh7ZEE8mq) @rajivgandhi2010 Which fabric version are you configured to connect ?

rajivgandhi2010 (Wed, 25 Jul 2018 13:12:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eEWs7jsAZPTuuDhDX) @nfrunza 1.1

nfrunza (Wed, 25 Jul 2018 13:13:02 GMT):
can you verify your paths to crypto?

rajivgandhi2010 (Wed, 25 Jul 2018 13:13:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HZpQmrb4vfPXRZ7vo) @nfrunza yes. correct path only. verified.

nfrunza (Wed, 25 Jul 2018 13:15:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oKmJkPM3eECMSrdLv) @rajivgandhi2010 Do you run from master branch?

rajivgandhi2010 (Thu, 26 Jul 2018 04:46:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uYafpJRnvgiW6w8kh) @nfrunza yes. running master branch only

Muffi (Thu, 26 Jul 2018 06:54:10 GMT):
Has joined the channel.

VadimInshakov (Thu, 26 Jul 2018 08:55:07 GMT):
Can anybody explain, why Explorer don't work with another node processes running on the same machine? (https://github.com/hyperledger/blockchain-explorer/blob/master/TROUBLESHOOT.md#background-information)

naviat (Thu, 26 Jul 2018 09:03:06 GMT):
Has joined the channel.

newthinker (Thu, 26 Jul 2018 11:35:12 GMT):
Has joined the channel.

newthinker (Thu, 26 Jul 2018 11:37:58 GMT):
Handshake failed with fatal error SSL_ERROR_SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate Anyone has encountered this problem?

nfrunza (Thu, 26 Jul 2018 12:10:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=D3Wjo2kimu8JkGowX) @newthinker Is your network up and running?, also i see bad certificate, would you check on your configuration?

GulshanKrish (Thu, 26 Jul 2018 12:14:59 GMT):
Has joined the channel.

newthinker (Thu, 26 Jul 2018 12:23:26 GMT):
The network is ok, but i used the v1.2.0. Whether this version is supported?

newthinker (Thu, 26 Jul 2018 12:25:10 GMT):
When i switched to v1.1.0, there is also another problem: (node:88808) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'grpc.default_authority' of undefined at BlockScanner.savePeerlist (blockchain-explorer/app/explorer/backend/BlockScanner.js:386:34) at at process._tickCallback (internal/process/next_tick.js:188:7)

bh4rtp (Thu, 26 Jul 2018 13:21:46 GMT):
hi, does anyone have `blockchain-explorer` run with fabric release-1.2?

nfrunza (Thu, 26 Jul 2018 14:35:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AzJKP9hyDagFFGcvi) @bh4rtp It is in progress

nfrunza (Thu, 26 Jul 2018 14:38:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hjDxddZm4fg9KdDJw) @newthinker Do you use the master branch and config with fabric 1.1?

bh4rtp (Fri, 27 Jul 2018 00:28:07 GMT):
@nfrunza ok. thanks.

nfrunza (Fri, 27 Jul 2018 00:42:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=h7dXoTDjGfgGhxNiT) @bh4rtp welcome

newthinker (Fri, 27 Jul 2018 01:25:53 GMT):
@nrrunza

newthinker (Fri, 27 Jul 2018 01:26:56 GMT):
i made a mistake and run with the release-1.2, not 1.1

keving (Fri, 27 Jul 2018 09:16:33 GMT):
Has joined the channel.

keving (Fri, 27 Jul 2018 09:17:35 GMT):
Is it possible to point Hyperledger Explorer at the sample fabcar network? I'm currently new to the platform and trying to familiarize myself with it.

keving (Fri, 27 Jul 2018 09:17:35 GMT):
Hello, Is it possible to point Hyperledger Explorer at the sample fabcar network? I'm currently new to the platform and trying to familiarize myself with it. Many thanks.

nfrunza (Fri, 27 Jul 2018 11:46:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jFmm4RbjrevHTdheK) @keving yes, is it fabric 1.1 version?

keving (Fri, 27 Jul 2018 12:37:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6DXHWHR6tbhn3Fd2g) @nfrunza Yes, Fabric 1.1

DrLana (Fri, 27 Jul 2018 12:44:52 GMT):
I am not using any tls for the peer or the orderer so I altered the config.json (instead of grpcs->grpc, and deleted tls path). when I run: (psql -d fabricexplorer -U hppoc -W password), I get the message (psql: FATAL: Peer authentication failed for user "hppoc"). Are these two issues related? why do I get authentication error, even the owner is hppoc?

nfrunza (Fri, 27 Jul 2018 12:45:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uPzmtJamdLvNgiyyg) @DrLana You need to run DB setup, please follow up README instructions

DrLana (Fri, 27 Jul 2018 12:46:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gvqsJR43PQvTLk84v) @nfrunza I followed all the instrustion on README file. I setup the DB. what else is to do?

nfrunza (Fri, 27 Jul 2018 12:48:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NsLomna6qmoYuEczY) @keving Follow up instructions in README, start from ## Fabric Configure Hyperledger Explorer

DrLana (Fri, 27 Jul 2018 12:49:47 GMT):
I started using (./start.sh) when I call console, I get in the log file the error: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer db error { error: Ident authentication failed for user "hppoc"

nfrunza (Fri, 27 Jul 2018 12:50:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yA8SGtxowYFqr9h9X) @DrLana are you using fabric sample network or other ?

DrLana (Fri, 27 Jul 2018 12:50:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hkap7vX6uxv5huPjd) @nfrunza no, I modified it for my own use

nfrunza (Fri, 27 Jul 2018 12:55:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=opypNqfF39yYJFa4K) @DrLana If it's hyperledger fabric platform we should be fine, but you need to configure paths to fabric

DrLana (Fri, 27 Jul 2018 12:56:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bBmL7f68ehypz36dy) @nfrunza I modified the paths. My example is modified depending on the hyperledger fabric platform. Is it a tls problem, or authentication problem, or is it a problem of correct paths? Where to start?

keving (Fri, 27 Jul 2018 12:57:13 GMT):
@nfrunza So it's a case of modifying the config.json in "blockchain-explorer" to point to 'basic-network' instead of 'first-network' in the file paths for "tls_cacerts"?

nfrunza (Fri, 27 Jul 2018 12:57:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZcrkhMaYYadNnpoAM) @DrLana You'll need to update the password to yours in blockchain-explorer/app/persistence/postgreSQL/db/explorerpg.sql, and in blockchain-explorer/app/persistence/postgreSQL/db/pgconfig.json

nfrunza (Fri, 27 Jul 2018 13:01:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DjWk4BYS3wBfQQKxn) @keving correct, explorer should be able to listen to any compatible hyperledger fabric network

DrLana (Fri, 27 Jul 2018 13:01:37 GMT):
I left it as default "password". In blockchain-explorer/app/persistance/postgreSQL/db/explorerpg.sql.. it is written: (CREATE USER hppoc with password 'password';) and in pgconfig.json{ "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" } }

nfrunza (Fri, 27 Jul 2018 13:05:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YqsWdxpPH8bwDEMEK) @DrLana did you run instruction ## Database Setup , see in README

nfrunza (Fri, 27 Jul 2018 13:05:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SNN88BPHPq7ddkFB6) what is you OS, Win, mac?

DrLana (Fri, 27 Jul 2018 13:05:58 GMT):

Clipboard - July 27, 2018 3:05 PM

DrLana (Fri, 27 Jul 2018 13:05:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SNN88BPHPq7ddkFB6) @nfrunza Yes I did.

nfrunza (Fri, 27 Jul 2018 13:07:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RNPhkLSvkuiE7QJ3F) @DrLana did you do npm install, in both client and root folder?

nfrunza (Fri, 27 Jul 2018 13:09:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hQibCjyW38P4adGkd) which branch are you working from, and what is the fabric version you're using ?

nfrunza (Fri, 27 Jul 2018 13:10:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hQibCjyW38P4adGkd) try one more time, do pkill node, the use ./start.sh from root

DrLana (Fri, 27 Jul 2018 13:11:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hQibCjyW38P4adGkd) @nfrunza yes I did. I repeated it now again and got the message (found 2 vulnerabilities (1 low, 1 moderate) in 1066 scanned packages). I will send a screenshot

DrLana (Fri, 27 Jul 2018 13:11:46 GMT):

Clipboard - July 27, 2018 3:11 PM

nfrunza (Fri, 27 Jul 2018 13:14:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DWzFg2BayTMWXJ4is) @DrLana which branch are you working from?

nfrunza (Fri, 27 Jul 2018 13:14:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DWzFg2BayTMWXJ4is) @DrLana which branch are you working from?

nfrunza (Fri, 27 Jul 2018 13:26:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9oiAKBH9tW9ECeHfm) please use master branch and fabric 1.1, we are not yet supporting 1.2

DrLana (Fri, 27 Jul 2018 13:30:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CidMiXqEAoc6CxqyF) @nfrunza You mean hyperledger fabric, don't you? How did you come to the conclusion that I am using 1.2?

DrLana (Fri, 27 Jul 2018 13:30:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ywvF32GG4zCBZWXdt) I mean hyperledger explorer

nfrunza (Fri, 27 Jul 2018 13:36:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7mtaG7p82PhQANChD) @DrLana are you using 1.2?

DrLana (Fri, 27 Jul 2018 13:49:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PBhpwHhFRfKpcEPKF) @nfrunza No I am using 1.1

nfrunza (Fri, 27 Jul 2018 13:52:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rYnL4Gj9RqHqyoF3J) @DrLana let me know of you progress

DrLana (Fri, 27 Jul 2018 14:03:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tbd4n7RyQCFP25nXx) @nfrunza Well, no progress so far. I am still stuck with the authentication error and after I repeated the "npm install" on root, I have now two vulnerabilities

keving (Fri, 27 Jul 2018 14:04:52 GMT):

Clipboard - July 27, 2018 3:04 PM

keving (Fri, 27 Jul 2018 14:05:17 GMT):
@nfrunza I'm getting the following error trying to start blockchain explorer over fabcar network.

keving (Fri, 27 Jul 2018 14:05:32 GMT):
I'm guessing it is to do with my config.json file.

nfrunza (Fri, 27 Jul 2018 14:06:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Qd4NXxarkriLgC6jE) @keving i see the wrong paths, please verify

keving (Fri, 27 Jul 2018 14:06:44 GMT):
What should the correct paths be?

keving (Fri, 27 Jul 2018 14:06:44 GMT):
@nfrunza What should the correct paths be?

nfrunza (Fri, 27 Jul 2018 14:13:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DGjDEmR35bH78Y9AT) @keving how do you start fabcar network?

keving (Fri, 27 Jul 2018 14:14:51 GMT):
"./startFabric"?

keving (Fri, 27 Jul 2018 14:15:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=srGppcsbfXmvBqaaB) @nfrunza "./startFabric" command.

keving (Fri, 27 Jul 2018 14:15:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=srGppcsbfXmvBqaaB) @nfrunza "./startFabric" command. The fabcar network is running, Blockchain explorer isn't picking it up.

nfrunza (Fri, 27 Jul 2018 14:19:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EaSg9zuD6PkhtJELp) @keving we didn't test it with fabcar, but i think it's possible to connect to it

keving (Fri, 27 Jul 2018 14:23:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9SNotCdJwpzQqMRLX) @nfrunza I noticed there was a story in the Fabric backlog to add a UI to the fabcar app. Maybe it's not as straightforward as the "first-network"?

nfrunza (Fri, 27 Jul 2018 14:25:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4WN9iptsWXK73Sn9C) @keving fabcar starts a fabric network, so if you connect with correct paths you should be fine

keving (Fri, 27 Jul 2018 14:26:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=i4RZSwMEEfFhrqGmu) @nfrunza Could I show you the config.json to see where I'm going wrong?

keving (Fri, 27 Jul 2018 14:28:47 GMT):
{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/osboxes/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:8051", "events": "grpcs://127.0.0.1:8053", "server-hostname": "peer1.org1.example.com", "tls_cacerts": "/home/osboxes/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "admin": { "key": "/home/osboxes/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/osboxes/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "org2": { "name": "peerOrg2", "mspid": "Org2MSP", "peer1": { "requests": "grpcs://127.0.0.1:9051", "events": "grpcs://127.0.0.1:9053", "server-hostname": "peer0.org2.example.com", "tls_cacerts": "/home/osboxes/fabric-samples/basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:10051", "events": "grpcs://127.0.0.1:10053", "server-hostname": "peer1.org2.example.com", "tls_cacerts": "/home/osboxes/fabric-samples/basic-network/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt" }, "admin": { "key": "/home/osboxes/fabric-samples/basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore", "cert": "/home/osboxes/fabric-samples/basic-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } } }, "channel": "mychannel", "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpcs://127.0.0.1:7050", "tls_cacerts":"/home/osboxes/fabric-samples/basic-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/osboxes/fabric-samples/bin", "SYNC_START_DATE_FORMAT":"YYYY/MM/DD", "syncStartDate":"2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" }

nfrunza (Fri, 27 Jul 2018 14:29:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zgKF3AvjdQDd7Xx78) @keving i need to see in the fabcar script, let me check

nfrunza (Fri, 27 Jul 2018 14:39:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=f36JQr5oJjPa2NvNo) i think you should follow in the folder fabric-samples/fabcar\ and see what it generates after running starScript

keving (Fri, 27 Jul 2018 14:48:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fE6pMaDJF4XmJfm9w) @nfrunza Okay, so I cleared everything and re-ran the script. It created the sample-fabcar network.

keving (Fri, 27 Jul 2018 14:48:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fE6pMaDJF4XmJfm9w) @nfrunza Okay, so I cleared everything and re-ran the script. It created the sample fabcar network.

alaric (Fri, 27 Jul 2018 14:51:45 GMT):
Has joined the channel.

keving (Fri, 27 Jul 2018 14:55:55 GMT):
@nfrunza Oh, I see now, those paths generated are the paths to enter in the config.json file?

nfrunza (Fri, 27 Jul 2018 14:59:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EHSm7pDMZFvWJCavx) @keving yes, those paths

keving (Fri, 27 Jul 2018 15:07:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9hY8jr3EjLduJAQwr) @nfrunza One final question, how is the architecture of the fabcar network different to the "first-netowrk"?

keving (Fri, 27 Jul 2018 15:07:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9hY8jr3EjLduJAQwr) @nfrunza One final question, how is the architecture of the fabcar network different to the "first-network"?

alaric (Fri, 27 Jul 2018 15:12:27 GMT):
Failed to receive the block event ::Error: 12 UNIMPLEMENTED: unknown service protos.Deliver

nfrunza (Fri, 27 Jul 2018 15:26:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ow2XhSmJqnZAwkpc9) @keving which fabric version are you using?

nfrunza (Fri, 27 Jul 2018 15:26:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=g95EWgaZhMueDTibK) @alaric can you open localhost:8080 ?

nfrunza (Fri, 27 Jul 2018 15:27:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ow2XhSmJqnZAwkpc9) @keving please ask in fabric-questions , i wouldn't know the correct answer

alaric (Fri, 27 Jul 2018 15:35:15 GMT):
@nfrunza yes , i can ,But the data is not updated,when I restart I can get the latest data

nfrunza (Fri, 27 Jul 2018 15:36:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4sg2EjjRKf7Dd8NuE) @alaric is it in master branch?

alaric (Fri, 27 Jul 2018 15:38:16 GMT):
@nfrunza yes

nfrunza (Fri, 27 Jul 2018 15:43:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=APzGRD3HhmvEyZZ4d) i need to verify, could be an introduced bug

alaric (Fri, 27 Jul 2018 15:48:26 GMT):
@nfrunza ok. thanks.

nfrunza (Fri, 27 Jul 2018 15:48:45 GMT):
welcome

nfrunza (Fri, 27 Jul 2018 16:26:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Rdy2cPbr4is9qKg5y) I verified, master branch is updating the data

nfrunza (Fri, 27 Jul 2018 17:10:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4sg2EjjRKf7Dd8NuE) @alaric I verified, master branch is updating the data

bh4rtp (Sat, 28 Jul 2018 07:02:07 GMT):
has anyone successfully made blockchain-explorer support fabric release-1.2? i did modify JavaScript files like Admin.js, Platform.js, but still can not run now.

davidhu (Mon, 30 Jul 2018 01:51:31 GMT):
Has joined the channel.

davidhu (Mon, 30 Jul 2018 01:54:36 GMT):
hello, when i run build under blockchain-explorer/client, it always prompt "'jsx-a11y/href-no-hash' was not found" . I searched some solution but useless, including install all eslint family -g

davidhu (Mon, 30 Jul 2018 01:55:18 GMT):
anyone has the successful expericen in installing explorer?

TrucNguyen (Mon, 30 Jul 2018 03:15:09 GMT):
Has joined the channel.

Anshulmittal (Mon, 30 Jul 2018 05:43:47 GMT):
Has joined the channel.

giniz (Mon, 30 Jul 2018 06:09:21 GMT):
Has joined the channel.

choco_coder (Mon, 30 Jul 2018 06:33:30 GMT):
Has joined the channel.

choco_coder (Mon, 30 Jul 2018 06:34:28 GMT):
hello everyone, does anyone know how to use explorer with couchdb?

choco_coder (Mon, 30 Jul 2018 06:34:28 GMT):
hello everyone, does anyone know how to use explorer with couchdb? Also will explorer work with fabric 1.0?

choco_coder (Mon, 30 Jul 2018 07:10:19 GMT):
Also will explorer work with fabric 1.0?

MariaMoreno98 (Mon, 30 Jul 2018 08:05:03 GMT):
#hyperledger-explorer showing 1 node against expectation of 2 nodes even though the 2 peers have been running on 2 separate virtual machines.

MariaMoreno98 (Mon, 30 Jul 2018 08:05:45 GMT):
first vm is running ca, orderer, peer0 and couchdb0

MariaMoreno98 (Mon, 30 Jul 2018 08:06:01 GMT):
second vm is running peer1 and couchdb1

MariaMoreno98 (Mon, 30 Jul 2018 08:06:30 GMT):
this is done as multi host networking

MariaMoreno98 (Mon, 30 Jul 2018 08:06:36 GMT):
using docker swarm

MariaMoreno98 (Mon, 30 Jul 2018 08:07:09 GMT):
has anyone know about the issue?

MariaMoreno98 (Mon, 30 Jul 2018 08:14:58 GMT):

multihost_Explorer.jpg

giniz (Mon, 30 Jul 2018 09:36:01 GMT):
may be network-config issue

giniz (Mon, 30 Jul 2018 09:36:11 GMT):
can you show config?

silliman (Mon, 30 Jul 2018 23:45:22 GMT):
Has joined the channel.

RealDeanZhao (Tue, 31 Jul 2018 10:06:19 GMT):
Hi all, where can I increase the timeout? ``` (node:1) UnhandledPromiseRejectionWarning: Error: REQUEST_TIMEOUT \ at Timeout._onTimeout (/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:194:20) ```

RealDeanZhao (Tue, 31 Jul 2018 10:06:40 GMT):
This error does not always happen.

RealDeanZhao (Tue, 31 Jul 2018 10:07:19 GMT):

Clipboard - July 31, 2018 6:07 PM

RealDeanZhao (Tue, 31 Jul 2018 10:27:33 GMT):
@MariaMoreno98 Asked the same question before. The team said this might be fixed for the fabric 1.2 by the discovery services...

angieology (Tue, 31 Jul 2018 17:53:47 GMT):
Has joined the channel.

jg507 (Tue, 31 Jul 2018 21:17:42 GMT):
Has joined the channel.

nfrunza (Tue, 31 Jul 2018 22:08:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Wj4fMR8zcp6BDQTPW) @davidhu thank you for the post, what is your OS, fabric version, branch you're using to run explorer

nfrunza (Tue, 31 Jul 2018 22:10:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cPbrGL6paPZ3fmuAY) @RealDeanZhao Are you running explorer behind the proxy? what is your OS, and fabric version, which branch you're using to run explorer?

nfrunza (Tue, 31 Jul 2018 22:11:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=z7C4ft59y98vPkim6) @bh4rtp Support for fabric 1.2 in progress, ~ 2 weeks

RealDeanZhao (Wed, 01 Aug 2018 01:43:22 GMT):
@nfrunza Explorer is running the a docker and the branch is master(3.4). Fabric version is 1.1.. The timeout does not always happen, sometimes I can open the explorer successfully.

RealDeanZhao (Wed, 01 Aug 2018 01:43:22 GMT):
@nfrunza Explorer is running in the docker and the branch is master(3.4). Fabric version is 1.1.. The timeout does not always happen, sometimes I can open the explorer successfully.

davidhu (Wed, 01 Aug 2018 05:51:48 GMT):
@nfrunza i'

davidhu (Wed, 01 Aug 2018 05:52:57 GMT):
@nfrunza hi, i'm using kubuntu 18lts , fabric1.1 , i'v tried master, r13

alaric (Wed, 01 Aug 2018 11:51:14 GMT):
Is there a solution to this problem? node:16243) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'grpc.default_authority' of undefined at BlockScanner.savePeerlist (/home/server/blockchain-explorer/app/explorer/backend/BlockScanner.js:375:54) at at process._tickCallback (internal/process/next_tick.js:188:7) (node:16243) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:16243) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

DrLana (Wed, 01 Aug 2018 13:17:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tbd4n7RyQCFP25nXx) @nfrunza I discovered where the error is coming from. The connection with the Database is with the peer METHOD. I changed it inside the pg_hba.conf file and set the METHOD to md5. since then I can connect.

DrLana (Wed, 01 Aug 2018 13:19:38 GMT):
I am facing now a new problem. I get the error (UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/lana/blockchain-explorer/app/platform/fabric/Platform.js:188:26). which mistake did I do? The repository that I cloned is the published one in January. Is this related to a bug that was fixed since then?

nfrunza (Wed, 01 Aug 2018 13:51:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QTdSzh7TqGa2XgEhB) @DrLana try to rerun DB setup

DrLana (Wed, 01 Aug 2018 13:59:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lz2aTXMHYzoz55ZGQ) @nfrunza What for? it is working now and I don't have any peer authentication error anymore.

DrLana (Wed, 01 Aug 2018 14:02:35 GMT):

Clipboard - August 1, 2018 4:02 PM

iDix (Wed, 01 Aug 2018 14:03:14 GMT):
Has joined the channel.

nfrunza (Wed, 01 Aug 2018 14:12:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6QwumTrcCtYEWne9G) @DrLana which branch is this?

iDix (Wed, 01 Aug 2018 14:13:44 GMT):
Hey there, I am trying to bring this up for a running Hyperledger Composer (based on Fabric) blockchain, but I am unsure whether I am doing the correct steps to rebuild explorer after I changed app/platform/fabric/config.json Currently I am running these commands after I updated config.json: `cd ~/blockchain-explorer npm install cd app/test npm install cd ~/blockchain-explorer/client npm install npm run build` And afterwards I restart explorer with `./stop.sh && ./start.sh` And finally I get the following two errors: In logs/console/console.log-2018-08-01: _postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:24659) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/user/blockchain-explorer/app/platform/fabric/Platform.js:188:26)_

iDix (Wed, 01 Aug 2018 14:14:18 GMT):
and in logs/app/app.log I get _ Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/user/blockchain-explorer/app/platform/fabric/Proxy.js:233:40)_

nfrunza (Wed, 01 Aug 2018 14:17:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LPnzqcb3mRfka9ftg) @iDix Which branch are you using?, fabric version?

iDix (Wed, 01 Aug 2018 14:18:16 GMT):
This github repo: https://github.com/hyperledger/blockchain-explorer

iDix (Wed, 01 Aug 2018 14:18:31 GMT):
The master-branch

DrLana (Wed, 01 Aug 2018 14:34:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LPnzqcb3mRfka9ftg) @iDix I am having the same problem like you

iDix (Wed, 01 Aug 2018 14:37:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Ro5GndSEf2TiMCEK2) @DrLana That's similarly nice and annoying to hear :D

iDix (Wed, 01 Aug 2018 14:37:56 GMT):
Okay, so I am going to open an issue :P Are you working on the same branch?

DrLana (Wed, 01 Aug 2018 14:45:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MLhdTh4QCmB6QBunp) @iDix I am working on the same branch, however I cloned it a couple of months ago.

iDix (Wed, 01 Aug 2018 14:45:41 GMT):
Ok, I might try the release from 7 days ago, but that should not make that big of a difference

DrLana (Wed, 01 Aug 2018 14:49:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fcsvwtuQqePtm4g8s) @iDix please let me know if you get any change.

iDix (Wed, 01 Aug 2018 14:52:24 GMT):
No difference :-1:

nfrunza (Wed, 01 Aug 2018 15:01:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=agpQNjfN44jnzkZxu) @iDix please follow up on README document, with every pull you need to run DB setup

iDix (Wed, 01 Aug 2018 15:02:54 GMT):
Yes, I did that

iDix (Wed, 01 Aug 2018 15:03:38 GMT):
Can you tell me where I can open issues? the github repo does not seem to allow it at the moment

nfrunza (Wed, 01 Aug 2018 15:03:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=roQ3crcvFhMDJaeEu) @iDix please provide the branch you're building and the fabric version

iDix (Wed, 01 Aug 2018 15:04:17 GMT):
Fabric version 1.1, currently branch master with tag v0.3.4 and previously master current state

nfrunza (Wed, 01 Aug 2018 15:14:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=agpQNjfN44jnzkZxu) @iDix if you run npm install after the git pull, and keep updating config.json, no need to run npm install

iDix (Wed, 01 Aug 2018 15:14:53 GMT):
@nfrunza Thanks, that is already a valuable information

nfrunza (Wed, 01 Aug 2018 15:18:25 GMT):
welcome

KeerthiJ (Wed, 01 Aug 2018 17:23:56 GMT):
Has joined the channel.

KeerthiJ (Wed, 01 Aug 2018 17:24:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LPnzqcb3mRfka9ftg) @iDix @iDix I'm also having this issue. what's the resolution for this?

nfrunza (Wed, 01 Aug 2018 17:42:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A9jKedHvJ77QyfgsK) @KeerthiJ how do you configure your network paths in config.json ?

KeerthiJ (Thu, 02 Aug 2018 03:38:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=q8sh3K6eC3bp9v359) @nfrunza Here is my network paths in config.json

KeerthiJ (Thu, 02 Aug 2018 03:39:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=q8sh3K6eC3bp9v359) @nfrunza { "network-config": { “org1”: { "name": “Org1”, "mspid": “Org1MSP”, "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/user1/my-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer2": { "requests": "grpc://127.0.0.1:8051", "events": "grpc://127.0.0.1:8053", "server-hostname": "peer1.org1.example.com", "tls_cacerts": "/home/user1/my-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "admin": { "key": "/home/user1/my-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/user1/my-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, “org2”: { "name": “Org2”, "mspid": “Org2MSP”, "peer1": { "requests": "grpc://127.0.0.1:9051", "events": "grpc://127.0.0.1:9053", "server-hostname": "peer0.org2.example.com", "tls_cacerts": "/home/user1/my-network//crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "peer2": { "requests": "grpc://127.0.0.1:10051", "events": "grpc://127.0.0.1:10053", "server-hostname": "peer1.org2.example.com", "tls_cacerts": "/home/user1/my-network//crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt" }, "admin": { "key": "/home/user1/my-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore", "cert": "/home/user1/my-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } }, “org3”: { "name": “Org3”, "mspid": “Org3MSP”, "peer1": { "requests": "grpc://127.0.0.1:11051", "events": "grpc://127.0.0.1:11053", "server-hostname": "peer0.org3.example.com", "tls_cacerts": "/home/user1/my-network/crypto-config/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt" }, "peer2": { "requests": "grpc://127.0.0.1:12051", "events": "grpc://127.0.0.1:12053", "server-hostname": "peer1.org3.example.com", "tls_cacerts": "/home/user1/my-network/crypto-config/peerOrganizations/org3.example.com/peers/peer1.org3.example.com/tls/ca.crt" }, "admin": { "key": "/home/user1/my-network/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/keystore", "cert": "/home/user1/my-network/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/signcerts" } }, “org4”: { "name": “Org4”, "mspid": “Org4MSP”, "peer1": { "requests": "grpc://127.0.0.1:13051", "events": "grpc://127.0.0.1:13053", "server-hostname": "peer0.org4.example.com", "tls_cacerts": "/home/user1/my-network/crypto-config/peerOrganizations/org4.example.com/peers/peer0.org4.example.com/tls/ca.crt" }, "peer2": { "requests": "grpc://127.0.0.1:14051", "events": "grpc://127.0.0.1:14053", "server-hostname": "peer1.org4.example.com", "tls_cacerts": "/home/user1/my-network/crypto-config/peerOrganizations/org4.example.com/peers/peer1.org4.example.com/tls/ca.crt" }, "admin": { "key": "/home/user1/my-network/crypto-config/peerOrganizations/org4.example.com/users/Admin@org4.example.com/msp/keystore", "cert": "/home/user1/my-network/crypto-config/peerOrganizations/org4.example.com/users/Admin@org4.example.com/msp/signcerts" } } }, "channel": “mychannel", "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpc://127.0.0.1:7050", "tls_cacerts":"/home/user1/my-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/user1/fabric-samples/bin", "SYNC_START_DATE_FORMAT":"YYYY/MM/DD", "syncStartDate":"2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" } Here is my network path in config.json

giniz (Thu, 02 Aug 2018 06:08:08 GMT):
ver 1.2.0 support has just been reverted from v3.5?

knagware9 (Thu, 02 Aug 2018 06:45:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A5KY2G7yoMcA3Akbp) @giniz When it will be available ,explorer support fabric 1.2 ?

iDix (Thu, 02 Aug 2018 07:22:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LDAoF3W7KD9N7LLWe) @KeerthiJ @KeerthiJ I read somewhere that it does not work with non-TLS peers. So you should probably be using grpcs://...

DrLana (Thu, 02 Aug 2018 08:05:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2rJ9F52iwZcKhdMGc) @iDix I heard that too. I am using non-TLS Peers so I am using only grpc instead of grpcs. However in the README file, it is mentioned that if you are using non-TLS peers, you only need to delete the lines with the tls_cacerts and use grpc.

davidhu (Thu, 02 Aug 2018 08:40:58 GMT):

Clipboard - August 2, 2018 4:40 PM

davidhu (Thu, 02 Aug 2018 08:42:19 GMT):
i'm using v0.3.4 , when i run this command it shows many erros

davidhu (Thu, 02 Aug 2018 08:42:20 GMT):
~/Desktop/workSpace/blockchain-explorer/client$ cnpm test -- -u --coverage

davidhu (Thu, 02 Aug 2018 08:42:38 GMT):
npm ERR! Test failed. See above for more details.

davidhu (Thu, 02 Aug 2018 08:43:32 GMT):
anyone knows how to fix these error? or those are not error?

davidhu (Thu, 02 Aug 2018 08:51:25 GMT):
i'm running on ubuntu18 node v8.11.3 npm5.6.0

anzalbeg (Thu, 02 Aug 2018 09:22:37 GMT):
@nfrunza Could you please help me with the below given issue error: index row size 4032 exceeds maximum 2712 for index "transaction_chaincode_proposal_input_idx" at Connection.parseE (/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/mushu/go/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:597:20) /home/mushu/go/src/github.com/hyperledger/blockchain-explorer/app/persistence/postgreSQL/db/pgservice.js:115 resolve(res.rows[0].id); ^ TypeError: Cannot read property 'rows' of undefined

nfrunza (Thu, 02 Aug 2018 11:45:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fm8J8Wtq4Ye4Zs8eP) @anzalbeg Thank you for the post, which branch are you using? what fabric version ? and what OS are you running explorer in?

KeerthiJ (Thu, 02 Aug 2018 14:26:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tyt5TNLvnTsbPZhxa) @DrLana Thanks for the response. how to know whether the peer is TLS or non-TLS

tylerwince (Thu, 02 Aug 2018 15:25:42 GMT):
Has joined the channel.

anzalbeg (Thu, 02 Aug 2018 17:09:51 GMT):
Hey @nfrunza I am using master branch, Fabric version is 1.1 version and OS is Ubuntu 16.4

nfrunza (Thu, 02 Aug 2018 17:13:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cjtB3kP8DGY5tq7c2) @anzalbeg Thank you for the post, i have jira for this and assigned https://jira.hyperledger.org/browse/BE-431

nfrunza (Thu, 02 Aug 2018 17:16:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A5KY2G7yoMcA3Akbp) @giniz We are working on it, will announce when available

anzalbeg (Thu, 02 Aug 2018 17:17:26 GMT):
@nfrunza Just for information, once i removed the index on "transaction_chaincode_proposal_input_idx" in transactions table. The Error resolved

nfrunza (Thu, 02 Aug 2018 17:18:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=goyKzrKidTzXvxkxJ) @anzalbeg i believe we need the index

anzalbeg (Thu, 02 Aug 2018 17:22:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=t6Ff8bqFovaTSTwNZ) @nfrunza cool

nfrunza (Thu, 02 Aug 2018 17:29:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=T3N3g32fa97tMiLh6) @anzalbeg looks like you have high volume of data in your blockchain

nfrunza (Thu, 02 Aug 2018 17:40:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pmJhyYnmzQmacihKM) @davidhu Are you referring to errors that are in red font color? i do not see errors?

rajanashutosh (Thu, 02 Aug 2018 18:07:24 GMT):
Has joined the channel.

rajanashutosh (Thu, 02 Aug 2018 18:07:34 GMT):
Hi all..

rajanashutosh (Thu, 02 Aug 2018 18:11:14 GMT):
I did a multi-host environment setup with hyperledger fabric which contains 3 VMs. VM1 - Orderer and Cli, VM2 - 2 CA, 2 Org peers and 2 Couch Dbs and similarly in another

rajanashutosh (Thu, 02 Aug 2018 18:15:07 GMT):
Now i installed hyperledger explorer in VM1 and did json config something like this "name": "OrgXMSP", "mspid": "OrgXMSP", "peer0.orgx.acmesystems.com": { "requests": "grpcs://peer1-orgx:7051", "events": "grpcs://peer1-orgx:7053", "server-hostname": "peer0.orgx.acmesystems.com", "tls_cacerts": "/home/user/blockchain-network-1.2/crypto-config/peerOrganizations/orgx.acmesystems.com/peers/peer0.orgx.acmesystems.com/tls/ca.crt" },

rajanashutosh (Thu, 02 Aug 2018 18:15:26 GMT):
"requests": "grpcs://peer1-orgx:7051", "events": "grpcs://peer1-orgx:7053",

rajanashutosh (Thu, 02 Aug 2018 18:15:43 GMT):
these two tried with IPs as well but nothing works

rajanashutosh (Thu, 02 Aug 2018 18:18:18 GMT):
My fabric version is 1.2

nfrunza (Thu, 02 Aug 2018 19:24:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A5ETKjrr3GCgjmAoo) @rajanashutosh What is the error you're getting, did you follow up the README doc?

nfrunza (Thu, 02 Aug 2018 20:27:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=t3Q2AkpAibvcPfckL) where is the DB installed?

Arindam (Thu, 02 Aug 2018 21:38:05 GMT):
Hi , I have created blockchain explorer using composer framework. It is opening fine but transaction tab is not working

Arindam (Thu, 02 Aug 2018 21:40:02 GMT):
Please help

Arindam (Thu, 02 Aug 2018 21:56:24 GMT):
I have resolved the error

Arindam (Thu, 02 Aug 2018 21:57:26 GMT):
it was the "configtxgenToolPath": should point the correct path of your configtxgen binary file

nfrunza (Thu, 02 Aug 2018 22:49:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LpW3JRoxgnQEmvTma) @Arindam thank you for letting know

davidhu (Fri, 03 Aug 2018 00:41:01 GMT):
@nfrunza yes, there was a line : npm ERR! Test failed. See above for more details.

nfrunza (Fri, 03 Aug 2018 02:06:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xZcFpPrrncse4EE5s) @davidhu I'm not seeing no error

rajanashutosh (Fri, 03 Aug 2018 03:10:33 GMT):
@nfrunza i followed the github instructions as they have provided. Postgres is in the same VM as off the explorer

rajanashutosh (Fri, 03 Aug 2018 03:11:08 GMT):
TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/asrajan/blockchain-explorer/app/platform/fabric/Proxy.js:233:40) at Platform.setChannels (/home/asrajan/blockchain-explorer/app/platform/fabric/Platform.js:186:35) at Platform.initialize (/home/asrajan/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at Function.build (/home/asrajan/blockchain-explorer/app/platform/PlatformBuilder.js:13:28) at platformroutes (/home/asrajan/blockchain-explorer/app/explorer/rest/platformroutes.js:17:36) at Explorer.initialize (/home/asrajan/blockchain-explorer/app/explorer/Explorer.js:37:17) at at process._tickCallback (internal/process/next_tick.js:188:7) [2018-08-02 23:00:26.265] [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/asrajan/blockchain-explorer/app/platform/fabric/Proxy.js:233:40) at Platform.setChannels (/home/asrajan/blockchain-explorer/app/platform/fabric/Platform.js:186:35) at Platform.initialize (/home/asrajan/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at Function.build (/home/asrajan/blockchain-explorer/app/platform/PlatformBuilder.js:13:28) at platformroutes (/home/asrajan/blockchain-explorer/app/explorer/rest/platformroutes.js:17:36) at Explorer.initialize (/home/asrajan/blockchain-explorer/app/explorer/Explorer.js:37:17) at at process._tickCallback (internal/process/next_tick.js:188:7)

rajanashutosh (Fri, 03 Aug 2018 03:11:35 GMT):
And when i check the javascript in the exposed URL path

rajanashutosh (Fri, 03 Aug 2018 03:14:02 GMT):
ypeError: Cannot read property 'channels' of null at operations.js:31 (anonymous) @ operations.js:39 operations.js:23 TypeError: Cannot read property 'chaincode' of null at s (reducers.js:29) at combineReducers.js:120 at combineReducers.js:120 at l (createStore.js:165) at index.js:14 at dispatch (applyMiddleware.js:35) at operations.js:21 (anonymous) @ operations.js:23 operations.js:48 TypeError: Cannot read property 'peers' of null at u (reducers.js:59) at combineReducers.js:120 at combineReducers.js:120 at l (createStore.js:165) at index.js:14 at dispatch (applyMiddleware.js:35) at operations.js:46 (anonymous) @ operations.js:48 operations.js:79 TypeError: Cannot read property 'peers' of null at p (reducers.js:96) at combineReducers.js:120 at combineReducers.js:120 at l (createStore.js:165) at index.js:14 at dispatch (applyMiddleware.js:35) at operations.js:76 (anonymous) @ operations.js:79 operations.js:89 TypeError: Cannot read property 'rows' of null at d (reducers.js:111) at combineReducers.js:120 at combineReducers.js:120 at l (createStore.js:165) at index.js:14 at dispatch (applyMiddleware.js:35) at operations.js:86 (anonymous) @ operations.js:89 operations.js:72 TypeError: Cannot read property 'rows' of null at operations.js:64 (anonymous) @ operations.js:72 operations.js:99 TypeError: Cannot read property 'rows' of null

javrevasandeep (Fri, 03 Aug 2018 05:00:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dbax4eRRPjyQNaQfR) @nfrunza @nfrunza So what should be our approach to use explorer when we have huge volume of data. Is explorer not meant to handle huge volume of data. Please suggest us. we want to use explorer keeping in view the tons of data we may add in future.

VadimInshakov (Fri, 03 Aug 2018 07:27:43 GMT):
I trying to call Fetch API inside chaincode like so: ``` async function getid() { return await fetch(PROXY_API_ADDRESS, { method: 'GET' }); } ``` And I get error: ``` Response from attempted peer comms was an error: Error: 2 UNKNOWN: error executing chaincode: transaction returned with failure: Error: ReferenceError: fetch is not defined ``` Why? I can't do any request inside chaincode?

KeerthiJ (Fri, 03 Aug 2018 09:07:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4yDFcjRzzv5sdPtRg) @nfrunza I've used grpcs and seeing below error message in log

KeerthiJ (Fri, 03 Aug 2018 09:10:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dy6arkJ29HgjoF6iH) @nfrunza @DrLana postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:13022) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/trustflow/Trustflow/blockchain-explorer/app/platform/fabric/Platform.js:188:26) at at process._tickCallback (internal/process/next_tick.js:188:7) (node:13022) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:13022) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.[2018-08-03 09:03:15.874] [E__RROR] Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/trustflow/Trustflow/blockchain-explorer/app/platform/fabric/Proxy.js:233:40) at Platform.setChannels (/home/trustflow/Trustflow/blockchain-explorer/app/platform/fabric/Platform.js:186:35) at Platform.initialize (/home/trustflow/Trustflow/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at Function.build (/home/trustflow/Trustflow/blockchain-explorer/app/platform/PlatformBuilder.js:13:28) at platformroutes (/home/trustflow/Trustflow/blockchain-explorer/app/explorer/rest/platformroutes.js:17:36) at Explorer.initialize (/home/trustflow/Trustflow/blockchain-explorer/app/explorer/Explorer.js:37:17) at at process._tickCallback (internal/process/next_tick.js:188:7)

KeerthiJ (Fri, 03 Aug 2018 10:31:54 GMT):
what should be the key names under "network-config" key and value for key "name" in config.json. I see org1 and peerOrg1. can we give any value in the place of "org1" and "peerOrg1" or it should match with any value in the fabric network configuration file in my network. if so, can you please point out which file and parameter value in fabric we need to use.

KeerthiJ (Fri, 03 Aug 2018 10:31:54 GMT):
what should be the key names under "network-config" key and value for key "name" in config.json. I see org1 and peerOrg1. can we give any value in the place of "org1" and "peerOrg1" or it should match with a value in the fabric network configuration file in my network. if so, can you please point out which file and parameter value in fabric we need to use. why I'm asking this is I don't see "peerOrg1" in any of the configuration file in fabric-examples/first-network.

rajanashutosh (Fri, 03 Aug 2018 10:46:20 GMT):
@KeerthiJ are you aware off what should be values which are provided in requests and events ?

nfrunza (Fri, 03 Aug 2018 11:21:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7NqWggtkwqw9umeQG) @javrevasandeep we are working on handling high volume of data, in progress

nfrunza (Fri, 03 Aug 2018 11:22:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eBotYmYzEF35xsLqP) @VadimInshakov Is the question for the explorer?

nfrunza (Fri, 03 Aug 2018 11:26:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yXBMxBuiJiBWcXx7H) @rajanashutosh please let me know fabric version, branch you're using, did you setup DB, did you configure properly config.json accordingly to you fabric network, do you use fabric sample ?

rajanashutosh (Fri, 03 Aug 2018 11:27:53 GMT):
@nfrunza my fabric version is 1.2, I have brought up my own fabric network with total 4 Orgs with each 2 peers 1 orderer. Each org has its dedicated CA

rajanashutosh (Fri, 03 Aug 2018 11:28:08 GMT):
DB is up and running

rajanashutosh (Fri, 03 Aug 2018 11:29:10 GMT):
My VM 1 IP is 192.168.1.8 and VM2 - 192.168.1.9 Orderer in VM3 - 192.168.1.10 and blockchain explorer as well

nfrunza (Fri, 03 Aug 2018 11:29:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HQhrEbNyxghNq9sCD) @rajanashutosh We do not support fabric 1.2 yet, and which branch are you using

nfrunza (Fri, 03 Aug 2018 11:29:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=66ee8Wgmjm3es5gJu) are you behind the proxy?

rajanashutosh (Fri, 03 Aug 2018 11:30:42 GMT):
@nfrunza remote origin Fetch URL: https://github.com/hyperledger/blockchain-explorer.git Push URL: https://github.com/hyperledger/blockchain-explorer.git

rajanashutosh (Fri, 03 Aug 2018 11:31:08 GMT):
I have 1.1 version as well for fabric network

rajanashutosh (Fri, 03 Aug 2018 11:31:41 GMT):
Could you please tell me if they are in differnt VMs can i just modify the config.json with the IPs instead of location host ?

nfrunza (Fri, 03 Aug 2018 11:45:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5RA9as3C7Rmbctkua) @rajanashutosh yes, IP should work

rajanashutosh (Fri, 03 Aug 2018 11:58:13 GMT):
@nfrunza I would do that installation and check

nfrunza (Fri, 03 Aug 2018 12:13:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Q9SSJJ25T9FDEwAEx) @rajanashutosh please let me know

rajanashutosh (Fri, 03 Aug 2018 12:35:03 GMT):
@nfrunza

rajanashutosh (Fri, 03 Aug 2018 12:35:43 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:22905) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/user/blockchain-explorer/app/platform/fabric/Platform.js:188:26) at at process._tickCallback (internal/process/next_tick.js:188:7) (node:22905) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:22905) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

rajanashutosh (Fri, 03 Aug 2018 12:36:19 GMT):
as per the troubleshooting guides it mentions this kind off error is when we are not able to identify Fabric network

nfrunza (Fri, 03 Aug 2018 13:05:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gqMZL6jYz3rCgv7y7) @rajanashutosh did you run DB setup?

nfrunza (Fri, 03 Aug 2018 13:07:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wvRCjPvgHPfie6XcR) with every git pull, you need to root/ npm install, /cliend npm install, npm run build

mohitk1905 (Fri, 03 Aug 2018 14:48:01 GMT):
Has joined the channel.

Ryan2 (Fri, 03 Aug 2018 15:49:37 GMT):
I running fabric-explorer v0.3.5 encounter this error `[2018-08-03 15:42:54.993] [ERROR] pgservice - [INSERT ERROR] - value too long for type character varying(800)` How to correct and get the explorer running

nfrunza (Fri, 03 Aug 2018 16:15:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Q8x6iq7fTr4xzwtoR) @Ryan2 please let me know the column name

nfrunza (Fri, 03 Aug 2018 16:15:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Q8x6iq7fTr4xzwtoR) @Ryan2 please let me know the column name, a quick fix would be to define as character varying DEFAULT NULL

DrLana (Fri, 03 Aug 2018 16:48:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wvRCjPvgHPfie6XcR) @nfrunza I am having the same error and I pulled the branch only once. I think we are already over 5 people having the same error. node:22905) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/user/blockchain-explorer/app/platform/fabric/Platform.js:188:26)

nfrunza (Fri, 03 Aug 2018 17:26:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NQAKXTXWGbvWctN2g) @DrLana Please open a jira

nfrunza (Fri, 03 Aug 2018 17:30:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aSviYh5A7vLdyiXcu) this is more like a connection to your fabric, could be timeout

nfrunza (Fri, 03 Aug 2018 17:30:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aSviYh5A7vLdyiXcu) this is more like a connection to your fabric, could be timeout, please upload your log files

Ryan2 (Sat, 04 Aug 2018 06:11:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WD8nnB5SNbvj5dTQm) Hi @nfrunza , exception occurred on `transaction` table, can you check on the log at https://hastebin.com/igidogizex.sql

akshay.sood (Sat, 04 Aug 2018 06:49:25 GMT):
Has joined the channel.

Ryan2 (Mon, 06 Aug 2018 01:03:56 GMT):
I simple change all column size to 65536 for all table, and temporary resolve the issue, now it works just fine

rajanashutosh (Mon, 06 Aug 2018 03:13:36 GMT):
@nfrunza yes i did setup off postgres along with db setup as told in the documentations. Do i need to do anything else ?

rajanashutosh (Mon, 06 Aug 2018 05:38:15 GMT):
@nfrunza I changed my network and placed all containers into single system. Now fabric is running on single system with required configurations but still same issue persists. DB is up and running and logs der is no issues for it whereas console and app log contains Query - TypeError: Cannot read property 'queryChannels' of undefined

rajanashutosh (Mon, 06 Aug 2018 05:38:17 GMT):
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/asrajan/blockchain-explorer/app/platform/fabric/Platform.js:188:26) at at process._tickCallback (internal/process/next_tick.js:188:7) (node:31975) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

rajanashutosh (Mon, 06 Aug 2018 08:17:10 GMT):
I have rectified above issue.

rajanashutosh (Mon, 06 Aug 2018 08:17:23 GMT):
But now I am getting into something new

rajanashutosh (Mon, 06 Aug 2018 08:17:25 GMT):
E0806 04:14:07.668053314 24282 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E0806 04:14:09.377753553 24282 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E0806 04:14:12.374691155 24282 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.

RockyRacer (Mon, 06 Aug 2018 09:29:44 GMT):
Has joined the channel.

rajanashutosh (Mon, 06 Aug 2018 09:56:52 GMT):
@nfrunza .. I have completed the setup. Issue was i had setup my network with TLS disabled. hence protocal had to be modified

rajanashutosh (Mon, 06 Aug 2018 09:57:01 GMT):
its working fine. Thanks for your support

RockyRacer (Mon, 06 Aug 2018 12:11:24 GMT):
Hi, is there any extra configuration required for running Explorer on Windows with Docker? I get following error when running `./deploy_explorer.sh dockerConfig` from git bash:

RockyRacer (Mon, 06 Aug 2018 12:11:34 GMT):
`The command '/bin/sh -c cd $EXPLORER_APP_PATH && cd client && npm install && yarn build' returned a non-zero code: 1 Hyperledger Fabric network configuration file is located at /c/Git/website-request/hyperledger/blockchain-explorer/examples/docker_config/config.json Hyperledger Fabric network crypto material at /c/Git/website-request/hyperledger/blockchain-explorer/examples/docker_config/crypto Stopping previously deployed Hyperledger Fabric Explorer instance... Error response from daemon: No such container: blockchain-explorer Deploying Hyperledger Fabric Explorer container at 192.168.10.12 C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: Mount denied: The source path "C:/Git/website-request/hyperledger/blockchain-explorer/examples/docker_config/config.json;C" doesn't exist and is not known to Docker.`

RockyRacer (Mon, 06 Aug 2018 12:11:34 GMT):
``` The command '/bin/sh -c cd $EXPLORER_APP_PATH && cd client && npm install && yarn build' returned a non-zero code: 1 Hyperledger Fabric network configuration file is located at /c/Git/website-request/hyperledger/blockchain-explorer/examples/docker_config/config.json Hyperledger Fabric network crypto material at /c/Git/website-request/hyperledger/blockchain-explorer/examples/docker_config/crypto Stopping previously deployed Hyperledger Fabric Explorer instance... Error response from daemon: No such container: blockchain-explorer Deploying Hyperledger Fabric Explorer container at 192.168.10.12 C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: Mount denied: The source path "C:/Git/website-request/hyperledger/blockchain-explorer/examples/docker_config/config.json;C" doesn't exist and is not known to Docker. ```

RockyRacer (Mon, 06 Aug 2018 12:15:43 GMT):
Drive C is shared, docker works fine from git bash, and _config.json_ file exists in the source path, I am missing something?

RockyRacer (Mon, 06 Aug 2018 12:59:46 GMT):
OK got it

RockyRacer (Mon, 06 Aug 2018 13:00:37 GMT):
This is because of Git Bash appending ";C" when converting Windows paths

RockyRacer (Mon, 06 Aug 2018 13:01:24 GMT):
Adding a leading "/" before `$network_config_file` and `$network_crypto_base_path` in the _deploy_explorer.sh_ file did the trick

RockyRacer (Mon, 06 Aug 2018 13:01:24 GMT):
Adding a leading "/" before `$network_config_file` and `$network_crypto_base_path` in the _deploy\_explorer.sh_ file did the trick

RockyRacer (Mon, 06 Aug 2018 13:01:24 GMT):
Adding a leading "/" before `$network_config_file` and `$network_crypto_base_path` in the deploy_explorer.sh file did the trick

RockyRacer (Mon, 06 Aug 2018 13:01:24 GMT):
Adding a leading "/" before `$network_config_file` and `$network_crypto_base_path` in the `deploy_explorer.sh` file did the trick

RockyRacer (Mon, 06 Aug 2018 13:01:48 GMT):
Credits : https://stackoverflow.com/questions/50608301/docker-mounted-volume-adds-c-to-end-of-windows-path-when-translating-from-linux

DrLana (Mon, 06 Aug 2018 15:39:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NAuvTCPoL9oEztPHn) @rajanashutosh I am running also my network with tls disabled and I changed the protocol inside config.json to grpc but I still have the same problem. Which change did you do? you just used grpc instead of grpcs?

DrLana (Mon, 06 Aug 2018 15:40:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aSviYh5A7vLdyiXcu) @nfrunza Am I allowed to? Where and how?

DrLana (Mon, 06 Aug 2018 15:44:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5TrZiPLLMPr5xsyGy) @nfrunza Please have a look at my logfile in console folder:

DrLana (Mon, 06 Aug 2018 15:44:08 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:123600) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/home/user/blockchain-explorer/app/platform/fabric/Platform.js:188:26) at at process._tickCallback (internal/process/next_tick.js:188:7) (node:123600) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:123600) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

DrLana (Mon, 06 Aug 2018 15:45:50 GMT):
This is the content of app.log file: [2018-07-31 16:26:52.298] [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/user/blockchain-explorer/app/platform/fabric/Proxy.js:232:41) at Platform.setChannels (/home/user/blockchain-explorer/app/platform/fabric/Platform.js:186:35) at Platform.initialize (/home/user/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at Function.build (/home/user/blockchain-explorer/app/platform/PlatformBuilder.js:13:28) at platformroutes (/home/user/blockchain-explorer/app/explorer/rest/platformroutes.js:17:36) at Explorer.initialize (/home/user/blockchain-explorer/app/explorer/Explorer.js:34:17) at at process._tickCallback (internal/process/next_tick.js:188:7) [2018-07-31 17:13:13.268] [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/user/blockchain-explorer/app/platform/fabric/Proxy.js:232:41) at Platform.setChannels (/home/user/blockchain-explorer/app/platform/fabric/Platform.js:186:35) at Platform.initialize (/home/user/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at Function.build (/home/user/blockchain-explorer/app/platform/PlatformBuilder.js:13:28) at platformroutes (/home/user/blockchain-explorer/app/explorer/rest/platformroutes.js:17:36) at Explorer.initialize (/home/user/blockchain-explorer/app/explorer/Explorer.js:34:17) at at process._tickCallback (internal/process/next_tick.js:188:7)

nfrunza (Mon, 06 Aug 2018 15:59:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=36HW6CuAXikNCwbxF) @DrLana jira created, please let me know your environment configuration, see https://jira.hyperledger.org/browse/BE-437

DrLana (Mon, 06 Aug 2018 16:01:41 GMT):
I have two organisations, each with one peer. One of them has an orderer. Each organisation is running on an individual VM. Both peers are participant in the channel, which ID I added to the config.json

nfrunza (Mon, 06 Aug 2018 17:09:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ypxpotcXmuAktvsoN) @DrLana I would not know the correct answer, but you can ask in fabric-questions

nfrunza (Mon, 06 Aug 2018 17:10:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zAFiNScgb3nZ85ymh) and where s the fabric?

nfrunza (Mon, 06 Aug 2018 17:11:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zAFiNScgb3nZ85ymh) and for the future questions would be great if you can describe your environments, OS, fabric version running on VM's, or local, cloud, etc

rajanashutosh (Tue, 07 Aug 2018 03:27:54 GMT):
@DrLana , I found out from the code that org and peer keys should be maintained as it is and then since tls was disabled so converted to grpc laone

rajanashutosh (Tue, 07 Aug 2018 03:27:56 GMT):
alone

rajanashutosh (Tue, 07 Aug 2018 04:27:15 GMT):
@nfrunza -- I had few queries with regards to the items being populated in the charts. Nodes --> What exactly is meant by nodes over here, I have 3 VMs with total of 4 orgs and each orgs with 2 peers and 1 user (But node count is 1 for me always) Peer status -> This area all the peers are being listed with status as "Down". Why is it so is this expected ? Any transaction being inputted takes bit of time to reflect.

RockyRacer (Tue, 07 Aug 2018 06:36:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FWdybvTeHW6KedcnS) @DrLana I have the same problem, exactly the same message

nekia (Tue, 07 Aug 2018 06:56:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jnp7XEW6aT5vWuRm6) @RockyRacer FYI. When I had the same message, the causes were as follows. * Removed 'tls_cacerts' entry of each peer ( It's mandatory even if you disabled TLS ) * Specified wrong protocl for peer URL ( I should specify grpcs, not grpc )

RockyRacer (Tue, 07 Aug 2018 07:09:34 GMT):
@nekia Thank you for the information

RockyRacer (Tue, 07 Aug 2018 07:09:40 GMT):
I have TLS enabled, tls_cacerts specified, and I use grpcs

RockyRacer (Tue, 07 Aug 2018 07:10:11 GMT):
I will look closer into my configuration

yljgo (Tue, 07 Aug 2018 08:40:40 GMT):
Has joined the channel.

RockyRacer (Tue, 07 Aug 2018 09:14:55 GMT):
I checked everything, still no luck :disappointed_relieved:

RockyRacer (Tue, 07 Aug 2018 09:20:15 GMT):
Will wait for the Jira update as we are several people getting this

rajanashutosh (Tue, 07 Aug 2018 09:22:40 GMT):
@RockyRacer if see troubleshoot.md file it clearly mentions this error is due to Fabric network being not identified by the explorer code. Hence if you check the configuration.js you would be able to see how it actually retrieves values from the config.json

rajanashutosh (Tue, 07 Aug 2018 09:23:04 GMT):
I rectified issues which i faced by checking code and making modifications accordingly

RockyRacer (Tue, 07 Aug 2018 09:41:31 GMT):
I don't see this error mentioned in the troubleshoot.md file, but thanks the configuration.js file helps a lot in understanding how the config is parsed, I think I see my error

nfrunza (Tue, 07 Aug 2018 11:10:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eiwxDZCNvQMnZumL9) @rajanashutosh What is you fabric version?

nfrunza (Tue, 07 Aug 2018 11:15:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eiwxDZCNvQMnZumL9) @rajanashutosh If you connect to fabric version 1.2 it will show down, we do not support fabric 1.2 yet, but we are working kon it.

nfrunza (Tue, 07 Aug 2018 11:17:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EYps5XkgHks82hP7s) @RockyRacer No test has been done on Windows OS

rajanashutosh (Tue, 07 Aug 2018 13:25:05 GMT):
@nfrunza I am working 1.1

rajanashutosh (Tue, 07 Aug 2018 13:26:33 GMT):
Its fabric version 1.1. Actually I am clueless about somethings Please help me in getting clarified on the same

rajanashutosh (Tue, 07 Aug 2018 13:26:42 GMT):
Nodes --> What exactly is meant by nodes over here, I have 3 VMs with total of 4 orgs and each orgs with 2 peers and 1 user (But node count is 1 for me always) Peer status -> This area all the peers are being listed with status as "Down". Why is it so is this expected ? Any transaction being inputted takes bit of time to reflect.

RockyRacer (Tue, 07 Aug 2018 14:32:53 GMT):
fabric containers and explorer containers have to be in the same network ?

RockyRacer (Tue, 07 Aug 2018 14:35:04 GMT):
Still get `Error: 14 UNAVAILABLE: Connect Failed`, I don't understand how explorer can see my fabric network using grpcs://127.0.0.1

nfrunza (Tue, 07 Aug 2018 14:52:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5AXe8u8RFPRfYT5KJ) @RockyRacer yes, or try using IP

nfrunza (Tue, 07 Aug 2018 14:53:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5AXe8u8RFPRfYT5KJ) @RockyRacer can you run $docker ps -a

RockyRacer (Tue, 07 Aug 2018 15:07:20 GMT):
@nfrunza Thanks, if I use the same network I get `Error response from daemon: user specified IP address is supported only when connecting to networks with user configured subnets`. When using IP I still get `Connect Failed`

nfrunza (Tue, 07 Aug 2018 15:08:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nXjtgxfw9XjYBNK9Y) @RockyRacer can you run $docker ps -a

RockyRacer (Tue, 07 Aug 2018 15:10:51 GMT):
Of course: ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES bd09eed6c1af hyperledger-blockchain-explorer "/bin/sh -c 'node $D…" 7 minutes ago Created blockchain-explorer 9de2623be809 hyperledger-blockchain-explorer-db "docker-entrypoint.s…" 7 minutes ago Created blockchain-explorer-db cf032f40fc39 dev-peer0.unil.ch-requestcc-1.0-9fc305f16c5e5f8e2dfc1f61b50c58f48a3678195c330fb7f32181f591b46f66 "chaincode -peer.add…" 2 hours ago Up 2 hours dev-peer0.unil.ch-requestcc-1.0 d9b10e1c534c dev-peer0.chuv.ch-requestcc-1.0-98634251870a05c375ceb44e30b951149dcfa44c2e1ee483b12d8abd73616ecf "chaincode -peer.add…" 23 hours ago Up 23 hours dev-peer0.chuv.ch-requestcc-1.0 bbe901c55f4c hyperledger/fabric-tools:latest "/bin/bash" 24 hours ago Up 24 hours hyperledger_core 5dbf032cd584 hyperledger/fabric-peer:latest "sh -c 'sleep 5; pee…" 24 hours ago Up 24 hours 0.0.0.0:8051->7051/tcp, 0.0.0.0:8053->7053/tcp hyperledger_peer1.unil.ch 41af12fedd37 hyperledger/fabric-peer:latest "sh -c 'sleep 5; pee…" 24 hours ago Up 24 hours 0.0.0.0:9051->7051/tcp, 0.0.0.0:9053->7053/tcp hyperledger_peer0.chuv.ch 1b942e52101d hyperledger/fabric-ca "sh -c 'fabric-ca-se…" 24 hours ago Up 24 hours 0.0.0.0:8054->7054/tcp hyperledger_ca.chuv.ch 844d52c8d875 hyperledger/fabric-orderer:latest "orderer" 24 hours ago Up 24 hours 0.0.0.0:7050->7050/tcp hyperledger_orderer.unil.ch 02e3af117136 hyperledger/fabric-ca "sh -c 'fabric-ca-se…" 24 hours ago Up 24 hours 0.0.0.0:7054->7054/tcp hyperledger_ca.unil.ch 5e43fc1d9dde hyperledger/fabric-peer:latest "sh -c 'sleep 5; pee…" 24 hours ago Up 24 hours 0.0.0.0:10051->7051/tcp, 0.0.0.0:10053->7053/tcp hyperledger_peer1.chuv.ch 0b09e0173ebb hyperledger/fabric-peer:latest "sh -c 'sleep 5; pee…" 24 hours ago Up 24 hours 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp hyperledger_peer0.unil.ch 77291064cf47 hyperledger/composer-playground "pm2-docker composer…" 4 days ago Exited (255) 25 hours ago 0.0.0.0:8090->8080/tcp composer-playground ```

RockyRacer (Tue, 07 Aug 2018 15:10:51 GMT):
OK so I have to adapt the deploy script to join the existing fabric Docker network instead of creating one for explorer, right

RockyRacer (Tue, 07 Aug 2018 15:10:51 GMT):
OK so I have to adapt the deploy script to join the existing fabric Docker network instead of creating one for explorer, right I will give it a last try tomorrow

nfrunza (Tue, 07 Aug 2018 15:46:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2ZD7C4XTSAMNTeQFJ) @RockyRacer Which OS you're trying to use explorer? where is your fabric installed?

nk307 (Tue, 07 Aug 2018 15:46:51 GMT):
Has joined the channel.

RockyRacer (Tue, 07 Aug 2018 15:48:13 GMT):
- local Windows 10 64bits - Docker 18.06.0-ce & Compose 1.22.0 - Hyperledger 1.1, Explorer 0.3.4 - Go 1.10, Node 8.11.3, Git 2.8.1 - I'm running all commands through Git bash as administrator

RockyRacer (Tue, 07 Aug 2018 15:48:13 GMT):
Environment: - local Windows 10 64bits - Docker 18.06.0-ce & Compose 1.22.0 - Hyperledger 1.1, Explorer 0.3.4 - Go 1.10, Node 8.11.3, Git 2.8.1 - I'm running all commands through Git bash as administrator Network: - 2 organizations - 2 peers per organization - peer0 from both organizations have been defined as anchor peer - 1 user (identity) per peer (in addition to Admin user) - 1 orderer with solo consensus - 1 channel joined by both peer0 from both organizations - 1 Go chaincode installed on peer0 in both organizations Explorer : - I have correctly loaded crypto materials into example/my_network/crypto - I have correctly set network configuration under examples/my_network/config.json - Actually on Windows I just needed to prepend a `/` before paths in the deploy script - Then I run : ./deploy_explorer.sh my_network

RockyRacer (Tue, 07 Aug 2018 15:49:14 GMT):
Fabric network is running well, I played with chaincode successfully, I'm just trying to connect it to Explorer

nfrunza (Tue, 07 Aug 2018 16:00:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iMNcCGhNJHYhbKXF4) @RockyRacer you have installed fabric using explorer docker? and previously you had fabric installed alos?

nfrunza (Tue, 07 Aug 2018 16:00:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iMNcCGhNJHYhbKXF4) @RockyRacer you have installed fabric using explorer docker? and previously you had fabric installed also?

RockyRacer (Tue, 07 Aug 2018 16:00:50 GMT):
I had it previously installed

nfrunza (Tue, 07 Aug 2018 16:01:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3LPcFYgNt7F53vrZp) @RockyRacer then you try to run ./deploy_explorer.sh ?

RockyRacer (Tue, 07 Aug 2018 16:01:37 GMT):
yes

nfrunza (Tue, 07 Aug 2018 16:02:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Mm77MESY5eo2WEjaH) @RockyRacer i would kill all the docker and rerun ./deploy_explorer.sh

nfrunza (Tue, 07 Aug 2018 16:03:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=onTdpFKEicz7GWDFe) just in case you may need: docker stop $(docker ps -a -q) docker rm -f $(docker ps -a -q) rm -rf ./crypto-config/* rm -rf ~/.hfc*

RockyRacer (Tue, 07 Aug 2018 16:06:24 GMT):
OK, I will try it and will let you know

vagnerasilva (Tue, 07 Aug 2018 16:42:34 GMT):
Has joined the channel.

nfrunza (Tue, 07 Aug 2018 17:43:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SPbgnnchMDzAad7Lo) @RockyRacer thanks

huxiangdong (Wed, 08 Aug 2018 00:19:56 GMT):
Has joined the channel.

ShuaishuaiJing (Wed, 08 Aug 2018 04:12:50 GMT):
Has joined the channel.

RockyRacer (Wed, 08 Aug 2018 06:39:37 GMT):
@nfrunza I finally got it to work by : - removing network creation [deploy_explorer.sh] - replacing network name with the existing one running my fabric installation [deploy_explorer.sh] - removing `--ip` parameters when running db and explorer containers [deploy_explorer.sh] So all containers run in the same network, then I had to : - replace `db_ip` with the one got from the db container IP in the existing network (`docker network inspect mynetwork`) [deploy_explorer.sh] - replacing 127.0.0.1 by service name [config.json]

RockyRacer (Wed, 08 Aug 2018 06:39:37 GMT):
@nfrunza I finally got it to work by : - removing network creation [deploy_explorer.sh] - replacing network name with the existing one running my fabric installation [deploy_explorer.sh] - removing `--ip` parameters when running db and explorer containers [deploy_explorer.sh] This made all containers run in the same network, then I had to : - replace `db_ip` with the one got from the db container IP in the existing network (`docker network inspect mynetwork`) [deploy_explorer.sh] - replacing 127.0.0.1 by service name [config.json]

RockyRacer (Wed, 08 Aug 2018 06:41:27 GMT):
Thank you for your support :thumbup_tone2:

iDix (Wed, 08 Aug 2018 07:07:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qcMFtSn8d5AZmQT3W) @RockyRacer Congrats. I am still trying to work this out and am a bit lost in what you did. Where is this deploy_explorer.sh? Are you running a custom fabric-network or one of the sample ones?

iDix (Wed, 08 Aug 2018 07:13:38 GMT):
Ok, strike the question about the custom fabric :-) Read your above messages again

RockyRacer (Wed, 08 Aug 2018 07:23:48 GMT):
Yeah I had a previous running Fabric network, just wanted to connect Explorer on it. I still don't understand why the default deploy_explorer.sh script for running Explorer with Docker create its own network, because of that it cannot speak with the Fabric network.

iDix (Wed, 08 Aug 2018 08:00:32 GMT):
Hm, ok, anyway. I am currently debugging the js and there is stuff in there that is never mentioned in any documentation, but I am getting somewhere. For example the info that the JSON-key for an organisation should start with "org" is never mentioned and just happens to be the case in the samples... Why? As well as the info that the peers must seemingly be numbered (starting with "peer1", which is assumed to be the default peer).

RockyRacer (Wed, 08 Aug 2018 08:17:11 GMT):
+1 it tricked me too, and should be mentioned somewhere

iDix (Wed, 08 Aug 2018 08:31:13 GMT):
Yeah, so for me it got resolved. For anyone with similar weird errors: Maybe try to understand what the files app/platform/fabric/{Platform,Configuration].js do. I personally spiked them with console.logs and the logs showed up in logs/console/console.log-[current date] @DrLana @KeerthiJ @rajanashutosh and anyone experiencing similar issues :-)

rajanashutosh (Wed, 08 Aug 2018 09:30:21 GMT):
@iDix Thanks I have already setup.

rajanashutosh (Wed, 08 Aug 2018 09:31:23 GMT):
@iDix i would like to understand

rajanashutosh (Wed, 08 Aug 2018 09:31:29 GMT):

Clipboard - August 8, 2018 3:01 PM

rajanashutosh (Wed, 08 Aug 2018 09:31:58 GMT):
What is this node in this section and why is it always 1 ? I am having 3 VMs with 4 Orgs

rajanashutosh (Wed, 08 Aug 2018 09:32:55 GMT):

Clipboard - August 8, 2018 3:02 PM

rajanashutosh (Wed, 08 Aug 2018 09:33:06 GMT):
Why always peer status is as down ?

iDix (Wed, 08 Aug 2018 09:44:54 GMT):
Yeah, I am also confused by some stuff in the UI, but for me it's more of a proof-of-concept, so i generally don't worry about it to much. My assumption concerning the 1 peer and also in the network tab is only 1 peer listed is that in the Configuration.js (mentioned above) there is some handling of "defaultOrg" and a "defaultPeer" and I assume that the peer is just the default organisation's default peer. At least in my network that is the case. However all my peers's status is "running". So maybe you should check your peers. Are all the ports open (7051-7054 usually)?

iDix (Wed, 08 Aug 2018 09:44:54 GMT):
@rajanashutosh Yeah, I am also confused by some stuff in the UI, but for me it's more of a proof-of-concept, so i generally don't worry about it to much. My assumption concerning the 1 peer and also in the network tab is only 1 peer listed is that in the Configuration.js (mentioned above) there is some handling of "defaultOrg" and a "defaultPeer" and I assume that the peer is just the default organisation's default peer. At least in my network that is the case. However all my peers's status is "running". So maybe you should check your peers. Are all the ports open (7051-7054 usually)?

shahrukh1426 (Wed, 08 Aug 2018 11:26:08 GMT):
Has joined the channel.

RockyRacer (Wed, 08 Aug 2018 11:54:02 GMT):
You also see only one peer in network tab ?

RockyRacer (Wed, 08 Aug 2018 11:55:06 GMT):
Looking at the DashboardView.js file "Nodes" represent the number of peers

DrLana (Wed, 08 Aug 2018 12:09:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oZKacGeYzLWLYvCTF) @rajanashutosh I updated the org and peer keys. In addition, I am using grpc.

iDix (Wed, 08 Aug 2018 12:27:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wgDnhB2ZyEMrAxJmb) @RockyRacer Yes, the one I'd call the default organisation's default peer (first peer of first organisation as written in the config.json)

nfrunza (Wed, 08 Aug 2018 12:55:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JLn5NTxiFkYF7nz7Q) @rajanashutosh Would you please describe how you connect explorer to all 3 VMs?

nfrunza (Wed, 08 Aug 2018 12:55:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JLn5NTxiFkYF7nz7Q) @rajanashutosh Would you please describe how you connect explorer to all 3 VMs? and which OS you're running explorer? ubuntu, Windows, or macOS?

RockyRacer (Wed, 08 Aug 2018 13:11:26 GMT):
Do you also have hundreds of warning from your peer when Explorer is running ? `hyperledger_peer0.org1.example.com | 2018-08-08 13:07:39.840 UTC [server] validateStructure -> WARN 4e6 Request from 172.20.0.13:51660 is badly formed: +Envelope must have a Header`

iDix (Wed, 08 Aug 2018 13:51:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LepgwecKD27o55f5s) @nfrunza For me it works as follows: Two Peers and one Orderer all running on different VMs. Explorer is running natively on the Orderer, while Fabric runs inside containers. The connection is done via the config.json (for the peers the endpoints are specified via grpcs://[hostname]:[port] and for the port the hostname is replaced by the ip 127.0.0.1).

iDix (Wed, 08 Aug 2018 13:51:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KX4o9GyxG4YH3F4aM) @nfrunza No, these are correct. In the network tab there is only one peer for me

iDix (Wed, 08 Aug 2018 13:57:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Hnn27vh3AMTJ3FQLz) @RockyRacer I don't think so, but some stuff happened on the chain and I do not record the logs, so there might be at the beginning. Definitely not continous

nfrunza (Wed, 08 Aug 2018 14:16:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fW4Pf59YTMFSYJDDD) @iDix thanks for the reply, good to know

iDix (Wed, 08 Aug 2018 14:21:45 GMT):
@nfrunza However can you tell me whether the different peers should be there? And also another further issue: In the transactions tab the creator is always the MSP and not the peer. And it is also always the same MSP (I guess because its the channel MSP), but that seems like it is not how it's supposed to work?

nfrunza (Wed, 08 Aug 2018 14:24:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6m7JowadcFTidzDQd) @iDix "However can you tell me whether the different peers should be there?" are you referring to the Dashboard peers?

nfrunza (Wed, 08 Aug 2018 14:25:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KX4o9GyxG4YH3F4aM) "In the transactions tab the creator is always the MSP and not the peer. And it is also always the same MSP (I guess because its the channel MSP), but that seems like it is not how it's supposed to work?" The data for the transaction is persisted in DB based on the transaction header

iDix (Wed, 08 Aug 2018 14:26:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KX4o9GyxG4YH3F4aM) @nfrunza No, these are fine. But there is only one peer in the network tab.

nfrunza (Wed, 08 Aug 2018 14:30:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rPHdyZuiDwZo5bm76) @iDix i need to find out

coveloper (Wed, 08 Aug 2018 17:28:27 GMT):
Has joined the channel.

rajanashutosh (Thu, 09 Aug 2018 05:26:57 GMT):
@nfrunza , In my network I am using docker swarm to manage my cluster, with 3 VMs. VM1 (Swarm Leader)-> Contains my orderer and CLI. Same VM contains my Explorer code as well. Config,json is configured using the IP address of different VMs on which I have setup my organisations VM2 -> Org 1 & Org 2(CA, DB and Org container) VM3 -> Org 3 & Org 4 (CA, DB and Org container) Operating system info Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial

VenkateshMuthyala (Thu, 09 Aug 2018 07:45:16 GMT):

explorererror.png

VenkateshMuthyala (Thu, 09 Aug 2018 07:45:37 GMT):

explorercommandprompt.png

VenkateshMuthyala (Thu, 09 Aug 2018 07:46:59 GMT):
i am deploying explorer with composer (i tried with first network also i am getting the same error) plese help me

uhaider (Thu, 09 Aug 2018 07:55:33 GMT):
Has joined the channel.

VenkateshMuthyala (Thu, 09 Aug 2018 08:57:10 GMT):
hi guys plese help

VenkateshMuthyala (Thu, 09 Aug 2018 11:42:10 GMT):
is there any one

nfrunza (Thu, 09 Aug 2018 18:59:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EXb2xPgR8JYxdrgiL) @VenkateshMuthyala please try reach out to @jeevas

titog (Fri, 10 Aug 2018 01:23:34 GMT):
Hi guys, I am trying to use explorer and I am receiving during the start the following message:

titog (Fri, 10 Aug 2018 01:23:36 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer db error { error: Ident authentication failed for user "hppoc"

titog (Fri, 10 Aug 2018 01:24:11 GMT):
I have ran npm install and build following the README instructions...

titog (Fri, 10 Aug 2018 01:26:33 GMT):
not sure why it is not working

nfrunza (Fri, 10 Aug 2018 01:32:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Rraa9RTTdafhLk4Ee) @titog are you behind the proxy?

titog (Fri, 10 Aug 2018 01:32:31 GMT):
no, I am using Linux Community Cloud

rajanashutosh (Fri, 10 Aug 2018 14:54:26 GMT):
Hi All,

rajanashutosh (Fri, 10 Aug 2018 14:54:33 GMT):
Still waiting for a response on this

rajanashutosh (Fri, 10 Aug 2018 14:54:37 GMT):
In my network I am using docker swarm to manage my cluster, with 3 VMs. VM1 (Swarm Leader)-> Contains my orderer and CLI. Same VM contains my Explorer code as well. Config,json is configured using the IP address of different VMs on which I have setup my organisations VM2 -> Org 1 & Org 2(CA, DB and Org container) VM3 -> Org 3 & Org 4 (CA, DB and Org container) Operating system info Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial

rajanashutosh (Fri, 10 Aug 2018 14:55:19 GMT):
I am being shown always node as one. Peer status as down and in network page only one peer0

pgarneau (Fri, 10 Aug 2018 18:50:11 GMT):
Has joined the channel.

Russ.corsha (Fri, 10 Aug 2018 19:08:27 GMT):
Has joined the channel.

kisna (Fri, 10 Aug 2018 19:13:18 GMT):
Has joined the channel.

kisna (Fri, 10 Aug 2018 19:19:42 GMT):
@channel, Following Hyperledger explorer setup as is from https://github.com/hyperledger/blockchain-explorer updated blockchain-explorer/app/platform/fabric/config.json based on docker image hosted IPs composer-playground comes up fine where as blockchain-explorer does not 8f4dff119a70 hyperledger/fabric-peer:x86_64-1.1.0 "peer node start" 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com fa33673d4b86 hyperledger/fabric-orderer:x86_64-1.1.0 "orderer" 0.0.0.0:7050->7050/tcp orderer.example.com { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "/Users/rproddaturi/work/FUN/blockchain/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/Users/rproddaturi/work/FUN/blockchain/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "channel": "mychannel", "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpc://127.0.0.1:7050" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "fabric-path/fabric-samples/bin", "SYNC_START_DATE_FORMAT":"YYYY/MM/DD", "syncStartDate":"2018/01/01", "eventWaitTime": "30000", "host": "localhost", "port": "9000", "enableTls":false, "license": "Apache-2.0", "version": "1.1" }

kisna (Fri, 10 Aug 2018 19:31:40 GMT):
@channel Error: "rejecting - status:BAD_REQUEST" Following Hyperledger explorer setup as is from https://github.com/hyperledger/blockchain-explorer updated blockchain-explorer/app/platform/fabric/config.json based on docker image hosted IPs composer-playground comes up fine where as blockchain-explorer does not $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS 8f4dff119a70 hyperledger/fabric-peer:x86_64-1.1.0 "peer node start" 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com fa33673d4b86 hyperledger/fabric-orderer:x86_64-1.1.0 "orderer" 0.0.0.0:7050->7050/tcp orderer.example.com Customized config.json { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "blockchain/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "blockchain/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "channel": "mychannel", "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpc://127.0.0.1:7050" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "fabric-path/fabric-samples/bin", "SYNC_START_DATE_FORMAT":"YYYY/MM/DD", "syncStartDate":"2018/01/01", "eventWaitTime": "30000", "host": "localhost", "port": "9000", "enableTls":false, "license": "Apache-2.0", "version": "1.1" }

kisna (Fri, 10 Aug 2018 19:32:02 GMT):
@channel Error: "rejecting - status:BAD_REQUEST" If you are connecting to a non TLS fabric peer: please modify the protocol (grpcs->grpc) and port (9051-> 9050) in the peer url and remove the tls_cacerts :::::::: AFTER REMOVING GRPCS AND REBUILD/RESTART ::::::::::::::::::::::::::::::::::: ==> ./logs/app/app.log <== [2018-08-10 11:56:18.442] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. ==> ./logs/db/db.log <== [2018-08-10 11:56:18.461] [DEBUG] pgservice - the getRowByPkOne sql select count(1) as c from orderer where requests='grpc://127.0.0.1:7050' ==> ./logs/console/console.log-2018-08-10 <== error: [Orderer.js]: sendDeliver - rejecting - status:BAD_REQUEST Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) error: [Orderer.js]: sendDeliver - rejecting - status:BAD_REQUEST ==> ./logs/app/app.log <== [2018-08-10 11:56:18.472] [ERROR] blockscanner - Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) [2018-08-10 11:56:18.472] [ERROR] blockscanner - Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) ==> ./logs/console/console.log-2018-08-10 <== error: [Orderer.js]: sendDeliver - rejecting - status:BAD_REQUEST (node:29477) UnhandledPromiseRejectionWarning: Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) (node:29477) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:29477) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. ==> ./logs/app/app.log <== [2018-08-10 11:56:18.475] [DEBUG] Query - <<< Instantiated Chaincodes >>> [2018-08-10 11:56:18.475] [DEBUG] Query - name: basic-sample-network, version: 0.2.6, path: /var/folders/_w/nld6y9sn51l8rx6szf3jgvbxbkpdmv/T/businessnetwork11879-80644-gicls0.u3f8h ==> ./logs/console/console.log-2018-08-10 <== Failed to receive the block event ::Error: Received status message on the event stream. status:BAD_REQUEST error: [Orderer.js]: sendDeliver - rejecting - status:BAD_REQUEST (node:29477) UnhandledPromiseRejectionWarning: Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) (node:29477) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

kisna (Fri, 10 Aug 2018 19:32:10 GMT):
@channel Error: "rejecting - status:BAD_REQUEST"

kisna (Fri, 10 Aug 2018 19:32:27 GMT):
am I missing something?

kisna (Fri, 10 Aug 2018 19:33:29 GMT):
I see no issues on github or a google search for hyperledger-explorer shows no results

nfrunza (Fri, 10 Aug 2018 22:15:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=93t4jJZfHbZGB94kc) @titog did you run DB setup

kisna (Fri, 10 Aug 2018 23:14:11 GMT):
any idea, what is this BAD_REQUEST?

bh4rtp (Sat, 11 Aug 2018 00:29:39 GMT):
@rajanashutosh firstly get docker swarm running correctly. and then check your fabric network compose file. https://stackoverflow.com/questions/43113916/how-can-i-set-up-hyperledger-fabric-with-multiple-hosts-using-docker#

hypere (Sat, 11 Aug 2018 05:05:06 GMT):
Has joined the channel.

hypere (Sat, 11 Aug 2018 05:12:22 GMT):
What is the difference between hyperledger explorer and composer+rest API? If i need to do a demo on a blockchain project should I consider using the explorer or the composer+rest api? Thank yall

gmb 2 (Sun, 12 Aug 2018 04:41:20 GMT):
Has joined the channel.

rajanashutosh (Mon, 13 Aug 2018 07:21:22 GMT):
@bh4rtp - My docker swarm setup is running properly with all data replications across VMs properly. Even we have our own custom API which is able to place transactions which gets replication across VMS and orgs. And if it was VM issue how explorer is able to identify the peers in Dashboard section ?

rajanashutosh (Mon, 13 Aug 2018 08:26:17 GMT):
@bh4rtp @nfrunza -- What is the exact purpose of following files available in explorer /blockchain-explorer/app/platform/fabric/artifacts/channel$ ls CREATE-CHANNEL.md network-config-tls.yaml org1.yaml

nfrunza (Mon, 13 Aug 2018 11:51:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tza5h2vYqvTtXdsPD) @rajanashutosh in development, not for the use

nfrunza (Mon, 13 Aug 2018 12:28:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4PHv6DjDv9PKLDiTp) @rajanashutosh Would you be able to provide the steps how do you build, setup DB after you pull the code from git?

nfrunza (Mon, 13 Aug 2018 12:30:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rPfvKmMqXpESWp4y8) @rajanashutosh this will happen when you connect to fabric 1.2

rajanashutosh (Mon, 13 Aug 2018 12:48:52 GMT):
@nfrunza I am using hyperledger v1.1 only and not 1.2

rajanashutosh (Mon, 13 Aug 2018 12:49:25 GMT):
As per your suggestions have reverted from 1.2 to 1.1

rajanashutosh (Mon, 13 Aug 2018 12:50:39 GMT):
I followed the same exact steps as mentioned in the github site of explorer

rajanashutosh (Mon, 13 Aug 2018 12:50:40 GMT):
https://github.com/hyperledger/blockchain-explorer

rajanashutosh (Mon, 13 Aug 2018 12:50:47 GMT):
for complete setup

nfrunza (Mon, 13 Aug 2018 12:54:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FE88SpweuXYYbvgrz) @rajanashutosh do you use fabric samples?

rajanashutosh (Mon, 13 Aug 2018 12:55:12 GMT):
No, I am not using fabric samples. I am having my own customized application

nfrunza (Mon, 13 Aug 2018 12:55:56 GMT):
i want to see the printscreen after you run the : peer version

rajanashutosh (Mon, 13 Aug 2018 12:56:25 GMT):
from the containers ?

nfrunza (Mon, 13 Aug 2018 12:58:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bueoibxaueJu7cQTY) FYI we are testing based on the fabric samples and composer, and haven't used any other custom fabric networks

nfrunza (Mon, 13 Aug 2018 12:58:48 GMT):
i would like you to testy with fabric 1.1 sample and see if explorer works, the look what is different in your custom fa bric

rajanashutosh (Mon, 13 Aug 2018 13:00:06 GMT):
Ok, I would run fabric samples project, test and update you along with the version

rajanashutosh (Mon, 13 Aug 2018 13:01:14 GMT):

Clipboard - August 13, 2018 6:31 PM

rajanashutosh (Mon, 13 Aug 2018 13:01:19 GMT):
@nfrunza Also, I wanted to understand the below

rajanashutosh (Mon, 13 Aug 2018 13:01:36 GMT):
Block hash, is this related to current block hash ?

rajanashutosh (Mon, 13 Aug 2018 13:03:28 GMT):
How exactly are getting that information? I am using Java SDK to retrieve other info, but I couldn't find anywhere current block hash. When I checked node code for this, I could find that it's getting inserted into DB and from there its getting retrieved.

nfrunza (Mon, 13 Aug 2018 13:17:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WN6J6efDqx3QPZWJc) @rajanashutosh we are computing it, see blockchain-explorer/app/explorer/rest/logical/utils/fileUtils.js, ar generateBlockHash = async function(header) { let headerAsn = asn.define('headerAsn', function() { this.seq().obj( this.key('Number').int(), this.key('PreviousHash').octstr(), this.key('DataHash').octstr() ); });

nfrunza (Mon, 13 Aug 2018 13:19:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GLzPJuTdwQBtCH5kq) @rajanashutosh thanks, let see

rajanashutosh (Mon, 13 Aug 2018 13:48:11 GMT):
@nfrunza thanks

nfrunza (Mon, 13 Aug 2018 13:52:54 GMT):
welcome

kapilV (Tue, 14 Aug 2018 02:01:08 GMT):
Has joined the channel.

MariaHenderson (Tue, 14 Aug 2018 02:35:42 GMT):
Has joined the channel.

nfrunza (Tue, 14 Aug 2018 17:16:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=j4EAD7BXNSx3npvYY) @hypere Explorer connect to a hyperledger fabric compatible network and persists block, transactions, etc into a database and allows to view list of transactions, block and their details

the_andrewswu (Wed, 15 Aug 2018 14:21:49 GMT):
wrong version number

pwx603 (Wed, 15 Aug 2018 23:02:05 GMT):
Has joined the channel.

dayubian (Wed, 15 Aug 2018 23:30:28 GMT):
Has left the channel.

PatrikStas (Thu, 16 Aug 2018 04:42:20 GMT):
Has joined the channel.

JaccobSmith (Thu, 16 Aug 2018 05:13:10 GMT):
Has joined the channel.

JaccobSmith (Thu, 16 Aug 2018 06:33:48 GMT):
Hello,everyone ,I encountered a problem when I used the explorer:

JaccobSmith (Thu, 16 Aug 2018 06:33:56 GMT):

Clipboard - August 16, 2018 2:33 PM

JaccobSmith (Thu, 16 Aug 2018 06:34:52 GMT):
I didn't use a docker container for my explorer,just ran it on my host

JaccobSmith (Thu, 16 Aug 2018 06:35:04 GMT):
And my fabric network is on another host

JaccobSmith (Thu, 16 Aug 2018 06:36:03 GMT):
I have copied the related "crypto-config" ,and revised the config.json file

Kwaks (Thu, 16 Aug 2018 07:58:51 GMT):
Has joined the channel.

Adam_Hardie (Thu, 16 Aug 2018 10:42:19 GMT):
Has joined the channel.

Adam_Hardie (Thu, 16 Aug 2018 11:33:19 GMT):
hello, it seems the npm install does not work for the latest version 54581 verbose stack Error: pkcs11js@1.0.16 install: `node-gyp rebuild` 54581 verbose stack Exit status 1 54581 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16) 54581 verbose stack at emitTwo (events.js:106:13) 54581 verbose stack at EventEmitter.emit (events.js:191:7) 54581 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14) 54581 verbose stack at emitTwo (events.js:106:13) 54581 verbose stack at ChildProcess.emit (events.js:191:7) 54581 verbose stack at maybeClose (internal/child_process.js:920:16) 54581 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)

Adam_Hardie (Thu, 16 Aug 2018 11:53:51 GMT):
this is on centOS

Adam_Hardie (Thu, 16 Aug 2018 13:13:45 GMT):
im getting the same thing

Adam_Hardie (Thu, 16 Aug 2018 13:14:06 GMT):
it is caused by some bad network configuration

Adam_Hardie (Thu, 16 Aug 2018 13:14:30 GMT):
aparently when running explorer on diff network to fabric

Adam_Hardie (Thu, 16 Aug 2018 13:38:47 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/TROUBLESHOOT.md#possible-cause-3

nfrunza (Thu, 16 Aug 2018 13:39:42 GMT):
@Adam_Hardie thank you for the link

nfrunza (Thu, 16 Aug 2018 13:41:09 GMT):
@Adam_Hardie are you able to run explorer?

Adam_Hardie (Thu, 16 Aug 2018 13:41:19 GMT):
i am not .. im stuck on this isssue as well

Adam_Hardie (Thu, 16 Aug 2018 13:41:50 GMT):
i have 1 peer and 1 orderer on a network, but am receiving that error

Adam_Hardie (Thu, 16 Aug 2018 13:44:21 GMT):
ah in app/platform/fabric/config.json use the container names instead of the IP addresses

Adam_Hardie (Thu, 16 Aug 2018 13:53:04 GMT):
now i am getting error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: REQUEST_TIMEOUT at Timeout._onTimeout (/opt/go/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:124:19) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) error: [Client.js]: Failed Channels Query. Error: Error: REQUEST_TIMEOUT

nfrunza (Thu, 16 Aug 2018 14:02:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ojj3fFqvgY94rgR4h) @Adam_Hardie are you behind the firewall ?

Adam_Hardie (Thu, 16 Aug 2018 14:03:39 GMT):
no i am setting up Explorer on the same box as the hyperledger containers

Adam_Hardie (Thu, 16 Aug 2018 14:04:48 GMT):
```so just using eg "requests": "grpcs://localhost:7051", "events": "grpcs://localhost:7053", ```

Adam_Hardie (Thu, 16 Aug 2018 14:07:22 GMT):
is thre any other config i may have to do apart from app/platform/fabric/config.js?

nfrunza (Thu, 16 Aug 2018 14:07:30 GMT):
no

nfrunza (Thu, 16 Aug 2018 14:07:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BQ4Nh73ZEEEHzu7Ef) @Adam_Hardie is you fabric running ?

Adam_Hardie (Thu, 16 Aug 2018 14:08:06 GMT):
yes it is definitely running - i can interact with chaincode via peer0

nfrunza (Thu, 16 Aug 2018 14:08:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TGWNXCDgBqBkGmHG8) are you using fabric sample or other?

Adam_Hardie (Thu, 16 Aug 2018 14:08:33 GMT):
other

Adam_Hardie (Thu, 16 Aug 2018 14:08:44 GMT):
the same as basic network with one chaincode deployed

nfrunza (Thu, 16 Aug 2018 14:08:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aNfGP5JRQT9aQqGcT) @Adam_Hardie do you use fabric -ca?

Adam_Hardie (Thu, 16 Aug 2018 14:08:52 GMT):
yeah

nfrunza (Thu, 16 Aug 2018 14:09:01 GMT):
fabric-ca?

Adam_Hardie (Thu, 16 Aug 2018 14:09:09 GMT):
yep!

nfrunza (Thu, 16 Aug 2018 14:12:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tis6EzhWbcqBgvz73) @Adam_Hardie we did't test for it, and no support at this time

Adam_Hardie (Thu, 16 Aug 2018 14:12:15 GMT):
ahhh i see

Adam_Hardie (Thu, 16 Aug 2018 14:14:49 GMT):
do you think it is not compatible at all ?

nfrunza (Thu, 16 Aug 2018 14:15:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WBNWJiQfY96zD2rTR) @Adam_Hardie let's try a workaround

nfrunza (Thu, 16 Aug 2018 14:15:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WBNWJiQfY96zD2rTR) @Adam_Hardie let's try a workaround, create a folder in your local, crypto, copy all the files from the fabric crypto-config under it

nfrunza (Thu, 16 Aug 2018 14:19:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mZ39R4jgysP6oRAvy) copy .pem file from the fabric-ca under the same crypto folder

Adam_Hardie (Thu, 16 Aug 2018 14:29:17 GMT):
copy this into the Exporer app directory ?

Adam_Hardie (Thu, 16 Aug 2018 14:29:40 GMT):
sorry i just saw the top msg :)

nfrunza (Thu, 16 Aug 2018 14:29:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AJCABYMxgkDc6qxux) @Adam_Hardie not in explorer dir

nfrunza (Thu, 16 Aug 2018 14:31:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K9pgpBfooEnfisRBZ) once you have fabric-ca.pem file and crypto-config file in that dir, you'll have to configure in config.json to the crypto folder

Adam_Hardie (Thu, 16 Aug 2018 14:31:20 GMT):
got it

nfrunza (Thu, 16 Aug 2018 14:31:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vDh4hjxBHTcuWDKQw) let me knwo how it works

Adam_Hardie (Thu, 16 Aug 2018 14:37:56 GMT):
i got the same thing

Adam_Hardie (Thu, 16 Aug 2018 14:37:57 GMT):
12766 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/go/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /opt/go/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Channels Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/go/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /opt/go/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:583:15 (node:12766) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined at Platform.setChannels (/opt/go/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/Platform.js:188:26) at (node:12766) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)

Adam_Hardie (Thu, 16 Aug 2018 14:38:35 GMT):
my config is pointing at the new dir eg "tls_cacerts": "/opt/go/src/github.com/hyperledger/blockchain-explorer/crypto/crypto-config/

Adam_Hardie (Thu, 16 Aug 2018 14:40:38 GMT):
i moved the .pem as you mentioned into that directory but it isnt directly referenced

Adam_Hardie (Thu, 16 Aug 2018 14:41:31 GMT):
so the directory is -crypto xxx.pem -crypto-config -ordererOrganisations -- -peerOrganisations--

nfrunza (Thu, 16 Aug 2018 14:48:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GpmJ85q3QPsreuExt) @Adam_Hardie do you have and intermediate fabric-ca server ?

nfrunza (Thu, 16 Aug 2018 14:48:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GpmJ85q3QPsreuExt) @Adam_Hardie do you have an intermediate fabric-ca server ?

Adam_Hardie (Thu, 16 Aug 2018 14:54:30 GMT):
yes i do - fabric-ca-server container

nfrunza (Thu, 16 Aug 2018 14:54:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mHMKZ2YH7kfaPA2FK) @Adam_Hardie which .pem you copied to crypto folder?

Adam_Hardie (Thu, 16 Aug 2018 14:56:37 GMT):
the one from crypto-config/peerOrganizations/my_org/ca/ca.xxx.pem

nfrunza (Thu, 16 Aug 2018 14:59:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Yvn2as8dNjgtHnhyZ) @Adam_Hardie it may not work, i think the workflow is, admin user needs to be registered to the fabric-ca in order to get the handshake

Adam_Hardie (Thu, 16 Aug 2018 15:01:08 GMT):
there is an Admin user as per the config.json ; crypto-config/peerOrganizations/my_org/users/Admin@.../

Adam_Hardie (Thu, 16 Aug 2018 15:04:04 GMT):
that admin should be registered as I have used it to deploy chaincode ,etc

nfrunza (Thu, 16 Aug 2018 15:04:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=exXLWua5eTtjbdatX) @Adam_Hardie correct, it has to be registered with the fabric-ca

nfrunza (Thu, 16 Aug 2018 15:04:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=exXLWua5eTtjbdatX) @Adam_Hardie correct, it has to be registered with the fabric-ca, i know this theoretically , haven't tried

Adam_Hardie (Thu, 16 Aug 2018 15:10:30 GMT):
if i understand, the Admin is registered with fabric-ca-server instead of fabric-ca, and thus there is an issue interacting using the keys]

nfrunza (Thu, 16 Aug 2018 15:50:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ELiCFttdykSupf9Lw) @Adam_Hardie i can't tell your settings, but normally the intermediate needs to be registered to root fabric-ca in order to connect to it, and admin user registered with intermediate server

nfrunza (Thu, 16 Aug 2018 15:50:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ELiCFttdykSupf9Lw) @Adam_Hardie i can't tell your settings, but normally the intermediate needs to be registered to root fabric-ca in order to connect to it, and admin user registered with intermediate server, did you try to connect to you fabric using any API?

nfrunza (Thu, 16 Aug 2018 15:50:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ELiCFttdykSupf9Lw) @Adam_Hardie i can't tell your settings, but normally the intermediate needs to be registered to root fabric-ca in order to connect to it, and admin user registered with intermediate server, did you try to connect to you fabric using any API? i mean not from the CLI command

Adam_Hardie (Thu, 16 Aug 2018 15:52:54 GMT):
i can connect via a Java SDK app

nfrunza (Thu, 16 Aug 2018 15:53:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pHp2uvDFhsd3ykrqh) @Adam_Hardie i guess you can use the same

Adam_Hardie (Thu, 16 Aug 2018 15:53:35 GMT):
maybe i should get the ca pem from the container

nfrunza (Thu, 16 Aug 2018 15:53:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eqQHLRgpjYdXwN4HN) @Adam_Hardie container you mean fabric?

Adam_Hardie (Thu, 16 Aug 2018 15:54:35 GMT):
no i mean the fabric-ca-server container

nfrunza (Thu, 16 Aug 2018 15:54:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hSzuv73uEhGcHxuje) @Adam_Hardie yes, tah's the one you need

Adam_Hardie (Thu, 16 Aug 2018 15:58:48 GMT):
i have put it in the crypto directory

Adam_Hardie (Thu, 16 Aug 2018 15:59:27 GMT):
the directory is /opt/go/src/github.com/hyperledger/blockchain-explorer/crypto

Adam_Hardie (Thu, 16 Aug 2018 15:59:41 GMT):
and we have the ca-cert.pem there

Adam_Hardie (Thu, 16 Aug 2018 16:02:19 GMT):
hmmm

Adam_Hardie (Thu, 16 Aug 2018 16:02:21 GMT):
same thing again

Adam_Hardie (Thu, 16 Aug 2018 16:02:31 GMT):
thank you for your help so far

nfrunza (Thu, 16 Aug 2018 16:17:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pCJrRQaE7MDK33f3H) @Adam_Hardie welcome

JaccobSmith (Fri, 17 Aug 2018 02:36:48 GMT):
@Adam_Hardie I revised the config.json file with no-TLS ,and it works now

JaccobSmith (Fri, 17 Aug 2018 02:37:42 GMT):
Although I really want to use TLS :joy:

JaccobSmith (Fri, 17 Aug 2018 02:58:21 GMT):
Maybe it's because you did't have a peer with TLS

JaccobSmith (Fri, 17 Aug 2018 02:58:36 GMT):
@Adam_Hardie

JaccobSmith (Fri, 17 Aug 2018 03:53:46 GMT):
But I got another problem,in the peer container logs it says:

JaccobSmith (Fri, 17 Aug 2018 03:54:01 GMT):

Clipboard - August 17, 2018 11:53 AM

JaccobSmith (Fri, 17 Aug 2018 03:54:26 GMT):
and in the explorer logs/app/console.log ,it says:

JaccobSmith (Fri, 17 Aug 2018 03:54:44 GMT):

Clipboard - August 17, 2018 11:54 AM

JaccobSmith (Fri, 17 Aug 2018 03:55:06 GMT):
Last, my web shows the peer parts:

JaccobSmith (Fri, 17 Aug 2018 03:55:19 GMT):

Clipboard - August 17, 2018 11:55 AM

JaccobSmith (Fri, 17 Aug 2018 07:10:52 GMT):

Clipboard - August 17, 2018 3:10 PM

TBigjohn (Fri, 17 Aug 2018 07:25:42 GMT):
Has joined the channel.

TBigjohn (Fri, 17 Aug 2018 08:02:21 GMT):
Getting this error when trying to start explorer : SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10)

saeedi (Fri, 17 Aug 2018 08:08:21 GMT):
Has joined the channel.

skclusive (Fri, 17 Aug 2018 11:31:40 GMT):
Has joined the channel.

TBigjohn (Fri, 17 Aug 2018 13:01:54 GMT):
I don't see the folder /app/db in my install, any idea why ?

TBigjohn (Fri, 17 Aug 2018 13:02:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=72itc4s4PMTraYo4D) This one is fixed.

nfrunza (Fri, 17 Aug 2018 13:02:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qHkmBY7wxBhjezFmC) @JaccobSmith Please provide info: Fabric version, OS, Is your fabric behind the proxy, do you use fabric-ca server ?

nfrunza (Fri, 17 Aug 2018 13:02:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qHkmBY7wxBhjezFmC) @JaccobSmith Please provide info: Fabric version, OS, Is your fabric behind the proxy, do you use fabric-ca server, which branch you're using to build Explorer?

nfrunza (Fri, 17 Aug 2018 13:03:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=s46YJWw7a6L5sWhZx) @TBigjohn Did you follow up instructions in README?

TBigjohn (Fri, 17 Aug 2018 13:05:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8TqKb2i8XjCtZWmeu) @nfrunza Ahh most of them but let me check again !

TBigjohn (Fri, 17 Aug 2018 13:14:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mYywKdNbGniJnRCGG) @nfrunza Thanks !!

TBigjohn (Fri, 17 Aug 2018 13:23:00 GMT):
I already have a fabric network running with 2 nodes and a machine running composer that can deploy bna on those nodes. Explorer can be installed on a different machine, I don't need fabric to installed on the machine to have explorer running, correct ?

TBigjohn (Fri, 17 Aug 2018 14:49:34 GMT):
ok I got the main Hyperledger Explorer screen on my browser, "accessing network", "loading blocks", but it never give ma values .... the file log.log does not exist ....

nfrunza (Fri, 17 Aug 2018 15:09:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WmX4yCs4dnzL5cuNL) @TBigjohn Correct, use IP address of the fabric network

nfrunza (Fri, 17 Aug 2018 15:09:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=x5ugscmu2J8J9b7ih) @TBigjohn how do you start Explorer?

nfrunza (Fri, 17 Aug 2018 15:09:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=x5ugscmu2J8J9b7ih) @TBigjohn how do you start Explorer?, and logs are in blockchain-explorer/logs in 3 categories, app, db, and console

nfrunza (Fri, 17 Aug 2018 15:09:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=x5ugscmu2J8J9b7ih) @TBigjohn how do you start Explorer?, and logs are in blockchain-explorer/logs in 3 categories, app, db, and console. Example: /blockchain-explorer/logs/console

TBigjohn (Fri, 17 Aug 2018 15:22:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TkfnkgDiqCpmPWrkj) @nfrunza Thank you very much for your help but both of my issues are now fixed, both of them came from error within the config.json file.

nfrunza (Fri, 17 Aug 2018 15:24:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Xs99DBKTtQBqzhK9e) @TBigjohn Would you be able to let me know the branch you're using, and can you upload a printscreen of the Explorer (if that is not a security violation for you)

TBigjohn (Fri, 17 Aug 2018 15:24:18 GMT):
But just a last one, so to have Hyperledger seeing my network I have to fill-in this config .json file manually so if a new channel is created later it means that the web interface will not be updated automatically without the modification of the json file, correct ?

nfrunza (Fri, 17 Aug 2018 15:27:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RkMoFdmfmm3f2AAMj) @TBigjohn We are working on the discovery, and it is in progress, please keep checking on latest in blockchain-explorer branch for official release of fabric-1.2 integration , and it will discover the new channels dynamically

TBigjohn (Fri, 17 Aug 2018 15:50:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=s3LorSmdQnAdh4LXh) @nfrunza Ok Thanks

TBigjohn (Fri, 17 Aug 2018 15:52:32 GMT):
I am still locked on the following issue : https://stackoverflow.com/questions/51837690/err-bad-proposal-response-500-when-trying-to-join-channel If you have a chance but it's not about Explorer! But now I am going back home !!! Have a goog WE !!!

nfrunza (Fri, 17 Aug 2018 16:04:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TQZSfP6ACE779D4Cy) @TBigjohn welcome

nrohith (Fri, 17 Aug 2018 18:53:41 GMT):
Has joined the channel.

mrrah3413 (Sun, 19 Aug 2018 16:31:01 GMT):
Has joined the channel.

Smit95shah (Mon, 20 Aug 2018 18:18:21 GMT):
Has joined the channel.

bh4rtp (Tue, 21 Aug 2018 05:52:35 GMT):
@nfrunza how about support for fabric v1.2? still in progress or already released?

RockyRacer (Tue, 21 Aug 2018 06:04:16 GMT):
I have setup one with 1.2 and seem to work

nfrunza (Tue, 21 Aug 2018 12:13:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bFxabAZLT2zrdDJoP) @bh4rtp In progress

bdjidi (Tue, 21 Aug 2018 22:51:04 GMT):
Has joined the channel.

JaccobSmith (Wed, 22 Aug 2018 04:56:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gNeLS2naPoxBgiuBq) @RockyRacer Dose your explorer web show the network part accurately ?

RockyRacer (Wed, 22 Aug 2018 06:35:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tsY6m4HY6BxN9eKLT) @JaccobSmith No, still only the first peer of first organization

simonmullaney (Wed, 22 Aug 2018 10:25:13 GMT):
Has joined the channel.

simonmullaney (Wed, 22 Aug 2018 10:37:05 GMT):
Hey guys, just wondering if anyone had any experience on how to integrate hyperledger-explorer into an angular application that interacts with a business network on the IBM blockchain platform?

nfrunza (Wed, 22 Aug 2018 20:55:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sWAQwL9t8rar5iGcw) @simonmullaney HLExplorer is react js UI

NoorFairoza (Wed, 22 Aug 2018 21:34:01 GMT):
Has joined the channel.

NoorFairoza (Wed, 22 Aug 2018 21:34:03 GMT):
Hi. Could anyone help me connect with the IBMer working on Hyperledger Explorer.

nfrunza (Wed, 22 Aug 2018 23:38:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RSxgjFxji4M3JQkm6) @NoorFairoza I do not know if anyone from IBM is working on Explorer project, what is your question?

simonmullaney (Thu, 23 Aug 2018 07:59:22 GMT):
Thanks @nfrunza do you know if its in the roadmap to do it in angular as well?

nfrunza (Thu, 23 Aug 2018 11:38:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6rdJoWfchxh7ZoKLv) @simonmullaney Not that i know

nfrunza (Thu, 23 Aug 2018 11:39:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6rdJoWfchxh7ZoKLv) @simonmullaney You have the REST API, if you would like to contribute? It would be great.

AlanH 8 (Thu, 23 Aug 2018 17:57:20 GMT):
Has joined the channel.

JaccobSmith (Fri, 24 Aug 2018 03:00:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XvLN92f9CzvS53iJH) @nfrunza The fabric version 1.2 has changed the protobuf style of "service Admin" from "google.protobuf.empty" to "common.proto" ,so when explorer needs to access this service ,it should fit this change

JaccobSmith (Fri, 24 Aug 2018 03:10:06 GMT):
This is the reason that my web can't show the network part

nfrunza (Fri, 24 Aug 2018 12:20:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Hb8D8bPNWxMqZyR67) @JaccobSmith if you are using master branch we are supporting only fabric 1.1, the fabric-1.2 is in progress, but if you want to give a try use branch fab-1.2-integration, make sure you follow up README instructions

nfrunza (Fri, 24 Aug 2018 12:21:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Hb8D8bPNWxMqZyR67) @JaccobSmith and thank you for the update, we will look into, would you like to contribute to HLExplorer project?

kisna (Fri, 24 Aug 2018 17:47:36 GMT):
@channel Error: "rejecting - status:BAD_REQUEST" Following Hyperledger explorer setup as is from https://github.com/hyperledger/blockchain-explorer updated blockchain-explorer/app/platform/fabric/config.json based on docker image hosted IPs composer-playground comes up fine where as blockchain-explorer does not $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS 8f4dff119a70 hyperledger/fabric-peer:x86_64-1.1.0 "peer node start" 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com fa33673d4b86 hyperledger/fabric-orderer:x86_64-1.1.0 "orderer" 0.0.0.0:7050->7050/tcp orderer.example.com Customized config.json { "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com" }, "admin": { "key": "blockchain/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "blockchain/fabric-dev-servers/fabric-scripts/hlfv1/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "channel": "mychannel", "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpc://127.0.0.1:7050" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "fabric-path/fabric-samples/bin", "SYNC_START_DATE_FORMAT":"YYYY/MM/DD", "syncStartDate":"2018/01/01", "eventWaitTime": "30000", "host": "localhost", "port": "9000", "enableTls":false, "license": "Apache-2.0", "version": "1.1" } @channel Error: "rejecting - status:BAD_REQUEST" If you are connecting to a non TLS fabric peer: please modify the protocol (grpcs->grpc) and port (9051-> 9050) in the peer url and remove the tls_cacerts :::::::: AFTER REMOVING GRPCS AND REBUILD/RESTART ::::::::::::::::::::::::::::::::::: ==> ./logs/app/app.log <== [2018-08-10 11:56:18.442] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. ==> ./logs/db/db.log <== [2018-08-10 11:56:18.461] [DEBUG] pgservice - the getRowByPkOne sql select count(1) as c from orderer where requests='grpc://127.0.0.1:7050' ==> ./logs/console/console.log-2018-08-10 <== error: [Orderer.js]: sendDeliver - rejecting - status:BAD_REQUEST Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) error: [Orderer.js]: sendDeliver - rejecting - status:BAD_REQUEST ==> ./logs/app/app.log <== [2018-08-10 11:56:18.472] [ERROR] blockscanner - Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) [2018-08-10 11:56:18.472] [ERROR] blockscanner - Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14)

kisna (Fri, 24 Aug 2018 17:47:37 GMT):
==> ./logs/console/console.log-2018-08-10 <== error: [Orderer.js]: sendDeliver - rejecting - status:BAD_REQUEST (node:29477) UnhandledPromiseRejectionWarning: Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) (node:29477) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:29477) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. ==> ./logs/app/app.log <== [2018-08-10 11:56:18.475] [DEBUG] Query - <<< Instantiated Chaincodes >>> [2018-08-10 11:56:18.475] [DEBUG] Query - name: basic-sample-network, version: 0.2.6, path: /var/folders/_w/nld6y9sn51l8rx6szf3jgvbxbkpdmv/T/businessnetwork11879-80644-gicls0.u3f8h ==> ./logs/console/console.log-2018-08-10 <== Failed to receive the block event ::Error: Received status message on the event stream. status:BAD_REQUEST error: [Orderer.js]: sendDeliver - rejecting - status:BAD_REQUEST (node:29477) UnhandledPromiseRejectionWarning: Error: Invalid results returned ::BAD_REQUEST at ClientDuplexStream. (blockchain/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:229:22) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (blockchain/blockchain-explorer/node_modules/grpc/src/client.js:312:14) (node:29477) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) @channel Error: "rejecting - status:BAD_REQUEST" am I missing something? I see no issues on github or a google search for hyperledger-explorer shows no results

kisna (Fri, 24 Aug 2018 17:47:49 GMT):
any idea, what is this BAD_REQUEST?

nfrunza (Fri, 24 Aug 2018 18:35:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5Ywoiqrh9CvojypBr) @kisna Is this build from the master branch?

nfrunza (Fri, 24 Aug 2018 18:35:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5Ywoiqrh9CvojypBr) @kisna Is this build from the master branch? what is you fabric version and which OS do you use?

nfrunza (Fri, 24 Aug 2018 18:35:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5Ywoiqrh9CvojypBr) @kisna Is this build from the master branch? what is you fabric version and which OS do you use?

nfrunza (Fri, 24 Aug 2018 18:35:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5Ywoiqrh9CvojypBr) @kisna Is this build from the master branch? what is you fabric version and which OS do you use? Are you behind the proxy?

kisna (Fri, 24 Aug 2018 18:39:25 GMT):
@nfrunza , no proxy, macOS

kisna (Fri, 24 Aug 2018 18:39:44 GMT):
latest fabric version as per the https://github.com/hyperledger/blockchain-explorer setup

kisna (Fri, 24 Aug 2018 18:40:31 GMT):
Following Hyperledger explorer setup as is from https://github.com/hyperledger/blockchain-explorer

nfrunza (Fri, 24 Aug 2018 19:06:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=B83hQ59D7NuzNgKck) @kisna is your fabric network TLS enabled?

nfrunza (Fri, 24 Aug 2018 19:06:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=B83hQ59D7NuzNgKck) @kisna is your fabric network TLS enabled? and do you use fabric-ca server?

Arindam (Fri, 24 Aug 2018 20:55:25 GMT):
Hi I have created a 3 orgs and two peers and one channel setup

Arindam (Fri, 24 Aug 2018 20:55:52 GMT):
but during testing it is showing 22 passing (90ms) 3 failing 1) config.json should contain properties should contain configtxgenToolPath property: AssertionError [ERR_ASSERTION]: null != undefined at Context. (configtest.js:12:12) 2) config.json should contain properties should contain syncStartDate property: AssertionError [ERR_ASSERTION]: null != undefined at Context. (configtest.js:17:12) 3) getDefaultOrg() should return String Org: TypeError: Cannot use 'in' operator to search for 'name' in channel1channel at keys.forEach.key (/root/blockchain-explorer/app/platform/fabric/Configuration.js:23:20) at Array.forEach () at Configuration.getDefaultOrg (/root/blockchain-explorer/app/platform/fabric/Configuration.js:21:12) at Context. (configurationtest.js:11:20)

Arindam (Fri, 24 Aug 2018 20:56:16 GMT):
My config file is: { "network-config": { "org1": { "name": "Org1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.net", "tls_cacerts": "/root/project/network/crypto-config/peerOrganizations/org1.net/peers/peer0.org1.net/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:8051", "events": "grpcs://127.0.0.1:8053", "server-hostname": "peer1.org1.net", "tls_cacerts": "/root/project/network/crypto-config/peerOrganizations/org1.net/peers/peer1.org1.net/tls/ca.crt" }, "admin": { "key": "/root/project/network/crypto-config/peerOrganizations/org1.net/users/Admin@org1.net/msp/keystore", "cert": "/root/project/network/crypto-config/peerOrganizations/org1.net/users/Admin@org1.net/msp/signcerts" } }, "org2": { "name": "Org2", "mspid": "Org2MSP", "peer1": { "requests": "grpcs://127.0.0.9051", "events": "grpcs://127.0.0.9053", "server-hostname": "peer0.org2.net", "tls_cacerts": "/root/project/network/crypto-config/peerOrganizations/org2.net/peers/peer0.org2.net/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:10051", "events": "grpcs://127.0.0.1:10053", "server-hostname": "peer1.org2.net", "tls_cacerts": "/root/project/network/crypto-config/peerOrganizations/org2.net/peers/peer1.org2.net/tls/ca.crt" }, "admin": { "key": "/root/project/network/crypto-config/peerOrganizations/org2.net/users/Admin@org2.net/msp/keystore", "cert": "/root/project/network/crypto-config/peerOrganizations/org2.net/users/Admin@org2.net/msp/signcerts" } }, "org3": { "name": "Org3", "mspid": "Org3MSP", "peer1": { "requests": "grpcs://127.0.0.1:11051", "events": "grpcs://127.0.0.1:11053", "server-hostname": "peer0.org3.net", "tls_cacerts": "/root/project/network/crypto-config/peerOrganizations/org3.net/peers/peer0.org3.net/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:12051", "events": "grpcs://127.0.0.1:12053", "server-hostname": "peer1.org3.net", "tls_cacerts": "/root/project/network/crypto-config/peerOrganizations/org3.net/peers/peer1.org3.net/tls/ca.crt" }, "admin": { "key": "/root/project/network/crypto-config/peerOrganizations/org3.net/users/Admin@org3.net/msp/keystore", "cert": "/root/project/network/crypto-config/peerOrganizations/org3.net/users/Admin@org3.net/msp/signcerts" } }, "channel": "channel1channel", "orderers": [{ "mspid": "OrdererMSP", "server-hostname": "orderer.orderer.net", "requests": "grpcs://127.0.0.1:7050", "tls_cacerts": "/root/project/network/crypto-config/ordererOrganizations/orderer.net/orderers/orderer.orderer.net/tls/ca.crt" }], "keyValueStore": "/tmp/fabric-client-kv-org1", "configtxgenToolPath": "/root/project/network/config", "SYNC_START_DATE_FORMAT": "YYYY/MM/DD", "syncStartDate": "2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" } }

Arindam (Fri, 24 Aug 2018 20:57:33 GMT):
So, my question is what should I mention in keyValueStore path as I have 3 key value store for each org and the cofig file is fine but still it is showing some path is missing. Please help

Arindam (Sat, 25 Aug 2018 02:29:00 GMT):
Can any one please help on the error: *postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:7505) UnhandledPromiseRejectionWarning: TypeError: Cannot use 'in' operator to search for 'name' in channel1channel at keys.forEach.key (/root/project/network/blockchain-explorer/app/platform/fabric/Configuration.js:23:20) at Array.forEach ()*

Arindam (Sat, 25 Aug 2018 02:29:30 GMT):
all tables are created but no data there, and during start.sh the log is giving

Arindam (Sat, 25 Aug 2018 02:29:51 GMT):
my channel name is "channel1channel"

nfrunza (Sat, 25 Aug 2018 02:42:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qvSQ56nZk2JMz8BKk) @Arindam Did you run npm install, or did you follow up on README.md, and what branch did you build from? make sure master is supporting fabric-1.1, and you should not be behind the proxy

nfrunza (Sat, 25 Aug 2018 02:43:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=u57hm4t5TQr3uLZoE) @Arindam keyValueStore doesn't need to be modified

nfrunza (Sat, 25 Aug 2018 02:58:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qvSQ56nZk2JMz8BKk) @Arindam Is you fabric up and running, do you use fabric-sample/first-network, or you created it?

Arindam (Sat, 25 Aug 2018 08:38:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CrPW2sYiY38qkXf72) @nfrunza I have created the network and fabric is running fine

Arindam (Sat, 25 Aug 2018 08:42:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HEHtkiqTsnp4Ayd9N) @nfrunza yes with that also, but same result

Arindam (Sat, 25 Aug 2018 14:52:15 GMT):
PASS src/components/Main.spec.js PASS src/components/View/BlocksView.spec.js PASS src/components/View/TransactionView.spec.js PASS src/components/View/TransactionsView.spec.js PASS src/components/Lists/TimelineStream.spec.js PASS src/components/Lists/Peers.spec.js PASS src/components/Lists/Channels.spec.js RUNS src/components/View/LandingPage.spec.js /home/ubuntu/project/network/blockchain-explorer/client/node_modules/react-scripts/scripts/test.js:20 throw err; ^ TypeError: getBlockActivity is not a function

Arindam (Sat, 25 Aug 2018 16:08:45 GMT):
I have commented that line

Arindam (Sat, 25 Aug 2018 16:09:06 GMT):
now somehow it is up, but postgresql is failing with authentication error

Arindam (Sat, 25 Aug 2018 16:09:18 GMT):
so, table is not populating

Arindam (Sat, 25 Aug 2018 16:09:30 GMT):
any special configuration I need to make for it

Arindam (Sat, 25 Aug 2018 16:09:38 GMT):
createdb script is working good

Arindam (Sat, 25 Aug 2018 16:09:53 GMT):
but during application start up it saying connection error

Arindam (Sat, 25 Aug 2018 16:10:45 GMT):
Insert sql is INSERT INTO orderer ( "requests","server_hostname" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 1 error: [Remote.js]: Error: Failed to connect before the deadline error: [Remote.js]: Error: Failed to connect before the deadline Error: Failed to connect before the deadline at checkState (/home/ubuntu/project/network/blockchain-explorer/node_modules/grpc/src/client.js:838:16) error: [Remote.js]: Error: Failed to connect before the deadline

nfrunza (Sat, 25 Aug 2018 22:11:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YxpKFhwopXkQTP82v) @Arindam Please follow up README, do the necessary steps

nfrunza (Sat, 25 Aug 2018 22:11:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YxpKFhwopXkQTP82v) @Arindam Please follow up README, do the necessary steps

malviyamukul (Mon, 27 Aug 2018 05:43:17 GMT):
Has joined the channel.

bh4rtp (Mon, 27 Aug 2018 06:17:05 GMT):
for my own network, how can i customize the configuration of `blockchain-explorer`?

bh4rtp (Mon, 27 Aug 2018 06:18:16 GMT):
now, i got an error when starting blockchain-explorer: ```/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/main.js:74 server.on('connection', connection => { ^ TypeError: Cannot read property 'on' of undefined```

krabradosty (Mon, 27 Aug 2018 10:49:26 GMT):
Hi! What is the last stable version? Tag 0.3.5 is not working for me.

Javi (Mon, 27 Aug 2018 10:52:12 GMT):
Has joined the channel.

nfrunza (Mon, 27 Aug 2018 12:12:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MnfqgCZFM3D2xe9yj) @krabradosty Did you run DB Setup?, and did you npm install after you git pull?

nfrunza (Mon, 27 Aug 2018 12:16:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9wcPgzrJgrKYhN8fs) @bh4rtp Is your own network behind the proxy, and are you using fabric-ca server? is it on you local or is a remote ? did you follow instructions in README?

VipinB (Mon, 27 Aug 2018 16:15:30 GMT):
Has joined the channel.

VipinB (Mon, 27 Aug 2018 16:18:53 GMT):
Hi, can HL explorer be expressed as a library that can be integrated into a custom built UI. Or are the facilities exposed by Fabric 1.2 enough for block exploring. Does HL explorer only work with Fabric? Or is it generalized to work with other DLTs in HL? Does seem to be targeted for Fabric only currently...

nfrunza (Mon, 27 Aug 2018 16:26:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Mi7p3hfyt7YaRAA3D) @VipinB HLExplorer has a REST API that can be used with other UI, currently we are using reactjs as UI, and we support only HLFabric compatible networks

vave (Mon, 27 Aug 2018 16:29:54 GMT):
Has joined the channel.

vave (Mon, 27 Aug 2018 16:31:10 GMT):
hey guys ,I deploy explorer successfully, other data was right but the network it seems only loaded the first one in the config.json.any suggestions?thx a lot ~

nfrunza (Mon, 27 Aug 2018 16:32:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ybSbFgagEzcQrRxYn) @vave Is it from master branch? if yes, we are working on that bug, master branch works with fabric 1.1

vave (Mon, 27 Aug 2018 16:33:20 GMT):
yes it is master branch .I follow this from 3.3 to 3.5.it seems still ,not fixed

nfrunza (Mon, 27 Aug 2018 16:33:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zkMHXDCGWiohYjTzZ) @vave You can . try release-3.6 branch, it works with fabric 1.2

nfrunza (Mon, 27 Aug 2018 16:33:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zkMHXDCGWiohYjTzZ) @vave You can . try release-3.6 branch, it works with fabric 1.2, it is not yes a stable release

nfrunza (Mon, 27 Aug 2018 16:33:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zkMHXDCGWiohYjTzZ) @vave You can . try release-3.6 branch, it works with fabric 1.2, it is not yet a stable release

vave (Mon, 27 Aug 2018 16:34:55 GMT):
oh but our hyperledger already online with fabric 1.1

vave (Mon, 27 Aug 2018 16:38:16 GMT):
how could I solve this with fabric 1.1? I dig a little deeper , I know the problem is in platform.js ,you using default peer ,and at 1.1 no sdk can acquire a channel contains which peers ,so you solved this in 1.2 ,right?

nfrunza (Mon, 27 Aug 2018 16:40:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bApsQDLf68TzSkMz6) @vave Fabric 1.2 has a discovery API, give a try, i assure you will like it

vave (Mon, 27 Aug 2018 16:41:29 GMT):
I know I will, but my colleague who deploy this with 1.1 sure will not.

vave (Mon, 27 Aug 2018 16:41:45 GMT):
Have to persuade him first ,anyway ,thx

vave (Mon, 27 Aug 2018 16:44:27 GMT):
@nfrunza btw, any ETA

vave (Mon, 27 Aug 2018 16:44:33 GMT):
any ETA on 3.6?

nfrunza (Mon, 27 Aug 2018 17:13:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LFCfkJJoMtPJXXPRG) @vave you are referring for the fix? or the release-3.6

vave (Mon, 27 Aug 2018 17:22:41 GMT):
the release-3.6

nfrunza (Mon, 27 Aug 2018 17:26:05 GMT):
i think within next 2 weeks or more

vave (Mon, 27 Aug 2018 17:27:31 GMT):
ok ,thx for your help~

nfrunza (Mon, 27 Aug 2018 17:43:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NFKRktkub8zC8cmk9) @vave welcom, is any one interested in contributing?

vave (Mon, 27 Aug 2018 17:44:48 GMT):
I'm interested actually ,but don't know where to start

VipinB (Mon, 27 Aug 2018 17:47:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XExfZa8duESRCnPo5) @nfrunza Thanks @nfrunza. In the context of the Fabric 1.2 peer channel based eventing architecture, how does the explorer add value for blockexploration for Fabric? Are there additional features available in HL Explorer? Are there eventing based REST calls in HL Explorer- will take a detailed look at the API itself. Thanks again

nfrunza (Mon, 27 Aug 2018 18:25:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WpQJ3sxXWDqbaMtYz) @VipinB We added discovery of the channels that are broadcasted by the fabric, it will be available in upcoming release, auto refresh of the channel list, and blocks

VipinB (Mon, 27 Aug 2018 18:29:16 GMT):
Thanks @nfrunza Should I be looking at github for the api or do you have documentation accessible from hyperledger wiki. I will check it out.

nfrunza (Mon, 27 Aug 2018 18:57:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TFZc2Mcg79SeTGsd2) @VipinB we have a SWAGGER, search in RADME for it

WCamaly (Mon, 27 Aug 2018 20:58:19 GMT):
Has joined the channel.

NiK0 2 (Mon, 27 Aug 2018 21:06:39 GMT):
Has joined the channel.

WCamaly (Mon, 27 Aug 2018 21:07:13 GMT):
Hello everyone, I need help. I try to configure the block browser on another server. I do not know how to get the pair's tls. Does anyone know how I can do?

nicolas.alfonso (Mon, 27 Aug 2018 21:58:08 GMT):
Has joined the channel.

bh4rtp (Tue, 28 Aug 2018 00:35:28 GMT):
@nfrunza it is on local using fabric-ca server with 5 channels and 2 orgs.

BarryMcLaughlin (Tue, 28 Aug 2018 10:01:13 GMT):
Has joined the channel.

BarryMcLaughlin (Tue, 28 Aug 2018 10:05:43 GMT):
Just a note for others having trouble getting explorer running under docker. It wasn't working for me and in the app.log was seeing this error: [2018-08-28 08:27:25.019] [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/opt/explorer/app/platform/fabric/Proxy.js:249:43) at Platform.setChannels (/opt/explorer/app/platform/fabric/Platform.js:194:35) at Platform.initialize (/opt/explorer/app/platform/fabric/Platform.js:155:16) at Function.build (/opt/explorer/app/platform/PlatformBuilder.js:11:22) at platformroutes (/opt/explorer/app/explorer/rest/platformroutes.js:14:36) at Explorer.initialize (/opt/explorer/app/explorer/Explorer.js:40:13) at at process._tickCallback (internal/process/next_tick.js:188:7) Some digging around the code, in configuration.js, found that it expects the org sections defined under network-config in config.json to contain the string "org". My original config, yielding above error, was similar to this: { "network-config": { "myCompany": { "name": "myCompany", "mspid": "myCompanyMSP", "peer1": ... changing config.json to look like the example below resolved the issue { "network-config": { "orgMyCompany": { "name": "myCompany", "mspid": "myCompanyMSP", "peer1": ...

nfrunza (Tue, 28 Aug 2018 12:06:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Jkn9fxNhxWMucPQhM) @WCamaly Your fabric network is running on another server?

nfrunza (Tue, 28 Aug 2018 12:06:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Jkn9fxNhxWMucPQhM) @WCamaly Your fabric network is running on another server? And is the network behind the proxy? Normally you would need to copy the the certs into some folder in the same machine explorer would run and configure config.json to the new folder you copied the certs

WCamaly (Tue, 28 Aug 2018 12:57:58 GMT):
yes, the Fabric network if it runs on another server. Is there a way to get it from frabric-ca?

WCamaly (Tue, 28 Aug 2018 12:58:35 GMT):
@nfrunza

WCamaly (Tue, 28 Aug 2018 13:00:10 GMT):
i get the user ca for fabric-ca, but i need the tls from peers

nfrunza (Tue, 28 Aug 2018 13:04:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pLth3qXAAJvaYFead) @WCamaly we are not supporting fabric-ca in Explorer

WCamaly (Tue, 28 Aug 2018 13:13:51 GMT):
well, i maked that support fabric-ca

push1st1k (Wed, 29 Aug 2018 09:48:26 GMT):
Has joined the channel.

nfrunza (Wed, 29 Aug 2018 12:26:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kqfctwabtQt7pwAZZ) @WCamaly WCamaly would you like to contribute to HLExplorer?

nfrunza (Wed, 29 Aug 2018 12:27:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TFZc2Mcg79SeTGsd2) @VipinB VipinB, would you like to contribute to HLExplorer

WCamaly (Wed, 29 Aug 2018 13:14:30 GMT):
@nfrunza yea i would like it

lepar (Wed, 29 Aug 2018 13:18:41 GMT):
Has joined the channel.

nfrunza (Wed, 29 Aug 2018 13:28:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=goMcAMnBFyMw2Jesp) @WCamaly would you be able to attend SCRUM meeting in EST timezone?

nfrunza (Wed, 29 Aug 2018 13:28:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ftWXeuBmWeD3AQXqh) could 1-2 times a week

nfrunza (Wed, 29 Aug 2018 13:32:48 GMT):
Dear Sir and Madam, we need contributors for HLExplorer, if you wish to contribute please let me know @nfrunza

WCamaly (Wed, 29 Aug 2018 13:57:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ftWXeuBmWeD3AQXqh) @nfrunza what time is meeting?

nfrunza (Wed, 29 Aug 2018 14:01:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ebr6uLurotzQRbfpE) @WCamaly 8.30 EST

WCamaly (Wed, 29 Aug 2018 14:05:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QNcZKhxMRCDa5ePg9) @nfrunza i'm little bussy this week, maybe next week

nfrunza (Wed, 29 Aug 2018 14:19:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7b5dyXzZXvu78f8kg) @WCamaly sure, let me know, are yiu in US, or offshore?

abityildiz (Wed, 29 Aug 2018 14:27:38 GMT):
Has joined the channel.

abityildiz (Wed, 29 Aug 2018 14:28:54 GMT):

Clipboard - August 29, 2018 5:28 PM

WCamaly (Wed, 29 Aug 2018 14:51:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HZ9tNLbtqBszFp5ub) @nfrunza I'm from Argentina.

push1st1k (Wed, 29 Aug 2018 14:52:24 GMT):
the deadline

nfrunza (Wed, 29 Aug 2018 14:52:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6MCfAZ95zzk9QmJox) @abityildiz please run DB setup, you do not have table blocks

nfrunza (Wed, 29 Aug 2018 15:54:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5CNsNN4RXf36pAPE6) @WCamaly Welcome

WCamaly (Wed, 29 Aug 2018 16:09:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7MRCcTnmMLzagETQT) @nfrunza Thanks!

VipinB (Wed, 29 Aug 2018 16:18:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oSnqvqBa3BNer4Dcf) @nfrunza @nfrunza I am in several Hyperledger related groups- Identity, Architecture, PSWG etc. and I am doing some research on the different groups. When I have time to spare I will certainly contribute. Right now I am just lurking.

nfrunza (Wed, 29 Aug 2018 16:44:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WXaRdTkJi9uc7RWEg) @VipinB Thank you

abityildiz (Wed, 29 Aug 2018 19:17:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6PBQ2NubSffZzL2eG) @nfrunza where is the db setup script?i i did'not find github repo https://github.com/hyperledger/blockchain-explorer.the ./createdb.sh file not working

nfrunza (Wed, 29 Aug 2018 19:18:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yE487LTSk6g7Af8ju) @abityildiz which branch are you using?

nfrunza (Wed, 29 Aug 2018 19:18:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yE487LTSk6g7Af8ju) @abityildiz which branch are you using? please use master branch and follow up on READEME instructions

nfrunza (Wed, 29 Aug 2018 19:18:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yE487LTSk6g7Af8ju) @abityildiz which branch are you using? please use master branch and follow up on README, https://github.com/hyperledger/blockchain-explorer/tree/release-3.5#Database-Setup instructions

abityildiz (Wed, 29 Aug 2018 19:25:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZTZey9Q9JjZPTEhWq) @nfrunza okay, I got it.thanks.

nfrunza (Wed, 29 Aug 2018 19:32:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=a7pnmDijZ3Zz58bpN) @abityildiz welcome, a lot to read :)

abityildiz (Wed, 29 Aug 2018 19:40:52 GMT):

Clipboard - August 29, 2018 10:39 PM

abityildiz (Wed, 29 Aug 2018 19:40:52 GMT):

Clipboard - August 29, 2018 10:39 PM

nfrunza (Wed, 29 Aug 2018 19:50:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ScE6YvXxoY4aeFCYf) @abityildiz which fabric version you're using?

nfrunza (Wed, 29 Aug 2018 19:50:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ScE6YvXxoY4aeFCYf) @abityildiz which fabric version you're using? Hyperledger Explorer works with Hyperledger Fabric 1.1. Install the following software dependencies to manage fabric network.

abityildiz (Wed, 29 Aug 2018 19:54:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zMpKKraoEz4YZooKS) @nfrunza i am using fabric 1.2. Is there anybody who is running with fabric 1.2?

nfrunza (Wed, 29 Aug 2018 19:55:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wdiygxJuXXbQbdNRv) @abityildiz please do not distribute, you can try using release-3.6, it is in development phase and it is not a stable version

abityildiz (Wed, 29 Aug 2018 20:08:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=58ZF9LGzn6qQLtre2) @nfrunza i did not find 3.6 candicate version https://github.com/hyperledger/blockchain-explorer/releases .ok,i will expect to 3.6

nfrunza (Wed, 29 Aug 2018 20:13:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KgbYryti56QjJ9y3a) @abityildiz https://github.com/hyperledger/blockchain-explorer/tree/release-3.6

miiiiiyoung (Thu, 30 Aug 2018 02:08:31 GMT):
Hi everyone. I have a problem to start blockchain-explorer. when i started blockchain-explorer, this error has occurred. ```error: [Orderer.js]: sendDeliver - rejecting - status:NOT_FOUND (node:89375) UnhandledPromiseRejectionWarning: Error: Invalid results returned ::NOT_FOUND at ClientDuplexStream. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:230:23) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:312:14) ``` And orderer container's log is that. ```2018-08-30 01:58:06.932 UTC [common/deliver] deliverBlocks -> ERRO f0aa [channel: honeybeechannel] Error reading from channel, cause was: NOT_FOUND 2018-08-30 01:58:06.932 UTC [common/deliver] deliverBlocks -> ERRO f0ac [channel: honeybeechannel] Error reading from channel, cause was: NOT_FOUND 2018-08-30 01:58:06.932 UTC [common/deliver] deliverBlocks -> ERRO f0ab [channel: honeybeechannel] Error reading from channel, cause was: NOT_FOUND 2018-08-30 01:58:06.932 UTC [common/deliver] deliverBlocks -> ERRO f0ad [channel: honeybeechannel] Error reading from channel, cause was: NOT_FOUND 2018-08-30 01:58:06.971 UTC [common/deliver] deliverBlocks -> ERRO f0ae [channel: honeybeechannel] Error reading from channel, cause was: NOT_FOUND ``` I'm already setting db, network-config.json and my custom blockchian network is running without any errors. (I'm using Hyperledger Fabric 1.2 version.) blockchain-explorer was running without this error, at once. But, suddenly this error has occurred. I don't know why this error has occurred and how can i do to resolve this problem. Please help me anyone... T.T

miiiiiyoung (Thu, 30 Aug 2018 02:09:48 GMT):

status:NOT_FOUND error

miiiiiyoung (Thu, 30 Aug 2018 02:10:12 GMT):
This is blockchain-explorer error logs.

jiangyaoguo (Thu, 30 Aug 2018 02:16:53 GMT):
Has joined the channel.

gut (Thu, 30 Aug 2018 07:24:20 GMT):
Has joined the channel.

gut (Thu, 30 Aug 2018 07:25:27 GMT):
Is it possible (or someone needed it) to have the same instance of an explorer in an isolated machine to host more than one network?

nfrunza (Thu, 30 Aug 2018 15:39:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bYchbgj5fPZaeZgSD) @miiiiiyoung which branch/release are you using?

miiiiiyoung (Thu, 30 Aug 2018 23:51:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=StSvJzmAhrzDRbZaq) @nfrunza I'm using blockchain-explorer 0.3.3 version. And 0.3.5 version is also has this problem.

nfrunza (Fri, 31 Aug 2018 02:10:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DEogud9WhpibDfkau) @miiiiiyoung which fabric version are you using? can you check your fabric network?

miiiiiyoung (Fri, 31 Aug 2018 02:16:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=k7D6egddLi6o69vuE) @nfrunza I'm using Fabric version 1.2.0. Yes, My fabric 1.2 network is working well.

bh4rtp (Fri, 31 Aug 2018 02:59:08 GMT):
@nfrunza does the latest block-explorer support fabric v1.2?

sureshtedla (Fri, 31 Aug 2018 07:25:06 GMT):
Hi guys I have generated composer rest server for single organisation my question is how to connect composer rest server with hyperledger explorer? Can any one help me

nfrunza (Fri, 31 Aug 2018 13:01:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fvjo4E4pHKMWRh8Y5) @sureshtedla look in README of HLExplorer steps to connect to composer, make sure you use master branch, and you fabric version is 1.1

nfrunza (Fri, 31 Aug 2018 13:01:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fvjo4E4pHKMWRh8Y5) @sureshtedla look in README of HLExplorer steps to connect to composer, make sure you use master branch, and your fabric version is 1.1

nfrunza (Fri, 31 Aug 2018 13:02:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TWF2RupkKtHC59HbZ) @bh4rtp you can try development branch release-3.6

dharuq (Sat, 01 Sep 2018 14:35:32 GMT):
Is it possible to know how many transactions per second is done using explorer?

nfrunza (Sat, 01 Sep 2018 21:20:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZgygGxiMan7SCEQQx) @dharuq HLExplorer doesn't submit transactions, we are displaying what HLFabric broadcasts to it's clients

jpgalmeida (Sun, 02 Sep 2018 09:57:53 GMT):
Has joined the channel.

dharuq (Sun, 02 Sep 2018 10:01:33 GMT):
Yes, I know.. but in explorer is shown only blocks per minute and transactions per minute that were submitted to the network, and I wanna know if is anyway to get the transaction per second that were submitted to the network. @nfrunza [ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mGGTtS8KtamB5whLf)

nfrunza (Sun, 02 Sep 2018 11:45:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3RYuAcYdwDTzfYa7t1) @dharuq It is possible, but that would could be a performance issue

nfrunza (Sun, 02 Sep 2018 11:45:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3RYuAcYdwDTzfYa7t1) @dharuq It is possible, but that could be a performance issue

dharuq (Sun, 02 Sep 2018 16:00:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xDvRBQwuPkkoZHXTS) @nfrunza Could you explain how to do that? I know that in the implementation (app/test/txbyminute.js) is done a rest request "GET /api/txByMinute/:channel/:hour'". Is there a rest request I can build to obtain transaction by second?

nfrunza (Sun, 02 Sep 2018 22:29:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yu88Mn94BL4aM4r7m) @dharuq I'll help tuesday

StefanKosc (Mon, 03 Sep 2018 09:10:05 GMT):
Hi, is there a way to query parameters which were used with chaincodes' functions calls? Perfect result would be to receive a list of transactions with parameters of functions that caused changes

javrevasandeep (Mon, 03 Sep 2018 12:57:03 GMT):
@nfrunza I want to run fabric-1.2 with explorer. Is there any stable branch with fabric-1.2. I tried all the Read-ME steps from release 3.6 branch but not able to get it to work. I am using first-network example with fabric-1.2. I am getting error while connecting to DB. Its throwing error saying "Could not find fabricexplorer database while trying to connect connection string. Also while running npm run test, I am getting error for postgres password authentication failure while I just followed Read-ME steps and didn't customize or change anything

javrevasandeep (Mon, 03 Sep 2018 12:57:03 GMT):
@nfrunza I want to run fabric-1.2 with explorer. Is there any stable branch with fabric-1.2. I tried all the Read-ME steps from release 3.6 branch but not able to get it to work. I am using first-network example with fabric-1.2. I am getting error while connecting to DB. Its throwing error saying "Could not find fabricexplorer database while trying to connect connection string. Also while running npm run test, I am getting error for postgres password authentication failure while I just followed Read-ME steps and didn't customize or change anything. Please find below the error i get after running npm run test UnhandledPromiseRejectionWarning: error: password authentication failed for user "postgres" and below error while running npm test -- -u --coverage TypeError: getBlockActivity is not a function at LandingPage.componentDidMount (/home/bteam/go/src/github.com/hyperledger/blockchain-explorer/client/src/components/View/LandingPage.js:136:5) at npm ERR! Test failed. See above for more details. And When i checked console logs after running ./start.sh, I am getting error while making connection to postgres fabricexplorer database. It is not able to connect "postgres://hppoc:password@127.0.0.1:5432/fabricexplorer"

jeevas (Mon, 03 Sep 2018 13:49:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WzW8H9dpoB5FfjKHL) @javrevasandeep look like your didn't update in database-setup(https://github.com/hyperledger/blockchain-explorer/tree/release-3.6#Database-Setup) . Release 3.6 is development version using fabric 1.2 .

sureshtedla (Mon, 03 Sep 2018 14:22:54 GMT):
@jeevas I have followed the instruction ons Hyperledger explorer page but i amgetting page on localhost:8080

javrevasandeep (Mon, 03 Sep 2018 16:58:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AgaiHRWfH3moTmDLm) @jeevas I have followed database setup instructions and able to see database and tables getting created after running those commands.

javrevasandeep (Mon, 03 Sep 2018 17:40:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JqbZjkCr7GFtDRdb5) Could you please let me know the solution to remove the below error while running npm test -- -u --coverage PASS src/state/redux/charts/tests.spec.js (5.69s) PASS src/components/Lists/Blocks.spec.js (7.943s) PASS src/components/Charts/ChartStats.spec.js PASS src/components/Lists/Transactions.spec.js PASS src/state/redux/tables/tests.spec.js PASS src/components/Header/HeaderView.spec.js PASS src/components/View/DashboardView.spec.js PASS src/components/Lists/Chaincodes.spec.js ● Console console.error node_modules/@material-ui/core/node_modules/warning/warning.js:36 Warning: Material-UI: the key `hash` provided to the classes property is not implemented in ChaincodeModal. You can only override one of the following: code,cubeIcon,source console.error node_modules/@material-ui/core/node_modules/warning/warning.js:36 Warning: Material-UI: the key `hash` provided to the classes property is not implemented in ChaincodeModal. You can only override one of the following: code,cubeIcon,source PASS src/components/Main.spec.js PASS src/components/View/BlocksView.spec.js PASS src/components/View/TransactionView.spec.js PASS src/components/View/TransactionsView.spec.js PASS src/components/Lists/TimelineStream.spec.js PASS src/components/Lists/Peers.spec.js PASS src/components/Lists/Channels.spec.js RUNS src/components/View/LandingPage.spec.js /home/bteam/go/src/github.com/hyperledger/fabric-samples-1.2/blockchain-explorer/client/node_modules/react-scripts/scripts/test.js:20 throw err; ^ TypeError: getBlockActivity is not a function at LandingPage.componentDidMount (/home/bteam/go/src/github.com/hyperledger/fabric-samples-1.2/blockchain-explorer/client/src/components/View/LandingPage.js:136:5) at npm ERR! Test failed. See above for more details.

bh4rtp (Tue, 04 Sep 2018 03:06:03 GMT):
i am using release-3.6 to support fabric-1.2 release, but failed with this message: ```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] ```

bh4rtp (Tue, 04 Sep 2018 03:07:06 GMT):
and app.log prints as: ```[2018-09-04 11:02:22.896] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** 2 [2018-09-04 11:02:22.897] [DEBUG] Platform - Setting admin organization enrolment files 3 [2018-09-04 11:02:22.897] [DEBUG] FabricUtils - Organization [ExchangeOrg] enrolment files path defined as directory 4 [2018-09-04 11:02:22.898] [DEBUG] FabricUtils - Organization [RegulatorOrg] enrolment files path defined as directory 5 [2018-09-04 11:02:22.899] [DEBUG] FabricUtils - Organization [OrdererMSP] enrolment files path defined as directory 6 [2018-09-04 11:02:22.899] [DEBUG] Platform - Creatinging client [client-1] >> 7 [2018-09-04 11:02:22.907] [DEBUG] FabricUtils - Validating client [client-1] configuration```

bh4rtp (Tue, 04 Sep 2018 03:07:06 GMT):
and app.log prints as: ```[2018-09-04 11:02:22.896] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2018-09-04 11:02:22.897] [DEBUG] Platform - Setting admin organization enrolment files [2018-09-04 11:02:22.897] [DEBUG] FabricUtils - Organization [ExchangeOrg] enrolment files path defined as directory [2018-09-04 11:02:22.898] [DEBUG] FabricUtils - Organization [RegulatorOrg] enrolment files path defined as directory [2018-09-04 11:02:22.899] [DEBUG] FabricUtils - Organization [OrdererMSP] enrolment files path defined as directory [2018-09-04 11:02:22.899] [DEBUG] Platform - Creatinging client [client-1] >> [2018-09-04 11:02:22.907] [DEBUG] FabricUtils - Validating client [client-1] configuration``` i can't read any invalid platform configuration message from above log.

ThangDC (Tue, 04 Sep 2018 04:45:54 GMT):
join #tsc

saeedi (Tue, 04 Sep 2018 06:06:29 GMT):
Hi everyone, i have been able to connect blockchain explorer to my network but list of peer names is empty. Peers are non TLS fabric peers.

bh4rtp (Tue, 04 Sep 2018 07:33:02 GMT):
fix above error by correcting client configuration. now i am facing client connection error: ```271 [2018-09-04 15:10:42.887] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-3]************ [2018-09-04 15:10:42.905] [DEBUG] FabricClient - Loading client [client-3] from configuration ... [2018-09-04 15:10:51.766] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-3] [2018-09-04 15:10:52.157] [DEBUG] FabricClient - Successfully created admin user [client-3_ExchangeMSPAdmin] for client [client-3] [2018-09-04 15:10:56.278] [DEBUG] FabricClient - Set client [client-2] default channel as >> bidch [2018-09-04 15:10:56.285] [DEBUG] FabricClient - Set client [client-2] default peer as >> peer0.exchangeorg.energyx.com [2018-09-04 15:10:56.285] [DEBUG] FabricClient - Successfully loaded client [client-2] from configuration [2018-09-04 15:10:56.810] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:56.828] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.484] [DEBUG] FabricClient - Set client [client-4] default channel as >> settlementch [2018-09-04 15:10:56.472] [DEBUG] FabricClient - Set client [client-5] default channel as >> auditch [2018-09-04 15:10:56.485] [DEBUG] FabricClient - Set client [client-4] default peer as >> peer0.exchangeorg.energyx.com [2018-09-04 15:10:56.487] [DEBUG] FabricClient - Successfully loaded client [client-4] from configuration [2018-09-04 15:10:57.123] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.219] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.473] [DEBUG] FabricClient - Set client [client-5] default peer as >> peer0.regulatororg.energyx.com [2018-09-04 15:10:56.473] [DEBUG] FabricClient - Successfully loaded client [client-5] from configuration [2018-09-04 15:10:57.105] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.245] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:17051 [2018-09-04 15:10:56.533] [DEBUG] FabricClient - Set client [client-1] default channel as >> registerch [2018-09-04 15:10:56.540] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.exchangeorg.energyx.com [2018-09-04 15:10:56.540] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-09-04 15:10:57.271] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.354] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.879] [DEBUG] FabricClient - Set client [client-3] default channel as >> clearingch [2018-09-04 15:10:56.892] [DEBUG] FabricClient - Set client [client-3] default peer as >> peer0.exchangeorg.energyx.com [2018-09-04 15:10:56.892] [DEBUG] FabricClient - Successfully loaded client [client-3] from configuration [2018-09-04 15:10:57.575] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.583] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051``` i have 5 channels and configure 5 clients.

bh4rtp (Tue, 04 Sep 2018 07:33:02 GMT):
fix above error by correcting client configuration. now i am facing client connection error: ```271 [2018-09-04 15:10:42.887] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-3]************ [2018-09-04 15:10:42.905] [DEBUG] FabricClient - Loading client [client-3] from configuration ... [2018-09-04 15:10:51.766] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-3] [2018-09-04 15:10:52.157] [DEBUG] FabricClient - Successfully created admin user [client-3_ExchangeMSPAdmin] for client [client-3] [2018-09-04 15:10:56.278] [DEBUG] FabricClient - Set client [client-2] default channel as >> bidch [2018-09-04 15:10:56.285] [DEBUG] FabricClient - Set client [client-2] default peer as >> peer0.exchangeorg.energyx.com [2018-09-04 15:10:56.285] [DEBUG] FabricClient - Successfully loaded client [client-2] from configuration [2018-09-04 15:10:56.810] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:56.828] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.484] [DEBUG] FabricClient - Set client [client-4] default channel as >> settlementch [2018-09-04 15:10:56.472] [DEBUG] FabricClient - Set client [client-5] default channel as >> auditch [2018-09-04 15:10:56.485] [DEBUG] FabricClient - Set client [client-4] default peer as >> peer0.exchangeorg.energyx.com [2018-09-04 15:10:56.487] [DEBUG] FabricClient - Successfully loaded client [client-4] from configuration [2018-09-04 15:10:57.123] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.219] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.473] [DEBUG] FabricClient - Set client [client-5] default peer as >> peer0.regulatororg.energyx.com [2018-09-04 15:10:56.473] [DEBUG] FabricClient - Successfully loaded client [client-5] from configuration [2018-09-04 15:10:57.105] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.245] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:17051 [2018-09-04 15:10:56.533] [DEBUG] FabricClient - Set client [client-1] default channel as >> registerch [2018-09-04 15:10:56.540] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.exchangeorg.energyx.com [2018-09-04 15:10:56.540] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-09-04 15:10:57.271] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.354] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.879] [DEBUG] FabricClient - Set client [client-3] default channel as >> clearingch [2018-09-04 15:10:56.892] [DEBUG] FabricClient - Set client [client-3] default peer as >> peer0.exchangeorg.energyx.com [2018-09-04 15:10:56.892] [DEBUG] FabricClient - Successfully loaded client [client-3] from configuration [2018-09-04 15:10:57.575] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.583] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051``` i have 5 channels and configure 5 clients. block-explorer-3.6 is used.

bh4rtp (Tue, 04 Sep 2018 07:33:02 GMT):
fix above error by correcting client configuration. now i am facing client connection error: ```271 [2018-09-04 15:10:42.887] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-3]************ [2018-09-04 15:10:42.905] [DEBUG] FabricClient - Loading client [client-3] from configuration ... [2018-09-04 15:10:51.766] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-3] [2018-09-04 15:10:52.157] [DEBUG] FabricClient - Successfully created admin user [client-3_ExchangeMSPAdmin] for client [client-3] [2018-09-04 15:10:56.278] [DEBUG] FabricClient - Set client [client-2] default channel as >> mychannel2 [2018-09-04 15:10:56.285] [DEBUG] FabricClient - Set client [client-2] default peer as >> peer0.exchangeorg.example.com [2018-09-04 15:10:56.285] [DEBUG] FabricClient - Successfully loaded client [client-2] from configuration [2018-09-04 15:10:56.810] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:56.828] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.484] [DEBUG] FabricClient - Set client [client-4] default channel as >> mychannel4 [2018-09-04 15:10:56.472] [DEBUG] FabricClient - Set client [client-5] default channel as >> mychannel5 [2018-09-04 15:10:56.485] [DEBUG] FabricClient - Set client [client-4] default peer as >> peer0.exchangeorg.example.com [2018-09-04 15:10:56.487] [DEBUG] FabricClient - Successfully loaded client [client-4] from configuration [2018-09-04 15:10:57.123] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.219] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.473] [DEBUG] FabricClient - Set client [client-5] default peer as >> peer0.regulatororg.example.com [2018-09-04 15:10:56.473] [DEBUG] FabricClient - Successfully loaded client [client-5] from configuration [2018-09-04 15:10:57.105] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.245] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:17051 [2018-09-04 15:10:56.533] [DEBUG] FabricClient - Set client [client-1] default channel as >> mychannel1 [2018-09-04 15:10:56.540] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.exchangeorg.example.com [2018-09-04 15:10:56.540] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-09-04 15:10:57.271] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.354] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 [2018-09-04 15:10:56.879] [DEBUG] FabricClient - Set client [client-3] default channel as >> mychannel3 [2018-09-04 15:10:56.892] [DEBUG] FabricClient - Set client [client-3] default peer as >> peer0.exchangeorg.example.com [2018-09-04 15:10:56.892] [DEBUG] FabricClient - Successfully loaded client [client-3] from configuration [2018-09-04 15:10:57.575] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-09-04 15:10:57.583] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051``` i have 5 channels and configure 5 clients. block-explorer-3.6 is used.

TBigjohn (Tue, 04 Sep 2018 07:49:41 GMT):
Hello, I have a infrastructure including 2 nodes, both of them are running. On th Hyperledger Explorer, one of them appear as "down" ... can this mean that no chaincode are deployed on it ? or does it really mean unreachabl ? thanks

jeevas (Tue, 04 Sep 2018 10:28:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cnfYYXTpv8JzcjQgJ) @bh4rtp Please use Master branch. Release 3.6 still in development phase.

nfrunza (Tue, 04 Sep 2018 11:39:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fJA8LmjXp4H3s78Xo) @TBigjohn which version of fabric are you using? and which branch did you install from HLExplorer?

TBigjohn (Tue, 04 Sep 2018 12:34:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZXkyAjj2itbMdmrJJ) @nfrunza Hi, fabric version 1.1.0. What do you mean by branch of explorer ?

RockyRacer (Tue, 04 Sep 2018 12:36:48 GMT):
I have setup a Docker version where you simply have to 1) modify the network name in the compose file 2) adapt the _config.json_ file 3) replace _crypto-config_ with your crypto materials

RockyRacer (Tue, 04 Sep 2018 12:37:00 GMT):
If someone is interested... https://gitlab.com/Yann39/hyperledger-explorer-docker

sureshtedla (Tue, 04 Sep 2018 12:44:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SdqYrNPEqLH5bcfgC) @javrevasandeep Hi javrevasandeep

sureshtedla (Tue, 04 Sep 2018 12:45:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SQQDPqmgCSTcPPSJp) see the config file change grpcs to grpc after that start the script

javrevasandeep (Tue, 04 Sep 2018 12:57:21 GMT):
Hi Sureshtedla

sureshtedla (Tue, 04 Sep 2018 12:57:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qktGS8gWMTLbLNRrB) Thank you very much @jeevas Now I am able to connect Hyperledger Explorer with composer using the https://github.com/hyperledger/blockchain-explorer/blob/master/app/test/artifacts/help/Test-ubuntu-install-composer.md

javrevasandeep (Tue, 04 Sep 2018 12:57:44 GMT):
I am facing some other issue. Now I am running explorer with fabric 1.1

sureshtedla (Tue, 04 Sep 2018 12:58:01 GMT):
what are the isues

javrevasandeep (Tue, 04 Sep 2018 12:58:21 GMT):
and I am not able to see private channels created from org2 in dropdown

sureshtedla (Tue, 04 Sep 2018 12:58:40 GMT):
okk

javrevasandeep (Tue, 04 Sep 2018 13:00:47 GMT):
I think somewhere it is hardcoded in the code that it only takes channels created from org1

javrevasandeep (Tue, 04 Sep 2018 13:07:45 GMT):
@sureshtedla any idea...?

sureshtedla (Tue, 04 Sep 2018 13:08:35 GMT):
No Idea

javrevasandeep (Tue, 04 Sep 2018 13:23:41 GMT):
I created private channels from org1 and org2 seperately. I am able to see channel created from org1 but not the channel created from org2

javrevasandeep (Tue, 04 Sep 2018 13:24:29 GMT):
so these private channels are just joined by their creator org peers

sureshtedla (Tue, 04 Sep 2018 14:01:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NmSq75GDXJ9ESWyRQ) @javrevasandeep In my case also peer0.org1.example.com status is down

syllai13 (Tue, 04 Sep 2018 14:24:26 GMT):
Has joined the channel.

knagware9 (Tue, 04 Sep 2018 14:31:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FaNZtDFR8WYWWhsF4) @sureshtedla I am also facing same error,,which config file ? app/platform/fabric ?

knagware9 (Tue, 04 Sep 2018 14:32:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wfvt6MrAAKRyGzY2y) also need to change tls certificate,bcoz grpc means non-tls ?

nfrunza (Tue, 04 Sep 2018 14:41:25 GMT):
Hello is anyone interested to contribute to hyperledger explorer project?

nfrunza (Tue, 04 Sep 2018 14:41:43 GMT):
Hello is anyone interested to contribute to hyperledger explorer project?

syllai13 (Tue, 04 Sep 2018 14:49:50 GMT):
Does anyone know the contacts of those involved in the hyperledger explorer project?

sureshtedla (Tue, 04 Sep 2018 15:02:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wfvt6MrAAKRyGzY2y) @knagware9 What error you are getting?

RockyRacer (Tue, 04 Sep 2018 15:16:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yQMZCg63WksgaB6Mz) @nfrunza What are the required skills ?

nfrunza (Tue, 04 Sep 2018 15:31:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZR4oEKmqPsBEGvn99) @syllai13 You can look here, https://github.com/hyperledger/blockchain-explorer/blob/master/MAINTAINERS.rst

nfrunza (Tue, 04 Sep 2018 15:31:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5si9QTy8kzb2JQE29) @RockyRacer one of the: nodejs, postgres, reactjs,

nfrunza (Tue, 04 Sep 2018 15:34:56 GMT):
Hello is anyone interested to contribute to hyperledger explorer project?, any skills like: nodejs, reactjs, postgrtes, docker is welcomed

syllai13 (Tue, 04 Sep 2018 15:58:05 GMT):
@nfrunza, Thank you!

nfrunza (Tue, 04 Sep 2018 16:03:58 GMT):
welcome

blakem (Tue, 04 Sep 2018 16:09:25 GMT):
Has joined the channel.

blakem (Tue, 04 Sep 2018 16:10:28 GMT):
Could anyone please give me any pointers on how to fix the following: /home/blake/Desktop/Git/blockchain-explorer/main.js:74 server.on('connection', connection => { ^ TypeError: Cannot read property 'on' of undefined at Object. (/home/blake/Desktop/Git/blockchain-explorer/main.js:74:8) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:191:16) at bootstrap_node.js:612:3 /home/blake/Desktop/Git/blockchain-explorer/main.js:74 server.on('connection', connection => { ^ TypeError: Cannot read property 'on' of undefined at Object. (/home/blake/Desktop/Git/blockchain-explorer/main.js:74:8) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:191:16) at bootstrap_node.js:612:3

blakem (Tue, 04 Sep 2018 16:11:06 GMT):
it occurs in the logs upon running ./start.sh

nfrunza (Tue, 04 Sep 2018 16:30:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8LioMuM3yNkHTJxTs) @blakem Please provide branch you're using, node version, did you follow up on README instructions, https://github.com/hyperledger/blockchain-explorer/blob/master/README.md

nfrunza (Tue, 04 Sep 2018 16:30:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8LioMuM3yNkHTJxTs) @blakem Please provide branch you're using, node version, OS, did you follow up on README instructions, https://github.com/hyperledger/blockchain-explorer/blob/master/README.md

blakem (Tue, 04 Sep 2018 16:32:40 GMT):
@nfrunza nodejs version is v8.11.4, OS is Ubuntu 16.04, and yes I did.

blakem (Tue, 04 Sep 2018 16:34:22 GMT):
@nfrunza and the branch was a pull from master

nfrunza (Tue, 04 Sep 2018 16:39:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DBgGQRLe8oMgKo6Pi) @blakem let me try on my end

blakem (Tue, 04 Sep 2018 16:41:10 GMT):
Ok, I was thinking it may be my config file. However, I am unsure what the issue with the config file may be. Thanks for your help.

nfrunza (Tue, 04 Sep 2018 16:44:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JprytmYP6ZtpgFSow) @blakem is your fabric running, and which version you're using?

blakem (Tue, 04 Sep 2018 16:44:51 GMT):
@nfrunza yes fabric is running. It is running with version 1.1.

nfrunza (Tue, 04 Sep 2018 16:45:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ftSDa8ec88cQJBPcH) @blakem do you use fabric -samples?

blakem (Tue, 04 Sep 2018 16:46:24 GMT):
@nfrunza I am trying to use it with a custom fabric network, not the given sample first network.

nfrunza (Tue, 04 Sep 2018 16:47:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LyBHWQfgYpggu27dK) @blakem i see, is it behind the proxy?

nfrunza (Tue, 04 Sep 2018 16:47:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LyBHWQfgYpggu27dK) @blakem i see, is it behind the proxy? and is on a different machine ?

blakem (Tue, 04 Sep 2018 16:49:32 GMT):
@nfrunza I am running both the fabric network and explorer on the same VM

blakem (Tue, 04 Sep 2018 16:49:41 GMT):
so localhost

adamgering (Tue, 04 Sep 2018 16:55:06 GMT):
Has joined the channel.

nfrunza (Tue, 04 Sep 2018 16:55:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5zHwtcRZEKrRgK6ge) @blakem how did you configure connection to the fabric in config.json

blakem (Tue, 04 Sep 2018 17:00:44 GMT):
I modified the requests, events, server-hostname, tls_cacerts,admin_key, and admin_certs paths to match the network that I have running

nfrunza (Tue, 04 Sep 2018 17:04:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TmNvqzkdnDPoeEJEe) Custom``` ``` you mean you updated based on existing fabric sample ?

nfrunza (Tue, 04 Sep 2018 17:04:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TmNvqzkdnDPoeEJEe) Custom``` ``` you mean you updated based on existing fabric sample ?

nfrunza (Tue, 04 Sep 2018 17:04:58 GMT):
can you run @docker ps-a

nfrunza (Tue, 04 Sep 2018 17:04:58 GMT):
can you run $docker ps-a , $docker images

nfrunza (Tue, 04 Sep 2018 17:04:58 GMT):
can you run $docker ps-a , $docker images, and did you install, instantiated a chaincode, and a new channel?

blakem (Tue, 04 Sep 2018 17:05:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hnEtM3M7uqTF4rzQz) @nfrunza @nfrunza yes, I took the config file that works with the first network and modified it

blakem (Tue, 04 Sep 2018 17:10:15 GMT):
ok I ran both

blakem (Tue, 04 Sep 2018 17:12:49 GMT):
@nfrunza sorry didnt see second half of question, I did install a chaincode, but no new channel

nfrunza (Tue, 04 Sep 2018 17:32:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=i5vJn9rcPfSfpveyb) @blakem you did not create no channel?

nfrunza (Tue, 04 Sep 2018 17:32:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=i5vJn9rcPfSfpveyb) @blakem you are using default mychannel?

nfrunza (Tue, 04 Sep 2018 17:34:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KQnLo3SGcG4ntF9if) Try to configure explorer with fabric-sample

blakem (Tue, 04 Sep 2018 17:35:22 GMT):
@nfrunza I am using default mychannel. I have made the sample work before.

nfrunza (Tue, 04 Sep 2018 17:40:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hyrCCM6Ms6qpJxW8s) @blakem If fbric sample works, means something wrong in config, did you try to purge cryptos, $rm -rf ./crypto-config/* $rm -rf ~/.hfc*

nfrunza (Tue, 04 Sep 2018 17:41:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hyrCCM6Ms6qpJxW8s) @blakem After you modified the fabric-sample, how did you generate the channel and started it?

blakem (Tue, 04 Sep 2018 17:53:43 GMT):
@nfrunza I modified the script to bring up the sample network to start the new network. I should take down the network purge the cryptos, then try again? I think I made some progress, as I now get the loading screen to appear for the new network, however it seems to hang on that screen

nfrunza (Tue, 04 Sep 2018 17:55:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xcg3T69wcmCkHJtoq) @blakem great, yes, try purge cryptos, in some case you can try ./byfn.sh -m restart

blakem (Tue, 04 Sep 2018 18:28:34 GMT):
@nfrunza I purged the cryptos and the loading screen comes up but seems to hang there. Any idea why that could happen? Thanks for all your help thus far.

nfrunza (Tue, 04 Sep 2018 18:29:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=C4yhw86za6mME6RuY) @blakem can you check if any data in DB tables?

blakem (Tue, 04 Sep 2018 18:57:22 GMT):
yes i can, statements like "SELECT * FROM peer" or "SELECT * FROM blocks" returns data

blakem (Tue, 04 Sep 2018 18:58:03 GMT):
@nfrunza yes i can, statements like "SELECT * FROM peer" or "SELECT * FROM blocks" returns data, yet explorer hangs on the loading screen

nfrunza (Tue, 04 Sep 2018 19:01:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qMdEDP38qeqZaQzHY) @blakem try to restat explorer, make sure you use ./stop.sh, and then ./start.sh from the blockchain-explorer

blakem (Tue, 04 Sep 2018 19:04:22 GMT):
@nfrunza ok I will and will update you after. Additionally, after a period of time explorer loads but is incomplete and shows 0 blocks transactions nodes and chain-codes on the dashboard, which is obviously incorrect. Additionally, upon using api to create a new block it shows up in the database, leading me to believe that it is almost working since the database can see the changes.

blakem (Tue, 04 Sep 2018 19:20:10 GMT):
@nfrunza after restarting explorer, it still seems to be hanging on the load screen

nfrunza (Tue, 04 Sep 2018 19:33:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iKHLKDKZbBtsfqSbc) @blakem Please rerun DB setup

blakem (Tue, 04 Sep 2018 19:53:01 GMT):
@nfrunza I removed the database, then recreated it using the ./creatdb.sh to no avail. I will keep trying though. Thanks

nfrunza (Tue, 04 Sep 2018 20:16:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=APH8ZziQn8MHuxpnr) @blakem thanks

blakem (Tue, 04 Sep 2018 20:24:13 GMT):
@nfrunza I think it has something to do with node:2696) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'channel' of undefined

nfrunza (Tue, 04 Sep 2018 20:26:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ueoh4nZFmSfZBa87C) @blakem can you invoke CLI from first-network dir of your network, $docker-compose -f docker-compose-cli.yaml run cli bash

nfrunza (Tue, 04 Sep 2018 20:26:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A53CDtTtb4JCp6qLj) $peer channel list

nfrunza (Tue, 04 Sep 2018 20:27:14 GMT):
$peer version

blakem (Tue, 04 Sep 2018 20:33:01 GMT):
@nfrunza yes that works for the first network

nfrunza (Tue, 04 Sep 2018 20:33:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vgM3GxG8JmBixgiKD) @blakem how about your network?

bh4rtp (Wed, 05 Sep 2018 00:33:54 GMT):
@jeevas but master branch only supports fabric-1.1, i need support of fabric-1.2.

write2moin (Wed, 05 Sep 2018 06:05:14 GMT):
Has joined the channel.

RockyRacer (Wed, 05 Sep 2018 06:46:45 GMT):
I use master branch with fabric 1.2, all is working fine except my peers all appears DOWN

RockyRacer (Wed, 05 Sep 2018 06:47:22 GMT):
And got hundreds of this in the logs:

RockyRacer (Wed, 05 Sep 2018 06:47:32 GMT):
``` hyperledger_explorer_app | error: [Admin.js]: GetStatus - timed out after:45000 hyperledger_explorer_app | (node:13) UnhandledPromiseRejectionWarning: Error: REQUEST_TIMEOUT hyperledger_explorer_app | at Timeout._onTimeout (/opt/explorer/app/platform/fabric/Admin.js:124:31) hyperledger_explorer_app | at ontimeout (timers.js:498:11) hyperledger_explorer_app | at tryOnTimeout (timers.js:323:5) hyperledger_explorer_app | at Timer.listOnTimeout (timers.js:290:5) hyperledger_explorer_app | (node:13) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 532) ```

knagware9 (Wed, 05 Sep 2018 07:08:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bZkmAvzSAuThk26Xp) @sureshtedla ould you please let me know the solution to remove the below error while running npm test -- -u --coverage PASS src/state/redux/charts/tests.spec.js (5.69s) PASS src/components/Lists/Blocks.spec.js (7.943s) PASS src/components/Charts/ChartStats.spec.js PASS src/components/Lists/Transactions.spec.js PASS src/state/redux/tables/tests.spec.js PASS src/components/Header/HeaderView.spec.js PASS src/components/View/DashboardView.spec.js PASS src/components/Lists/Chaincodes.spec.js ● Console console.error node_modules/@material-ui/core/node_modules/warning/warning.js:36 Warning: Material-UI: the key `hash` provided to the classes property is not implemented in ChaincodeModal. You can only override one of the following: code,cubeIcon,source console.error node_modules/@material-ui/core/node_modules/warning/warning.js:36 Warning: Material-UI: the key `hash` provided to the classes property is not implemented in ChaincodeModal. You can only override one of the following: code,cubeIcon,source PASS src/components/Main.spec.js PASS src/components/View/BlocksView.spec.js PASS src/components/View/TransactionView.spec.js PASS src/components/View/TransactionsView.spec.js PASS src/components/Lists/TimelineStream.spec.js PASS src/components/Lists/Peers.spec.js PASS src/components/Lists/Channels.spec.js RUNS src/components/View/LandingPage.spec.js /home/bteam/go/src/github.com/hyperledger/fabric-samples-1.2/blockchain-explorer/client/node_modules/react-scripts/scripts/test.js:20 throw err; ^ TypeError: getBlockActivity is not a function at LandingPage.componentDidMount (/home/bteam/go/src/github.com/hyperledger/fabric-samples-1.2/blockchain-explorer/client/src/components/View/LandingPage.js:136:5) at npm ERR! Test failed. See above for more details.

TBigjohn (Wed, 05 Sep 2018 08:27:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Q9p5NgNHN6fudQwW6) Hello, any news on this one ?

gut (Wed, 05 Sep 2018 09:55:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iMbrEvxtkhsYcN75f) Nobody?

dharuq (Wed, 05 Sep 2018 10:18:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=f8vCsYwBn4xMssKrc) @nfrunza Can you help with this?

nfrunza (Wed, 05 Sep 2018 12:51:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZHniNNtfGpAy5XPa3) @dharuq I can put the query in your chat, the you'll have to do yourself, we have no such requirements in our roadmap

RockyRacer (Wed, 05 Sep 2018 13:22:57 GMT):
``` # Check whether a given network (filtered by name) exists or not function existsNetwork(){ [...] # Check whether a given network (filtered by name) exists or not function existsImage(){ ``` comment copy paste fail in _deploy_explorer.sh_ :D

nfrunza (Wed, 05 Sep 2018 13:27:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GqM8LESu8Jafzc7QS) @RockyRacer Is this in docker?

RockyRacer (Wed, 05 Sep 2018 13:28:02 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/deploy_explorer.sh

nfrunza (Wed, 05 Sep 2018 13:30:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gP5sjA6YhKxhXrTPd) @RockyRacer did you run it and it fails?

RockyRacer (Wed, 05 Sep 2018 13:32:11 GMT):
No no just a joke about the comment on the 2 helper functions, they should not be the same ;)

nfrunza (Wed, 05 Sep 2018 13:32:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pfEE6EejnKMWaPeTW) @RockyRacer I see

dharuq (Wed, 05 Sep 2018 13:47:11 GMT):
Okay, can you send me? @nfrunza [ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CNmA7YtQqxnjNMnEv)

blakem (Wed, 05 Sep 2018 13:56:00 GMT):
On a new image of Ubuntu 16.04 i was able to bring up my network, set up the database, and am able to see new blocks in the database for explorer. However, for some reason, the page fails to load past the loading screen. Could this be related to the error in the step "npm test -- -u --coverage" where it errors out regarding Landingpage.js?

blakem (Wed, 05 Sep 2018 14:26:53 GMT):
I finally figured out the issue so I thought I would share in case anyone else is having similar issues. My issue was that I could see transactions occurring in the database for explorer, however, upon trying to go to localhost:8080, it would stay on the loading page indefinitely. The issue ended up being that the channel name that I thought was correct in the config file was incorrect. Thanks again @nfrunza and anyone else that helped me with this issue and other troubleshooting areas.

nfrunza (Wed, 05 Sep 2018 14:46:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3GMizmW9JnvZcyL6h) @blakem no

nfrunza (Wed, 05 Sep 2018 14:47:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Crf5Lgri4fLsEdaP7) @blakem glad that you found the issue

nfrunza (Wed, 05 Sep 2018 17:27:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CNmA7YtQqxnjNMnEv) Please use as an example transactions by minute, and create the query based on that sql

blakem (Thu, 06 Sep 2018 17:45:12 GMT):
For deploying explorer in docker, when the script tries to create the user hppoc with password as password using the set variables, it reverts back to :user and :passwd respectively, causing it to fail with a syntax error. The variables seem to be set(by evidence when it is echoed), but for some reason that psql command is failing. I didn't change the file at all, am I running this wrong somehow?

mighty-pirate (Thu, 06 Sep 2018 17:54:43 GMT):
Has joined the channel.

nfrunza (Thu, 06 Sep 2018 21:28:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HJqkyHLgp3GJ9DWGb) @blakem We changed lately to run a script to create db, and may have not updated the docker, will look into this issue.

RockyRacer (Fri, 07 Sep 2018 06:06:29 GMT):
Had the problem too, currently I'm just replacing variables by running `sed` commands in my custom Dockerfile

MariaHenderson (Fri, 07 Sep 2018 06:59:51 GMT):
Hello. I have one question. When a block is created, in which file is the code that reads blocks from the block-chain network in the block-listener/app folder?

blakem (Fri, 07 Sep 2018 13:05:06 GMT):
@nfrunza ah ok. So most likely not an issue on my end. If I figure out a quick fix i'll let you know. Thanks!

nfrunza (Fri, 07 Sep 2018 13:33:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=g6wetfqrpDSsSWdYN) @blakem we will look into that

nfrunza (Fri, 07 Sep 2018 13:34:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=42QGSD9dNT3pzWhqM) @RockyRacer Are you referring to Explorer?

blakem (Fri, 07 Sep 2018 13:48:15 GMT):
@nfrunza I think he is using the sed command to fix the database error that I mentioned

RockyRacer (Fri, 07 Sep 2018 14:04:15 GMT):
I have a custom Docker compose project for explorer, I do the `sed` from the postgresDocker file

RockyRacer (Fri, 07 Sep 2018 14:04:15 GMT):
Indeed, I have a custom Docker compose project for explorer, I do the `sed` from the postgres Docker file

RockyRacer (Fri, 07 Sep 2018 14:04:19 GMT):
https://gitlab.com/Yann39/hyperledger-explorer-docker/blob/master/postgresql/Dockerfile

minollo (Fri, 07 Sep 2018 14:05:13 GMT):
Has left the channel.

BarryMcLaughlin (Fri, 07 Sep 2018 14:27:09 GMT):
Question: Anyone know is it possible to secure the hyperledger explorer (webpage) with a user name and password?

SMiskey (Fri, 07 Sep 2018 15:24:30 GMT):
Has joined the channel.

nfrunza (Fri, 07 Sep 2018 16:11:29 GMT):
@BarryMcLaughlin you need to add the security, doesn't exists as of now

nfrunza (Fri, 07 Sep 2018 20:29:36 GMT):
Hello, contributors are welcomed, one of the skills required: nodejs, reactjs, docker

nfrunza (Fri, 07 Sep 2018 20:29:36 GMT):
Hello, contributors are welcomed for HLExplorer , one of the skills required: nodejs, reactjs, docker

sharif2008 (Sat, 08 Sep 2018 19:30:42 GMT):
Has joined the channel.

sharif2008 (Sat, 08 Sep 2018 19:34:39 GMT):
*http://localhost:8080/ * is showing nothing ( can not GET /) but *http://localhost:8080/api-docs * is working after running the new explorer in my ubunut 16.04 pc

sharif2008 (Sat, 08 Sep 2018 19:34:39 GMT):
*http://localhost:8080/ * is showing nothing ( can not GET /) but *http://localhost:8080/api-docs * is working after running the new explorer in my ubuntu16.04 pc

raviyelleni (Sun, 09 Sep 2018 04:40:02 GMT):
Has joined the channel.

abityildiz (Sun, 09 Sep 2018 15:50:15 GMT):

Clipboard - September 9, 2018 6:49 PM

greg2git (Sun, 09 Sep 2018 21:39:11 GMT):
Has joined the channel.

nfrunza (Sun, 09 Sep 2018 23:44:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PK6xd5YatSNyYaxvk) @abityildiz did you follow README instructions? with every pull you need to follow up

nfrunza (Sun, 09 Sep 2018 23:45:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kowSeMk7NvzvAPuXS) @sharif2008 did you follow README instructions? with every pull you need to follow up

abityildiz (Mon, 10 Sep 2018 06:10:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5z8m7K2zSJ7phSHWF) @nfrunza yes,i did it step by step.https://github.com/hyperledger/blockchain-explorer/blob/master/README.md

BarryMcLaughlin (Mon, 10 Sep 2018 08:13:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WJsy6XoQ7mtDLa9dZ) @nfrunza ok thanks, kinda figured that might be the case...so just added my own via nginx ingress.

abityildiz (Mon, 10 Sep 2018 09:17:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K2ksu8DLkvTzJ9krv) i am using single org.fabric.

abityildiz (Mon, 10 Sep 2018 09:17:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K2ksu8DLkvTzJ9krv) i am using single org.fabric.my config files like this https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-COMPOSER-HLEXPLORER.md

vanitas92 (Mon, 10 Sep 2018 09:57:34 GMT):
Hello guys, I'm having trouble configuring the new `config.json` format with tls enabled, version 3.5 was working fine with tls. i'm having thi error `Default client peer is down and no channel details available database`, anyone has been able to setup version 3.6 with tls enabled? Thank you!

nfrunza (Mon, 10 Sep 2018 12:10:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wEbb7SBaPkLPHTqfN) @vanitas92 By default fabric-sample/first-network is TLS enabled, please verify your fabric network if is running or not, and as far i know composer works with fabric 1.1 only, and release-36 is fabric 1.2

nfrunza (Mon, 10 Sep 2018 12:10:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wEbb7SBaPkLPHTqfN) @vanitas92 By default fabric-sample/first-network is TLS enabled, please verify your fabric network if is running or not

nfrunza (Mon, 10 Sep 2018 12:12:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wygQMuAxAfemdHKH9) @abityildiz Which fabric . version you're using? v0.3.6 is using fabric 1.2

abityildiz (Mon, 10 Sep 2018 12:15:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jqRacM4uNDRGqD6gY) @nfrunza yes,i am using fabric 1.2 single orgnazition and explorer version v0.3.6

nfrunza (Mon, 10 Sep 2018 12:32:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AKemZC8ajkfEZ5vBh) @abityildiz i'm confused, you mentioned composer like config, is you network created usin composer?

nfrunza (Mon, 10 Sep 2018 12:32:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AKemZC8ajkfEZ5vBh) @abityildiz i'm confused, you mentioned composer like config, is you network created using composer?

abityildiz (Mon, 10 Sep 2018 12:34:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=R7ihd35iSAgGsFB4N) @nfrunza yes,i created network with composer 2.0

nfrunza (Mon, 10 Sep 2018 12:41:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PtW9YKs7u9SaYqRKe) @abityildiz do you have requests: "grpc:" or "grpcs" in your config

nfrunza (Mon, 10 Sep 2018 12:41:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PtW9YKs7u9SaYqRKe) @abityildiz do you have requests: "grpc:" or "grpcs" in your config.and you fabric network is TLS enabled?

abityildiz (Mon, 10 Sep 2018 12:44:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eKe6rAeo8vpMfLMHp) @nfrunza i have requests "gprc".my config file is like this.https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-COMPOSER-HLEXPLORER.md did you setup 3.6 explorer?

nfrunza (Mon, 10 Sep 2018 12:45:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wfWameeru2cwhoezY) @abityildiz is your fabrci network TLS enabled?

nfrunza (Mon, 10 Sep 2018 12:45:34 GMT):
i use fabric samples as my network, and it works fine

abityildiz (Mon, 10 Sep 2018 12:46:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WYTHHfBQsgSNNAPya) @nfrunza yes it is enabled

nfrunza (Mon, 10 Sep 2018 12:47:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ejPRZX2vbhCvZs2PX) @abityildiz please update gprc to gprcs

nfrunza (Mon, 10 Sep 2018 12:48:13 GMT):
TLSebaled=false for gprc

nfrunza (Mon, 10 Sep 2018 12:48:13 GMT):
TLSenabled=false for gprc

nfrunza (Mon, 10 Sep 2018 12:48:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tv4nKiJXDNwzK73K5) TLSenabled=true for gprcs

nfrunza (Mon, 10 Sep 2018 14:22:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tv4nKiJXDNwzK73K5) let me know if it worked for you

abityildiz (Tue, 11 Sep 2018 08:33:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JK7y4TtJH7Q4Dh9Qi) @nfrunza not working.

sharif2008 (Tue, 11 Sep 2018 11:43:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5z8m7K2zSJ7phSHWF) @nfrunza Yes. I followed everything as per README. I am astonished because /api-docs is working fine. can you share a screenshot of http://localhost/ after running the explorer

sharif2008 (Tue, 11 Sep 2018 11:46:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5z8m7K2zSJ7phSHWF) @nfrunza I configured my network following these link : https://hyperledger-fabric.readthedocs.io/en/release-1.2/build_network.html

nfrunza (Tue, 11 Sep 2018 12:08:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CadT7xgu6b7dARjEK) @sharif2008 what fabric version are you using, OS, node version, docker version, do you use fabric samples or a custom fabric network ? are you behind the proxy? do you see data in DB?

sharif2008 (Tue, 11 Sep 2018 12:29:08 GMT):
fabric = 1.2.0, OS= ubuntu 16.04 LTS, node=v8.11.4, docker=18.06.1-ce, PostgreSQL=9.514 and using fabric sample...... no proxy........ Yes I can see data pgAdmin 3

sharif2008 (Tue, 11 Sep 2018 12:29:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XM7W5wuESLArBAc9B) @nfrunza fabric = 1.2.0, OS= ubuntu 16.04 LTS, node=v8.11.4, docker=18.06.1-ce, PostgreSQL=9.514 and using fabric sample...... no proxy........ Yes I can see data pgAdmin 3

nfrunza (Tue, 11 Sep 2018 12:37:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YFyJqq66dHMptPwex) @sharif2008 what do you see in logs/console/console.log

sharif2008 (Tue, 11 Sep 2018 12:45:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3ayZ4zkCR9nadnv25) Please open web browser to access :http://localhost:8080/ pid is 12737 postgres://postgres:postgres@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] Synchronizer pid is 12761 read_set length 469 write_set size >>>>>>>>> : 0.5007524490356445 MB Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

sharif2008 (Tue, 11 Sep 2018 12:47:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3ayZ4zkCR9nadnv25) @nfrunza Please open web browser to access :http://localhost:8080/ pid is 11486 postgres://postgres:postgres@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1]

nfrunza (Tue, 11 Sep 2018 12:53:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KqFpw8ZTfcbtry5kY) @sharif2008 which branch do you use? please use tag v0.3.6 it's for fabric 1.2

nfrunza (Tue, 11 Sep 2018 12:53:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KqFpw8ZTfcbtry5kY) @sharif2008 which branch do you use? please use tag v0.3.6 it's for fabric 1.2, bring down explorer by ./stop.sh then ./start.sh

sharif2008 (Tue, 11 Sep 2018 13:03:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5BDkwWP4ShScZPbuE) @nfrunza Currently using tag v0.3.5 . I will let know whatever happens latter

sharif2008 (Tue, 11 Sep 2018 13:03:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5BDkwWP4ShScZPbuE) @nfrunza Currently using tag v0.3.5 . I will let you know whatever happens latter

BarryMcLaughlin (Tue, 11 Sep 2018 14:33:14 GMT):
Experiencing same issue as @abityildiz - after trying to upgrade explorer from 0.3.5 to 0.3.6 - looking at code seems that the format of the config.json used to describe your network has completely changed (i.e. not the same as example shown in https://github.com/hyperledger/blockchain-explorer/tree/master/examples/net1) - am going to update to match format here https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config.json) and see if that helps

nfrunza (Tue, 11 Sep 2018 14:42:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nMWWWwjCjhkRfNBv9) @BarryMcLaughlin this was done to support new futures of the fabric 1.2, discovery etc

BarryMcLaughlin (Tue, 11 Sep 2018 15:55:41 GMT):
@nfrunza, ok that makes sense...trying to figure out how my new config should look for my network...the "clients" section doesn't seem to have any equivalent in the previous config.json format. Any guidance on what is this section describing?

nfrunza (Tue, 11 Sep 2018 16:47:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mWWW9u3ti8sPQDPyo) @BarryMcLaughlin which fabric network are you using? fabric-sample?

nfrunza (Tue, 11 Sep 2018 16:47:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mWWW9u3ti8sPQDPyo) @BarryMcLaughlin which fabric network are you using? fabric-sample? try to use fabric-sample then you'll figure out how to configure to your network

grice32 (Tue, 11 Sep 2018 17:27:59 GMT):
Has joined the channel.

greg2git (Tue, 11 Sep 2018 22:28:53 GMT):
i think i have all the prerequisites on ubuntu but when trying to set up the database i get this: sudo ./createdb.sh ./createdb.sh: 2: [: null: unexpected operator ./createdb.sh: 7: [: null: unexpected operator ./createdb.sh: 12: [: null: unexpected operator

nfrunza (Wed, 12 Sep 2018 03:00:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Mz8r44DwCSwo95LSu) @greg2git try chmod 775 ./createdb.sh

nfrunza (Wed, 12 Sep 2018 03:01:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Sp95C2WEdrgagmuaP) are you running on ubuntu, mac or win OS?

abityildiz (Wed, 12 Sep 2018 05:51:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nMWWWwjCjhkRfNBv9) @BarryMcLaughlin i will try it and let you know results

vanitas92 (Wed, 12 Sep 2018 10:49:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mWWW9u3ti8sPQDPyo) @BarryMcLaughlin I have the same doubt. What does the "clients" section refer about?

nfrunza (Wed, 12 Sep 2018 12:18:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=29ZeXXgYPiAXM2e6L) @vanitas92 more than one client, [client1, client2]

vanitas92 (Wed, 12 Sep 2018 14:03:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=M3bfHZbCYE9ynwTh7) @nfrunza I mean the concept of client in hyperledger fabric. There is no equivalent in previous config.json format so an explanation or what should be filled in that section would be more clarifying. Thank you

nfrunza (Wed, 12 Sep 2018 14:20:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jzAKQS4FP84LtMtN7) @vanitas92 sure will provide, in the readme

sharif2008 (Wed, 12 Sep 2018 16:22:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FurY2oJtDHRjWaate) No luck using tag v0.3.6 for fabric 1.2 . Note: my first network is running for fabric postgres://postgres:postgres@127.0.0.1:5432/fabricexplorer ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ]

sharif2008 (Wed, 12 Sep 2018 16:42:57 GMT):
@nfrunza is it ok? why the status is down here?

nfrunza (Wed, 12 Sep 2018 17:14:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TCr8drEQRFmLsk8FG) @sharif2008 The message says you're not configured properly "Error : Failed to connect client peer, please check the configuration and peer status"

sharif2008 (Wed, 12 Sep 2018 17:21:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yMzKckacZTgMCYz58) @nfrunza peers are all up and i have configured as per the README . please check these images https://ibb.co/kLuaKp https://ibb.co/g9qAkU

nfrunza (Wed, 12 Sep 2018 17:43:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GpS3wrSo5CDZHEasp) @sharif2008 v0.3.5 works and v.0.3.6 doesn't work? please tel me the fabric version ?

blakem (Wed, 12 Sep 2018 17:56:47 GMT):
could it have to do with the fact that pgconfig.json was changed to explorerconfig.json?

sharif2008 (Wed, 12 Sep 2018 18:06:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CzL2cjAZ3zQ5Tp4gZ) @nfrunza first I ran with v0.3.6 but it did not run. Then I ran v0.3.5 which populates the DB but it shows nothing at port 8080. After that I ran v0.3.6, it shows that same output ( old populated db for v0.3.5).

nfrunza (Wed, 12 Sep 2018 18:09:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tKvFpDsEovWDtGurs) @blakem no, v.03.6 supports fabric 1.2, you have to run db setup, npm install all the instructions from README, please run after invoking $ docker-compose -f docker-compose-cli.yaml run cli bash, $peer version

nfrunza (Wed, 12 Sep 2018 18:09:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tKvFpDsEovWDtGurs) @blakem no, v.03.6 supports fabric 1.2, you have to run db setup, npm install all the instructions from README, please run after invoking from fabric-samples/first-network $ docker-compose -f docker-compose-cli.yaml run cli bash, $peer version

nfrunza (Wed, 12 Sep 2018 18:15:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PAFYNwC85dsMhrzHm) make sure you fabric-sample/first-network is running, use: $./byfn.sh -m restart

sharif2008 (Wed, 12 Sep 2018 18:17:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gxYr4Ts83b2F8pHHW) my fabric is VERSION=1.2.0

nfrunza (Wed, 12 Sep 2018 18:23:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p5Wio3uJGcu2iidj7) @sharif2008 i just retested , and it's working fine, if you're using fabric-ca or behind the proxy it will not work

nfrunza (Wed, 12 Sep 2018 18:24:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vAWakrWWAYTANocga) please run after invoking from fabric-samples/first-network $ docker-compose -f docker-compose-cli.yaml run cli bash, $peer version. Paste in chat the result

nfrunza (Wed, 12 Sep 2018 18:28:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vAWakrWWAYTANocga) If you pull a new tag , please follow up instructions again

sharif2008 (Wed, 12 Sep 2018 18:32:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d8ZaMSdvddT7NRFyz) @nfrunza peer: Version: 1.2.0 Commit SHA: cae2ad4 Go version: go1.10 OS/Arch: linux/amd64 Experimental features: false Chaincode: Base Image Version: 0.4.10 Base Docker Namespace: hyperledger Base Docker Label: org.hyperledger.fabric Docker Namespace: hyperledger

sharif2008 (Wed, 12 Sep 2018 18:33:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NnGKqCGKm5Ry7YM4Y) @nfrunza I have followed the same instructions for v0.3.6 too

nfrunza (Wed, 12 Sep 2018 18:35:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GQ9PFdSr9rFRRqKyv) @sharif2008 what is your config.json, please verify, do you have a different channel name, please run in CLI $peer channel list

vanitas92 (Wed, 12 Sep 2018 18:39:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vAWakrWWAYTANocga) @nfrunza If we are using the fabric CA it will not work then? Then i will have to downgrade to 0.3.5 :(

sharif2008 (Wed, 12 Sep 2018 18:40:03 GMT):
2018-09-12 18:37:42.008 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized Channels peers has joined: mychannel `"client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } }`

sharif2008 (Wed, 12 Sep 2018 18:40:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5HPXpf9dco4bsFuBN) @nfrunza 2018-09-12 18:37:42.008 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized Channels peers has joined: mychannel `"client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } }` "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } },

sharif2008 (Wed, 12 Sep 2018 18:42:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5HPXpf9dco4bsFuBN) @nfrunza 2018-09-12 18:37:42.008 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized Channels peers has joined: mychannel config.json --------------- "channel": "mychannel", "mychannel": { "peers": { "peer0.org1.example.com": {} }, .. }

nfrunza (Wed, 12 Sep 2018 18:45:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gjskkhehDmGT2g9AL) @sharif2008 see my config in your private chat

sharif2008 (Wed, 12 Sep 2018 18:51:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eCWgAQJ8PAo3PxDZq) @nfrunza check my one too

nfrunza (Wed, 12 Sep 2018 18:53:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QoyTaKwi4fvxdPTis) @sharif2008 please verify the paths, try to $pkill node, then $./start.sh

sharif2008 (Wed, 12 Sep 2018 18:56:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e5uvGaG5RZsbbxMJ2) @nfrunza FYI : I am working in ubunutu 16.04

sharif2008 (Wed, 12 Sep 2018 19:00:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=B2AMab5NPWC2ooSoD) Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data

blakem (Wed, 12 Sep 2018 19:11:07 GMT):
Would anyone know what could be causing this issue?TypeError: Cannot read property 'size' of undefined at Platform.initialize (/opt/explorer/blockchain-explorer/app/platform/fabric/Platform.js:52:45) at at process._tickCallback (internal/process/next_tick.js:188:7)

nfrunza (Wed, 12 Sep 2018 20:30:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Bzm9xrZWHbsdYriSL) @sharif2008 something is wrong with yourconfig, please very the paths

nfrunza (Wed, 12 Sep 2018 20:33:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=f3KRanRgqMRqv7Fyo) @blakem DId you npm install, npm run build, and all the steps in README, do you have the db schema, with every git pull you need to run all instructions in README

greg2git (Wed, 12 Sep 2018 21:20:18 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Cannot find module 'fabric-client/lib/utils' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.Module._load (internal/modules/cjs/loader.js:507:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (/home/ubuntu/a/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:5:13) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) code: 'MODULE_NOT_FOUND' }

blakem (Wed, 12 Sep 2018 21:53:35 GMT):
@greg2git I am getting a similar error, but the connection is timing out before connecting with the postgres command

underbell (Thu, 13 Sep 2018 06:08:43 GMT):
Has joined the channel.

nfrunza (Thu, 13 Sep 2018 13:32:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fs9hjzPPNo9XruMJm) @greg2git Please describe your steps after you did git clone or pulled from hyperledger explorer, which branch are you working on?

blakem (Thu, 13 Sep 2018 13:55:48 GMT):
I know the newest release supports 1.2 as in says in the README, but does it still work with 1.1?

nfrunza (Thu, 13 Sep 2018 13:57:58 GMT):
no

blakem (Thu, 13 Sep 2018 13:59:24 GMT):
ah, that explains some a few things.

blakem (Thu, 13 Sep 2018 13:59:27 GMT):
Thanks

abityildiz (Thu, 13 Sep 2018 14:36:46 GMT):
hi ,i get this error:

abityildiz (Thu, 13 Sep 2018 14:36:46 GMT):
hi ,i get this error:

abityildiz (Thu, 13 Sep 2018 14:36:46 GMT):
hi ,i get this error: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer db error { error: Ident authentication failed for user "hppoc" can you help me please?

abityildiz (Thu, 13 Sep 2018 14:37:52 GMT):

Clipboard - September 13, 2018 5:37 PM

nfrunza (Thu, 13 Sep 2018 14:45:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fqGLxokt97pgpKjSG) @abityildiz are you behind the proxy?

abityildiz (Thu, 13 Sep 2018 18:19:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MkegWFh32DG3xZksd) @nfrunza i have setup postgresql on the redhat 7.where can i learn the proxy ?i don't know details proxy

nfrunza (Thu, 13 Sep 2018 18:22:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2bydCDmy7nnEygnLk) @abityildiz is this in a company network?

greg2git (Thu, 13 Sep 2018 18:30:55 GMT):
@nfrunza i'm trying to reinstall npm and here are my npm and nodejs versions: root@/blockchain-explorer# npm -v 6.1.0 root@/blockchain-explorer# nodejs -v v10.6.0 , postgres is running fine but now the logs are showing this error message: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: The gRPC binary module was not installed. This may be fixed by running "npm rebuild" but when i go to the directory there is no grpc node there: /blockchain-explorer/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node the npm install is throwing this error under root: npm ERR! '/home/ubuntu/a/blockchain-explorer/node_modules/stompjs/node_modules/websocket' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user do i need to 'downgrade' npm and/or nodejs?

nfrunza (Thu, 13 Sep 2018 18:43:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ekamhLsRxkM8z93Db) @greg2git please don't run as root, use your ubuntu user

nfrunza (Thu, 13 Sep 2018 18:43:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ekamhLsRxkM8z93Db) @greg2git please don't run as root, use your ubuntu user , and if you read your error messages you can see : npm ERR! The operation was rejected by your operating system.

abityildiz (Thu, 13 Sep 2018 18:44:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SxbZ3YCnwvdhR5L6S) @nfrunza yes,it is company network.i have setup fabric,composer and run well.but i didnt setup explorer

greg2git (Thu, 13 Sep 2018 18:46:41 GMT):
when running as ubuntu i get this: ./start.sh: line 23: logs/console/console-2018-09-13.log: Permission denied the error is still the same for explorer: <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Cannot find module '/home/ubuntu/a/blockchain-explorer/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node'

greg2git (Thu, 13 Sep 2018 18:48:57 GMT):
npm run test gives me this: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hyperledger-explorer-test@0.3.3 test: `mocha *.js --exit` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hyperledger-explorer-test@0.3.3 test script.

nfrunza (Thu, 13 Sep 2018 18:58:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Xyt8LnDFKRTpYjeW7) @greg2git from the /home/ubuntu/a run $chmod 775 blockchain-explorer

nfrunza (Thu, 13 Sep 2018 19:01:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=s2b7YwBmvd465J7SH) @abityildiz we use postgresql so, you need to be able to connect to it

blakem (Thu, 13 Sep 2018 21:13:34 GMT):
any idea why I am getting a timing out error?``` postgres://hppoc:password@explorer_db:5432/fabricexplorer error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline ```

greg2git (Thu, 13 Sep 2018 22:16:02 GMT):
@nfrunza thx for staying with me, and i have now this problem when running 'npm test -- -u --coverage' whether it's prefixed with 'sudo' or not > hyperledger-explorer-client@0.3.5 test /home/ubuntu/a/blockchain-explorer/client > react-scripts test --env=jsdom "-u" "--coverage" PASS src/state/redux/charts/tests.spec.js (7.273s) FAIL src/components/Lists/Blocks.spec.js (12.004s) ● Blocks › Simulate onClick when a tansaction is clicked the TransactionView modal should exist expect(received).toBe(expected) Expected value to be (using ===): true Received: false at Object.test (src/components/Lists/Blocks.spec.js:442:62) PASS src/components/Charts/ChartStats.spec.js PASS src/components/Lists/Transactions.spec.js (5.135s) PASS src/state/redux/tables/tests.spec.js PASS src/components/Header/HeaderView.spec.js (7.652s) PASS src/components/View/DashboardView.spec.js PASS src/components/Lists/Chaincodes.spec.js ● Console console.error node_modules/@material-ui/core/node_modules/warning/warning.js:36 Warning: Material-UI: the key `hash` provided to the classes property is not implemented in ChaincodeModal. You can only override one of the following: code,cubeIcon,source console.error node_modules/@material-ui/core/node_modules/warning/warning.js:36 Warning: Material-UI: the key `hash` provided to the classes property is not implemented in ChaincodeModal. You can only override one of the following: code,cubeIcon,source PASS src/components/Main.spec.js PASS src/components/View/BlocksView.spec.js PASS src/components/View/TransactionView.spec.js PASS src/components/View/TransactionsView.spec.js PASS src/components/Lists/TimelineStream.spec.js PASS src/components/Lists/Peers.spec.js PASS src/components/Lists/Channels.spec.js RUNS src/components/View/LandingPage.spec.js /home/ubuntu/a/blockchain-explorer/client/node_modules/react-scripts/scripts/test.js:20 throw err; ^ TypeError: getBlockActivity is not a function at LandingPage.componentDidMount (/home/ubuntu/a/blockchain-explorer/client/src/components/View/LandingPage.js:136:5) npm ERR! Test failed. See above for more details.

nfrunza (Fri, 14 Sep 2018 00:55:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zyMxyhCyQytoivjM3) @blakem Possible cause: Fabric network down, or unavailable, miss configuration Possible solution: Verify fabric network, and if properly configured in config.json

nfrunza (Fri, 14 Sep 2018 00:57:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DEdGP2rNSxuhcZKo3) @greg2git test failure is more environmental than an error, you can ignore and proceed to next step

Randyshu2018 (Fri, 14 Sep 2018 07:05:21 GMT):
hi,I have a problem with blockchain-explorer,my fabric version is 1.1.0,but the lasted explorer not support for 1.1.0, so i tried branch of release3.5,it also failed to start, Is there any stable version for hyperledger fabric 1.1.0 ?

rajanashutosh (Fri, 14 Sep 2018 07:34:44 GMT):
@nfrunza - I am working on latest version of Explorer and was able to successfully bring up the application, but when i am doing a syncstart run I am facing issues. It depicts I am having some issues with configuration and peer status issues.

rajanashutosh (Fri, 14 Sep 2018 07:37:19 GMT):
I am using now fabric version 1.2.1.

rajanashutosh (Fri, 14 Sep 2018 10:38:22 GMT):
[2018-09-14 06:33:24.051] [DEBUG] FabricClient - Set client [client-1] default orderer as >> grpc://xx.xx.xx.181:7050 [2018-09-14 06:33:24.052] [DEBUG] SyncPlatform - [Default Peer: Peer:{url:grpc://xx.xx.xx.180:7051} ][Url: grpc://xx.xx.xx.180:7051][Peer MSP: Org1MSP ] [2018-09-14 06:33:24.052] [DEBUG] FabricClient - Admin peer Not found for grpc://xx.xx.xx.180:7051 [2018-09-14 06:33:24.052] [DEBUG] SyncPlatform - Peer Status: undefined

rajanashutosh (Fri, 14 Sep 2018 10:40:48 GMT):
Even though I am having all my genesis block and other information retrieved since, its not able to properly evaluate peerStatus abve issue am facing

rajanashutosh (Fri, 14 Sep 2018 10:51:43 GMT):
"peers_by_org":{"Org1MSP":{"peers":[]}}}.. This is where exactly its causing issue due to which admin creation is not happening

nfrunza (Fri, 14 Sep 2018 11:38:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6xtYN9uLNkBP8veFA) @Randyshu2018 tag v.03.5 supports fabric 1.1

nfrunza (Fri, 14 Sep 2018 11:42:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hHYgyrjmuFsvTsQer) @rajanashutosh please list your steps when you run syncstart, it is meant to run as standalone process, no UI

rajanashutosh (Fri, 14 Sep 2018 11:57:39 GMT):
@nfrunza So sync process is not required s it while running with UI ?

nfrunza (Fri, 14 Sep 2018 12:16:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DNDmjoHwkaDW5M9wF) @rajanashutosh please read the README

greg2git (Fri, 14 Sep 2018 12:58:27 GMT):
running multiple reinstalls of npm but this error is always showing up after running ./start.sh : <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Cannot find module '/home/ubuntu/a/blockchain-explorer/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.Module._load (internal/modules/cjs/loader.js:507:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (/home/ubuntu/a/blockchain-explorer/node_modules/grpc/src/grpc_extension.js:32:13) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) code: 'MODULE_NOT_FOUND' } Received kill signal, shutting down gracefully Closed out connections

rajanashutosh (Fri, 14 Sep 2018 14:58:49 GMT):
@nfu

rajanashutosh (Fri, 14 Sep 2018 15:20:30 GMT):
@nfrunza I read the the documents, it mentions only how to configure sync process, but why exactly its available not mentioned or in which scenario we are going to use it as well not available..

rajanashutosh (Fri, 14 Sep 2018 15:21:26 GMT):

Clipboard - September 14, 2018 8:51 PM

rajanashutosh (Fri, 14 Sep 2018 15:22:06 GMT):
This is how currently i am getting explorer latest version screens but it doesnt lists any data whereas in logs i could see data hash and other informations available

nfrunza (Fri, 14 Sep 2018 15:23:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=P9TRXcnPDaZCzctTj) @rajanashutosh sync process works independently with no UI, either you run one or the other

nfrunza (Fri, 14 Sep 2018 15:24:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kJJfNCyWXjk5mF2eE) and node process is one per environment, if you try to run sync process with already running explorer, it will fail, kill node, by $pkill node

nfrunza (Fri, 14 Sep 2018 15:26:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LvsZszXvzWxwSHTgp) @greg2git please make sure you have permission,

rajanashutosh (Fri, 14 Sep 2018 15:27:38 GMT):
@nfrunza Ok, so sync we would be using it only if in case if we have our own custom UI or we would like to make use off.

nfrunza (Fri, 14 Sep 2018 15:31:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gYubr3A8d3fWNgqhF) @rajanashutosh correct

nfrunza (Fri, 14 Sep 2018 15:31:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gYubr3A8d3fWNgqhF) @rajanashutosh correct, to make story short it will populate the Db with your fabric data

rajanashutosh (Fri, 14 Sep 2018 15:35:55 GMT):
@nfrunza Is it expected to have the screens with out any data, whereas i have 4 orgs with 1 peer each. Genesis block available. Hence atleast a single block should be available in UI right ?

nfrunza (Fri, 14 Sep 2018 15:40:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NTyoXL7rctt73EooP) @rajanashutosh what do you expect from Explorer?

nfrunza (Fri, 14 Sep 2018 15:40:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NTyoXL7rctt73EooP) @rajanashutosh what do you expect from Explorer? what your needs, you can configure to run with fabric samples, and see the data in UI

nfrunza (Fri, 14 Sep 2018 15:40:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NTyoXL7rctt73EooP) @rajanashutosh what do you expect from Explorer? what are your needs, you can configure to run with fabric samples, and see the data in UI

rajanashutosh (Fri, 14 Sep 2018 15:43:07 GMT):
I have brought a new network up with v 1.2.1, And i have plugged in explorer. Would like to have it working it was retrieving earlier. I could see the hash and other information in logs but when i checked db not a single record is available. I have 4 chaincodes installed, 4 channels and total of 4 orgs with each having 1 peer

rajanashutosh (Fri, 14 Sep 2018 15:43:31 GMT):
there is no error in any off logs.

nfrunza (Fri, 14 Sep 2018 15:45:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WgsczWXbAncqzwKpr) @rajanashutosh do you use fabric-ca , and are you behind the proxy?

nfrunza (Fri, 14 Sep 2018 15:46:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bG5YdLMRj3CSGmsBb) we didn't test with fabric 1.2.1, only fabric 1.2

rajanashutosh (Fri, 14 Sep 2018 15:49:20 GMT):
@nfrunza I am having CA and architecture is exactly same as Fabric 1.1. 4 Orgs each having dedicated CA.

rajanashutosh (Fri, 14 Sep 2018 15:50:22 GMT):
I have just upgraded my Fabric version from 1.1 to 1.2.1 in order to avoid issue which I was facing due to QSCC chaincode (Deadlock scenario)

nfrunza (Fri, 14 Sep 2018 15:51:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gSqots327EvZtZv8N) @rajanashutosh was the explorer running before, or you just trying now ?

rajanashutosh (Fri, 14 Sep 2018 15:51:34 GMT):
for 1.1 & 1.2 explorer is working perfectly with older explorer.

rajanashutosh (Fri, 14 Sep 2018 15:52:00 GMT):
for 1.2.1 which is new network which I setup

nfrunza (Fri, 14 Sep 2018 15:52:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=X9pdbDnJKZLrG5PBb) @rajanashutosh we didn't test with fabric 1.2.1, we do not have resources, would you contribute to Explorer?

rajanashutosh (Fri, 14 Sep 2018 15:53:06 GMT):
sure, I would like to

nfrunza (Fri, 14 Sep 2018 15:54:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FirXYDomyS2LEGu4f) @rajanashutosh ok, our development branch is release-3.7, let me create a jira and i can assign to you

nfrunza (Fri, 14 Sep 2018 15:55:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gaY5emeeaRnZR4CrS) any experience with gerrit? do you have LFID linux foundation id?

rajanashutosh (Fri, 14 Sep 2018 15:55:55 GMT):
yes, i have one

rajanashutosh (Fri, 14 Sep 2018 15:56:20 GMT):
But i dont have experience with gerrit

rajanashutosh (Fri, 14 Sep 2018 15:57:32 GMT):
I have pinged you my Id in personal message

nfrunza (Fri, 14 Sep 2018 15:58:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sGrWqXyn8mM2nQyoo) @rajanashutosh ok

greg2git (Fri, 14 Sep 2018 16:10:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qzBcea5EiptqEybJR) @nfrunza i think nodejs version higher than 8.11 has a problem but in the meantime i think i got it to run but let me post the issue to the group

nfrunza (Fri, 14 Sep 2018 16:11:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bEJsJDpRb32pxaFDB) @greg2git correct not above 8

greg2git (Fri, 14 Sep 2018 16:13:49 GMT):
everything is working now after i have replaced localhost with my cloud address and thank you very much for responding to my questions

greg2git (Fri, 14 Sep 2018 16:14:48 GMT):
where would we be without @nfrunza :nerd::sunglasses:!

nfrunza (Fri, 14 Sep 2018 16:15:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tGzixQQ7tgcvyDB5G) @greg2git i need to create a survey with people ENV, many questions back and forth

nfrunza (Fri, 14 Sep 2018 16:17:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=T4efSRu3qxJoKPGt4) @greg2git did you copy the cloud .pem in your local? or you cloud is open?

greg2git (Fri, 14 Sep 2018 16:23:31 GMT):
i'm running it off putty connecting to the cloud, and i keep uploading .pem whenever i open the instance in the cloud

greg2git (Fri, 14 Sep 2018 16:33:39 GMT):

Clipboard - September 14, 2018 12:33 PM

greg2git (Fri, 14 Sep 2018 16:34:09 GMT):
this is cosmetics but the web page is not showing the correct fabric version: 1.2 now that we are going to 1.3

nfrunza (Mon, 17 Sep 2018 14:28:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GYdtZuq7sSWYTFp8k) @greg2git agree, we somehow missed it,

blakem (Mon, 17 Sep 2018 19:44:29 GMT):
My network is working with Hyperledger Explorer. However, after a period time I get the error ``` error: [Admin.js]: GetStatus - timed out after:45000 error: [Admin.js]: GetStatus - timed out after:45000 error: [Admin.js]: GetStatus - timed out after:45000 (node:21) UnhandledPromiseRejectionWarning: Error: REQUEST_TIMEOUT at Timeout._onTimeout (/opt/explorer/blockchain-explorer/app/platform/fabric/Admin.js:125:23) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) (node:21) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) ```

blakem (Mon, 17 Sep 2018 19:44:37 GMT):
any idea what would cause that?

blakem (Mon, 17 Sep 2018 19:44:50 GMT):
I appreciate the help

nfrunza (Mon, 17 Sep 2018 21:14:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZZbHDZmkhRbn2QZaP) @blakem you mean idle time? could be a network connection problem

malviyamukul (Tue, 18 Sep 2018 05:26:56 GMT):

Clipboard - September 18, 2018 10:56 AM

malviyamukul (Tue, 18 Sep 2018 05:27:15 GMT):
hey every one. i created business network on composer. Now i want to to connect it to hyper ledger explorer. so i cloned hyperledger explorer github repo. but i dont understand what configuration should make to config.json ... Here is `docker ps` command results .

malviyamukul (Tue, 18 Sep 2018 05:27:29 GMT):
here is DevServer_connection.json `{ "name": "hlfv1", "x-type": "hlfv1", "x-commitTimeout": 300, "version": "1.0.0", "client": { "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300", "eventHub": "300", "eventReg": "300" }, "orderer": "300" } } }, "channels": { "composerchannel": { "orderers": [ "orderer.example.com" ], "peers": { "peer0.org1.example.com": {} } } }, "organizations": { "Org1": { "mspid": "Org1MSP", "peers": [ "peer0.org1.example.com" ], "certificateAuthorities": [ "ca.org1.example.com" ] } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } }, "peers": { "peer0.org1.example.com": { "url": "grpc://localhost:7051" } }, "certificateAuthorities": { "ca.org1.example.com": { "url": "http://localhost:7054", "caName": "ca.org1.example.com" } } }`

malviyamukul (Tue, 18 Sep 2018 05:27:40 GMT):
now in which way should i edit config.json\]

rthatcher (Tue, 18 Sep 2018 08:21:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TMk9H4tbD7snznu88) @malviyamukul There is an example in this Stack Overflow answer which may help: https://stackoverflow.com/questions/51857102/error-while-starting-hyperledger-explorer-with-hyperledger-composer/51859483#51859483

malviyamukul (Tue, 18 Sep 2018 08:57:54 GMT):

Clipboard - September 18, 2018 2:26 PM

GuillaumeTong (Tue, 18 Sep 2018 09:21:16 GMT):
Has joined the channel.

me_abhijeet (Tue, 18 Sep 2018 12:17:17 GMT):
Has joined the channel.

me_abhijeet (Tue, 18 Sep 2018 12:20:50 GMT):

temp.png

nfrunza (Tue, 18 Sep 2018 14:13:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=D5YAdiTtiPStMFhwX) @me_abhijeet please use v.0.3.5 tag

me_abhijeet (Tue, 18 Sep 2018 14:16:39 GMT):
i fixed it using : rm -rf /usr/lib/python2.7/dist-packages/OpenSSL rm -rf /usr/lib/python2.7/dist-packages/pyOpenSSL-0.15.1.egg-info sudo pip install pyopenssl

nfrunza (Tue, 18 Sep 2018 14:32:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7EfuAaykfKbNEAai9) @me_abhijeet thank you for sharing the solution

WCamaly (Tue, 18 Sep 2018 14:39:13 GMT):
Hi!, i've a problem when try open Chaincode, open an overlay where there is a message that says "Location not found".

jvsclp (Tue, 18 Sep 2018 14:47:51 GMT):
Has joined the channel.

zconger (Tue, 18 Sep 2018 16:40:37 GMT):
Has joined the channel.

nfrunza (Tue, 18 Sep 2018 18:35:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GrYTNz2fNZcgCn7Jh) @WCamaly which OS do you use? i guess Windows?

nfrunza (Tue, 18 Sep 2018 18:36:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7EfuAaykfKbNEAai9) @me_abhijeet Can you put in the chat text of the error, i want to add to troubleshooting notes

WCamaly (Tue, 18 Sep 2018 18:54:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KxHRmXETzS5kTrbjo) @nfrunza I'm use ubuntu

nfrunza (Tue, 18 Sep 2018 19:00:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gXsmy74RDgXwED5tM) @WCamaly and what do you use, which branch? or tag?

me_abhijeet (Wed, 19 Sep 2018 05:09:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=T6mDr3GExppbAGoHv) @nfrunza this is the complete error message: Traceback (most recent call last): File "/usr/bin/docker-compose", line 9, in load_entry_point('docker-compose==1.8.0', 'console_scripts', 'docker-compose')() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2229, in load return self.resolve() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve module = _import_(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 14, in from . import errors File "/usr/lib/python2.7/dist-packages/compose/cli/errors.py", line 9, in from docker.errors import APIError File "/usr/lib/python2.7/dist-packages/docker/__init__.py", line 20, in from .client import Client, AutoVersionClient, from_env # flake8: noqa File "/usr/lib/python2.7/dist-packages/docker/client.py", line 18, in import requests File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 53, in from .packages.urllib3.contrib import pyopenssl File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 54, in import OpenSSL.SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import rand, crypto, SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118, in SSL_ST_INIT = _lib.SSL_ST_INIT AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

NareshPai (Wed, 19 Sep 2018 06:41:03 GMT):
Has joined the channel.

raviyelleni (Wed, 19 Sep 2018 07:31:45 GMT):
Build Hyperledger Explorer Failing at last step "npm run build"

raviyelleni (Wed, 19 Sep 2018 07:31:51 GMT):

npm run build.png

raviyelleni (Wed, 19 Sep 2018 07:32:07 GMT):

logreport.png

raviyelleni (Wed, 19 Sep 2018 07:32:49 GMT):
KINDLY PROVIDE SOLUTION, TRIED THRICE...following the procedure as per in link: https://github.com/hyperledger/blockchain-explorer

JaccobSmith (Wed, 19 Sep 2018 09:32:21 GMT):
The explorer actually uses the "locate" command to find the chaincode which surprises me really :joy: ,why you guys use such unstable way ?

nfrunza (Wed, 19 Sep 2018 12:03:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SzyCyYibeW69AYvRC) @me_abhijeet thank you very much

nfrunza (Wed, 19 Sep 2018 12:05:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XrF6zBwAYwWwnm8yW) @JaccobSmith Thank you for the comment, would you be a able to contribute in fixing it? We are out of resources., I appreciate your contribution.

nfrunza (Wed, 19 Sep 2018 12:16:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cpzBrz9cbFH7HXARm) @raviyelleni Thank you for the posting, would you be able to provide the following: OS, node -v, branch name you use to build explorer

UpendraMishra (Wed, 19 Sep 2018 13:04:29 GMT):
Has joined the channel.

blakem (Wed, 19 Sep 2018 15:42:47 GMT):
For some reason, I have 4 peers connected to explorer, and while they show up under the dashboard with peer name and status, there is only one peer showing under network tab. Any advice on this issue?

raviyelleni (Wed, 19 Sep 2018 16:44:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KpvD7sxfBre8nerdb) @nfrunza @nfrunza its v8.11.3

raviyelleni (Wed, 19 Sep 2018 16:44:40 GMT):

NODE -V.png

nfrunza (Wed, 19 Sep 2018 17:06:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LqZsLZ8ucfT3rY7Jz) @raviyelleni i think some of the required packages didn't install properly, which branch did you clone

blakem (Wed, 19 Sep 2018 17:39:53 GMT):
This is basically the exact issue that I am having : https://stackoverflow.com/questions/51061830/missing-peer-info-in-blockchain-explorer

suryalanka (Wed, 19 Sep 2018 18:58:04 GMT):
Has joined the channel.

suryalanka (Wed, 19 Sep 2018 19:02:04 GMT):
Hi... I am looking into blockchain explorer to use with fabric... Question is will explorer work with mutual tls enabled fabric network?

nfrunza (Thu, 20 Sep 2018 02:13:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WsrprGsYvYrYPwXat) @blakem which issue you refer to?

raviyelleni (Thu, 20 Sep 2018 05:16:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CY5QeFYSYL8RMGBpj) @nfrunza The latest from github, can u kindly share the stable branch link...

Shyam_Pratap_Singh (Thu, 20 Sep 2018 06:26:32 GMT):
Has joined the channel.

me_abhijeet (Thu, 20 Sep 2018 06:30:45 GMT):
I am seeing while trying to start couch db- -- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:403)

me_abhijeet (Thu, 20 Sep 2018 06:33:18 GMT):

temp.png

nfrunza (Thu, 20 Sep 2018 08:13:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FZzYkkHQrnfRcpxxS) @me_abhijeet Explorer doen't use couchdb, that is an option to start fabric network with, please ask in fabric-questions channel

nfrunza (Thu, 20 Sep 2018 08:13:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NYZqsgySaK6xyf2ZM) @raviyelleni master is stable

nfrunza (Thu, 20 Sep 2018 08:13:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NYZqsgySaK6xyf2ZM) @raviyelleni master is stable, tag v0.3.6 is stable

blakem (Thu, 20 Sep 2018 13:13:13 GMT):

missing_nodes.jpg

blakem (Thu, 20 Sep 2018 13:14:44 GMT):
@nfrunza while this is not my screenshot it is the same issue. There are multiple peers that are connected, however, under nodes only 1 appears, and under the network tab only one peer appears as well. However, as you can see, the status of all peers still appears on the dashboard

nfrunza (Thu, 20 Sep 2018 13:20:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5Ktg5PCHgQeS9fKoP) @blakem Is this fabric 1.2?, and you're building from tag v.0.3.6 ?

nfrunza (Thu, 20 Sep 2018 13:20:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5Ktg5PCHgQeS9fKoP) @blakem Is this fabric 1.2?, and you're building from tag v.0.3.6 ? We are filtering by channel

blakem (Thu, 20 Sep 2018 13:26:26 GMT):
@nfrunza I am using release 3.5 because I am using Fabric 1.1.

nfrunza (Thu, 20 Sep 2018 13:30:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oAMrBT3WZy6WPT5i8) @blakem Yes it is a bug, we encourage to use, latest v0.3.6, and Fabric 1.2

blakem (Thu, 20 Sep 2018 13:31:00 GMT):
Ok, so it is a known bug in release 3.5? Nothing that I am doing wrong on my end then?

nfrunza (Thu, 20 Sep 2018 13:31:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vXA9B6ETEtnvqHszB) @blakem correct, fabric 1.2 has the discovery and we were able to get all the pear's

blakem (Thu, 20 Sep 2018 13:32:02 GMT):
@nfrunza Thank you

nfrunza (Thu, 20 Sep 2018 13:32:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YfBdmv6FkwsgaZasf) let me try to find that jira

nfrunza (Thu, 20 Sep 2018 13:32:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YfBdmv6FkwsgaZasf) let me try to find that jira, https://jira.hyperledger.org/browse/BE-445

nfrunza (Thu, 20 Sep 2018 13:37:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YW2hF87ZECu5qDftB) @blakem welcome, https://jira.hyperledger.org/browse/BE-445

bravobardo (Thu, 20 Sep 2018 19:54:48 GMT):
Has joined the channel.

bravobardo (Thu, 20 Sep 2018 19:55:11 GMT):
Hello. How can I support Explorer by submitting some code changes?

nekia (Fri, 21 Sep 2018 00:02:52 GMT):
Thank you for reaching out and wishing to contribute, see https://github.com/hyperledger/blockchain-explorer/blob/master/CONTRIBUTING.md , you'll need a linux foundation account, you can find how to create one in the http://hyperledger-fabric.readthedocs.io/en/latest/Gerrit/lf-account.html @bravobardo

nekia (Fri, 21 Sep 2018 00:20:58 GMT):
If you have any questions, please feel free to ask in here or DM to me or @nfrunza

nfrunza (Fri, 21 Sep 2018 00:38:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=r5kSRyvCtedaNK7qc) @bravobardo Hello Ramos, let me know how i can help you to get you setup to contribute to HLExplorer

nfrunza (Fri, 21 Sep 2018 00:38:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=r5kSRyvCtedaNK7qc) @bravobardo Hello Claudio Ramos, let me know how i can help you to get you setup to contribute to HLExplorer

bh4rtp (Fri, 21 Sep 2018 00:50:19 GMT):
i noted release-3.7 was tagged. does this mean release-3.6 support of fabric-1.2 is ok? but i still cannot run with it.

BarryMcLaughlin (Fri, 21 Sep 2018 09:42:12 GMT):
Am running explorer 0.36 over https with fabric 1.2 network...it is working but giving a load of warnings because of insecure websocket endpoint...I'm guessing this is how updates are pushed to the UI...warning as shown below

BarryMcLaughlin (Fri, 21 Sep 2018 09:42:17 GMT):

Clipboard - September 21, 2018 10:42 AM

BarryMcLaughlin (Fri, 21 Sep 2018 09:42:56 GMT):
anyone else experiencing this or aware of how to set up the explorer websocket endpoing to use wss

BarryMcLaughlin (Fri, 21 Sep 2018 09:42:56 GMT):
anyone else experiencing this or aware of how to set up the explorer websocket endpoint to use wss

vanitas92 (Fri, 21 Sep 2018 11:11:11 GMT):
@BarryMcLaughlin If possible could you please explain how you achieved connecting explorer 3.6 with fabric 1.2 with https? I am using fabric ca but getting the error message : "Error : Failed to connect client peer, please check the configuration and peer status". Do you use the fabric-ca component? How did you configure the config.json? Thank you very much!!

DeepakMule (Fri, 21 Sep 2018 11:27:02 GMT):
Has joined the channel.

BarryMcLaughlin (Fri, 21 Sep 2018 11:27:50 GMT):
@vanitas92 Short answer...it took a while ;) Longer answer, we were moving from a 0.35 fabric 1.1 setup...and the key gotcha for me was that the config.json structure completely changed...so my advice is to go through that with a fine tooth comb and make sure all the mspids, keys, certs, urls, etc are exactly correct for YOUR network. No point in posting mine because its for out fabric network which is not standard. Use https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config.json as a starting point...this is the correct format. As for how we achieved connection over https...we are running our network on kubenetes and used a TLS ingress. However, sounds to me like your issue is something not matching your network within the config.json - but I'm not an expert in this!

BarryMcLaughlin (Fri, 21 Sep 2018 11:27:50 GMT):
@vanitas92 Short answer...it took a while ;) Longer answer, we were moving from a 0.35 fabric 1.1 setup...and the key gotcha for me was that the config.json structure completely changed...so my advice is to go through that with a fine tooth comb and make sure all the mspids, keys, certs, urls, etc are exactly correct for YOUR network. No point in posting mine because its for our fabric network which is not standard. Use https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config.json as a starting point...this is the correct format. As for how we achieved connection over https...we are running our network on kubenetes and used a TLS ingress. However, sounds to me like your issue is something not matching your network within the config.json - but I'm not an expert in this!

DeepakMule (Fri, 21 Sep 2018 11:30:43 GMT):
Is it necessary to add details of all peer information in config.json? In my HLF network currently there are 3 ORG but those ORG are on remote instance and Hyperledger explorer is setup only on ORG1 only so can it be possible give only ORG1 and able see complete network information once explorer is running.

DeepakMule (Fri, 21 Sep 2018 11:30:43 GMT):
Is it necessary to add details of all peer information in config.json? In my HLF network currently there are 3 ORG but those ORG are on remote instance and Hyperledger explorer is setup only on ORG1. Is it be possible give only ORG1 and able see complete network information once explorer is running ?

DeepakMule (Fri, 21 Sep 2018 11:30:43 GMT):
Is it necessary to add details of all peer information in "config.json"? In my HLF network currently there are 3 ORG but those ORG are on remote instance and Hyperledger explorer is setup only on ORG1. Is it be possible give only ORG1 and able see complete network information once explorer is running ?

C0rWin (Fri, 21 Sep 2018 11:32:06 GMT):
Has joined the channel.

vanitas92 (Fri, 21 Sep 2018 12:49:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jB3KSZqkKYEaiFhrr) @BarryMcLaughlin Thanks. I had a similar starting point and no problem until 3.6 and the restructure of config.json is a headache now. I still do not understand what is the meaning of the "clients" section of the json. Im using a completely customized fabric network running in kuberntes too and maybe with your help could get on with this! Thank you very much.

BarryMcLaughlin (Fri, 21 Sep 2018 14:07:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=guFA4nM8b5Bh6iFLo) @vanitas92 I'm also unclear on the "clients" section so if anyone on here has definitive answer please jump in. My guess is it is related to the NodeSDK client config see here :https://fabric-sdk-node.github.io/tutorial-network-config.html. The error you are seeing comes from here: https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/FabricClient.js line 116. I also had this error at one point. Reading the code, the first thing it does with fabric client after initialization is call queryChannels and if that returns empty...you get this error. So, either there are no channels on your network or, more likely, the config is wrong somehow and its not able to connect. I would suggest this...take the url to the peer you are connecting to (the one matching organization in the clients section) then remote on to your explorer pod and try a cmd like this: nc -zv {{your_hostname_or_ip_from_url_property}} {{port_from_url}} If this doesn't return open then you have some sort of network issue or your config is wrong. Other things to check that the certs and keys in your config.json are actually there. Sorry can't be of more help but I'm no expert...just hacking my way.

vanitas92 (Fri, 21 Sep 2018 15:46:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GfyLy6uihBGbBRxGN) @BarryMcLaughlin Thank you so much for your insights! Ill try your suggestions!

Aswath8687 (Sun, 23 Sep 2018 01:05:35 GMT):
Has joined the channel.

bh4rtp (Mon, 24 Sep 2018 09:18:21 GMT):
for release-3.6, how to configure multiple channels in app/platform/fabric/config.json?

bh4rtp (Mon, 24 Sep 2018 09:39:04 GMT):
i still cannot have release-3.6 run ok. here is outputs: ```$ node main.js postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://localhost:8080/ pid is 26046 postgres://hppoc:password@127.0.0.1:5432/fabricexplorer postgres://hppoc:password@127.0.0.1:5432/fabricexplorer postgres://hppoc:password@127.0.0.1:5432/fabricexplorer postgres://hppoc:password@127.0.0.1:5432/fabricexplorer postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] Sync process is started for the network : [network-1] and client : [client-4] Sync process is started for the network : [network-1] and client : [client-2] Sync process is started for the network : [network-1] and client : [client-3] Sync process is started for the network : [network-1] and client : [client-5] error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/home/allen/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:838:16) {} <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> {} Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>```

nfrunza (Mon, 24 Sep 2018 15:16:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YieMy7PgDzuzS7DKz) @bh4rtp No need to configure multiple channels, if the channels are part of the connection, it will discover, even while adding a new channel explorer will discover it

nfrunza (Mon, 24 Sep 2018 15:17:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=S6cSmXoH7e9XMx4hz) @bh4rtp verify if your fabric is up and running, please run "$docker network ls", and let me know the results

nfrunza (Mon, 24 Sep 2018 15:17:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=S6cSmXoH7e9XMx4hz) @bh4rtp verify if your fabric is up and running, please run "$docker network ls", and let me know the results, and if your network useds fabric-ca it would be up to you to register the default admin use to the fabric ca

nfrunza (Mon, 24 Sep 2018 15:27:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bGZ8bhoc5ftZGBx9b) @bh4rtp did you try using fabric-sample/first-network? I do not know which fabric do you use from samples or custom one

bh4rtp (Mon, 24 Sep 2018 15:51:55 GMT):
@nfrunza i am using my own fabric network. it has 5 channels, 2 orgs.

nfrunza (Mon, 24 Sep 2018 15:52:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XTuZcPPwwdLJtiHCE) @bh4rtp do you use fabric-ca?

nfrunza (Mon, 24 Sep 2018 15:53:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qEv9LBmCnL8GTyMdD) Can you run this command $docker network ls

bh4rtp (Mon, 24 Sep 2018 15:53:18 GMT):
@nfrunza yes, i am using fabric-ca, and has two affiliations.

bh4rtp (Mon, 24 Sep 2018 15:53:38 GMT):
ok. just a minute.

nfrunza (Mon, 24 Sep 2018 15:55:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rZPAD6bxPpbskYHCX) @bh4rtp we didn't test with fabric-ca, some developers stated that is working for them, please ask in the chat how to configure or make it work with fabric-ca

bh4rtp (Mon, 24 Sep 2018 15:57:37 GMT):
@nfrunza docker network ls: ```NETWORK ID NAME DRIVER SCOPE 0e4b6e8ffceb bridge bridge local 69beec1bc8d5 composer_default bridge local 67402c25b976 docker_gwbridge bridge local 20df95e7e8db energyx_byfn bridge local 7a761a6656ec host host local urrqanokxah7 ingress overlay swarm 38fbdab1c3f1 none null local``` energyx_byfn is used for fabric.

nfrunza (Mon, 24 Sep 2018 16:01:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Yh7C3nhTic7pxtmNf) @bh4rtp try to copy the .pem file under the explorer project root, or under /tmp

bh4rtp (Mon, 24 Sep 2018 16:03:23 GMT):
@nfrunza thanks. let me try.

nfrunza (Mon, 24 Sep 2018 16:04:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=noyoNMaBNLTYPPvzR) @bh4rtp sure

nfrunza (Mon, 24 Sep 2018 16:07:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=noyoNMaBNLTYPPvzR) @bh4rtp i'm not sure, but you may need to copy the public keys to the fabric-ca too

nfrunza (Mon, 24 Sep 2018 16:07:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=noyoNMaBNLTYPPvzR) @bh4rtp i'm not sure, but you may need to copy the public keys to the fabric-ca too, in other workd fabric-ca needs to recognize the explorer as valid client/user

nfrunza (Mon, 24 Sep 2018 16:07:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=noyoNMaBNLTYPPvzR) @bh4rtp i'm not sure, but you may need to copy the public keys to the fabric-ca too, in other workd fabric-ca needs to recognize the explorer as valid client/user, to do the handshake

bh4rtp (Mon, 24 Sep 2018 16:08:37 GMT):
@nfrunza got it. thanks.

bobonana (Mon, 24 Sep 2018 19:32:59 GMT):
Has joined the channel.

blakem (Mon, 24 Sep 2018 22:21:39 GMT):
any help with this please?``` Error: "orderer" request parameter is missing and there are no orderers defined on this channel in the network configuration at Client.getTargetOrderer (/opt/blockchain-explorer/node_modules/fabric-client/lib/Client.js:1775:12) at Channel.getGenesisBlock (/opt/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:768:39) at FabricClient.getGenesisBlock (/opt/blockchain-explorer/app/platform/fabric/FabricClient.js:555:38) at FabricClient.initializeNewChannel (/opt/blockchain-explorer/app/platform/fabric/FabricClient.js:285:28) at ```

blakem (Mon, 24 Sep 2018 22:37:49 GMT):
[2018-09-24 22:30:34.068] [DEBUG] FabricClient - Admin peer Not found

bh4rtp (Tue, 25 Sep 2018 00:15:56 GMT):
does anyone manage to run explorer release-3.6 and fabric-1.2 with fabric-ca? could you please share us the configuration? thank you in advance.

bravobardo (Tue, 25 Sep 2018 00:37:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4uaXNYEFeoPWydvQh) @nekia Fine. Looking forward to it.

nfrunza (Tue, 25 Sep 2018 03:06:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=arAtshqv6WmeJmM7Y) @blakem Do you use fabric-samples, or custom fabric network, and is fabric-ca defined in your fabric network ?

sakoula (Tue, 25 Sep 2018 06:25:05 GMT):
Hi, older versions of blockchain explorer used to update 'almost' realtime. blockchain-explorer-0.3.7 in explorerconfig.json there is a variable blocksSyncTime that is set to 3 minutes by default (sync=local). Also the web page it seems that it needs to be manually refreshed in order to show updates on the fabric. I tried to change the 3 to 0.2 and it just did not work. Is there something that I can get the old realtime behaviour? Thanks!

nfrunza (Tue, 25 Sep 2018 11:30:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xMFWSLo38ept9ngat) @sakoula "it needs to be manually refreshed in order to show updates on the fabric" No, it has an interval of 1 minute, due to a performance issue

halilkalkan (Tue, 25 Sep 2018 11:55:41 GMT):
Has joined the channel.

alexvicegrab (Tue, 25 Sep 2018 13:18:31 GMT):
Has joined the channel.

blakem (Tue, 25 Sep 2018 14:00:38 GMT):
@nfrunza a custom network and yes.

nfrunza (Tue, 25 Sep 2018 14:14:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pYz8kzoBDFeR75r3L) @blakem we haven't tested with fabric-ca, to use explorer with fabric-ca you need to be able to do a handshake from explorer, try copy the .pem files in the explorer root

GalinaTs (Tue, 25 Sep 2018 15:37:35 GMT):
Has joined the channel.

joaquimpedrooliveira (Tue, 25 Sep 2018 17:54:18 GMT):
Hello, all! What is the latest version of hyperledger-explorer compatible with Fabric 1.1?

nfrunza (Tue, 25 Sep 2018 19:29:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rAWX69hXymsMAA8tX) @joaquimpedrooliveira v0.3.5

nfrunza (Tue, 25 Sep 2018 19:29:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rAWX69hXymsMAA8tX) @joaquimpedrooliveira v0.3.5.1

alexvicegrab (Wed, 26 Sep 2018 00:52:24 GMT):
I'm attempting to set up Hyperledger Explorer, but my client connection fails somewhere around the line 492 of FabricClient.js, near this code: ``` async getPeerStatus(peer) { let channel = this.getDefaultChannel(); let adminpeer = this.adminpeers.get(peer.requests); let status = {}; ``` I end up with this.adminpeers being an empty map, so getting the peer.request returns another empty map. It's not entirely clear (given lack of comments in code) how the adminpeer is populated and what function it serves. Could one of the devs or someone else who suceeded in running Blockchain Explorer 0.3.7 on Fabric 1.2 advise on this?

nfrunza (Wed, 26 Sep 2018 02:01:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CSdgC59kWN44tvPJ8) @alexvicegrab do you use fabric samples, or custom network, and are you using fabric-ca?

sakoula (Wed, 26 Sep 2018 05:28:36 GMT):
s

sakoula (Wed, 26 Sep 2018 05:32:47 GMT):
@nfrunza when I run 0.3.7 through docker and leave it up and running for some hours with HLF 1.2 on the application console I get messages: ``` ```

sakoula (Wed, 26 Sep 2018 05:38:51 GMT):
@nfrunza thanks for your reply!!! When I run 0.3.7 through docker and leave it up and running for some hours with HLF 1.2 on the application console I get messages: ``` /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found error: [Peer.js]: sendDiscovery - timed out after:45000 error: [Peer.js]: sendDiscovery - timed out after:45000 error: [Admin.js]: GetStatus - timed out after:45000 error: [Admin.js]: GetStatus - timed out after:45000 ``` on the peer logs I see messages like ``` 2018-09-26 00:49:04.362 UTC [eventhub_producer] Chat -> ERRO 072 error during Chat, stopping handler: rpc error: code = Canceled desc = context canceled ``` So which is the most stable version of blockchain explorer, what is the preferred backend 1.1 or 1.2, is it better to run it on docker or natively and is there a version that supports autorefresh of the UI (like it used to)?

halilkalkan (Wed, 26 Sep 2018 06:48:10 GMT):
Hi guys, I'm trying to deploy hyperledger explorer, it passes all test but show 0 blocks in my network. I'm getting the following error message; Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: invalid message format at Connection.parseE (/home/halil/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/halil/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/halil/blockchain-explorer/node_modules/pg/lib/connection.js:113:22)

halilkalkan (Wed, 26 Sep 2018 06:48:10 GMT):
Hi guys, I'm trying to deploy hyperledger explorer, it passes all test but show 0 blocks in my network. I'm getting the following error message; Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: invalid message format at Connection.parseE (/home/halil/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/halil/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/halil/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) Thanks for your help! :)

alexvicegrab (Wed, 26 Sep 2018 08:08:29 GMT):
Hi @nfrunza. Custom netwok deployment on Kubernetes using a fabric-ca each for peers and orderers.

alexvicegrab (Wed, 26 Sep 2018 08:08:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NyF76ufgspj6XBWsB) @nfrunza Hi @nfrunza. Custom netwok deployment on Kubernetes using a fabric-ca each for peers and orderers.

nfrunza (Wed, 26 Sep 2018 11:49:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8qXQ7b5Nvm23BfeKn) @sakoula we tested with fabric samples only, looks like your fabric maybe down or you use cloud, please let me know

nfrunza (Wed, 26 Sep 2018 11:50:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bou83QEYsNGKYJgAX) @alexvicegrab we do not support fabric-ca in explorer, try to copy fabric-ca .pem files under root of th explorer, but not sure if this will work

nfrunza (Wed, 26 Sep 2018 11:51:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uixL7WuQ2Y5P8tiEq) @halilkalkan this looks like you have a private data, which fabric do you use?

halilkalkan (Wed, 26 Sep 2018 11:55:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=X8ZXwLmxbBRQvi2sX) @nfrunza Yes I'm using private data, fabric v1.2.

nfrunza (Wed, 26 Sep 2018 12:02:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DpPLxWLCn6kegtuYJ) @halilkalkan we are looking into that

halilkalkan (Wed, 26 Sep 2018 12:05:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=srJyQXxe4dYayMyP7) @nfrunza Okey thank you, I will try to run explorer without private data to verify whether the steps I'm using is true. Looking forward to hear you :)

nfrunza (Wed, 26 Sep 2018 12:08:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4PeQoJXcwp8xKzefh) @halilkalkan welcome, are you available tp contribute to Explorer?

alexvicegrab (Wed, 26 Sep 2018 12:23:43 GMT):
Thank you @nfrunza, I will try that. Later on I may see if I can contribute to Explorer to add capabilities to communicate with the CA

nfrunza (Wed, 26 Sep 2018 12:25:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XaLdA4mXWXyuHAFbg) @alexvicegrab thank you Alex

halilkalkan (Wed, 26 Sep 2018 12:28:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lm67Ggc7fisDi2spD) @nfrunza Sure. I have tried with basic-network example but I'm getting the following error when I try do run "node /explorer/main.js" file within the blockhain-explorer container.

halilkalkan (Wed, 26 Sep 2018 12:28:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lm67Ggc7fisDi2spD) @nfrunza Sure. I have tried with basic-network example but I'm getting the following error when I try do run "node /explorer/main.js" file within the blockhain-explorer container. error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data **************************************************************************************

nfrunza (Wed, 26 Sep 2018 12:28:36 GMT):
Hello, is anyone available to contribute to publish Explorer docker image to docker hub?

nfrunza (Wed, 26 Sep 2018 12:30:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HPKepQ9DqGbT7efYP) @halilkalkan please verify your config.json , make sure the paths are correct

halilkalkan (Wed, 26 Sep 2018 12:34:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mGCHEvG3xX9Sw39Pg) @nfrunza Could you please check the config file? https://hastebin.com/omecizuzej.json I've put crypto-config files under crypto folder. Im trying to up explorer with docker btw.

nfrunza (Wed, 26 Sep 2018 12:37:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zave5BkCGh45stCDF) @halilkalkan try change to: "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://orderer.example.com:7050" } } } },

halilkalkan (Wed, 26 Sep 2018 12:49:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qPaNuxZkW6jYTaWYt) @nfrunza Same error, it doesn't work. Is there anyone who is able to run fabric explorer on fabric v1.2, if you can share me a sample file I will be very appreciated! :)

halilkalkan (Wed, 26 Sep 2018 12:49:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qPaNuxZkW6jYTaWYt) @nfrunza Same error, it doesn't work. Is there anyone who is able to run blockchain explorer on fabric v1.2, if you can share me a sample file I will be very appreciated! :)

nfrunza (Wed, 26 Sep 2018 12:52:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DXwtM78KQB79bReSN) @halilkalkan sure i can demo if you want

halilkalkan (Wed, 26 Sep 2018 12:53:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TeXKgxcHHvRRXogZY) @nfrunza I really want it..

nfrunza (Wed, 26 Sep 2018 12:53:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iTaNWhW5cNtQ4yEFF) @halilkalkan ok

alexvicegrab (Wed, 26 Sep 2018 22:00:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LXwE2raijCELcb6Hu) @nfrunza Hi @nfrunza, I've added the CA TLS certificates, but I still get the error: `Admin peer Not found for grpc://peer0-hlf-peer.blockchain.svc.cluster.local:7051`, even though this peer can connect fine to the network and otherwise works flawlessly.

alexvicegrab (Wed, 26 Sep 2018 22:00:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LXwE2raijCELcb6Hu) @nfrunza Hi @nfrunza, I've added the CA TLS certificates to both the server and linked them in the config.json for peer0, as in the example, but I still get the error: `Admin peer Not found for grpc://peer0-hlf-peer.blockchain.svc.cluster.local:7051`, even though this peer can connect fine to the network and otherwise works flawlessly.

alexvicegrab (Wed, 26 Sep 2018 22:00:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LXwE2raijCELcb6Hu) Hi @nfrunza, I've added the CA TLS certificates to both the server and linked them in the config.json for peer0, as in the example, but I still get the error: `Admin peer Not found for grpc://peer0-hlf-peer.blockchain.svc.cluster.local:7051`, even though this peer can connect fine to the network and otherwise works flawlessly. And prior to this, I get the following logs, which appear to indicate all is fine up to this point: ``` [2018-09-26 21:56:35.824] [DEBUG] FabricClient - Channel genesis hash for channel [composerchannel] >> 3f6244b85efb4b722c0450b405a2600c1031fc45de43bf6593ff76fe49f821f3 [2018-09-26 21:56:35.824] [DEBUG] FabricClient - Initialized channel >> composerchannel [2018-09-26 21:56:35.836] [DEBUG] FabricClient - Set client [client-1] default orderer as >> ord0 ```

nfrunza (Wed, 26 Sep 2018 22:18:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rBnRbJF3wSRKo3fPT) @alexvicegrab grpc ? did you try grpcs? you may need to make tlsEnable false in blockchain-explorer/app/platform/fabric/config.json "

alexvicegrab (Wed, 26 Sep 2018 22:45:44 GMT):
I did TLS enable = false, and using grpc

alexvicegrab (Wed, 26 Sep 2018 22:45:44 GMT):
I did TLS `enable = false`, and using grpc

alexvicegrab (Wed, 26 Sep 2018 22:45:48 GMT):
I think the issue is this: https://jira.hyperledger.org/projects/BE/issues/BE-471

alexvicegrab (Wed, 26 Sep 2018 22:46:39 GMT):
I essentially replicated the issue raised due to changes introduced to 3.6, so it appears that BE version 3.6 and higher are likely to be faulty

greg2git (Thu, 27 Sep 2018 00:05:01 GMT):
i'm trying to have couchdb container run in the docker dev mode, but docker-compose-simple.yaml config file doesn't have any couchdb services. so far i have tried multiple config settings e.g. couchdb: container_name: couchdb image: hyperledger/fabric-couchdb # Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password # for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode. environment: - COUCHDB_USER= - COUCHDB_PASSWORD= # Comment/Uncomment the port mapping if you want to hide/expose the CouchDB service, # for example map it to utilize Fauxton User Interface in dev environments. ports: - 5984:5984 peer: container_name: peer image: hyperledger/fabric-peer environment: - CORE_PEER_ID=peer - CORE_PEER_ADDRESS=peer:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer:7051 - CORE_PEER_LOCALMSPID=DEFAULT - CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp - CORE_LEDGER_STATE_STATEDATABASE=CouchDB - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb0:5984 - CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME= - CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD= volumes: - /var/run/:/host/var/run/ - ./msp:/etc/hyperledger/msp working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer command: peer node start --peer-chaincodedev=true -o orderer:7050 ports: - 7051:7051 - 7053:7053 depends_on: - orderer - couchdb but it keeps failing: what should my yaml look like for dev to work with couchdb?

greg2git (Thu, 27 Sep 2018 00:06:05 GMT):
here is a typical error: couchdb | [notice] 2018-09-27T00:05:44.934962Z nonode@nohost <0.323.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:403) <= mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:load_shards_from_disk/2(line:407) <= mem3_shards:for_docid/3(line:91) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)

greg2git (Thu, 27 Sep 2018 00:07:15 GMT):
and the console log is showing this: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 7914 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

greg2git (Thu, 27 Sep 2018 00:50:21 GMT):
never mind, i have obviously confused couchdb with postgres but i still think we should have only one database to serve both the persistence and exploration purposes, but if someone has the yaml file, i'll be more than happy to give it a try :red_car:

nfrunza (Thu, 27 Sep 2018 01:50:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=37FqTLavyfWSuoJwG) @alexvicegrab BE 3.6 uses fabric 1.2, previous versions fabric 1.1

nfrunza (Thu, 27 Sep 2018 01:52:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BWc83zWWfHFqQzsTs) @greg2git you have miss-configuration , "Error : Failed to connect client peer, please check the configuration and peer status"

nfrunza (Thu, 27 Sep 2018 01:53:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=37FqTLavyfWSuoJwG) @alexvicegrab Please run "$ peer version" from your network CLI

nfrunza (Thu, 27 Sep 2018 01:54:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QLEDG36RHxyDR3fqz) can you elaborate your comment, "we should have only one database to serve both the persistence and exploration purposes" ?

sakoula (Thu, 27 Sep 2018 05:43:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=33JBxup5JXi4rPxju) @nfrunza @nfrunza I use a single node on azure. My configuration is quite close to byfn. The only difference that I am doing is using dnsmasq in order to route traffic between containers which is working fine. It may has to do with something related to azure.

sakoula (Thu, 27 Sep 2018 05:44:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=33JBxup5JXi4rPxju) @nfrunza I use a single node on azure. My configuration is quite close to byfn. The only difference that I am doing is using dnsmasq in order to route traffic between containers which is working fine. It may has to do with something related to azure. BTW I kept on getting `/bin/sh: locate: not found` on the application container. Any idea if it is required and where it comes from?

alexvicegrab (Thu, 27 Sep 2018 08:57:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=G3Gzmc7fEKHqtWcCk) @nfrunza Hi @nfrunza, my peers, orderers, etc. are all using Fabric 1.2. Again, it looks like it is related to this issue: https://jira.hyperledger.org/projects/BE/issues/BE-471 as the "admin peers" end up never being set.

nfrunza (Thu, 27 Sep 2018 11:12:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zyjQXRdZAfpzoLwd9) @alexvicegrab Please try with fabric samples, we are not supporting fabric-ca

greg2git (Thu, 27 Sep 2018 11:42:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sw2xCJ3Wk3ZhG73qR) @nfrunza sure imho, couchdb is being used to persist blockchain records and serves as a sort of local storage for the peers, postgres is not needed except for supporting the explorer which is a sort of GUI for blockchain and i still need a spreadsheet to do any kind of blockchain 'reporting'

nfrunza (Thu, 27 Sep 2018 11:48:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pzhu73v2zPKEkzzBF) @greg2git explorer is a utility to explore blockchain

nfrunza (Thu, 27 Sep 2018 11:48:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pzhu73v2zPKEkzzBF) @greg2git explorer is a utility to explore blockchain

coveloper (Thu, 27 Sep 2018 18:06:23 GMT):
when following the developer tutorial, how can i get my REST API to be available to other people on my Intranet? I'd like other people to access http://myipaddress:3000/explorer/#/

coveloper (Fri, 28 Sep 2018 16:27:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dq4zTFrRuCTu4newm) I figured it out. it was already accessible. I had a local network issue. It's working as expected for me now

danny_lee (Fri, 28 Sep 2018 19:20:11 GMT):
Has joined the channel.

danny_lee (Fri, 28 Sep 2018 19:24:17 GMT):
Hi all, could someone help me figure out the core of this issue? error: [NetworkConfig101.js]: NetworkConfig101 - problem reading the PEM file :: Error: EISDIR: illegal operation on a directory, read <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:498:3) at tryReadSync (fs.js:337:20) at Object.readFileSync (fs.js:374:19) at readFileSync (/Users/daniellee/Desktop/aioi/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:446:17) at getPEMfromConfig (/Users/daniellee/Desktop/aioi/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:435:13) at NetworkConfig_1_0.getOrganization (/Users/daniellee/Desktop/aioi/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:291:18) at Client._setAdminFromConfig (/Users/daniellee/Desktop/aioi/blockchain-explorer/node_modules/fabric-client/lib/Client.js:1263:53) at Client.loadFromConfig (/Users/daniellee/Desktop/aioi/blockchain-explorer/node_modules/fabric-client/lib/Client.js:137:9) at FabricClient.LoadClientFromConfig (/Users/daniellee/Desktop/aioi/blockchain-explorer/app/platform/fabric/FabricClient.js:215:27) at FabricClient.initialize (/Users/daniellee/Desktop/aioi/blockchain-explorer/app/platform/fabric/FabricClient.js:53:16) errno: -21, syscall: 'read', code: 'EISDIR' } Received kill signal, shutting down gracefully Closed out connections

danny_lee (Fri, 28 Sep 2018 19:24:17 GMT):
Hi all, could someone help me figure out the core of this issue? error: [NetworkConfig101.js]: NetworkConfig101 - problem reading the PEM file :: Error: EISDIR: illegal operation on a directory, read <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:498:3) at tryReadSync (fs.js:337:20) at Object.readFileSync (fs.js:374:19) at readFileSync (/Users/daniellee/Desktop/aioi/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:446:17) at getPEMfromConfig (/Users/daniellee/Desktop/aioi/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:435:13) explorer/node_modules/fabric-explorer/app/platform/fabric/FabricClient.js:53:16) errno: -21, syscall: 'read', code: 'EISDIR' } Received kill signal, shutting down gracefully Closed out connections

danny_lee (Fri, 28 Sep 2018 19:24:17 GMT):
Hi all, could someone help me figure out the core of this issue? error: [NetworkConfig101.js]: NetworkConfig101 - problem reading the PEM file :: Error: EISDIR: illegal operation on a directory, read <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:498:3) at tryReadSync (fs.js:337:20) at Object.readFileSync (fs.js:374:19) at readFileSync (/Users/daniellee/Desktop/aioi/blockchain-explorer/node_modules/fabric-syscall: 'read', code: 'EISDIR' } Received kill signal, shutting down gracefully Closed out connections

danny_lee (Fri, 28 Sep 2018 19:24:17 GMT):
Hi all, could someone help me figure out the core of this issue? error: [NetworkConfig101.js]: NetworkConfig101 - problem reading the PEM file :: Error: EISDIR: illegal operation on a directory, read syscall: 'read', code: 'EISDIR' } Received kill signal, shutting down gracefully Closed out connections

danny_lee (Fri, 28 Sep 2018 19:24:40 GMT):
I understand it's trying to read a directory instead of a PEM file, but it's a bit hard finding the root of the problem

danny_lee (Fri, 28 Sep 2018 19:25:30 GMT):
here is a gist to my config: https://gist.github.com/danieljoonlee/b7014ebbfa630b564f25f843ed8ead5d

nfrunza (Fri, 28 Sep 2018 20:01:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nWWgt97CmCQn7Gbj3) @danny_lee can you check the file/dir permission, make sure you do not run as root

forrunner (Sat, 29 Sep 2018 04:35:37 GMT):
Has joined the channel.

vishal21pandita (Sat, 29 Sep 2018 07:07:49 GMT):
Has joined the channel.

bh4rtp (Sat, 29 Sep 2018 14:18:54 GMT):
who has had explorer run with fabric-1.2 and fabric-ca network?

abityildiz (Sun, 30 Sep 2018 09:46:41 GMT):

Clipboard - September 30, 2018 12:45 PM

nfrunza (Sun, 30 Sep 2018 16:56:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NfsPkwDKPAdE7MKCP) @abityildiz try explorer v0.3.5 wit composer, i think it may not work with latest code

abityildiz (Sun, 30 Sep 2018 17:20:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p5MY9ATC8Fp3zinvp) @nfrunza yes,you are correct say.before,it is work with v.3.5 version.

danny_lee (Sun, 30 Sep 2018 18:50:43 GMT):
@nfrunza i should not run the script.sh as root?

nfrunza (Mon, 01 Oct 2018 02:16:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AtmGfxeNKXnDj6e8e) @danny_lee correct switch to a user account su user_id

raviyelleni (Mon, 01 Oct 2018 02:26:05 GMT):
Hi, Thus explorer support with current v1.3 release candidate?

nfrunza (Mon, 01 Oct 2018 02:28:19 GMT):
i tried, and looks ok, haven't tested fully

nfrunza (Mon, 01 Oct 2018 02:31:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zeZxYdMCcLJpeapKv) @sakoula i think "/bin/sh: locate: not found" error is due to incorrect implementation of the looking up of the chaincode source, in other words if the chaincode source is in your local environment it will find it and read from the source code to display in UI

nfrunza (Mon, 01 Oct 2018 02:33:41 GMT):
Dear developers, we are in need of contributors, any of the skills: node, reactjs, postgresql, docker. Let's make HL Explorer a robust utility for HL Fabric blockchain .

nfrunza (Mon, 01 Oct 2018 02:34:09 GMT):
Dear developers, we are in need of contributors, any of the skills: node, reactjs, postgresql, docker. Let's make HL Explorer a robust utility for HL Fabric blockchain .

me_abhijeet (Mon, 01 Oct 2018 10:03:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=T8jLuPFTG7pmuoqug) @nfrunza yeah sure.. I am working docker from last few months.

me_abhijeet (Mon, 01 Oct 2018 10:03:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AtmGfxeNKXnDj6e8e) why?

nfrunza (Mon, 01 Oct 2018 13:32:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zuxChh6u932G7C8or) @me_abhijeet Thank you, do you have any expirience publishing docker images?

me_abhijeet (Mon, 01 Oct 2018 13:52:43 GMT):
I published some basic images like Apache,Nginx,Angular and for now I am working Docker compose

greg2git (Mon, 01 Oct 2018 15:13:23 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer E1001 15:12:11.232620385 3393 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E1001 15:12:12.248971998 3393 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E1001 15:12:13.589863449 3393 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 3393 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

greg2git (Mon, 01 Oct 2018 15:15:18 GMT):
IMAGE COMMAND CREATED STATUS PORTS NAMES hyperledger/fabric-ccenv "/bin/bash -c 'sle..." 3 days ago Up 3 minutes chaincode hyperledger/fabric-peer "peer node start -..." 3 days ago Up 3 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer

handaanmol (Tue, 02 Oct 2018 05:56:50 GMT):
Has joined the channel.

Bartb0 (Tue, 02 Oct 2018 10:57:19 GMT):
Has joined the channel.

nfrunza (Tue, 02 Oct 2018 14:43:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QPFQpwQiX9EsncBrN) @greg2git You do not have correct configuration, or your fabric is down, please verify

nfrunza (Tue, 02 Oct 2018 14:43:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QPFQpwQiX9EsncBrN) @greg2git You do not have correct configuration, or your fabric is down, please verify, verify all ports for your peers, and orderers, and update config.json

nfrunza (Tue, 02 Oct 2018 14:45:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wdoP7RsNt6hrF65Dd) @me_abhijeet thank you, can you put down the steps, from build, push and pull?

AltifBrown (Tue, 02 Oct 2018 21:38:39 GMT):
Has joined the channel.

GuillaumeTong (Wed, 03 Oct 2018 02:04:10 GMT):
Has left the channel.

me_abhijeet (Wed, 03 Oct 2018 04:29:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=syv2HhZJqsdw2RBnP) Steps push an Image on dockerhub``` Step 1: `docker login --username=yourhubusername --email=youremail@company.com` Step 2: `docker images` Step 3: `docker tag imageid username/imagename:latest` latest or any version of your choice Step 4:~` docker push username/imagename`~ ```

me_abhijeet (Wed, 03 Oct 2018 04:29:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=syv2HhZJqsdw2RBnP) Steps to push an Image on dockerhub``` Step 1: `docker login --username=yourhubusername --email=youremail@company.com` Step 2: `docker images` Step 3: `docker tag imageid username/imagename:latest` latest or any version of your choice Step 4:~` docker push username/imagename`~ ```

BlockchainCoE (Wed, 03 Oct 2018 10:50:43 GMT):
Has joined the channel.

BlockchainCoE (Wed, 03 Oct 2018 10:52:02 GMT):
I am getting below error, please help. I am using Docker in Windows 10 <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

BlockchainCoE (Wed, 03 Oct 2018 10:52:44 GMT):
And trying to connect #hyperledger-explorer with fabric

nfrunza (Wed, 03 Oct 2018 18:32:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jFGyKhKPbHdbdRFLP) @BlockchainCoE we haven't tested with Windows , do you have fabric-ca in in your network?

nfrunza (Wed, 03 Oct 2018 18:34:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K5bdRtESSkciivAMz) looking at the error, you have the error in config.json

nfrunza (Wed, 03 Oct 2018 18:37:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aMoqHHda6RHD37mpp) @me_abhijeet thank you

nfrunza (Wed, 03 Oct 2018 20:01:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K5bdRtESSkciivAMz) Use docker, you mean you run the explorer using $./deploy_explorer.sh net1 net_byfn . command?

happythedog (Thu, 04 Oct 2018 06:21:09 GMT):
Has joined the channel.

happythedog (Thu, 04 Oct 2018 06:36:04 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/harsha/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections

happythedog (Thu, 04 Oct 2018 06:36:20 GMT):
hey guys this is the error message i get in the logs

happythedog (Thu, 04 Oct 2018 06:39:26 GMT):
i am trying to deploy hyperledger explorer onto an existing network

happythedog (Thu, 04 Oct 2018 06:39:26 GMT):
i am trying to deploy hyperledger explorer onto an existing composer network

BlockchainCoE (Thu, 04 Oct 2018 09:44:55 GMT):

Clipboard - October 4, 2018 3:14 PM

BlockchainCoE (Thu, 04 Oct 2018 09:44:58 GMT):
Hi, yes we have fabric-ca in your our network. We are trying to connect the explorer with the balance-transfer fabric network. We are getting the following error.

BlockchainCoE (Thu, 04 Oct 2018 09:44:58 GMT):
Hi @nfrunza , yes we have fabric-ca in our network. We are trying to connect the explorer with the balance-transfer fabric network. We are getting the following error.

BlockchainCoE (Thu, 04 Oct 2018 09:44:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jJAXEtzuLexCoFpT6) @nfrunza Hi @nfrunza , yes we have fabric-ca in our network. We are trying to connect the explorer with the balance-transfer fabric network. We are getting the following error.

BlockchainCoE (Thu, 04 Oct 2018 09:45:05 GMT):

Clipboard - October 4, 2018 3:15 PM

BlockchainCoE (Thu, 04 Oct 2018 09:47:33 GMT):
Our fabric network is running and we are able to test it independently.

BlockchainCoE (Thu, 04 Oct 2018 09:51:14 GMT):
also, I am attaching the config.json

BlockchainCoE (Thu, 04 Oct 2018 09:52:47 GMT):

config.txt

anand.balagopalan (Thu, 04 Oct 2018 10:33:32 GMT):
Has joined the channel.

anand.balagopalan (Thu, 04 Oct 2018 10:33:51 GMT):
how to add multi channel in explorer?

anand.balagopalan (Thu, 04 Oct 2018 10:35:41 GMT):
Readme file made me confuse about where to make changes in config.json

knagware9 (Thu, 04 Oct 2018 10:54:57 GMT):
Hi ,, I tried to run explorer with fabric1.3 ,,its giving error like below

knagware9 (Thu, 04 Oct 2018 10:55:18 GMT):

Screenshot from 2018-10-04 16-25-02.png

happythedog (Thu, 04 Oct 2018 11:03:54 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/harsha/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections hey guys this is the error message i get in the logs i am trying to deploy hyperledger explorer onto an existing composer network

nfrunza (Thu, 04 Oct 2018 14:26:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YzAGqGJGN57ZQaeY2) @happythedog try tag v0.3.4

nfrunza (Thu, 04 Oct 2018 14:30:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4YHq8T32r86APnbyx) @knagware9 We haven't tested HLFabric with release 1.3, it may or not be compatible, please try fabric 1.2

nfrunza (Thu, 04 Oct 2018 14:32:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EjWbMfvvdFBik8XMK) @anand.balagopalan no need to add multichannel, a default channel is fine, the discovery will get all the channels and the data filtered per channel. please use fabric 1.2 and v0.3.7

nfrunza (Thu, 04 Oct 2018 14:33:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QS9yeHYK8iz68fgkL) @BlockchainCoE We do not support fabric-ca

nfrunza (Thu, 04 Oct 2018 14:33:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QS9yeHYK8iz68fgkL) @BlockchainCoE We do not support fabric-ca, we are looking into this issue.

anand.balagopalan (Fri, 05 Oct 2018 04:48:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8hDftJvLku7AbnsdH) @nfrunza If i understand right, if i add only one channel name in config.json, rest of the channels will automatically get detected? Or do i need to do any deviation from the README document provided on the github mirror?

anand.balagopalan (Fri, 05 Oct 2018 04:57:34 GMT):
@nfrunza if im to take an example, Im following "fabricsamples/firstnetwork" to build a 3 org network. By default, the channel will be mychannel. And i have a private channel for Org1 called "channeltwo". Can you please help me where should i add the changes to display "hanneltwo

anand.balagopalan (Fri, 05 Oct 2018 04:57:34 GMT):
@nfrunza if im to take an example, Im following "fabricsamples/firstnetwork" to build a 3 org network. By default, the channel will be mychannel. And i have a private channel for Org1 called "channeltwo". Can you please help me where should i add the changes to display "channeltwo" in the explorer... Im pretty new to the explorer...and its a bit confusing

anand.balagopalan (Fri, 05 Oct 2018 05:32:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8hDftJvLku7AbnsdH) @nfrunza Thanks...Its working now , when i changed the default channel name...But when im trying to run ./syncstart.sh it says permission denied. Does the sync automatically happens when im starting the explorer?

AnirudhC (Fri, 05 Oct 2018 05:51:19 GMT):
Has joined the channel.

anand.balagopalan (Fri, 05 Oct 2018 05:55:11 GMT):
@nfrunza Thanks...Working fine now, after i changed the default channel name...

AnirudhC (Fri, 05 Oct 2018 06:09:05 GMT):
Hi, I am trying setup Hyperledger Explorer (v.0.3.7) with Hyperledger Fabric 1.2 .Hyperledger Explorer's config.json file is configured as per the network. When I run the Hyperledger Explorer I am getting below error in Sync logs : Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error: PEM encoded certificate is required. at new Endpoint (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/vagrant/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> Certificates are present in the path which is configured in config.json. Can anyone please suggest what I am missing?

BernardoAlves (Fri, 05 Oct 2018 07:37:27 GMT):
Has joined the channel.

VadimInshakov (Fri, 05 Oct 2018 10:04:34 GMT):
Hi, why Explorer can't open file with private key? I see this error: ``` (node:9) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, scandir '/home/kildiev/workchain/blockchain/blockchain-explorer/examples/dockerConfig/crypto/peerOrganizations/prod.org1.innodata.ru/users/Admin@prod.org1.innodata.ru/msp/keystore/73d97e249fe6807748f404400fe404fea50162c3fd40cf3ac31835253a09ccbf_sk' ``` But such file and directory actually exists. Why Explorer trows error?

VadimInshakov (Fri, 05 Oct 2018 10:12:13 GMT):
such file or dire

WouterVanHecke (Fri, 05 Oct 2018 12:28:47 GMT):
Has joined the channel.

WouterVanHecke (Fri, 05 Oct 2018 12:30:06 GMT):
I'm having a problem with viewing my data in the app. Everything is set in the config files, I'm not getting errors in the log files, but still it shows empty data on the app. Someone that can help me out here?

nfrunza (Fri, 05 Oct 2018 12:34:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=igqmdHgJ5xcG5hg8E) @happythedog Please use explorer tag v0.3.3

nfrunza (Fri, 05 Oct 2018 12:36:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bKd6DcBHKzTTnmiqA) @WouterVanHecke Please describe your fabric network version, explorer tag, or branch you use, OS, is your network using fabric-ca, did you follow steps in building explorer, run createDb script?

VadimInshakov (Fri, 05 Oct 2018 12:38:30 GMT):
@nfrunza help me please

nfrunza (Fri, 05 Oct 2018 12:40:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YhFA2JZsTYjDcRdjb) @VadimInshakov do you use fabric-ca in your fabric network? , whioch version iof fabric you use? and explorer branch or version?

nfrunza (Fri, 05 Oct 2018 12:40:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YhFA2JZsTYjDcRdjb) @VadimInshakov do you use fabric-ca in your fabric network? , which version of fabric you use? and explorer branch or version?

VadimInshakov (Fri, 05 Oct 2018 12:43:11 GMT):
@nfrunza yes, CA's works fine, I use fabric 1.1 and Explorer 3.5 branch

nfrunza (Fri, 05 Oct 2018 12:44:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KrjznGb5gNhKb2Ky8) @VadimInshakov explorer doesn't support fabric-ca, we are ,looking into it, no estimated time

VadimInshakov (Fri, 05 Oct 2018 12:46:33 GMT):
@nfrunza but this private key generated by cryptogen

nfrunza (Fri, 05 Oct 2018 12:47:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wf58JzXTLspLtiH9j) @VadimInshakov wait you running in docker

VadimInshakov (Fri, 05 Oct 2018 12:47:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A5pRoHN7Wv6zmutAo) @nfrunza yes

nfrunza (Fri, 05 Oct 2018 12:49:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YSNZEcnP2GMPX3RN4) @VadimInshakov how did you run the deploy_explorer.sh script, did you pass 2 params?

nfrunza (Fri, 05 Oct 2018 12:49:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=B9JY8GTkMq6eRiXQJ) 1st is your network name, and 2nd is your fabric network name?

VadimInshakov (Fri, 05 Oct 2018 12:50:25 GMT):
@nfrunza yes, I run this ``` ./deploy_explorer.sh dockerConfig prod_inno ```

nfrunza (Fri, 05 Oct 2018 12:51:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GFDiJAfZDCF9Ted6J) @VadimInshakov did you copy the fabric crypto under dockerConfig/crypto ?

VadimInshakov (Fri, 05 Oct 2018 12:52:16 GMT):
@nfrunza yes

npc0405 (Fri, 05 Oct 2018 12:54:21 GMT):
Does documentation provided is enough? Cause I m getting errors after following docs.

npc0405 (Fri, 05 Oct 2018 12:54:27 GMT):
HL version is 1.2

nfrunza (Fri, 05 Oct 2018 12:55:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RSkg5cTqDCzzHaeFx) @npc0405 you refer to HL:Explorer or HL Fabric?

nfrunza (Fri, 05 Oct 2018 12:57:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DtzWG6Rd4wh3xASxh) With fabric-ca would not work, user needs to be registered in your fabric-ca server, using an intermediate fabric-ca

nfrunza (Fri, 05 Oct 2018 13:01:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RSkg5cTqDCzzHaeFx) @npc0405 would youi describe your error?

nfrunza (Fri, 05 Oct 2018 13:03:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bKd6DcBHKzTTnmiqA) @WouterVanHecke Which fabric network do you use? i would suggest to use fabric-samples/first-network

nfrunza (Fri, 05 Oct 2018 13:04:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uyMjAyBrWdDwMu25a) @AnirudhC would you be able to share your config.json in private chat?

npc0405 (Fri, 05 Oct 2018 13:06:55 GMT):
HL fabric version 1.2 and latest explorer pull I took @nfrunza

nfrunza (Fri, 05 Oct 2018 13:08:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3nFKBtxHMaQBfCphf) @npc0405 DO you use fabric-sample/first-network?

npc0405 (Fri, 05 Oct 2018 13:08:45 GMT):
balance transfer network

npc0405 (Fri, 05 Oct 2018 13:08:52 GMT):
isnt it compatible?

nfrunza (Fri, 05 Oct 2018 13:08:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kabKfZagtu6RDQw6F) i can give you a qucik demo, if you face issues on zoom

nfrunza (Fri, 05 Oct 2018 13:09:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yMZemDYwF8mR8e8M7) is balance transfer using fabric-ca server?

nfrunza (Fri, 05 Oct 2018 13:09:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HfbjYfBkQ2AoziTCn) let see what error you get

npc0405 (Fri, 05 Oct 2018 13:09:55 GMT):
OK hold on

npc0405 (Fri, 05 Oct 2018 13:11:59 GMT):
Thanks a lot @nfrunza @AnirudhC can you post the error

npc0405 (Fri, 05 Oct 2018 13:12:02 GMT):
quick plz

AnirudhC (Fri, 05 Oct 2018 13:12:16 GMT):
Hi, Getting below error

AnirudhC (Fri, 05 Oct 2018 13:12:18 GMT):
Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>> >>>Error: PEM encoded certificate is required. at new Endpoint (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/vagrant/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at <<< <<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

npc0405 (Fri, 05 Oct 2018 13:14:04 GMT):
Is there something that we are missing

npc0405 (Fri, 05 Oct 2018 13:14:43 GMT):
??

nfrunza (Fri, 05 Oct 2018 13:18:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=F7iMmECNyFYuEKe3H) @AnirudhC please descrtibe which fabric network version you use and which explorer version used, also do you use fabric-ca server, please try use fabric-samples/first-network

nfrunza (Fri, 05 Oct 2018 13:18:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e4NbBBv4qbi4M2NWE) @npc0405 can you try using fabric-samples/first-network

AnirudhC (Fri, 05 Oct 2018 13:19:46 GMT):
@nfrunza Fabcic version is 1.2 and HL explorer version is 0.3.7

npc0405 (Fri, 05 Oct 2018 13:19:54 GMT):
Thanks @nfrunza Yeah may be we will have to move to that.... But is there anything specific we need to consider while setting it up... apart from what is been mentioned in documents

npc0405 (Fri, 05 Oct 2018 13:20:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gmxxzLDt9gCyXazRy) @AnirudhC and we use balance tansfer as our base network

nfrunza (Fri, 05 Oct 2018 13:22:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MhLq9Rvxdsu9GkTXv) @npc0405 1) edit config.json 2) npm install, npm run build, 3) cd blockchain-explorer/app/persistence/fabric/postgreSQL/db && ./createdb.sh 4) from project root ./start.sh

npc0405 (Fri, 05 Oct 2018 13:22:58 GMT):
do we need to use fabric-ca server explicitly?

nfrunza (Fri, 05 Oct 2018 13:23:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gmxxzLDt9gCyXazRy) @AnirudhC do you use fabric-samples/first-network ?

npc0405 (Fri, 05 Oct 2018 13:23:27 GMT):
@nfrunza me and @AnirudhC working together

nfrunza (Fri, 05 Oct 2018 13:24:05 GMT):
@npc0405 please make sure you fabric network is running

npc0405 (Fri, 05 Oct 2018 13:24:53 GMT):
Yup ... wil get back to you, after taking in considerations the changes u suggested above.

nfrunza (Fri, 05 Oct 2018 13:25:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A3fEEN2Rq53ocFvYm) @npc0405 sure, i give a quick zoom demo

nfrunza (Fri, 05 Oct 2018 13:25:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A3fEEN2Rq53ocFvYm) @npc0405 sure, i can give a quick zoom demo

WouterVanHecke (Fri, 05 Oct 2018 13:31:22 GMT):
I'm using fabric v1.2, Hyperledger Explorer Client Version: 0.3.7, running my network in OSX, I'm using ca's for the two organisations, I followed all the steps in the docs. "configtxgenToolPath": "/Users/wouter/Documents/education/hyperledger_training/fabric/fabric-samples/bin", "license": "Apache-2.0" }

WouterVanHecke (Fri, 05 Oct 2018 13:31:22 GMT):
I'm using fabric v1.2, Hyperledger Explorer Client Version: 0.3.7, running my network in OSX, I'm using ca's for the two organisations, I followed all the steps in the docs.

nfrunza (Fri, 05 Oct 2018 13:58:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mYjPpc7EEoxw2mLss) @WouterVanHecke unfortunately explorer can't run with fabric-ca, we are looking into this

nfrunza (Fri, 05 Oct 2018 13:59:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=v8Tcp79DBhnFQYAXT) would you be able to contribute to explorer? we need contributors, we are very limited

VadimInshakov (Fri, 05 Oct 2018 14:53:37 GMT):
anyone could deploy version 3.5 in a container?

nfrunza (Fri, 05 Oct 2018 15:49:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9rLjBAL3jDcwsyDT3) @VadimInshakov use tag https://github.com/hyperledger/blockchain-explorer/tree/v0.3.5.1

Perebor (Sat, 06 Oct 2018 03:08:39 GMT):
Has joined the channel.

npc0405 (Sun, 07 Oct 2018 13:08:17 GMT):
schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'auth.c', line: '328', routine: 'auth_failed' } Received kill signal, shutting down gracefully Closed out connections

npc0405 (Sun, 07 Oct 2018 13:08:23 GMT):
while doing ./start.sh

npc0405 (Sun, 07 Oct 2018 13:08:27 GMT):
any idea

npc0405 (Sun, 07 Oct 2018 13:08:43 GMT):
fabricexplorer is created in postgers

npc0405 (Sun, 07 Oct 2018 13:08:50 GMT):
postgres*

bh4rtp (Mon, 08 Oct 2018 02:03:43 GMT):
@nfrunza hi, does `blockchain-explorer` have a plan to support fabric network with fabric-ca? i am waiting for this feature.

bh4rtp (Mon, 08 Oct 2018 02:09:51 GMT):
another question, have version 3.8 been released or still under development?

nfrunza (Mon, 08 Oct 2018 04:00:07 GMT):
it is a new branch for the development

nfrunza (Mon, 08 Oct 2018 04:00:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kwC7L4jvh4gs2rr76) @bh4rtp yes, we are planning to work on it, no estimated date

Ferrymania (Mon, 08 Oct 2018 08:01:48 GMT):
Has joined the channel.

VadimInshakov (Mon, 08 Oct 2018 10:09:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KNGuTWC3WE9rvn9pF) @nfrunza all the same: I see in explorer only system (ENDORSER_TRANSACTION) transactions and the error in explorer container: ``` Error: ENOENT: no such file or directory, scandir '/home/kildiev/workchain/blockchain/blockchain-explorer/examples/dockerConfig/crypto/peerOrganizations/prod.org1.innodata.ru/users/Admin@prod.org1.innodata.ru/msp/keystore' ```

nfrunza (Mon, 08 Oct 2018 12:11:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lvn6mQJKBzAdMYnHG) @npc0405 did you run script /blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh . ?

Ferrymania (Mon, 08 Oct 2018 12:43:05 GMT):
Hi guys when I run createdb.sh ,`You are now connected to database "fabricexplorer" as user "postgres". psql:./explorerpg.sql:14: NOTICE: table "blocks" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:33: NOTICE: table "chaincodes" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:51: NOTICE: table "peer_ref_chaincode" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:66: NOTICE: table "channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:89: NOTICE: table "peer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:108: NOTICE: table "peer_ref_channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:123: NOTICE: table "orderer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:139: NOTICE: table "transactions" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:169: NOTICE: table "write_lock" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:177: NOTICE: index "blocks_blocknum_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:180: NOTICE: index "blocks_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:183: NOTICE: index "blocks_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:186: NOTICE: index "transaction_txhash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:189: NOTICE: index "transaction_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:192: NOTICE: index "transaction_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:195: NOTICE: index "transaction_blockid_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:198: NOTICE: index "transaction_chaincode_proposal_input_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:201: NOTICE: index "channel_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:204: NOTICE: index "channel_channel_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX GRANT You are now connected to database "fabricexplorer" as user "postgres". ` it seems failed ``` ```

nfrunza (Mon, 08 Oct 2018 12:52:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p6NTKKdbtmBN7EQwr) @Ferrymania please connect to DB using some client tool, or psql, and see created DB

Ferrymania (Mon, 08 Oct 2018 12:56:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=T74cvBNEpj2X7NivA) @nfrunza I use `sudo apt-get install postgresql postgresql-contrib` to install DB and when I into blockchain-explorer directory using `sudo -u postgres psql` ,then input `\l` it output ``` List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ----------------+----------+----------+-------------+-------------+----------------------- fabricexplorer | hppoc | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres ``` and input `\d` it meet with No relations found.

nfrunza (Mon, 08 Oct 2018 12:59:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=py52MyQJffzJnwDb5) @Ferrymania you see it is there, what is your question ?

Ferrymania (Mon, 08 Oct 2018 13:02:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=H3pvdGxPWwTKp4nEk) @nfrunza :joy: I dont' know if it is the right output ,I see others use `\d` would get ` List of relations Schema | Name | Type | Owner --------+---------------------------+----------+------- public | blocks | table | hppoc public | blocks_id_seq | sequence | hppoc public | chaincodes | table | hppoc public | chaincodes_id_seq | sequence | hppoc public | channel | table | hppoc public | channel_id_seq | sequence | hppoc public | orderer | table | hppoc public | orderer_id_seq | sequence | hppoc public | peer | table | hppoc public | peer_id_seq | sequence | hppoc public | peer_ref_channel | table | hppoc public | peer_ref_channel_id_seq | sequence | hppoc public | transaction | table | hppoc public | transaction_id_seq | sequence | hppoc public | write_lock | table | hppoc public | write_lock_write_lock_seq | sequence | hppoc (16 rows)` Did I mistake anything

VadimInshakov (Mon, 08 Oct 2018 14:00:49 GMT):
@nfrunza please help to figure it out: https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SFxorXvGhG5C4rTq9

nfrunza (Mon, 08 Oct 2018 14:02:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SFxorXvGhG5C4rTq9) @VadimInshakov Are you available for a zoom meeting? so you can demo the problem

nfrunza (Mon, 08 Oct 2018 14:02:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SFxorXvGhG5C4rTq9) @VadimInshakov Are you available for a zoom meeting? so you can demo the problem, please create a zoom meeting and invite me in private chat

NageshCR (Tue, 09 Oct 2018 02:46:02 GMT):
Has joined the channel.

davidhu (Tue, 09 Oct 2018 05:58:27 GMT):
hello , can anyone tell me how do deal with this error?./createdb.sh: line 6: jq: command not found ./createdb.sh: line 6: [: ==: unary operator expected

davidhu (Tue, 09 Oct 2018 05:58:55 GMT):
when i run createdb.sh in explorer3.8

davidhu (Tue, 09 Oct 2018 05:58:58 GMT):
thanks

davidhu (Tue, 09 Oct 2018 06:13:25 GMT):
got it, I forget install jq

MuhammedHafil (Tue, 09 Oct 2018 07:00:34 GMT):
Has joined the channel.

MuhammedHafil (Tue, 09 Oct 2018 07:02:23 GMT):

console-2018-10-09.log

MuhammedHafil (Tue, 09 Oct 2018 07:02:52 GMT):
Getting this error while running start.sh script. any help? Thanks

davidhu (Tue, 09 Oct 2018 07:28:42 GMT):
1) config.json should contain properties should contain configtxgenToolPath property:

davidhu (Tue, 09 Oct 2018 07:29:08 GMT):
I do have this property in config.json, is this a bug?

MuhammedHafil (Tue, 09 Oct 2018 11:13:41 GMT):
can anybody hep me to create config.json file for fabcar tutorial network

MuhammedHafil (Tue, 09 Oct 2018 11:13:45 GMT):
i mean basic netwrk

nfrunza (Tue, 09 Oct 2018 12:22:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=izgdASTTwexnZQzKr) @davidhu Read in blockchain-explorer/README.md : ## Requirements Following are the software dependencies required to install and run hyperledger explorer * nodejs 8.11.x (Note that v9.x is not yet supported) * PostgreSQL 9.5 or greater * Jq [https://stedolan.github.io/jq/]

nfrunza (Tue, 09 Oct 2018 12:22:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=izgdASTTwexnZQzKr) @davidhu you need to install "* Jq [https://stedolan.github.io/jq/]", Read in blockchain-explorer/README.md : ## Requirements Following are the software dependencies required to install and run hyperledger explorer * nodejs 8.11.x (Note that v9.x is not yet supported) * PostgreSQL 9.5 or greater * Jq [https://stedolan.github.io/jq/]

nfrunza (Tue, 09 Oct 2018 12:24:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ys824XSArtqf4JMst) @davidhu you can ignore configtxgenToolPath key

sakoula (Tue, 09 Oct 2018 12:45:23 GMT):
Hi it seems that I cannot use 0.3.7.1 with HLF 1.1 . Which is the version I can use with HLF 1.1?

nfrunza (Tue, 09 Oct 2018 12:58:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WdqASWMvwrM2oTygB) @sakoula > 3.6

nfrunza (Tue, 09 Oct 2018 12:58:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fXhvgMmgiuxjhLJEk) [ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WdqASWMvwrM2oTygB) @sakoula up to 3.6

nfrunza (Tue, 09 Oct 2018 13:00:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=G4d7R6GGG53eYvM7x) @MuhammedHafil once you start your basic network, you will need to make sure the path to the crypto are added in the config.json, and they are valid paths

MuhammedHafil (Tue, 09 Oct 2018 13:15:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LaWyPaooddJAqLDu9) @nfrunza I have added path correctly. but it is not working. it is working perfectly with byfn network.

MuhammedHafil (Tue, 09 Oct 2018 13:16:50 GMT):
https://pastebin.com/hskJN2Pi

nfrunza (Tue, 09 Oct 2018 13:17:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5kcaiYFBPKFCZR7WK) @MuhammedHafil we haven't tested with basic network, which explorer version do you use?, try with v0.3.5.1

MuhammedHafil (Tue, 09 Oct 2018 13:17:03 GMT):
current config for basic network

MuhammedHafil (Tue, 09 Oct 2018 13:18:12 GMT):
https://pastebin.com/hskJN2Pi

MuhammedHafil (Tue, 09 Oct 2018 13:18:46 GMT):
probably latest. cloned the repo

MuhammedHafil (Tue, 09 Oct 2018 13:44:39 GMT):
with 3.5 getting this errors

MuhammedHafil (Tue, 09 Oct 2018 13:44:40 GMT):
error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/home/logiticksblockchain/blockchain-explorer-release-3.5/node_modules/grpc/src/client.js:838:16) (node:8

sakoula (Tue, 09 Oct 2018 13:46:38 GMT):
@nfrunza including 3.6?

MuhammedHafil (Tue, 09 Oct 2018 13:47:07 GMT):
https://pastebin.com/3d1bVDHN

nfrunza (Tue, 09 Oct 2018 13:47:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kNNHvLY48N8zh48HN) @sakoula no, below 3.6

sakoula (Tue, 09 Oct 2018 13:47:48 GMT):
@nfrunza great! thanks!

nfrunza (Tue, 09 Oct 2018 13:56:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DuQ2mPGzEYjxXzEaW) @MuhammedHafil is the basic network fabric running?

MuhammedHafil (Tue, 09 Oct 2018 13:56:16 GMT):
ogcourse its running

MuhammedHafil (Tue, 09 Oct 2018 13:56:39 GMT):
with version 3.6 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>>

nfrunza (Tue, 09 Oct 2018 13:56:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=J4b4STdCfmwKs7owi) @MuhammedHafil do $ peer version from CLI cmd

nfrunza (Tue, 09 Oct 2018 13:57:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MihR6y8SvqhEXz2xt) $docker network ls

MuhammedHafil (Tue, 09 Oct 2018 13:58:21 GMT):
Version: 1.3.0-rc1 Commit SHA: 25f79cd Go version: go1.10.4 OS/Arch: linux/amd64 Experimental features: false Chaincode: Base Image Version: 0.4.12 Base Docker Namespace: hyperledger Base Docker Label: org.hyperledger.fabric Docker Namespace: hyperledger

nfrunza (Tue, 09 Oct 2018 13:58:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oY3Sg3ySxbK7hfhBZ) @MuhammedHafil which version of explorer do you use?

MuhammedHafil (Tue, 09 Oct 2018 13:59:36 GMT):
NETWORK ID NAME DRIVER SCOPE 26706f25f052 net_basic bridge local 0e1fc6fca36e net_byfn bridge local

MuhammedHafil (Tue, 09 Oct 2018 14:00:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=udEGTJxpBx6TQBrCr) @nfrunza First i have cloned latest master, then 3.5 tried. now 3.6

MuhammedHafil (Tue, 09 Oct 2018 14:05:02 GMT):
3.6 config https://pastebin.com/1ps2CTFq

MuhammedHafil (Tue, 09 Oct 2018 14:12:39 GMT):
can you try with basic network? please. Thanks

davidhu (Wed, 10 Oct 2018 01:28:59 GMT):
@nfrunza thanks, it was config error

knagware9 (Wed, 10 Oct 2018 05:18:14 GMT):
@nfrunza explorer support fabric 1.3.0 yet or when will it be availbale?

MuhammedHafil (Wed, 10 Oct 2018 05:33:27 GMT):
did anybody tried with basic network??

MuhammedHafil (Wed, 10 Oct 2018 05:52:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6TtGszfZCy9mb7tDR) @knagware9 yes, it was working with byfn network when i tested

knagware9 (Wed, 10 Oct 2018 06:24:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eCRpuRnDFN4p2Logq) @MuhammedHafil Ok great

qubing (Wed, 10 Oct 2018 07:02:27 GMT):
Has joined the channel.

davidhu (Wed, 10 Oct 2018 07:14:11 GMT):
hi @nfruza , I'v stacked in npm test in v3.8. I changed the password of postgres to postgres which matchs postgrespgtest.js connection property, but still get the following error:

davidhu (Wed, 10 Oct 2018 07:14:16 GMT):
(node:30527) UnhandledPromiseRejectionWarning: error: password authentication failed for user "postgres" at Connection.parseE (/root/hyperledger/explorer3.8/app/test/node_modules/_pg@7.5.0@pg/lib/connection.js:554:11) at Connection.parseMessage (/root/hyperledger/explorer3.8/app/test/node_modules/_pg@7.5.0@pg/lib/connection.js:379:19) at Socket. (/root/hyperledger/explorer3.8/app/test/node_modules/_pg@7.5.0@pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) (node:30527) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:30527) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. not ok 1 DROP USER IF EXISTS testuser; --- operator: fail at: client.query.then.catch (/root/hyperledger/explorer3.8/app/test/postgrespgtest.js:112:17) stack: |- Error: DROP USER IF EXISTS testuser;

davidhu (Wed, 10 Oct 2018 07:15:09 GMT):
how to deal with this ?

nfrunza (Wed, 10 Oct 2018 11:21:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qGcPxCs9WWjTqCdhj) @davidhu release-3.8 is a development branch please use master, and you may skip the tests

mobie (Wed, 10 Oct 2018 11:55:19 GMT):
Has joined the channel.

nfrunza (Wed, 10 Oct 2018 15:48:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Nn4gxzKAca6L6JFPP) do you have a fire wall , or are you behind the proxy?

Ferrymania (Thu, 11 Oct 2018 02:14:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KrjznGb5gNhKb2Ky8) @VadimInshakov Hi ,can I ask how did you run with CA ? did you add ca config in config.json?

qubing (Thu, 11 Oct 2018 03:35:09 GMT):
Hi all, anyone is using docker to run explorer? How attach the config fold into explorer container? Help.

bongaquino (Thu, 11 Oct 2018 05:36:14 GMT):
Has joined the channel.

MuhammedHafil (Thu, 11 Oct 2018 05:50:34 GMT):
anyone attached explorer with basic network?

MuhammedHafil (Thu, 11 Oct 2018 06:01:28 GMT):
what is this Payload Proposal Hash shown in transaction details?

Ferrymania (Thu, 11 Oct 2018 06:32:09 GMT):
Have anyone seen this ?https://jira.hyperledger.org/projects/BE/issues/BE-485?filter=allopenissues&orderby=priority+ASC%2C+updated+DESC I am confused about this suggestion ``` Requests from many developers to be able to run HLExplorer with fabric-ca server. 1) Use fabric-ca client and admin credentials to login to fabric-ca server. 2) Enroll HLExplorer user to fabric-ca, and store the generated user credentials in a temp directory, can be under explorer 3) Verify if user exists on the CA, if they do not, register them. 4) Verify if user exists credentials (key/cert pair) exist before enrolling, and that credentials are valid, otherwise re-enroll the HLExplorer user. 5) Minimize or avoid using CDM tools for generating credentials or enroll HLExplorer user, we want as less as possible use of command tools. Balance transfer sample has a fabric-ca server, https://github.com/hyperledger/fabric-samples/tree/master/balance-transfer#sample-rest-apis-requests , and can be used top test explorer Some suggestions how to achieve this : Suppose you launch root ca (localhost:7054) and intermediate ca (localhost:8054) on localhost. Firstly, you should register identity with hf.IntermediateCA=true attribute by root ca. For example: fabric-ca-client register --id.name ica --id.attrs '"hf.Registrar.Roles=user,peer",hf.Revoker=true,hf.IntermediateCA=true' --id.secret icapw Secondly, open intermediate ca home directory and initialize the intermediate ca: fabric-ca-server init -b icaadmin:icaadminpw -u http://ica:icapw@localhost:7054 Change port of intermediate ca (8054) and some other settings of intermediate ca in fabric-ca-server-config.yaml file. After that, you can start intermediate ca: fabric-ca-server start ```

jeevas (Thu, 11 Oct 2018 07:26:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zcyH47LowbsqN6oEm) @qubing Please follow this url for run explorer using docker https://github.com/hyperledger/blockchain-explorer#run-hyperledger-explorer-using-docker

qubing (Thu, 11 Oct 2018 07:38:45 GMT):
@jeevas Thanks for your response. In docker, the default work_dir is "/opt", does the doc mean "mkdir -p /opt/explorer/examples/dockerConfig"?

BlockchainCoE (Thu, 11 Oct 2018 07:39:11 GMT):

files.zip

BlockchainCoE (Thu, 11 Oct 2018 07:39:11 GMT):

files.zip

BlockchainCoE (Thu, 11 Oct 2018 07:39:11 GMT):

files.zip

BlockchainCoE (Thu, 11 Oct 2018 07:39:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aaBkDu24FsHDqNaxv) We were in process to deploy explorer on Ubuntu 16.04. Fabric used is 1.2. We spawned up balance-transfer demo with 2 orgs and 2 peers each. Explorer used is of latest version i.e. 0.3.7. Installed postgres, created the db and executed the createdb.sh successfully. we executed all the npm tests and didn't come across any issue. On executing start.sh although the UI is launched but it is not able to sync with the fabric peer. Attached are the configuration file and the logs for your reference.

BlockchainCoE (Thu, 11 Oct 2018 07:39:34 GMT):
@nfrunza We were in process to deploy explorer on Ubuntu 16.04. Fabric used is 1.2. We spawned up balance-transfer demo with 2 orgs and 2 peers each. Explorer used is of latest version i.e. 0.3.7. Installed postgres, created the db and executed the createdb.sh successfully. we executed all the npm tests and didn't come across any issue. On executing start.sh although the UI is launched but it is not able to sync with the fabric peer. Attached are the configuration file and the logs for your reference.

BlockchainCoE (Thu, 11 Oct 2018 07:42:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wjhCKdk5DvDGEC9gM) Just to add syncstart.sh script was executed separately as sync type was set to "host"

qubing (Thu, 11 Oct 2018 07:43:28 GMT):
@BlockchainCoE I think it's good choice to use docker-compose to deploy BE, can you provide a sample of docker-compose to run BE?

Ferrymania (Thu, 11 Oct 2018 07:43:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wjhCKdk5DvDGEC9gM) @BlockchainCoE same situation with you ,could open UI but non network data

Ferrymania (Thu, 11 Oct 2018 07:43:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wjhCKdk5DvDGEC9gM) @BlockchainCoE same situation with you ,could open UI but non network data did you demo have ca servers for registering users ?

jeevas (Thu, 11 Oct 2018 07:45:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZWauaK8qAd8cTNXds) @MuhammedHafil you can Setup your basic network using Build your network tutorial from Fabric. Once you setup the network, please modify the values in /blockchain-explorer/app/platform/fabric/config.json accordingly

jeevas (Thu, 11 Oct 2018 07:45:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FpwGrM8f5aKazMdsv) @qubing we are creating folder with in explorer application itself."mkdir -p ./examples/dockerConfig" - it will create blockchain-explorer/examples/dockerConfig

qubing (Thu, 11 Oct 2018 07:48:02 GMT):
@jeevas Had you run BE in docker successfully via the guide?

MuhammedHafil (Thu, 11 Oct 2018 07:50:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TCTM42xi3j3xkvu6Y) @jeevas I have alredy a basic network up and running but explorer is not connecting to it, but connect perfectly with byfn network. previously someone told they have not tested basic network with explorer

jeevas (Thu, 11 Oct 2018 07:57:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xZyuhZLmgA3uh3Gaa) @MuhammedHafil ok. will check with my workspace and let you know.

jeevas (Thu, 11 Oct 2018 07:58:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=C8Z8Q34Ssk3D2KcY6) @qubing yes. we could run it.

MuhammedHafil (Thu, 11 Oct 2018 08:04:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RTcuQ5R94j9Z7s48W) @jeevas Thank you. Kindly update when you have done, I have tried with latest,3.5,3.5.1 and 3.6 versions with basic network. none of them worked for me while all of them did with byfn network

MuhammedHafil (Thu, 11 Oct 2018 08:10:07 GMT):
Please update your config if it worked with basic network

jeevas (Thu, 11 Oct 2018 08:12:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZHc3qjGRCtKugXLCk) @MuhammedHafil sure. i will do

MuhammedHafil (Thu, 11 Oct 2018 09:06:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LvYMsiaQfm4LYvE82) @jeevas ??

MuhammedHafil (Thu, 11 Oct 2018 11:02:37 GMT):
will explorer work with non tls networks?

nasserfci (Thu, 11 Oct 2018 13:00:37 GMT):
Hello I found the explorer make error with ``` [2018-10-11 12:38:02.534] [ERROR] Query - Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/ols/explorer/node_modules/grpc/src/client.js:64:15) at /opt/ols/explorer/node_modules/grpc/src/client.js:583:15 error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/ols/explorer/node_modules/grpc/src/client.js:64:15) at /opt/ols/explorer/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/ols/explorer/node_modules/grpc/src/client.js:64:15) at /opt/ols/explorer/node_modules/grpc/src/client.js:583:15 [2018-10-11 12:38:03.545] [ERROR] Query - Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/ols/explorer/node_modules/grpc/src/client.js:64:15) at /opt/ols/explorer/node_modules/grpc/src/client.js:583:15 error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/ols/explorer/node_modules/grpc/src/client.js:64:15) at /opt/ols/explorer/node_modules/grpc/src/client.js:583:15 error: [Client.js]: Failed Installed Chaincodes Query. Error: Error: 14 UNAVAILABLE: Connect Failed at new createStatusError (/opt/ols/explorer/node_modules/grpc/src/client.js:64:15) at /opt/ols/explorer/node_modules/grpc/src/client.js:583:15 ``` and this make error at peer with ``` 2018-10-11 12:36:23.140 UTC [shim] beforeTransaction -> DEBU 36d [c0c96c15]Received TRANSACTION, invoking transaction on chaincode(Src:ready, Dst:ready) panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xa592d8] goroutine 802 [running]: github.com/hyperledger/fabric/core/common/ccprovider.(*CDSPackage).getCDSData(0xc422645500, 0xc422658300, 0x200, 0x16650c0, 0xc422658300, 0x0, 0x0, 0x0, 0x200, 0x0, ...) /opt/gopath/src/github.com/hyperledger/fabric/core/common/ccprovider/cdspackage.go:155 +0x2a8 github.com/hyperledger/fabric/core/common/ccprovider.(*CDSPackage).InitFromBuffer(0xc422645500, 0xc421a8f800, 0x0, 0x200, 0xc421a8f800, 0x0, 0x200) /opt/gopath/src/github.com/hyperledger/fabric/core/common/ccprovider/cdspackage.go:215 +0xf1 github.com/hyperledger/fabric/core/common/ccprovider.(*CDSPackage).InitFromFS(0xc422645500, 0xc42262ff47, 0x1c, 0xc42262ff64, 0xe, 0x1, 0x1c, 0x2, 0x1, 0x2, ...) /opt/gopath/src/github.com/hyperledger/fabric/core/common/ccprovider/cdspackage.go:239 +0xc6 github.com/hyperledger/fabric/core/common/ccprovider.(*CCInfoFSImpl).GetChaincode(0x16c5300, 0xc42262ff47, 0x1c, 0xc42262ff64, 0xe, 0x1, 0xc422647500, 0x2, 0x2) /opt/gopath/src/github.com/hyperledger/fabric/core/common/ccprovider/ccprovider.go:126 +0x78 github.com/hyperledger/fabric/core/common/ccprovider.GetChaincodeFromFS(0xc42262ff47, 0x1c, 0xc42262ff64, 0xe, 0x2, 0xc422647500, 0x2, 0x2) /opt/gopath/src/github.com/hyperledger/fabric/core/common/ccprovider/ccprovider.go:191 +0x59 github.com/hyperledger/fabric/core/common/ccprovider.GetInstalledChaincodes(0x47, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/common/ccprovider/ccprovider.go:281 +0x18b github.com/hyperledger/fabric/core/scc/lscc.(*supportImpl).GetChaincodesFromLocalStorage(0x16c5708, 0x10, 0x20a, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/scc/lscc/support.go:42 +0x22 github.com/hyperledger/fabric/core/scc/lscc.(*lifeCycleSysCC).getInstalledChaincodes(0xc4201d8ff0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/scc/lscc/lscc.go:306 +0x6e github.com/hyperledger/fabric/core/scc/lscc.(*lifeCycleSysCC).Invoke(0xc4201d8ff0, 0x166f740, 0xc4201ae460, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/scc/lscc/lscc.go:789 +0x2872 github.com/hyperledger/fabric/core/chaincode/shim.(*Handler).handleTransaction.func1(0xc4210558f0, 0xc422644600) /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim/handler.go:329 +0x4f3 created by github.com/hyperledger/fabric/core/chaincode/shim.(*Handler).handleTransaction /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim/handler.go:295 +0x49 ``` when i ask about the problem in fabric channel i found the only solution is to migrate to 1.2 is there any solution for explorer to handle this problem instead of migrate to 1.2

mobie (Thu, 11 Oct 2018 13:36:02 GMT):
Hi. When im running npm run build im getting the following error. Can anyone help me understand what's wrong? fabric@vps-69:~/blockchain-explorer/client$ npm run build > hyperledger-explorer-client@0.3.7 build /home/fabric/blockchain-explorer/client > react-scripts build ` Creating an optimized production build... The build failed because the process exited too early. This probably means the system ran out of memory or someone called `kill -9` on the process. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hyperledger-explorer-client@0.3.7 build: `react-scripts build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hyperledger-explorer-client@0.3.7 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/fabric/.npm/_logs/2018-10-11T13_20_42_278Z-debug.log`

mobie (Thu, 11 Oct 2018 13:36:55 GMT):
Pastebin of the logfile https://pastebin.com/27CNhgZG

vudathasaiomkar (Fri, 12 Oct 2018 05:44:29 GMT):
hi @nfrunza ,I want to integrate hyperledger explorer with composer and followed same steps which were described in the hyperledger explorer github but I am facing some issues with that my error is ` Cannot read property 'size' of undefined at Platform.initialize (/home/saiomkar/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:123456@127.0.0.1:5432/fabricexplorer grpc://10.0.2.15:7051 peer0.org1.example.com `

vudathasaiomkar (Fri, 12 Oct 2018 05:44:29 GMT):
hi @nfrunza ,I want to integrate hyperledger explorer with composer and followed same steps which were described in the hyperledger explorer github but I am facing some issues with that my error is``` ``` ` Cannot read property 'size' of undefined at Platform.initialize (/home/saiomkar/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:123456@127.0.0.1:5432/fabricexplorer grpc://10.0.2.15:7051 peer0.org1.example.com ```` ```

vudathasaiomkar (Fri, 12 Oct 2018 05:44:29 GMT):
hi @nfrunza ,I want to integrate hyperledger explorer with composer and followed same steps which were described in the hyperledger explorer github but I am facing some issues, error is ``` Cannot read property 'size' of undefined at Platform.initialize (/home/saiomkar/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:123456@127.0.0.1:5432/fabricexplorer grpc://10.0.2.15:7051 peer0.org1.example.com ```

vudathasaiomkar (Fri, 12 Oct 2018 05:46:40 GMT):
fabric v 1.2 ,composer v .20 and explorer v is 3.8 and also tried with 3.7,3.6 also can you please help me out with this issue

mobie (Fri, 12 Oct 2018 08:20:54 GMT):
I get this error when I start explorer. I've tried changing channel to "composerchannel" and other examples but I'm confused as to what my channel actually is right now and wich config files to modify to get it working. Fabric and composer-playground seems to be running fine. When I insert "mychannel" in config.json it connects according to app.log Output of console log: ```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default defined channel %s is not found for the client %s peer', 'mychannel', 'client-1' ] Received kill signal, shutting down gracefully ``` Otherwise if I insert "composerchannel", app.log says `[ERROR] FabricUtils - Default channel [composerchannel] is not defined in configuration` and console log: ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] ``` I guess I'm just running in circles due to something I've overlooked. I'm using fabric-dev-server and tried to follow the guides to the best of my ability

jeevas (Fri, 12 Oct 2018 08:56:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LvYMsiaQfm4LYvE82) Hi, It's working for me. i have followed these steps : i have started basic network a) ./generate.sh b) ./start.sh after that configured explorer in config. json a) "tlsEnable": false b) "channel": "mychannel" c) change key , cert path and url

jeevas (Fri, 12 Oct 2018 08:59:45 GMT):

config .txt

jeevas (Fri, 12 Oct 2018 09:00:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BfsasdX6K77DBH3nY) @MuhammedHafil yes. It works

MuhammedHafil (Fri, 12 Oct 2018 09:32:27 GMT):
Error : [ 'Failed to connect client peer, please check the configuration and peer status' ]

MuhammedHafil (Fri, 12 Oct 2018 09:35:16 GMT):
peer node status status:STARTED

MuhammedHafil (Fri, 12 Oct 2018 09:35:16 GMT):
but when i run peer node status status:STARTED

MuhammedHafil (Fri, 12 Oct 2018 09:55:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FX45d5kBaxy5aNAzL) @jeevas Please update your all environment. which fabric version you are using?node version?

jeevas (Fri, 12 Oct 2018 10:19:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DfA9ErA4XfWdXEz5m) @nasserfci Please check your fabric network is up and check configuration in explorer.

jeevas (Fri, 12 Oct 2018 10:21:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Nqnw595EAeFrd9yeA) @mobie did you solve this issues?

jeevas (Fri, 12 Oct 2018 10:23:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Mkr6PwMvd8zbEG38v) @MuhammedHafil using fabric version 1.2 and node v8.11.3

mobie (Fri, 12 Oct 2018 10:34:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4sWArbhqPte98FwPY) I started again from scratch with the fabric-dev-servers tools, so I don't know what the problem was exactly. It works now, but I'm stuck at the next problem now :)

jeevas (Fri, 12 Oct 2018 10:42:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iXxSgjPnwYRCjQtgv) @mobie what problem now? Let me know if you want any help

mobie (Fri, 12 Oct 2018 10:49:32 GMT):
Please see my previous post from this morning

jeevas (Fri, 12 Oct 2018 10:53:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YWfQxvGTpbsoTLx3k) @mobie Are you using fabric - first network ?

mobie (Fri, 12 Oct 2018 10:55:37 GMT):
@jeevas I'm using this tutorial right now https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-single-org

jeevas (Fri, 12 Oct 2018 11:04:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A2DiW4EQi346XaEKM) @mobie Please share your "docker ps" details and your Hyperledger explorer config.json too

mobie (Fri, 12 Oct 2018 11:21:55 GMT):
config.json: https://pastebin.com/9y7tPPzb app.log: https://pastebin.com/ckCzm59x console log: https://pastebin.com/pevEn8GP ``` docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 98755f157033 dev-peer0.org1.example.com-digitalproperty-network-0.2.6-41b2e217663c886de2c6aec5889973a3a70e3bde0ed56aac4b4ea173a76d422a "/bin/sh -c 'cd /usr…" 20 minutes ago Up 20 minutes dev-peer0.org1.example.com-digitalproperty-network-0.2.6 1703214e1cce hyperledger/fabric-peer:amd64-1.2.1 "peer node start" 30 minutes ago Up 30 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com cd34e6547877 hyperledger/fabric-couchdb:0.4.10 "tini -- /docker-ent…" 31 minutes ago Up 30 minutes 4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp couchdb f3ff0938c8d8 hyperledger/fabric-orderer:amd64-1.2.1 "orderer" 31 minutes ago Up 30 minutes 0.0.0.0:7050->7050/tcp orderer.example.com 917c7a267f8e hyperledger/fabric-ca:amd64-1.2.1 "sh -c 'fabric-ca-se…" 31 minutes ago Up 31 minutes 0.0.0.0:7054->7054/tcp ca.org1.example.com ```

mobie (Fri, 12 Oct 2018 11:24:05 GMT):
I see that there is a discrepancy in the channel name in the different logs and config file, but I can't figure out a working combination

MuhammedHafil (Fri, 12 Oct 2018 11:29:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=a9vJZSayQHMrAH23J) @jeevas explorer version?

jeevas (Fri, 12 Oct 2018 12:01:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7uiWv4Q2Qjw2qSi7y) @mobie your channel name is mychannel or composerchannel? can you please check name in docker-composer file

MuhammedHafil (Fri, 12 Oct 2018 12:09:45 GMT):
@jeevas : which explorer version you are using?

mobie (Fri, 12 Oct 2018 12:10:23 GMT):
@jeevas it says - CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=composer_default should I change that line to composerchannel?

mobie (Fri, 12 Oct 2018 12:15:19 GMT):
or is it another line in the file that defines that?

MuhammedHafil (Fri, 12 Oct 2018 12:35:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=W9C9d3gqfnEqGC48R) ????

jeevas (Fri, 12 Oct 2018 12:41:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=G32LeFt84cyYgBeTE) @MuhammedHafil Hi, look like one peer having that issues . we are checking Development itself.once i have fix this issues. will let you know. can you add one more peer and check.

MuhammedHafil (Fri, 12 Oct 2018 12:42:41 GMT):
ok

jeevas (Fri, 12 Oct 2018 12:44:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2cWdKKrFbdZRLHptF) @mobie Please change "channel": "mychannel", instead of channel: composerchannel - could you please follow this url for composer setup in explorer from scratch itself. (https://github.com/hyperledger/blockchain-explorer/blob/master/app/test/artifacts/help/Test-ubuntu-install-composer.md)

mobie (Fri, 12 Oct 2018 12:45:23 GMT):
@jeevas Ok, I'll check it out! Thanks

mobie (Fri, 12 Oct 2018 13:24:02 GMT):
@jeevas I got explorer running now, but I get this error message during the sync process (I believe) ` [DEBUG] FabricClient - Admin peer Not found for grpc://127.0.0.1:7051 ` Any ideas as to what might cause that one?

mobie (Fri, 12 Oct 2018 14:06:00 GMT):
Wow. I got it running. (pats myself on my back) :sunglasses: Solution: https://jira.hyperledger.org/projects/BE/issues/BE-471?filter=allissues

mobie (Fri, 12 Oct 2018 14:08:21 GMT):
@jeevas I solved the channel problem by switching "mychannel" with "composerchannel" in some of the config files, it wasn't consistent all over. I didn't notice it due to formatting/lack of understanding of file buildup

Russ.corsha (Fri, 12 Oct 2018 19:19:54 GMT):
The readme states 'nodejs 8.11.x (Note that v9.x is not yet supported)' . But node is already on v10.12.0. Is that line correct?

Ferrymania (Sat, 13 Oct 2018 02:45:19 GMT):
Hi,guys ,I meet this problem.``` [2018-10-13 10:14:54.438] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2018-10-13 10:14:54.438] [DEBUG] Platform - Setting admin organization enrolment files [2018-10-13 10:14:54.438] [DEBUG] FabricUtils - Organization [Org1MSP] enrolment files path defined as directory [2018-10-13 10:14:54.438] [DEBUG] FabricUtils - Organization [Org2MSP] enrolment files path defined as directory [2018-10-13 10:14:54.438] [DEBUG] FabricUtils - Organization [OrdererMSP] enrolment files path defined as directory [2018-10-13 10:14:54.438] [DEBUG] Platform - Creatinging client [client-1] >> [2018-10-13 10:14:54.439] [DEBUG] FabricUtils - Validating client [client-1] configuration [2018-10-13 10:14:54.440] [DEBUG] FabricUtils - Client configuration >> {.............[2018-10-13 10:14:54.440] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-13 10:14:54.440] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-13 10:14:54.601] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-13 10:14:54.607] [DEBUG] FabricClient - Successfully created admin user [client-1_Org1MSPAdmin] for client [client-1] [2018-10-13 10:14:54.675] [DEBUG] FabricClient - Set client [client-1] default channel as >> mychannel [2018-10-13 10:14:54.675] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.org1.kdgg.com [2018-10-13 10:14:54.675] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-13 10:14:57.692] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/ferrymania/fabric/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-10-13 10:14:57.704] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. ``` I use fabric1.2 BE3.7 4kafka 3zookeeper 3orderer 4peer 2ca

bcrocks (Sat, 13 Oct 2018 03:28:11 GMT):
Has joined the channel.

Ferrymania (Sat, 13 Oct 2018 06:46:46 GMT):
Hi,guys have you meet this problem ?``` [2018-10-13 14:42:51.009] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-13 14:42:51.009] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-13 14:42:51.168] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-13 14:42:51.175] [DEBUG] FabricClient - Successfully created admin user [client-1_Org1MSPAdmin] for client [client-1] [2018-10-13 14:42:51.239] [DEBUG] FabricClient - Set client [client-1] default channel as >> mychannel [2018-10-13 14:42:51.239] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.org1.kdgg.com [2018-10-13 14:42:51.239] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-13 14:42:54.257] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/home/ferrymania/fabric/blockchain-explorer/node_modules/grpc/src/client.js:838:16) [2018-10-13 14:42:54.268] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. ```

Ferrymania (Sat, 13 Oct 2018 07:30:30 GMT):
emmm when I modify config.json ,how could it become effective:upside_down:

Ferrymania (Sat, 13 Oct 2018 07:30:30 GMT):
emmm when I modify config.json ,how could it become effective:upside_down: I run ./stop.sh then ./start.sh ,but app.log showed that the configuration not change

Ferrymania (Sat, 13 Oct 2018 08:09:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WXxxYZvEArWjwsqhz) @MuhammedHafil Hi MuhammedHafil ,I have run explorer with basic network just now ,Did you change grpcs to grpc?

bh4rtp (Sat, 13 Oct 2018 08:29:07 GMT):
@Ferrymania it is caused that block-explorer does not support fabric-ca.

bh4rtp (Sat, 13 Oct 2018 08:29:07 GMT):
@Ferrymania block-explorer does not support fabric-ca.

Ferrymania (Sat, 13 Oct 2018 08:30:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tBRmAvvu3MCc6kYWw) @bh4rtp emmm,I run basic-network in fabric-samples ,it have one ca and it's ok:joy:

Ferrymania (Sat, 13 Oct 2018 08:30:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tBRmAvvu3MCc6kYWw) @bh4rtp emmm,I run basic-network in fabric-samples ,it have one ca and it's ok:joy: but its non TLS ,did this have effects

MuhammedHafil (Sat, 13 Oct 2018 10:07:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=98nArYv8GYdawwpjR) @Ferrymania Yes. Is it with one peer or 2??

Ferrymania (Sat, 13 Oct 2018 11:16:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=E7wMFhuPojpiRjg6N) @MuhammedHafil It's one peer just use docker.yml in basic-network

MuhammedHafil (Sun, 14 Oct 2018 07:25:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hDHQ8E2ctR7EKApwT) @Ferrymania Iam already Using basic network

nasserfci (Sun, 14 Oct 2018 13:56:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=X3y8vxnkCmwZhvw6B) @jeevas i didn't change my configuration the explorer was running but this behaviour happen Suddenly

nasserfci (Sun, 14 Oct 2018 14:13:56 GMT):
also my network is up and playground & rest server is working but when start explorer the issue appear

davidhu (Mon, 15 Oct 2018 01:39:30 GMT):
@nfruza thanks for your reply, dose explore have i8n function

davidhu (Mon, 15 Oct 2018 01:46:49 GMT):
can i use tag version?

MuhammedHafil (Mon, 15 Oct 2018 05:22:13 GMT):
@Ferrymania can you share your config.json

davidhu (Mon, 15 Oct 2018 05:39:26 GMT):
@nfruza could u tell me how to disable wagger-UI ?api-docs/#/

jeevas (Mon, 15 Oct 2018 07:19:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hirzhgC4Fa9DHXF9f) @davidhu if you want disable the swagger-UI you can commend this line(this.app.use( '/api-docs', swaggerUi.serve, swaggerUi.setup(swaggerDocument) ); ) in explorer.js (blockchain-explorer/app/Explorer.js)

davidhu (Mon, 15 Oct 2018 07:20:38 GMT):
@jeevas yeah, that's a good idea, thank you

anaswar (Mon, 15 Oct 2018 09:33:03 GMT):
Has joined the channel.

Ferrymania (Tue, 16 Oct 2018 01:24:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tquzuTmkJZaKKjYFg) @MuhammedHafil here is config.json for basic-network in fabric-samples ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/ferrymania/fabric/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/ferrymania/fabric/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/ferrymania/fabric/fabric-samples/basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/ferrymania/fabric/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/ferrymania/fabric/bin", "license": "Apache-2.0" } ``` and I add two lines in docker-compose.yml for the problem *admin peer not found* ` - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051`

Ferrymania (Tue, 16 Oct 2018 02:44:36 GMT):
:expressionless: Hi ,guys ,when I change to another fabric network ,is it need to delete data created by network before ,Or just ./stop.sh then ./start.sh is OK ?

MuhammedHafil (Tue, 16 Oct 2018 04:12:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nnPPmShMroJMbArTX) @Ferrymania Please tell your environment?node version?fabric version?

MuhammedHafil (Tue, 16 Oct 2018 05:01:13 GMT):
@Ferrymania : Thank you all i needed was `=!=unGLa2aEfnWjeb96f=!= `

MuhammedHafil (Tue, 16 Oct 2018 05:01:13 GMT):
@Ferrymania : Thank you all i needed was ```` - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 ``` `

Ferrymania (Tue, 16 Oct 2018 06:26:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Mvd6RBfAi8Qcmaq5N) @MuhammedHafil node 8.11.3 fabric 1.2 and explorer 3.7

Ferrymania (Tue, 16 Oct 2018 06:54:12 GMT):
have someone try *e2e_cli *in fabric source code ? I have meet this error ``` error: [Channel.js]: Error: MSP Configuration object type not supported: 1 at mspConfigs.forEach (/home/ferrymania/fabric/blockchain-explorer/node_modules/fabric-client/lib/msp/msp-manager.js:50:11) at Array.forEach () at MSPManager.loadMSPs (/home/ferrymania/fabric/blockchain-explorer/node_modules/fabric-client/lib/msp/msp-manager.js:48:14) at Channel.loadConfigEnvelope (/home/ferrymania/fabric/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:1622:21) at getChannelConfig.then (/home/ferrymania/fabric/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:350:31) at <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default defined channel %s is not found for the client %s peer', 'mychannel', 'client-1' ] Received kill signal, shutting down gracefully Closed out connections ```

Ferrymania (Tue, 16 Oct 2018 07:22:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NZ2zC49FBgQYLERr9) https://jira.hyperledger.org/projects/BE/issues/BE-466?filter=doneissues it seems help to this problem

NoLimitHoldem (Tue, 16 Oct 2018 09:33:18 GMT):
Has joined the channel.

rishikanth.s (Tue, 16 Oct 2018 22:46:55 GMT):
Has joined the channel.

rishikanth.s (Tue, 16 Oct 2018 22:47:02 GMT):
Hi

rishikanth.s (Tue, 16 Oct 2018 22:47:02 GMT):
Hi

rishikanth.s (Tue, 16 Oct 2018 22:47:02 GMT):
Hi. I have the following issue with Explorer with Fabric 1.2Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

rishikanth.s (Tue, 16 Oct 2018 22:47:02 GMT):
Hi. I have the following issue with Explorer with Fabric 1.2 Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

rishikanth.s (Tue, 16 Oct 2018 22:47:02 GMT):
Hi. I have the following issue with Explorer with Fabric 1.2 \n Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

rishikanth.s (Tue, 16 Oct 2018 22:47:02 GMT):
Hi. I have the following issue with Explorer with Fabric 1.2 Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

rishikanth.s (Tue, 16 Oct 2018 22:47:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8hR52TWqngoPdRcgo) Hi. I have the following issue with Explorer with Fabric 1.2 ``` ````` Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

rishikanth.s (Tue, 16 Oct 2018 22:52:07 GMT):
Hi``` I have the following error with Explorer 0.3.7 and Fabric 1.2```Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` ``` ``` ```

jeevas (Wed, 17 Oct 2018 07:26:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9WwnJr9BzZGYbsqSE) @rishikanth.s Please use Master branch and run explorer. Let me know if you face any issues.

npc0405 (Wed, 17 Oct 2018 11:11:13 GMT):
Error: Failed to connect before the deadline at checkState (/home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:838:16) Received kill signal, shutting down gracefully Closed out connections

npc0405 (Wed, 17 Oct 2018 11:11:21 GMT):
any idea?

npc0405 (Wed, 17 Oct 2018 11:11:47 GMT):
initially it was working... stopped now

npc0405 (Wed, 17 Oct 2018 11:11:55 GMT):
not able to connect

baoyangc (Wed, 17 Oct 2018 16:57:04 GMT):
Has joined the channel.

npc0405 (Wed, 17 Oct 2018 17:05:11 GMT):
??

baoyangc (Wed, 17 Oct 2018 17:12:59 GMT):
``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/opt/explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections ```

baoyangc (Wed, 17 Oct 2018 17:14:10 GMT):
at git commit c1c67ff1a0ca90713a3c0ea351e31972d0d6af21

rishikanth.s (Wed, 17 Oct 2018 17:42:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Cm4n2Q8QgZHSBXEFN) @jeevas Thanks for the reply. I have updated to Explorer to .3.8 and still face the same issue. Attached is my config.json file.``` `{ "network-configs": { "network-0": { "version": "1.0", "clients": { "client-0": { "tlsEnable": false, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/rishi/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/rishi/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/rishi/fabric-samples/basic-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/rishi/fabric-samples/basic-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } } } }, "configtxgenToolPath": "/home/rishi/fabric-samples/bin", "license": "Apache-2.0" } ` ```

PhilippeLabalette (Wed, 17 Oct 2018 18:29:28 GMT):
Has joined the channel.

PhilippeLabalette (Wed, 17 Oct 2018 18:40:38 GMT):
Hi, I'm running the explorer (master version, release 3.7 or release 3.8) pointing to an hyperledger network which has peers in the cloud. 2 peers, 1 orderer, 1 channel running as kubernetes pods on 3 different worker nodes. I used versions 1.2 and 1.2.1. i get the following error after starting the explorer process:

PhilippeLabalette (Wed, 17 Oct 2018 18:40:55 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [] creator org [Org1MSP] at new createStatusError (/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /blockchain-explorer/node_modules/grpc/src/client.js:583:15 ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 17937 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

PhilippeLabalette (Wed, 17 Oct 2018 18:41:35 GMT):
my config file:

PhilippeLabalette (Wed, 17 Oct 2018 18:41:37 GMT):
{ "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "channel1", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "channel1": { "peers": { "blockchain-org1peer1": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/blockchain-explorer/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/blockchain-explorer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "blockchain-org1peer1": { "tlsCACerts": { "path": "/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://54.157.209.239:30110", "eventUrl": "grpc://54.157.209.239:30111", "grpcOptions": { "ssl-target-name-override": "blockchain-org1peer1" } }, "blockchain-org2peer1": { "url": "grpc://52.55.6.8:30210" } }, "orderers": { "blockchain-orderer": { "url": "grpc://34.230.42.50:31010" } } } }, "configtxgenToolPath": "/blockchain-explorer/fabric-samples/bin", "license": "Apache-2.0" }

PhilippeLabalette (Wed, 17 Oct 2018 18:42:35 GMT):
can someone help me? I'm able to run older version of explorer (older than 3). But I want to update to the new one due to stability problems

PhilippeLabalette (Wed, 17 Oct 2018 18:44:24 GMT):
For Info, the hyperledger fabric network is running well. And the credentials I use for the explorer are the one created by cryptogen using the fabric-tools docker image.

rishikanth.s (Wed, 17 Oct 2018 21:07:53 GMT):
I have noticed the following error message when I execute "peer node status"``` `2018-10-17 21:02:42.067 UTC [nodeCmd] status -> INFO 001 Error trying to get status from local peer: rpc error: code = Unknown desc = access denied status:UNKNOWN Error: Error trying to connect to local peer: rpc error: code = Unknown desc = access denied ` ```

rishikanth.s (Wed, 17 Oct 2018 21:08:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BSms5rhKtSNmRvseb) I have noticed the following error message when I execute "peer node status"``` `2018-10-17 21:02:42.067 UTC [nodeCmd] status -> INFO 001 Error trying to get status from local peer: rpc error: code = Unknown desc = access denied status:UNKNOWN Error: Error trying to connect to local peer: rpc error: code = Unknown desc = access denied ` ```

Ferrymania (Thu, 18 Oct 2018 02:44:35 GMT):
I found that when I try e2e-cli netowrk which contains 2 CA 4 peer order and kafka ,the explorer would work ,but use my network same config ,the explorer would fail to start,I guess the difference between them is that mine is use node-sdk to register user and create channel . ~~:joy:

fnst_zhangxin (Thu, 18 Oct 2018 08:02:28 GMT):
Has joined the channel.

Randyshu2018 (Thu, 18 Oct 2018 09:50:29 GMT):

I have four peers in my channel ,why it only displays one peer?

tballast (Thu, 18 Oct 2018 10:43:36 GMT):
Has joined the channel.

fksaito (Thu, 18 Oct 2018 18:19:40 GMT):
Has joined the channel.

fksaito (Thu, 18 Oct 2018 20:04:50 GMT):
Hi dear experts, My setup is using Hyperledger Fabric v1.3.0, first network and Hyperledger Explorer. Everything works fine after ./byfn.sh up. When I try to add the 3rd Organization using ./eyfn.sh up, the Blockchain Explorer app stops with error and the last lines are:

fksaito (Thu, 18 Oct 2018 20:04:50 GMT):
Hi dear experts, My setup is using Hyperledger Fabric v1.3.0, first network and Hyperledger Explorer. Everything works fine after ./byfn.sh up. When I try to add the 3rd Organization using ./eyfn.sh up, the Blockchain Explorer app stops with error and the last lines are: Insert sql is INSERT INTO blocks ( "blocknum","datahash","prehash","txcount","createdt","prev_blockhash","blockhash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> ReferenceError: host_port is not defined at FabricClient.initializeChannelFromDiscover (/opt/hlfx/blockchain-explorer/app/platform/fabric/FabricClient.js:404:17) at <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

fksaito (Thu, 18 Oct 2018 20:04:50 GMT):
Hi dear experts, My setup is using Hyperledger Fabric v1.3.0, first network and Hyperledger Explorer. Everything works fine after ./byfn.sh up. When I try to add the 3rd Organization using ./eyfn.sh up, the Blockchain Explorer app stops with error and the last lines are: ==================================================== Insert sql is INSERT INTO blocks ( "blocknum","datahash","prehash","txcount","createdt","prev_blockhash","blockhash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> ReferenceError: host_port is not defined at FabricClient.initializeChannelFromDiscover (/opt/hlfx/blockchain-explorer/app/platform/fabric/FabricClient.js:404:17) at <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ====================================================

fksaito (Thu, 18 Oct 2018 20:04:50 GMT):
Hi dear experts, My setup is using Hyperledger Fabric v1.3.0, first network and Hyperledger Explorer. Everything works fine after ./byfn.sh up. When I try to add the 3rd Organization using ./eyfn.sh up, the Blockchain Explorer app stops with error and the last lines are: ==================================================== Insert sql is INSERT INTO blocks ( "blocknum","datahash","prehash","txcount","createdt","prev_blockhash","blockhash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> ReferenceError: host_port is not defined at FabricClient.initializeChannelFromDiscover (/opt/hlfx/blockchain-explorer/app/platform/fabric/FabricClient.js:404:17) at <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ==================================================== Do I need to change config.json and rebuild the app? How can it be done in production to monitor only my organization peers. Thanks in advance

Karthik1337 (Fri, 19 Oct 2018 06:02:51 GMT):
Has joined the channel.

Karthik1337 (Fri, 19 Oct 2018 06:05:47 GMT):

Screenshot 2018-10-19 at 11.34.48 AM.png

Karthik1337 (Fri, 19 Oct 2018 06:10:36 GMT):

folder structure.png

Karthik1337 (Fri, 19 Oct 2018 06:11:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7unHr6fkJKLyNHX9b) @fksaito Hi, I am setting Hyperledger explorer using docker for my test project. I set my folder structure as given as in the instruction. my json file is like below { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "EngineeringMSP", "channel": .testchannel", "credentialStore": { "path": "./tmp/credentialStore_Engineering/credential", "cryptoStore": { "path": "./tmp/credentialStore_Engineering/crypto" } } } }, "channels": { .testchannel": { "peers": { "peer0.engineering.test.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "EngineeringMSP": { "mspid": "EngineeringMSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/engineering.test.com/users/Admin@engineering.test.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/engineering.test.com/users/Admin@engineering.test.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations.test.com/users/Admin.test.com/msp/keystore" } } }, "peers": { "peer0.engineering.test.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/engineering.test.com/peers/peer0.engineering.test.com/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.engineering.test.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } } } }, "configtxgenToolPath": "./bin", "license": "Apache-2.0" } But i am getting error like postgres://hppoc:password@192.168.10.11:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) 2018-10-19T05:59:05.103447389Z ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** 2018-10-19T05:59:05.103656561Z 2018-10-19T05:59:05.114643537Z 2018-10-19T05:59:05.114721428Z Please open web browser to access :http://localhost:8080/ 2018-10-19T05:59:05.114745161Z 2018-10-19T05:59:05.114749276Z pid is 6 2018-10-19T05:59:05.114757612Z 2018-10-19T05:59:05.114761455Z <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections I checked my db and its empty. can anyone help me?

Karthik1337 (Fri, 19 Oct 2018 06:11:38 GMT):
Hi, I am setting Hyperledger explorer using docker for my test project. I set my folder structure as given as in the instruction. my json file is like below { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "EngineeringMSP", "channel": .testchannel", "credentialStore": { "path": "./tmp/credentialStore_Engineering/credential", "cryptoStore": { "path": "./tmp/credentialStore_Engineering/crypto" } } } }, "channels": { .testchannel": { "peers": { "peer0.engineering.test.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "EngineeringMSP": { "mspid": "EngineeringMSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/engineering.test.com/users/Admin@engineering.test.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/engineering.test.com/users/Admin@engineering.test.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations.test.com/users/Admin.test.com/msp/keystore" } } }, "peers": { "peer0.engineering.test.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/engineering.test.com/peers/peer0.engineering.test.com/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.engineering.test.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } } } }, "configtxgenToolPath": "./bin", "license": "Apache-2.0" } But i am getting error like postgres://hppoc:password@192.168.10.11:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) 2018-10-19T05:59:05.103447389Z ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** 2018-10-19T05:59:05.103656561Z 2018-10-19T05:59:05.114643537Z 2018-10-19T05:59:05.114721428Z Please open web browser to access :http://localhost:8080/ 2018-10-19T05:59:05.114745161Z 2018-10-19T05:59:05.114749276Z pid is 6 2018-10-19T05:59:05.114757612Z 2018-10-19T05:59:05.114761455Z <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections I checked my db and its empty. can anyone help me?

Karthik1337 (Fri, 19 Oct 2018 06:12:22 GMT):

Screenshot 2018-10-19 at 11.34.48 AM.png

cinnnn (Fri, 19 Oct 2018 09:13:21 GMT):
Has joined the channel.

push1st1k (Fri, 19 Oct 2018 12:12:16 GMT):
Hi @Karthik1337. It looks like explorer app couldn't ping nodes via localhost. You may login into the container and try to reach peers from it.

GiovanniNapoli (Fri, 19 Oct 2018 20:42:16 GMT):
Has joined the channel.

GiovanniNapoli (Fri, 19 Oct 2018 20:43:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dYHyg6tazX9AHgjEa) @Karthik1337 I'm having the same issue right now!

GiovanniNapoli (Fri, 19 Oct 2018 20:44:01 GMT):
Really don't know what's the cause

GiovanniNapoli (Fri, 19 Oct 2018 20:46:37 GMT):
Used the command `./deploy_docker.sh dockerConfig net_byfn` to test explorer with byfn example, and even if the explorer container is connected with the net, it gives me the same error

GiovanniNapoli (Fri, 19 Oct 2018 20:46:37 GMT):
Used the command `./deploy_explorer.sh dockerConfig net_byfn` to test explorer with byfn example, and even if the explorer container is connected with the net, it gives me the same error

GiovanniNapoli (Fri, 19 Oct 2018 20:48:10 GMT):
Without passing the network name parameter, the web applications seems to start (obv have no data to show)

GiovanniNapoli (Fri, 19 Oct 2018 20:48:10 GMT):
Without passing the network name parameter, the web application seems to start (obv has no data to show)

GiovanniNapoli (Fri, 19 Oct 2018 20:50:15 GMT):

networks

GiovanniNapoli (Fri, 19 Oct 2018 20:50:15 GMT):

networks

GiovanniNapoli (Fri, 19 Oct 2018 21:01:49 GMT):

Error

GiovanniNapoli (Fri, 19 Oct 2018 21:10:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Nafv2BheCMAv3LRcw) @push1st1k Pinging a peer from explorer container works, just tried

Randyshu2018 (Mon, 22 Oct 2018 02:08:54 GMT):

if i want to work with fabric1.1,what should i do?

Ferrymania (Mon, 22 Oct 2018 02:38:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=g8o3YxiXfRnS7ad7Y) @GiovanniNapoli Did you figure out this error ``` [ERROR] FabricClient - Error: Failed to connect before the deadline ``` :eyes:

jeevas (Mon, 22 Oct 2018 06:17:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BSms5rhKtSNmRvseb) @rishikanth.s please add below two lines in your docker-compose.yml - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051

jeevas (Mon, 22 Oct 2018 06:26:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7unHr6fkJKLyNHX9b) @fksaito Will check in our environment and get back to you

jeevas (Mon, 22 Oct 2018 06:37:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AK9NjRpS6KgTt4k7M) @Randyshu2018 you can use release 3.5 branch and support fabric 1.1 (https://github.com/hyperledger/blockchain-explorer/tree/release-3.5) but peers data load from config.json and not from Fabric.

jeevas (Mon, 22 Oct 2018 06:51:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fSiJBPDa3tW78jjgp) @Randyshu2018 which fabric version are you using?

GiovanniNapoli (Mon, 22 Oct 2018 07:06:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Skrqcjpgjkw6vbYy4) @Ferrymania No I didn't. I'm working on another thing right now, I think I will try to solve problems later sorry

Randyshu2018 (Mon, 22 Oct 2018 07:35:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p3zAtAZyswsMPFe3q) @jeevas fabric1.1 & blockchain-explorer version is release-3.5

Ferrymania (Mon, 22 Oct 2018 07:39:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qWQ4C5QkJ4F3e3gvt) @Randyshu2018 I try fabric 1.2 and BE 3.7 it also show only 1 peer in the dashboard:joy:

Randyshu2018 (Mon, 22 Oct 2018 07:56:08 GMT):
:joy: the master branch will be fine...it use service discovery to do synchronize.

Randyshu2018 (Mon, 22 Oct 2018 07:59:04 GMT):

Clipboard - October 22, 2018 3:57 PM

jeevas (Mon, 22 Oct 2018 08:36:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qWQ4C5QkJ4F3e3gvt) @Randyshu2018 we had this issues in fabric 1.1 (https://jira.hyperledger.org/browse/BE-392) . Now it is working with fabric 1.2 and Master branch.

jeevas (Mon, 22 Oct 2018 08:37:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9YxEwk49Aph4L7hKa) @Ferrymania Please use master branch

Ferrymania (Mon, 22 Oct 2018 08:37:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e2c8iYKPEqjLFBigD) @jeevas :grimacing: Thanks I will try

push1st1k (Mon, 22 Oct 2018 09:47:42 GMT):
@Karthik1337 it seems that you have a typo in the config: `OrdererMSP.adminPrivateKey.path` has an error. It should be `/ordererOrganizations/engineering.test.com/`, not `/ordererOrganizations.test.com/`

push1st1k (Mon, 22 Oct 2018 09:51:09 GMT):
@GiovanniNapoli could you please provide your `config.json` and project structure?

GiovanniNapoli (Mon, 22 Oct 2018 10:01:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jyp9Mt43LgZH8JKm6) @push1st1k `{ "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "url": "grpc://localhost:8051", "eventUrl": "grpc://localhost:8053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }, "peer0.org2.example.com": { "url": "grpc://localhost:9051", "eventUrl": "grpc://localhost:9053", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" } }, "peer1.org2.example.com": { "url": "grpc://localhost:10051", "eventUrl": "grpc://localhost:10053", "grpcOptions": { "ssl-target-name-override": "peer1.org2.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } } } }, "eventWaitTime": "30000", "configtxgenToolPath": "../../../fabric-samples/bin", "license": "Apache-2.0" }`

GiovanniNapoli (Mon, 22 Oct 2018 10:01:37 GMT):
EDIT: sent file .txt

GiovanniNapoli (Mon, 22 Oct 2018 10:01:37 GMT):
@push1st1k EDIT: sent file .txt

GiovanniNapoli (Mon, 22 Oct 2018 10:02:14 GMT):
This is the config file to the "first-network" example of Fabric

GiovanniNapoli (Mon, 22 Oct 2018 10:04:24 GMT):
I used the Docker way to run the Explorer, and with some modifications i came up to this `config.json` file. But I stopped with another error. "[FabricUtils] Server hostname not defined for default peer" (or something very similar)

GiovanniNapoli (Mon, 22 Oct 2018 10:08:26 GMT):

config.txt

GiovanniNapoli (Mon, 22 Oct 2018 10:08:26 GMT):

config.txt

GiovanniNapoli (Mon, 22 Oct 2018 10:08:26 GMT):

config.txt

GiovanniNapoli (Mon, 22 Oct 2018 10:08:57 GMT):
@push1st1k

GiovanniNapoli (Mon, 22 Oct 2018 10:16:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=H8vavRaeZgns5bMuA) @push1st1k Sent .txt file

push1st1k (Mon, 22 Oct 2018 10:23:18 GMT):
@GiovanniNapoli please switch from grpc to grpcs and try again

GiovanniNapoli (Mon, 22 Oct 2018 10:39:39 GMT):
I had to switch from grpcs from grpc because it didn't work...An error occured ever before registering users using crypto material. Using grpc, this phase passes and then comes to the error i said before

GiovanniNapoli (Mon, 22 Oct 2018 10:39:39 GMT):
@push1st1k I had to switch from grpcs from grpc because it didn't work...An error occured even before registering users using crypto material. Using grpc, this phase passes and then comes to the error i said before

push1st1k (Mon, 22 Oct 2018 10:52:08 GMT):
I see, if I'm not mistaken, that there was an issue with the grpc, but don't remember all the details

fksaito (Mon, 22 Oct 2018 16:21:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZKgyj8RvuLEtw4PHB) @jeevas @jeevas Thanks

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_corshaAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-corsha [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Corsha/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Corsha/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Corsha/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Corsha/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Corsha/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Corsha/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Corsha/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Corsha/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Corsha/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ```

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ```

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a public key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ```

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a public key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ``` UPDATE 2: I am using fabric-ca for identity management, if that matters :)

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a public key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ``` UPDATE 2: I am using fabric-ca for identity management. *Does HyperLedger-Explorer not support fabric-ca*?

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a public key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ```

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a private key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ```

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a private key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ``` and the cert: ``` [ [ Version: V3 Subject: CN=Admin@Company, OU=client, L=San Francisco, ST=California, C=US Signature Algorithm: SHA256withECDSA, OID = 1.2.840.10045.4.3.2 Key: Sun EC public key, 256 bits public x coord: 112863888389354651568667992445894300143676892867537728111725253272796976061333 public y coord: 75859667545189257720924686769141912927702688009566069080257653090998956037203 parameters: secp256r1 [NIST P-256, X9.62 prime256v1] (1.2.840.10045.3.1.7) Validity: [From: Mon Oct 22 20:53:25 UTC 2018, To: Thu Oct 19 20:53:25 UTC 2028] Issuer: CN=ca.Company, O=Company, L=San Francisco, ST=California, C=US SerialNumber: [ 188967c3 8cc2048b 6c7d9340 56ee64a8] Certificate Extensions: 3 [1]: ObjectId: 2.5.29.35 Criticality=false AuthorityKeyIdentifier [ KeyIdentifier [ 0000: C4 E1 DD 2C AE BF A6 05 9F AF 06 19 A1 06 6A CF ...,..........j. 0010: 17 B3 7A 13 9E 9C 12 43 20 D8 69 E5 2B 66 C1 97 ..z....C .i.+f.. ] ] [2]: ObjectId: 2.5.29.19 Criticality=true BasicConstraints:[ CA:false PathLen: undefined ] [3]: ObjectId: 2.5.29.15 Criticality=true KeyUsage [ DigitalSignature ] ] Algorithm: [SHA256withECDSA] Signature: 0000: 30 45 02 21 00 A9 07 6D B5 4F D4 DD 66 F3 64 31 0E.!...m.O..f.d1 0010: FC 75 47 7A 6D ED F7 8E 1E 01 3F 19 4D 7C 6B 97 .uGzm.....?.M.k. 0020: 9E B2 B3 42 D5 02 20 06 D5 CB BF F4 9D 63 B5 0C ...B.. ......c.. 0030: 2E 9B 6C 9F A0 2C E8 32 7B 3D 23 0F FA 0B E8 40 ..l..,.2.=#....@ 0040: 1F 3B DF 45 7F 5D 10 .;.E.]. ]```

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a public key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ``` and the cert: ``` [ [ Version: V3 Subject: CN=Admin@Company, OU=client, L=San Francisco, ST=California, C=US Signature Algorithm: SHA256withECDSA, OID = 1.2.840.10045.4.3.2 Key: Sun EC public key, 256 bits public x coord: 112863888389354651568667992445894300143676892867537728111725253272796976061333 public y coord: 75859667545189257720924686769141912927702688009566069080257653090998956037203 parameters: secp256r1 [NIST P-256, X9.62 prime256v1] (1.2.840.10045.3.1.7) Validity: [From: Mon Oct 22 20:53:25 UTC 2018, To: Thu Oct 19 20:53:25 UTC 2028] Issuer: CN=ca.Company, O=Company, L=San Francisco, ST=California, C=US SerialNumber: [ 188967c3 8cc2048b 6c7d9340 56ee64a8] Certificate Extensions: 3 [1]: ObjectId: 2.5.29.35 Criticality=false AuthorityKeyIdentifier [ KeyIdentifier [ 0000: C4 E1 DD 2C AE BF A6 05 9F AF 06 19 A1 06 6A CF ...,..........j. 0010: 17 B3 7A 13 9E 9C 12 43 20 D8 69 E5 2B 66 C1 97 ..z....C .i.+f.. ] ] [2]: ObjectId: 2.5.29.19 Criticality=true BasicConstraints:[ CA:false PathLen: undefined ] [3]: ObjectId: 2.5.29.15 Criticality=true KeyUsage [ DigitalSignature ] ] Algorithm: [SHA256withECDSA] Signature: 0000: 30 45 02 21 00 A9 07 6D B5 4F D4 DD 66 F3 64 31 0E.!...m.O..f.d1 0010: FC 75 47 7A 6D ED F7 8E 1E 01 3F 19 4D 7C 6B 97 .uGzm.....?.M.k. 0020: 9E B2 B3 42 D5 02 20 06 D5 CB BF F4 9D 63 B5 0C ...B.. ......c.. 0030: 2E 9B 6C 9F A0 2C E8 32 7B 3D 23 0F FA 0B E8 40 ..l..,.2.=#....@ 0040: 1F 3B DF 45 7F 5D 10 .;.E.]. ]```

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a public key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ``` and the cert: ``` [ [ Version: V3 Subject: CN=Admin@Company, OU=client, L=San Francisco, ST=California, C=US Signature Algorithm: SHA256withECDSA, OID = 1.2.840.10045.4.3.2 Key: Sun EC public key, 256 bits public x coord: 112863888389354651568667992445894300143676892867537728111725253272796976061333 public y coord: 75859667545189257720924686769141912927702688009566069080257653090998956037203 parameters: secp256r1 [NIST P-256, X9.62 prime256v1] (1.2.840.10045.3.1.7) Validity: [From: Mon Oct 22 20:53:25 UTC 2018, To: Thu Oct 19 20:53:25 UTC 2028] Issuer: CN=ca.Company, O=Company, L=San Francisco, ST=California, C=US SerialNumber: [ 188967c3 8cc2048b 6c7d9340 56ee64a8] Certificate Extensions: 3 [1]: ObjectId: 2.5.29.35 Criticality=false AuthorityKeyIdentifier [ KeyIdentifier [ 0000: C4 E1 DD 2C AE BF A6 05 9F AF 06 19 A1 06 6A CF ...,..........j. 0010: 17 B3 7A 13 9E 9C 12 43 20 D8 69 E5 2B 66 C1 97 ..z....C .i.+f.. ] ] [2]: ObjectId: 2.5.29.19 Criticality=true BasicConstraints:[ CA:false PathLen: undefined ] [3]: ObjectId: 2.5.29.15 Criticality=true KeyUsage [ DigitalSignature ] ] Algorithm: [SHA256withECDSA] Signature: 0000: 30 45 02 21 00 A9 07 6D B5 4F D4 DD 66 F3 64 31 0E.!...m.O..f.d1 0010: FC 75 47 7A 6D ED F7 8E 1E 01 3F 19 4D 7C 6B 97 .uGzm.....?.M.k. 0020: 9E B2 B3 42 D5 02 20 06 D5 CB BF F4 9D 63 B5 0C ...B.. ......c.. 0030: 2E 9B 6C 9F A0 2C E8 32 7B 3D 23 0F FA 0B E8 40 ..l..,.2.=#....@ 0040: 1F 3B DF 45 7F 5D 10 .;.E.]. ]```

Russ.corsha (Mon, 22 Oct 2018 19:29:26 GMT):
Hey Experts, Been stuck on this bug during setup for a while. Fabric is having trouble reading a cert, at TypeError: Cannot read property 'toArray' of null . But im lost as to why. ``` [2018-10-22 15:21:52.316] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-10-22 15:21:52.317] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-10-22 15:21:52.563] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-10-22 15:21:52.574] [DEBUG] FabricClient - Successfully created admin user [client-1_CompanyAdmin] for client [client-1] [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default channel as >> firstchannel [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer3rd-Company [2018-10-22 15:21:52.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-10-22 15:21:52.680] [ERROR] FabricClient - TypeError: Cannot read property 'toArray' of null at EC.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/elliptic/lib/elliptic/ec/index.js:102:30) at CryptoSuite_ECDSA_AES.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/impl/CryptoSuite_ECDSA_AES.js:234:25) at Signer.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:169:28) at SigningIdentity.sign (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/msp/identity.js:220:23) at Object.module.exports.signProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/client-utils.js:100:30) at Function._buildSignedProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2406:40) at Function.sendTransactionProposal (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:2348:28) at Client.queryChannels (/Users/russ/Desktop/Company/blockchain-explorer/node_modules/fabric-client/lib/Client.js:856:33) at FabricClient.initialize (/Users/russ/Desktop/Company/blockchain-explorer/app/platform/fabric/FabricClient.js:62:40) ``` UPDATE 1: My crypto store only has a public key in it. that cant be right? its found here: ``` "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } ``` and the cert: ``` [ [ Version: V3 Subject: CN=Admin@Company, OU=client, L=San Francisco, ST=California, C=US Signature Algorithm: SHA256withECDSA, OID = 1.2.840.10045.4.3.2 Key: Sun EC public key, 256 bits public x coord: 112863888389354651568667992445894300143676892867537728111725253272796976061333 public y coord: 75859667545189257720924686769141912927702688009566069080257653090998956037203 parameters: secp256r1 [NIST P-256, X9.62 prime256v1] (1.2.840.10045.3.1.7) Validity: [From: Mon Oct 22 20:53:25 UTC 2018, To: Thu Oct 19 20:53:25 UTC 2028] Issuer: CN=ca.Company, O=Company, L=San Francisco, ST=California, C=US SerialNumber: [ 188967c3 8cc2048b 6c7d9340 56ee64a8] Certificate Extensions: 3 [1]: ObjectId: 2.5.29.35 Criticality=false AuthorityKeyIdentifier [ KeyIdentifier [ 0000: C4 E1 DD 2C AE BF A6 05 9F AF 06 19 A1 06 6A CF ...,..........j. 0010: 17 B3 7A 13 9E 9C 12 43 20 D8 69 E5 2B 66 C1 97 ..z....C .i.+f.. ] ] [2]: ObjectId: 2.5.29.19 Criticality=true BasicConstraints:[ CA:false PathLen: undefined ] [3]: ObjectId: 2.5.29.15 Criticality=true KeyUsage [ DigitalSignature ] ] Algorithm: [SHA256withECDSA] Signature: 0000: 30 45 02 21 00 A9 07 6D B5 4F D4 DD 66 F3 64 31 0E.!...m.O..f.d1 0010: FC 75 47 7A 6D ED F7 8E 1E 01 3F 19 4D 7C 6B 97 .uGzm.....?.M.k. 0020: 9E B2 B3 42 D5 02 20 06 D5 CB BF F4 9D 63 B5 0C ...B.. ......c.. 0030: 2E 9B 6C 9F A0 2C E8 32 7B 3D 23 0F FA 0B E8 40 ..l..,.2.=#....@ 0040: 1F 3B DF 45 7F 5D 10 .;.E.]. ]```

Russ.corsha (Tue, 23 Oct 2018 00:11:02 GMT):
and a shortened config because the file is too large: ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Company", "channel": "firstchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "firstchannel": { "orderers": [ "orderer2nd-Companysys", "orderer1st-Companysys" ], "peers": { "peer3rd-Company": { "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": true }, "peer2nd-Company": { "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": false }, "peer1st-Company": { "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": false } } } }, "organizations": { "Company": { "mspid": "Company", "fullpath": false, "adminPrivateKey": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Company/users/Admin@Company/msp/admincerts" }, "signedCert": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Company/users/Admin@Company/msp/signcerts" } }, "Companysys": { "mspid": "Companysys", "fullpath": false, "adminPrivateKey": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Companysys/users/Admin@Companysys/msp/admincerts" }, "signedCert": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Companysys/users/Admin@Companysys/msp/signcerts" } } }, "peers": { "peer3rd-Company": { "url": "grpcs://peer3rd-Company:7051", "eventUrl": "grpcs://peer3rd-Company:7051", "grpcOptions": { "ssl-target-name-override": "peer3rd-Company", "grpc.http2.keepalive_time": 15 }, "tlsCACerts": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Company/peers/peer3rd-Company.Company/msp/tlscacerts/tlsca.Company-cert.pem" } } }, "orderers": { "orderer2nd-Companysys": { "url": "grpcs://orderer2nd-Companysys:7050", "grpcOptions": { "ssl-target-name-override": "orderer2nd-Companysys", "grpc-max-send-message-length": 15 }, "tlsCACerts": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Companysys/orderers/orderer2nd-Companysys.Companysys/msp/tlscacerts/tlsca.Companysys-cert.pem" } } } }, "network-2": {} }, "configtxgenToolPath": "fabric-path/fabric-samples/bin", "license": "Apache-2.0" }```

Russ.corsha (Tue, 23 Oct 2018 00:11:02 GMT):
and a shortened config because the file is too large: ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Company", "channel": "firstchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "firstchannel": { "orderers": [ "orderer2nd-Companysys", "orderer1st-Companysys" ], "peers": { "peer3rd-Company": { "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": true }, "peer2nd-Company": { "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": false }, "peer1st-Company": { "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": false } } } }, "organizations": { "Company": { "mspid": "Company", "fullpath": false, "adminPrivateKey": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Company/users/Admin@Company/msp/admincerts" }, "signedCert": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Company/users/Admin@Company/msp/signcerts" } }, "Companysys": { "mspid": "Companysys", "fullpath": false, "adminPrivateKey": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Companysys/users/Admin@Companysys/msp/admincerts" }, "signedCert": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Companysys/users/Admin@Companysys/msp/signcerts" } } }, "peers": { "peer3rd-Company": { "url": "grpcs://peer3rd-Company:7051", "eventUrl": "grpcs://peer3rd-Company:7051", "grpcOptions": { "ssl-target-name-override": "peer3rd-Company", "grpc.http2.keepalive_time": 15 }, "tlsCACerts": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Company/peers/peer3rd-Company.Company/msp/tlscacerts/tlsca.Company-cert.pem" } } }, "orderers": { "orderer2nd-Companysys": { "url": "grpcs://orderer2nd-Companysys:7050", "grpcOptions": { "ssl-target-name-override": "orderer2nd-Companysys", "grpc-max-send-message-length": 15 }, "tlsCACerts": { "path": "/Users/russ/Desktop/Company/Company-deploy/config/data/configs/allorgs/Companysys/orderers/orderer2nd-Companysys.Companysys/msp/tlscacerts/tlsca.Companysys-cert.pem" } } } }, "network-2": {} }, "configtxgenToolPath": "fabric-path/fabric-samples/bin", "license": "Apache-2.0" }``` SOLVED: Configuration error. My secret key was pointing to the wrong file. I needed to point it to the privatekey.

anaswar (Tue, 23 Oct 2018 07:15:52 GMT):
I am trying to integrate Blockchain Explorer with my composer network (custom bna file created by me) getting the below error <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/Users/anaswar/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections

anaswar (Tue, 23 Oct 2018 07:17:22 GMT):
Hello...! I am trying to integrate Blockchain Explorer with my composer network (custom bna file created by me) getting the below error ` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/Users/anaswar/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections `

anaswar (Tue, 23 Oct 2018 07:17:22 GMT):
Hello...! I am trying to integrate Blockchain Explorer with my composer network (custom bna file created by me) getting the below error ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/Users/anaswar/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections ```

anaswar (Tue, 23 Oct 2018 07:17:22 GMT):
Hello...! I am trying to integrate Blockchain Explorer with my composer network (custom bna file created by me) getting the below error ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/Users/anaswar/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections ```

anaswar (Tue, 23 Oct 2018 07:17:22 GMT):
Hello...! I am trying to integrate Blockchain Explorer with my composer network (custom bna file created by me) following the link https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-COMPOSER-HLEXPLORER.md but I'm stuck with the below error ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/Users/anaswar/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections ```

anaswar (Tue, 23 Oct 2018 07:18:43 GMT):

DevServer_connection.txt

anaswar (Tue, 23 Oct 2018 07:18:46 GMT):

config.txt

anaswar (Tue, 23 Oct 2018 07:21:22 GMT):
` this.networks.get(this.defaultNetwork).size == 0 ` this is the Line which is throwing the error, is it because defaultNetwork not properly configured or something like that?

jeevas (Tue, 23 Oct 2018 10:32:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BrFzhY3xHhkB6Xjku) @fksaito you need to add org3 in config.json and rebuild the app. "peer0.org3.example.com": { "url": "grpcs://localhost:11051" }, "peer1.org3.example.com": { "url": "grpcs://localhost:12051" } "Org3MSP": { "mspid": "Org3MSP", "adminPrivateKey": { "path": "/home/jeeva/fabric-samples/first-network/org3-artifacts/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/keystore" } }

jeevas (Tue, 23 Oct 2018 10:35:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4MYCPyofCQZQyXubY) @anaswar which version Fabric Are you using?

jeevas (Tue, 23 Oct 2018 10:38:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zB2mxdK9CTmsCCEXY) Hyperledger Composer Setup : 1. npm install -g composer-cli 2. npm install -g composer-rest-server 3. npm install -g generator-hyperledger-composer 4. npm install -g yo 5. npm install -g composer-playground 6. mkdir ~/fabric-tools && cd ~/fabric-tools 7. curl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.tar.gz 8. tar -xvf fabric-dev-servers.tar.gz If based on your use case you can export Fabric version in below example Fabric 1.1 cd ~/fabric-tools export FABRIC_VERSION=hlfv11 ./downloadFabric.sh Fabric 1.2 cd ~/fabric-tools export FABRIC_VERSION=hlfv12 ./downloadFabric.sh Start the Hyperledger Fabric based on version Fabric 1.1 cd ~/fabric-tools export FABRIC_VERSION=hlfv11 ./startFabric.sh ./createPeerAdminCard.sh Fabric 1.2 cd ~/fabric-tools export FABRIC_VERSION=hlfv12 ./startFabric.sh ./createPeerAdminCard.sh Hyperledger Explorer Configuration : Before modify the config.json please check docker is up or not – use this command “docker ps” If you are using latest version (Master branch )of Blockchain Chain explorer then you should use Composer Fabric 1.2 U need to change below datas . I am giving composer datas tlsEnable - false channel – composerchannel 3. adminPrivateKey , signedCert, tlsCAcerts – path - fabric-tools/fabric-scripts/hlfv12/composer/crypto-config/../.. peers – url and eventurl Orderers – url If you are using Fabric 1.1 please follow url to configure in config.json https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-COMPOSER-HLEXPLORER.md

anaswar (Tue, 23 Oct 2018 11:16:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zB2mxdK9CTmsCCEXY) @jeevas HLF v1.2

jeevas (Tue, 23 Oct 2018 11:30:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8egAyR49CZTf2hGwv) @anaswar Please follow above steps. if you are using Fabric V1.2 before downloadFabric .sh and startFabric. sh, you need export Fabric v1.2 'export FABRIC_VERSION=hlfv12' . i have attached Explorer config.json . Please let me know after your configuration if you face any issues

jeevas (Tue, 23 Oct 2018 11:31:53 GMT):

config.json.txt

anaswar (Tue, 23 Oct 2018 11:37:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cuYRYcFfPKr6xYYJg) @jeevas ` "configtxgenToolPath": "/home/jeeva/fabric-samples/bin", ` I am unable to find this directory in my workspace

anaswar (Tue, 23 Oct 2018 11:54:30 GMT):
@jeevas now I'm getting this error ``` ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully Closed out connections ```

anaswar (Tue, 23 Oct 2018 11:58:11 GMT):
when I try \d from sql it says "Did not find any relations."

anaswar (Tue, 23 Oct 2018 11:58:11 GMT):
when I try \d from psql it says "Did not find any relations."

jeevas (Tue, 23 Oct 2018 12:52:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=t9DhuF3YfrYhQLWeE) @anaswar Please recreate the database script

jeevas (Tue, 23 Oct 2018 13:09:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Ex8oNsSYYwspfWdZH) please attach your config.json

anaswar (Tue, 23 Oct 2018 13:32:26 GMT):

config.json.txt

anaswar (Tue, 23 Oct 2018 13:32:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sdMdX3nJQoXjMX9yX) @jeevas here it is

fksaito (Tue, 23 Oct 2018 13:45:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gXBiwo2LLGoTe4Eh8) @jeevas Thanks for your answer. But, imagine that I am in charge of Org1, I cannot have private keys for other org peers and probably I will not know for sure about Org3 topology (name and number of peers and ports). How can I monitor only one Org only, like just Org1? @jeevas Thanks in advance again.

fksaito (Tue, 23 Oct 2018 13:45:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gXBiwo2LLGoTe4Eh8) @jeevas Thanks for your answer. But, imagine that I am in charge of Org1, I cannot have private keys for other org peers and probably I will not know for sure about Org3 topology (name and number of peers and ports). How can I monitor one Org only, like just Org1? @jeevas Thanks in advance again.

anaswar (Tue, 23 Oct 2018 15:04:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sdMdX3nJQoXjMX9yX) @jeevas I altered config.json to remove network-2 and Org2MSP ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/Users/anaswar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/Users/anaswar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/Users/anaswar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/Users/anaswar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } } } }, "configtxgenToolPath": "/Users/anaswar/fabric-samples/bin", "license": "Apache-2.0" } ``` now the explorer is up and accessible on localhost:8080, but there is no data of any blocks, peers or transactions. error shown in the log is, ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` can you please help me with this one?

fksaito (Tue, 23 Oct 2018 15:04:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MiE3yhv9rjfsjPEpC) OK, I added Org3MSP and peer0 and peer1, needed both, from Org3 in config.json. AND changed the adminPrivateKey to fake private certs (just pointed to org1 Admin) and also changed the Org2 to fake private certs. So, probably what is needed is just the ca, not the private keys. But it needs to know in advance the topology of new Org with peers names and ports...

fksaito (Tue, 23 Oct 2018 15:04:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MiE3yhv9rjfsjPEpC) OK, I added Org3MSP and peer0 and peer1, needed both, from Org3 in config.json. AND changed the adminPrivateKey to fake private certs (just pointed to org1 Admin) and also changed the Org2 to fake private certs. So, probably what is needed is just the ca, not the private keys. But it needs to know in advance the topology of new Org with peers names and ports...

fksaito (Tue, 23 Oct 2018 15:04:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MiE3yhv9rjfsjPEpC) OK, I added Org3MSP and peer0 and peer1, needed both, from Org3 in config.json. To test the real need of provate keys, I changed the adminPrivateKey to fake private certs (just pointed to org1 Admin) and also changed the Org2 to fake private certs. So, probably what is needed is just the ca, not the private keys. But it needs to know in advance the topology of new Org with peers names and ports...

fksaito (Tue, 23 Oct 2018 15:04:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MiE3yhv9rjfsjPEpC) OK, I added Org3MSP and peer0 and peer1, needed both, from Org3 in config.json. To test the real need of private keys from other orgs, I changed the adminPrivateKey to fake private certs (just pointed to org1 Admin) and also changed the Org2 to fake private certs. So, probably what is needed is just the ca, not the private keys. But it needs to know in advance the topology of new Org with peers names and ports...

fksaito (Tue, 23 Oct 2018 15:04:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MiE3yhv9rjfsjPEpC) OK, I added Org3MSP and peer0 and peer1, needed both, from Org3 in config.json. It worked with eyfn.sh. To test the real need of private keys from other orgs, I changed the adminPrivateKey to fake private certs (just pointed to org1 Admin) and also changed the Org2 to fake private certs. So, probably what is needed is just the ca, not the private keys. But it needs to know in advance the topology of new Org with peers names and ports...

fksaito (Tue, 23 Oct 2018 15:04:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MiE3yhv9rjfsjPEpC) OK, I added Org3MSP and peer0 and peer1, needed both, from Org3 in config.json. It worked with eyfn.sh. To test the real need of private keys from other orgs, I changed the adminPrivateKey to fake private certs (just pointed to org1 Admin) and also changed the Org2 to fake private certs. So, probably what is needed is just the ca that already in config block, not the private keys. But it needs to know in advance the topology of new Org with peers names and ports...

VikasJakhar (Tue, 23 Oct 2018 17:11:00 GMT):
@Pardha hi

VikasJakhar (Tue, 23 Oct 2018 17:22:57 GMT):
I installed Hyperledger export and ran the command

VikasJakhar (Tue, 23 Oct 2018 17:23:29 GMT):
psql postgres -v dbname=fabricexplorer -v user=hppoc -v passwd=password -f ./explorerpg.sql

VikasJakhar (Tue, 23 Oct 2018 17:23:46 GMT):
It asks me for a password:

VikasJakhar (Tue, 23 Oct 2018 17:24:17 GMT):
not sure which password is this..I tried my login password , the string "password" . ..nothing worked

VikasJakhar (Tue, 23 Oct 2018 17:24:26 GMT):
it gave authentication failed

VikasJakhar (Tue, 23 Oct 2018 17:24:53 GMT):
pls help

jtwalker2000 (Tue, 23 Oct 2018 18:01:20 GMT):
Has joined the channel.

VikasJakhar (Tue, 23 Oct 2018 20:28:38 GMT):
it worked for me..

VikasJakhar (Tue, 23 Oct 2018 20:29:29 GMT):
bRan block explorer..it is connected to network but gave an exception

VikasJakhar (Tue, 23 Oct 2018 20:30:32 GMT):
this.client.hfc_client.getEventHub is not a FUNCTION

VikasJakhar (Wed, 24 Oct 2018 00:08:42 GMT):
This is the error I am stuck at

VikasJakhar (Wed, 24 Oct 2018 00:09:11 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:17737) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Please open web browser to access :http://localhost:8080/ pid is 17737 postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] (node:17770) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError: this.client.hfc_client.getEventHub is not a function at FabricEvent.createPeerEventHub (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:36:48) at FabricEvent.initialize (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:18:10) at SyncPlatform.initialize (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:109:27) at at process._tickCallback (internal/process/next_tick.js:188:7) <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError: this.peerEventHub.disconnect is not a function at FabricEvent.disconnectEventHubs (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135:25) at SyncPlatform.destroy (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:166:21) at Synchronizer.close (/home/vikasjakhar/hyperledger/blockchain-explorer/app/Synchronizer.js:77:21) at shutDown (/home/vikasjakhar/hyperledger/blockchain-explorer/sync.js:30:18) at process.on (/home/vikasjakhar/hyperledger/blockchain-explorer/sync.js:55:3) at emitTwo (events.js:126:13) at process.emit (events.js:214:7) at emitPendingUnhandledRejections (internal/process/promises.js:108:22) at process._tickCallback (internal/process/next_tick.js:189:7) <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> /home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135 this.peerEventHub.disconnect(); ^ TypeError: this.peerEventHub.disconnect is not a function at FabricEvent.disconnectEventHubs (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135:25) at SyncPlatform.destroy (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:166:21) at Synchronizer.close (/home/vikasjakhar/hyperledger/blockchain-explorer/app/Synchronizer.js:77:21) at shutDown (/home/vikasjakhar/hyperledger/blockchain-explorer/sync.js:30:18) at process.on (/home/vikasjakhar/hyperledger/blockchain-explorer/sync.js:66:3) at emitOne (events.js:116:13) at process.emit (events.js:211:7) at process._fatalException (bootstrap_node.js:378:26)

VikasJakhar (Wed, 24 Oct 2018 00:20:22 GMT):
@jeevas - Can you pls help resolve my issue

VikasJakhar (Wed, 24 Oct 2018 00:21:14 GMT):
@anaswar or if u can help

jeevas (Wed, 24 Oct 2018 06:48:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=93pT8aJhzRQJfThiK) @fksaito will check with team and get back to you

jeevas (Wed, 24 Oct 2018 06:54:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9TW8Pdor6Eut9wahg) @anaswar Please let me know still are you facing issues? look like some misconfiguration in your config.json . Please send your " docker ps " details

jeevas (Wed, 24 Oct 2018 07:05:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DEQ2GAQmduLwJfcJ4) @VikasJakhar which fabric version and Block chain explorer are you using ? Please check docker is up and running

VikasJakhar (Wed, 24 Oct 2018 14:55:27 GMT):
@jeevas Fabric version is 1.2

VikasJakhar (Wed, 24 Oct 2018 14:56:36 GMT):
Blockchain version is latest .I just downloaded it yesterday from gerritt

VikasJakhar (Wed, 24 Oct 2018 14:57:31 GMT):
Docker is up and running as I am able to invoke the chaincode and query from CLI

VikasJakhar (Wed, 24 Oct 2018 15:10:29 GMT):
Blockchain explorer is able to connect to the network and show the number of peers , channel. It's not able to display any block or transaction information because it's not able to connect to the eventHub. ( Please see the log posted above that shows javascript error

VikasJakhar (Wed, 24 Oct 2018 15:10:29 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>> >>>TypeError: this.client.hfc_client.getEventHub is not a function

anaswar (Thu, 25 Oct 2018 09:29:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9TW8Pdor6Eut9wahg) I was able to configure

anaswar (Thu, 25 Oct 2018 09:29:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9TW8Pdor6Eut9wahg) I was able to configure Explorer using this config.json file. I added the two lines in my docker-compose.ymml file - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 after that i cleared all running containers and started fresh from scratch. Thank you @jeevas for you continuous help :)

anaswar (Thu, 25 Oct 2018 09:29:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9TW8Pdor6Eut9wahg) I was able to configure Explorer using this config.json file. I added the two lines in my docker-compose.yml file - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 after that i cleared all running containers and started fresh from scratch. Thank you @jeevas for you continuous help :)

anaswar (Thu, 25 Oct 2018 09:29:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9TW8Pdor6Eut9wahg) I was able to configure Explorer using this config.json file. I added the two lines in my docker-compose.yml file - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 after that i cleared all running containers and started fresh from scratch. Thank you @jeevas for your continuous help :)

nemo 8 (Thu, 25 Oct 2018 12:36:52 GMT):
Has joined the channel.

dcasado (Thu, 25 Oct 2018 14:13:13 GMT):
Has joined the channel.

VikasJakhar (Thu, 25 Oct 2018 15:56:13 GMT):
@jeevas - Here's my config.json file

VikasJakhar (Thu, 25 Oct 2018 15:56:58 GMT):
{ "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/vikasjakhar/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/vikasjakhar/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/home/vikasjakhar/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/vikasjakhar/hyperledger/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/vikasjakhar/hyperledger/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "url": "grpcs://localhost:8051" }, "peer0.org2.example.com": { "url": "grpcs://localhost:9051" }, "peer1.org2.example.com": { "url": "grpcs://localhost:10051" } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/vikasjakhar/hyperledger/fabric-samples/bin", "license": "Apache-2.0" }

VikasJakhar (Thu, 25 Oct 2018 15:57:37 GMT):
@jeevas - let me know what am I doing wrong here...

VikasJakhar (Thu, 25 Oct 2018 15:58:31 GMT):
The explorer connects to the network - shows nodes,channel details , but no block or transaction details ( rason being the javascript error thrown for unknown function ). Pls help

nemo 8 (Thu, 25 Oct 2018 20:50:39 GMT):
```<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> SyntaxError: /home/ubuntu/blockchain-explorer/app/platform/fabric/config.json: Unexpected token n in JSON at position 4 at JSON.parse () at Object.Module._extensions..json (module.js:671:27) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object. (/home/ubuntu/blockchain-explorer/app/platform/fabric/service/channelService.js:9:14) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) Received kill signal, shutting down gracefully Closed out connections ``` ``` { network-config: { org1: { name: Org1, mspid: Org1MSP, peer1: { requests: grpc://127.0.0.1:7051, events: grpc://127.0.0.1:7053, server-hostname: peer0.org1.example.com, tls_cacerts: /home/fabric/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt }, admin: { key: /home/fabric/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore, cert: /home/fabric/fabric-scripts/hlfv11/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts } } }, channel: composerchannel, orderers: [{ mspid: OrdererMSP, server-hostname: orderer.example.com, requests: grpc://127.0.0.1:7050, tls_cacerts: /home/fabric/fabric-scripts/hlfv11/composer/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt }], keyValueStore: /tmp/fabric-client-kvs, configtxgenToolPath: /home/ubuntu/fabric/fabric-scripts/hlfv11/composer/, SYNC_START_DATE_FORMAT: YYYY/MM/DD, syncStartDate: 2018/01/01, eventWaitTime: 30000, license: Apache-2.0, version: 1.0 } ``` Anyone got any pointers? This is driving me crazy and I have a network I'd love to look at with Explorer :(

nemo 8 (Thu, 25 Oct 2018 21:08:05 GMT):
Well i guess it may take a while, but any help appreciated :) quite a tight situation where I need to look at some Fabric analytics asap. I'll be around whenever.

LinuxLearner1 (Thu, 25 Oct 2018 23:44:35 GMT):
Has joined the channel.

adamgering (Fri, 26 Oct 2018 02:11:49 GMT):
I'm familiar with Sawtooth not Fabric, but the best way to do analytics is to either query the blockchain directly, or sync it into a database and run queries there.

adamgering (Fri, 26 Oct 2018 02:13:12 GMT):
In fact, that's true for analytics of all blockchains.

adamgering (Fri, 26 Oct 2018 02:14:50 GMT):
A minor exception for analysis of ethereum smart contracts, in as much as you only get bytecode on-chain but many people upload source code to etherscan.

tahaf10 (Fri, 26 Oct 2018 06:28:54 GMT):
Has joined the channel.

cagdast (Fri, 26 Oct 2018 06:36:27 GMT):
Has joined the channel.

jeevas (Fri, 26 Oct 2018 07:06:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mXkNni4c7KkQwn6aF) @VikasJakhar did you check block details available in Explorer DB?

jeevas (Fri, 26 Oct 2018 07:18:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JhoyRHxm9D4z3E4cf) @nemo 8 your config.json file is not validated . Let me know which version of Blockchain explorer are you using.

nemo 8 (Fri, 26 Oct 2018 08:41:39 GMT):
hmmm, It's just the live one @ https://github.com/hyperledger/blockchain-explorer I think @jeevas

jeevas (Fri, 26 Oct 2018 11:47:05 GMT):

config.json.txt

jeevas (Fri, 26 Oct 2018 11:47:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=giv7WSPsArB6MaF5n) @nemo 8 i have attached my config.json for your reference. Please refer and change your config.json

jeevas (Fri, 26 Oct 2018 11:48:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=a2ieghSmadET4moPe) if you are using latest version of blockchain explorer. you need to use Fabric v1.2

nemo 8 (Fri, 26 Oct 2018 11:51:45 GMT):
Thank you very much

greg2git (Fri, 26 Oct 2018 13:59:46 GMT):
any plans to make the explorer compatible with fabric v1.3? https://github.com/hyperledger/blockchain-explorer/blob/master/release_notes/v0.3.7.md

nfrunza (Fri, 26 Oct 2018 14:32:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rXdk6fANNf6gFTuX5) @greg2git we are working on it

nfrunza (Fri, 26 Oct 2018 14:32:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rXdk6fANNf6gFTuX5) @greg2git we are looking into it

Mahi_3 (Mon, 29 Oct 2018 05:32:44 GMT):
Has joined the channel.

RonaldReagan (Mon, 29 Oct 2018 07:22:18 GMT):
Has joined the channel.

RonaldReagan (Mon, 29 Oct 2018 07:31:17 GMT):
Hello good people. I have tested hyperledger explorer release-3.4, with the hyperledger fabric 1.1.0. This worked perfectly with the first-network. But when i connect the same explorer with another fabric network from sample source I found online, it fails to display on the screen.

RonaldReagan (Mon, 29 Oct 2018 07:31:17 GMT):
Hello good people. I have tested hyperledger explorer release-3.4, with the hyperledger fabric 1.1.0. This worked perfectly with the first-network. But when i connect the same explorer with another fabric network from sample source I found online, it fails to display on the screen. Is there anything i need to change in the client of hyperledger explorer. The fabric network is okay, and I can see that block are inserted in the database, but its not displayed on screen. (i changed my config.js , pgservices.js accordingly). I don't know what I am missing. Any ideas. Has anyone tested hyperledger explorer with any other network other than fabric sample's first-network and it worked?

RonaldReagan (Mon, 29 Oct 2018 07:31:17 GMT):
Hello good people. I have tested hyperledger explorer release-3.4, with the hyperledger fabric 1.1.0. This worked perfectly with the first-network. But when i connect the same explorer with another fabric network from sample source I found online, it fails to display on the screen. Is there anything i need to change in the client of hyperledger explorer. The fabric network is okay, and I can see that block are inserted in the database, but its not displayed on screen. (i changed my config.js , pgservices.js accordingly). I don't know what I am missing. Any ideas. Has anyone tested hyperledger explorer with any other network other than fabric sample's first-network and it worked? `error: [Admin.js]: GetStatus - timed out after:45000 (node:23443) UnhandledPromiseRejectionWarning: Error: REQUEST_TIMEOUT at Timeout._onTimeout (/home/ronald/practice/bowledger_app/ledger-front-admin/bowledger-back/app/platform/fabric/Admin.js:124:31) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5)`

tahaf10 (Mon, 29 Oct 2018 07:58:47 GMT):
Can Hyperledger Explorer be integrated with IBM Clouds Blockchain Platform?

AlbertCL (Mon, 29 Oct 2018 10:40:36 GMT):
anyone has connected hyperledger explorer with a custom network using docker?

nfrunza (Mon, 29 Oct 2018 11:41:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Y8bzMweQXnm2zWFmT) @RonaldReagan You need to know the version of the fabric you try to use, verify that the network is up and running, if there is a fabric-ca that would not work with Explorer, try rerun https://github.com/hyperledger/blockchain-explorer/blob/v0.3.4/README.md#Database-Setup

nfrunza (Mon, 29 Oct 2018 11:41:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Y8bzMweQXnm2zWFmT) @RonaldReagan You need to know the version of the fabric you try to use, verify that the network is up and running, if there is a fabric-ca that would not work with Explorer, all the ports of the fabric needs to be properly specified in the config.json, try rerun https://github.com/hyperledger/blockchain-explorer/blob/v0.3.4/README.md#Database-Setup

nfrunza (Mon, 29 Oct 2018 11:42:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5PFQRmWA8S2kgSMkf) @tahaf10 no, we haven't tested with it.

nasserfci (Mon, 29 Oct 2018 15:32:34 GMT):
Hello i follow guide for setup explorer but i found when open url Cannot GET / with blank page also i want to know the meaning of network : [network-1] and client : [client-1] ? is there any configuration for this params

nfrunza (Mon, 29 Oct 2018 16:00:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yK7r5rYDRGNcGmqrR) @nasserfci which fabric version do you use? can you check the log files, app/logs/console

nasserfci (Mon, 29 Oct 2018 17:51:40 GMT):
i use version 1.3

nfrunza (Mon, 29 Oct 2018 17:52:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GFmTgQNrBCuSi6Waf) @nasserfci and explorer version?, it should be working, did you run DB setup? make sure fabric is up and running

nfrunza (Mon, 29 Oct 2018 17:52:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GFmTgQNrBCuSi6Waf) @nasserfci and explorer version?, it should be working, did you run DB setup? make sure fabric is up and running, and our logging should provide details

nasserfci (Mon, 29 Oct 2018 17:53:41 GMT):
yes when i check the logs ``` postgres://hppoc:password@explorerdb:5432/fabricexplorer Sync process is started for the network : [OrangeUser1@my-basic-sample] and client : [client-1] Insert sql is INSERT INTO channel ( "name","createdt","blocks","trans","channel_hash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO peer ( "mspid","requests","events","server_hostname","channel_genesis_hash","peer_type" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer_ref_channel ( "peerid","channelid" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer ( "mspid","requests","server_hostname","channel_genesis_hash","peer_type" ) VALUES( $1,$2,$3,$4,$5 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer_ref_channel ( "peerid","channelid" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO chaincodes ( "name","version","path","txcount","createdt","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO peer_ref_chaincode ( "chaincodeid","cc_version","peerid","channelid" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 1 Synchronizer pid is 29 read_set length 9272 write_set size >>>>>>>>> : 0.5250463485717773 MB Insert sql is INSERT INTO transactions ( "blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set","channel_genesis_hash","validation_code","envelope_signature","payload_extension","creator_nonce","chaincode_proposal_input","endorser_signature","creator_id_bytes","payload_proposal_hash","endorser_id_bytes" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO blocks ( "blocknum","datahash","prehash","txcount","createdt","prev_blockhash","blockhash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO transactions ( "blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set","channel_genesis_hash","validation_code","envelope_signature","payload_extension","creator_nonce","chaincode_proposal_input","endorser_signature","creator_id_bytes","payload_proposal_hash","endorser_id_bytes" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21 ) RETURNING *; INSERT ID: 7 Insert sql is INSERT INTO blocks ( "blocknum","datahash","prehash","txcount","createdt","prev_blockhash","blockhash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 2 ```

nasserfci (Mon, 29 Oct 2018 17:54:22 GMT):
but i couldn't know what is the value for client-1 and network-1 what should this value mean

nfrunza (Mon, 29 Oct 2018 17:54:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Mn66LaH87Efg5Cwye) @nasserfci this looks good

nasserfci (Mon, 29 Oct 2018 17:55:18 GMT):
and my network config is ``` { "license": "Apache-2.0", "network-configs": { "network-1": { "channels": { "mychannel": { "connection": { "timeout": { "peer": { "endorser": "6000", "eventReg": "6000", "eventHub": "6000" } } }, "peers": { "peer0_org1_orange_com": {} } } }, "peers": { "peer0_org1_orange_com": { "url": "grpcs://10.237.71.179:7051", "eventUrl": "grpcs://10.237.71.179:7053", "tlsCACerts": { "path": "/opt/ols/explorer/local/org1_orange_com/peer/peer0/ca.crt" }, "grpcOptions": { "ssl-target-name-override": "peer0_org1_orange_com" } } }, "organizations": { "OrdererMSP": { "adminPrivateKey": { "path": "/opt/ols/explorer/local/orange_com/keystore" }, "mspid": "OrdererMSP" }, "Org1MSP": { "adminPrivateKey": { "path": "/opt/ols/explorer/local/org1_orange_com/admin/keystore" }, "signedCert": { "path": "/opt/ols/explorer/local/org1_orange_com/admin/signcerts" }, "mspid": "Org1MSP", "fullpath": false } }, "clients": { "client-1": { "channel": "mychannel", "tlsEnable": true, "organization": "Org1MSP", "credentialStore": { "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" }, "path": "./tmp/credentialStore_Org1/credential" } } }, "version": "1.0", "orderers": { "orderer_orange_com": { "url": "grpcs://10.237.71.179:7050" } } } }, "configtxgenToolPath": "fabric-path/fabric-samples/bin" } ```

nasserfci (Mon, 29 Oct 2018 17:58:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=r4QqNoCF8KWZ8CtZr) @nfrunza can you help with the meaning of network-1 and client-1 value ? in json

nfrunza (Mon, 29 Oct 2018 18:00:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wjtWANg7fTBiQnadF) @nasserfci do not modify, use as is, please get the config.json and update only "fabric-path"

nasserfci (Mon, 29 Oct 2018 18:02:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WRXwcgpzrcc32KgmA) @nfrunza ok i will try to use as it is but i must change the name of peer because i use another names

nasserfci (Mon, 29 Oct 2018 18:03:01 GMT):
Thanks you very much :D

nfrunza (Mon, 29 Oct 2018 18:05:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HgtGpdkgv2oPYM84r) @nasserfci sure

miiiiiyoung (Tue, 30 Oct 2018 01:32:38 GMT):
Hi, I'm using blockchain-explorer in my Fabric 1.2 network. But It has occurred something problem. At first, the blockchain-explorer is running well. But as time goes by, the blockchain-explorer is shutting down at any moment. This is the blockchain-explorer's error logs. ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer error: [Orderer.js]: sendDeliver - rejecting - status:NOT_FOUND <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Invalid results returned ::NOT_FOUND at ClientDuplexStream. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:230:23) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:312:14) Received kill signal, shutting down gracefully Closed out connections ``` I think it occurred to fail to get genesis block, but I don't know how to solve this problem. I already set db and edit network-config.json file. And i'm using Fabric 1.2, blockchain-explorer release v0.3.7. I have to fix that problem for our project. So, please help me as soon as possible T.T

Paradox-AT (Tue, 30 Oct 2018 05:14:20 GMT):
Has joined the channel.

Paradox-AT (Tue, 30 Oct 2018 05:14:52 GMT):
Hello everyone can anyone have a look at (this)[https://stackoverflow.com/questions/53050227/error-while-using-hyperledger-composer-with-explorer]

Paradox-AT (Tue, 30 Oct 2018 05:14:52 GMT):
Hello everyone can anyone have a look at [this](https://stackoverflow.com/questions/53050227/error-while-using-hyperledger-composer-with-explorer)

Paradox-AT (Tue, 30 Oct 2018 05:16:03 GMT):
Hello everyone can anyone have a look at [this](https://stackoverflow.com/questions/53050227/error-while-using-hyperledger-composer-with-explorer), I am trying to use explorer with explorer.

Paradox-AT (Tue, 30 Oct 2018 05:16:05 GMT):
Thanks

Paradox-AT (Tue, 30 Oct 2018 05:39:23 GMT):
And also when I am trying to get through the _`Build Hyperledger Explorer`_ process I am getting the following error ` `

Paradox-AT (Tue, 30 Oct 2018 05:41:07 GMT):
And also when I am trying to get through the "_Build Hyperledger Explorer_" process I am getting the following error: ` Ubuntu:~/hyperledger/fabric/blockchain-explorer/app/test$ yarn run test --verbose yarn run v1.10.1 $ mocha *.js --exit --verbose GET /api/blockAndTxList/:channel/:blocknum ✓ should return blockandtx GET /api/blocksByHour/:channel/:day ✓ should return blockbyhour GET /api/blocksByMinute/:channel/:hour ✓ should return blockbyminute GET /api/block/transactions/:channel/:number ✓ should return currentchannel GET /api/chaincode/:channel ✓ should return chaincode GET /api/channels/info ✓ should return channelsinfo GET /api/changeChannel/:channelName ✓ should return currentchannel config.json should contain properties ✓ should contain configtxgenToolPath property GET /api/curChannel ✓ should return currentchannel dateUtils().toUTCmilliseconds ✓ dateUtils.toUTCmilliseconds should be not null GET /api/peer/channel ✓ should return peers Test explorerpg.sql for DDL statements syntax verification ✓ should read the file explorerpg.sql for ddl statements TAP version 13 # Test Results # Test completed and Temporary database deleted ✓ should execute statements successfully in explorerpg.sql file GET /api/status ✓ should return channel status (node:20695) UnhandledPromiseRejectionWarning: error: password authentication failed for user "postgres" at Connection.parseE (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) (node:20695) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:20695) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. not ok 1 DROP USER IF EXISTS testuser; --- operator: fail at: client.query.then.catch (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/postgrespgtest.js:112:17) stack: |- Error: DROP USER IF EXISTS testuser; at Test.assert [as _assert] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:224:54) at Test.bound [as _assert] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:76:32) at Test.fail (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:317:10) at Test.bound [as fail] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:76:32) at client.query.then.catch (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/postgrespgtest.js:112:17) at at process._tickCallback (internal/process/next_tick.js:189:7) ... getLogger() ✓ should getLogger() GET /api/transaction/:channel/:id ✓ should return currentchannel GET /api/txByHour/:channel/:day ✓ should return blockandtx GET /api/txByMinute/:channel/:hour ✓ should return blockandtx GET /api/txByOrg/:channe ✓ should return blockandtx 19 passing (75ms) 1..1 # tests 1 # pass 0 # fail 1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. `

Paradox-AT (Tue, 30 Oct 2018 05:41:07 GMT):
And also when I am trying to get through the "_Build Hyperledger Explorer_" process I am getting the following error: `` Ubuntu:~/hyperledger/fabric/blockchain-explorer/app/test$ yarn run test --verbose yarn run v1.10.1 $ mocha *.js --exit --verbose GET /api/blockAndTxList/:channel/:blocknum ✓ should return blockandtx GET /api/blocksByHour/:channel/:day ✓ should return blockbyhour GET /api/blocksByMinute/:channel/:hour ✓ should return blockbyminute GET /api/block/transactions/:channel/:number ✓ should return currentchannel GET /api/chaincode/:channel ✓ should return chaincode GET /api/channels/info ✓ should return channelsinfo GET /api/changeChannel/:channelName ✓ should return currentchannel config.json should contain properties ✓ should contain configtxgenToolPath property GET /api/curChannel ✓ should return currentchannel dateUtils().toUTCmilliseconds ✓ dateUtils.toUTCmilliseconds should be not null GET /api/peer/channel ✓ should return peers Test explorerpg.sql for DDL statements syntax verification ✓ should read the file explorerpg.sql for ddl statements TAP version 13 # Test Results # Test completed and Temporary database deleted ✓ should execute statements successfully in explorerpg.sql file GET /api/status ✓ should return channel status (node:20695) UnhandledPromiseRejectionWarning: error: password authentication failed for user "postgres" at Connection.parseE (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) (node:20695) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:20695) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. not ok 1 DROP USER IF EXISTS testuser; --- operator: fail at: client.query.then.catch (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/postgrespgtest.js:112:17) stack: |- Error: DROP USER IF EXISTS testuser; at Test.assert [as _assert] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:224:54) at Test.bound [as _assert] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:76:32) at Test.fail (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:317:10) at Test.bound [as fail] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:76:32) at client.query.then.catch (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/postgrespgtest.js:112:17) at at process._tickCallback (internal/process/next_tick.js:189:7) ... getLogger() ✓ should getLogger() GET /api/transaction/:channel/:id ✓ should return currentchannel GET /api/txByHour/:channel/:day ✓ should return blockandtx GET /api/txByMinute/:channel/:hour ✓ should return blockandtx GET /api/txByOrg/:channe ✓ should return blockandtx 19 passing (75ms) 1..1 # tests 1 # pass 0 # fail 1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ``

Paradox-AT (Tue, 30 Oct 2018 05:49:03 GMT):
And also when I am trying to get through the "_Build Hyperledger Explorer_" process I am getting the following error: ``` Ubuntu:~/hyperledger/fabric/blockchain-explorer/app/test$ yarn run test --verbose yarn run v1.10.1 $ mocha *.js --exit --verbose GET /api/blockAndTxList/:channel/:blocknum ✓ should return blockandtx GET /api/blocksByHour/:channel/:day ✓ should return blockbyhour GET /api/blocksByMinute/:channel/:hour ✓ should return blockbyminute GET /api/block/transactions/:channel/:number ✓ should return currentchannel GET /api/chaincode/:channel ✓ should return chaincode GET /api/channels/info ✓ should return channelsinfo GET /api/changeChannel/:channelName ✓ should return currentchannel config.json should contain properties ✓ should contain configtxgenToolPath property GET /api/curChannel ✓ should return currentchannel dateUtils().toUTCmilliseconds ✓ dateUtils.toUTCmilliseconds should be not null GET /api/peer/channel ✓ should return peers Test explorerpg.sql for DDL statements syntax verification ✓ should read the file explorerpg.sql for ddl statements TAP version 13 # Test Results # Test completed and Temporary database deleted ✓ should execute statements successfully in explorerpg.sql file GET /api/status ✓ should return channel status (node:20695) UnhandledPromiseRejectionWarning: error: password authentication failed for user "postgres" at Connection.parseE (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) (node:20695) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:20695) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. not ok 1 DROP USER IF EXISTS testuser; --- operator: fail at: client.query.then.catch (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/postgrespgtest.js:112:17) stack: |- Error: DROP USER IF EXISTS testuser; at Test.assert [as _assert] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:224:54) at Test.bound [as _assert] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:76:32) at Test.fail (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:317:10) at Test.bound [as fail] (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/tape/lib/test.js:76:32) at client.query.then.catch (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/postgrespgtest.js:112:17) at at process._tickCallback (internal/process/next_tick.js:189:7) ... getLogger() ✓ should getLogger() GET /api/transaction/:channel/:id ✓ should return currentchannel GET /api/txByHour/:channel/:day ✓ should return blockandtx GET /api/txByMinute/:channel/:hour ✓ should return blockandtx GET /api/txByOrg/:channe ✓ should return blockandtx 19 passing (75ms) 1..1 # tests 1 # pass 0 # fail 1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ```

RonaldReagan (Tue, 30 Oct 2018 07:12:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=c6KKE49hZazWtyJo5) @nfrunza Thank you, but I followed the instruction to the letter, still same issue. First-network works fine, but my custom network doesn't display anything( caught in REQUEST_TIMEOUT). I am using hyperledger fabric 1.1.0. I tried to implement 10 ORGS with two peers each. In the logs I can see the data. Even in the database there is data, but the screen is blank.

RonaldReagan (Tue, 30 Oct 2018 07:17:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fpwPGvCBmHSvgiMYY) Below are the last line on the db logs when using firt-network. But when when running custom network this lines don't show.

RonaldReagan (Tue, 30 Oct 2018 07:18:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fpwPGvCBmHSvgiMYY) `[2018-10-30 15:32:40.469] [DEBUG] pgservice - the getRowByPkOne sql select t.txhash,t.validation_code,t.payload_proposal_hash,t.creator_msp_id,t.endorser_msp_id,t.chaincodename,t.type,t.createdt,t.read_set,t.write_set,channel.name as channelname from TRANSACTIONS as t inner join channel on t.genesis_block_hash=channel.genesis_block_hash where t.txhash = '3754d19c09f37061b86fb991a1c3c8390a2552e4024c3ae6064b59962b564191' [2018-10-30 15:32:58.227] [DEBUG] pgservice - the getRowByPkOne sql select t.txhash,t.validation_code,t.payload_proposal_hash,t.creator_msp_id,t.endorser_msp_id,t.chaincodename,t.type,t.createdt,t.read_set,t.write_set,channel.name as channelname from TRANSACTIONS as t inner join channel on t.genesis_block_hash=channel.genesis_block_hash where t.txhash = 'dee4b6e93dd657d14c2e8aea49fa8f8e8db51bd76c07a270cf4c38f5de425c92' `

vudathasaiomkar (Tue, 30 Oct 2018 07:40:46 GMT):
@nfrunza @RonaldReagan been stuck on this error for a while, can any one help me out (using explorer version 3.7 )``` (node:20695) UnhandledPromiseRejectionWarning: error: password authentication failed for user "postgres" at Connection.parseE (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) ```

vudathasaiomkar (Tue, 30 Oct 2018 07:40:46 GMT):
@nfrunza @RonaldReagan been stuck on this error for a while, can any one help me out (using explorer version 3.7 )``` (node:20695) UnhandledPromiseRejectionWarning: error: password authentication failed for user "postgres" at Connection.parseE (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/paradox/hyperledger/fabric/blockchain-explorer/app/test/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) ```

Techie (Tue, 30 Oct 2018 10:25:45 GMT):
Has joined the channel.

Techie (Tue, 30 Oct 2018 10:26:28 GMT):
Hi How to build block explorer I got the following error: TypeError: Cannot read property 'size' of undefined at Platform.initialize (/volume2/geth1/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully

Techie (Tue, 30 Oct 2018 10:45:04 GMT):
this is my config.json

Techie (Tue, 30 Oct 2018 10:45:06 GMT):
{ "network-config": { "org1": { "name": "Org1", "mspid": "Org1MSP", "peer0": { "requests": "grpc://localhost:7051", "server-hostname": "peer0.org1.example.com" }, "peer1": { "requests": "grpc://localhost:8051", "server-hostname": "peer1.org1.example.com" }, "admin": { "key": "/volume2/geth1/fabric-dev-servers/fabric-samples/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/volume2/geth1/fabric-dev-servers/fabric-samples/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "org2": { "name": "Org2", "mspid": "Org2MSP", "peer0": { "requests": "grpc://localhost:9051", "server-hostname": "peer0.org1.example.com" }, "peer1": { "requests": "grpc://localhost:10051", "server-hostname": "peer1.org1.example.com" }, "admin": { "key": "/volume2/geth1/fabric-dev-servers/fabric-samples/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore", "cert": "/volume2/geth1/fabric-dev-servers/fabric-samples/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } } }, "channel": "composerchannel", "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpc://localhost:7050" } ], "keyValueStore": "/tmp/fabric-client-kvs", "tlsEnable": false, "configtxgenToolPath": "/volume2/geth1/fabric-dev-servers/fabric-scripts/hlfv12/composer", "SYNC_START_DATE_FORMAT":"YYYY/MM/DD", "syncStartDate":"2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" }

RonaldReagan (Tue, 30 Oct 2018 12:08:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=giC8mnnKC3pzhc9gf) @vudathasaiomkar start here. https://github.com/hyperledger/blockchain-explorer/blob/master/TROUBLESHOOT.md , Also if using local DB (install postgreSQL) you might need to make sure you connect to it by login in properly.

aviralwal (Tue, 30 Oct 2018 12:12:11 GMT):
Has left the channel.

nfrunza (Tue, 30 Oct 2018 12:15:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RntK854y4F43QhLxm) @Paradox-AT you can ignore rung tests, it could be environmental issue

nfrunza (Tue, 30 Oct 2018 12:15:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RntK854y4F43QhLxm) @Paradox-AT you can ignore running tests, it could be environmental issue

nfrunza (Tue, 30 Oct 2018 12:20:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6EF3GBmKiERBdtrmp) @Techie please tell me about your fabric, version? do you use fabric-ca ?

nfrunza (Tue, 30 Oct 2018 12:20:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6EF3GBmKiERBdtrmp) @Techie please tel about your fabric, version? do you use fabric-ca ?

nfrunza (Tue, 30 Oct 2018 12:21:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sbcAGjHrdJEf4Y2dr) @Techie can you provide the logs from app/logs ?

nfrunza (Tue, 30 Oct 2018 12:57:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DC6X9scGJFNk9vWhJ) @miiiiiyoung Can you describe your fabric network, do you use a custom fabric network?

hkrichen (Tue, 30 Oct 2018 13:52:12 GMT):
Hello , I have this error when I try to deploy hyperledger explorer on my Fabric 1.2, the one used on composer tutorial . ``

hkrichen (Tue, 30 Oct 2018 13:52:12 GMT):
Hello , I have an error when I try to deploy hyperledger explorer on my Fabric 1.2, the one used on composer tutorial .

hkrichen (Tue, 30 Oct 2018 13:52:12 GMT):
``

hkrichen (Tue, 30 Oct 2018 13:53:16 GMT):
my config.json { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://127.0.0.1:7051", "eventUrl": "grpc://127.0.0.1:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://127.0.0.1:7050" } } } }, "configtxgenToolPath": "/opt/bin", "license": "Apache-2.0" } ~

hkrichen (Tue, 30 Oct 2018 13:53:16 GMT):
my config.json `{ "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://127.0.0.1:7051", "eventUrl": "grpc://127.0.0.1:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://127.0.0.1:7050" } } } }, "configtxgenToolPath": "/opt/bin", "license": "Apache-2.0" } ~ `

hkrichen (Tue, 30 Oct 2018 13:53:16 GMT):
my config.json ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://127.0.0.1:7051", "eventUrl": "grpc://127.0.0.1:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://127.0.0.1:7050" } } } }, "configtxgenToolPath": "/opt/bin", "license": "Apache-2.0" } ~ ```

hkrichen (Tue, 30 Oct 2018 13:53:16 GMT):
my config.json ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://127.0.0.1:7051", "eventUrl": "grpc://127.0.0.1:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://127.0.0.1:7050" } } } }, "configtxgenToolPath": "/opt/bin", "license": "Apache-2.0" } ~ ```

hkrichen (Tue, 30 Oct 2018 13:53:16 GMT):
my config.json ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://127.0.0.1:7051", "eventUrl": "grpc://127.0.0.1:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://127.0.0.1:7050" } } } }, "configtxgenToolPath": "/opt/bin", "license": "Apache-2.0" } ~ ``` Here logs ``` error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ```

hkrichen (Tue, 30 Oct 2018 13:53:16 GMT):
my config.json ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://127.0.0.1:7051", "eventUrl": "grpc://127.0.0.1:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://127.0.0.1:7050" } } } }, "configtxgenToolPath": "/opt/bin", "license": "Apache-2.0" } ~ ``` logs ``` error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ```

hkrichen (Tue, 30 Oct 2018 13:54:09 GMT):
The Error error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

hkrichen (Tue, 30 Oct 2018 13:54:09 GMT):
The Error error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

hkrichen (Tue, 30 Oct 2018 13:54:09 GMT):
The Error \begin{code} error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections \end{code}

hkrichen (Tue, 30 Oct 2018 13:54:09 GMT):
The Error error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

hkrichen (Tue, 30 Oct 2018 13:54:09 GMT):
The Error `error: [Remote.js]: Error: Failed to connect before the deadline` error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ``

hkrichen (Tue, 30 Oct 2018 13:54:09 GMT):
The Error `error: [Remote.js]: Error: Failed to connect before the deadline` `error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline` ` at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16)` `` `**************************************************************************************` `Error : Failed to connect client peer, please check the configuration and peer status` I`nfo : Explorer will continue working with only DB data` `**************************************************************************************` `` `` `` `Please open web browser to access :http://localhost:8080/ `` `` `pid is 7` `` `` `<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>` `Error : [ 'Default client peer is down and no channel details available database' ]` `Received kill signal, shutting down gracefully` `<<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>>` `Closed out connections`

hkrichen (Tue, 30 Oct 2018 13:54:09 GMT):
The Error `error: [Remote.js]: Error: Failed to connect before the deadline` `error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline` ` at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16)` `**************************************************************************************` `Error : Failed to connect client peer, please check the configuration and peer status` `Info : Explorer will continue working with only DB data` `**************************************************************************************` `Please open web browser to access :http://localhost:8080/' `pid is 7` `<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>` `Error : [ 'Default client peer is down and no channel details available database' ]` `Received kill signal, shutting down gracefully` `<<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>>` `Closed out connections`

hkrichen (Tue, 30 Oct 2018 13:54:09 GMT):
The Error `error: [Remote.js]: Error: Failed to connect before the deadline` `error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline` ` at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16)` `**************************************************************************************` `Error : Failed to connect client peer, please check the configuration and peer status` `Info : Explorer will continue working with only DB data` `**************************************************************************************` `Please open web browser to access :http://localhost:8080/` `pid is 7` `<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>` `Error : [ 'Default client peer is down and no channel details available database' ]` `Received kill signal, shutting down gracefully` `<<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>>` `Closed out connections`

Paradox-AT (Tue, 30 Oct 2018 14:29:52 GMT):
@nfrunza Okay but still it was not running, is there any problem with the config file?

Paradox-AT (Tue, 30 Oct 2018 14:31:05 GMT):
@hkrichen You have to change your config file as [shown](https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-COMPOSER-HLEXPLORER.md)

Paradox-AT (Tue, 30 Oct 2018 14:31:05 GMT):
@hkrichen You have to change your config file as [shown](https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-COMPOSER-HLEXPLORER.md) and mentioned in the readme

Paradox-AT (Tue, 30 Oct 2018 14:32:04 GMT):
PS: Still trying to do that myself

Paradox-AT (Tue, 30 Oct 2018 14:32:11 GMT):
XD

hkrichen (Tue, 30 Oct 2018 14:33:05 GMT):
@Paradox-AT this configuration is for old versions of explorer

adamhardie (Tue, 30 Oct 2018 14:35:07 GMT):
Has joined the channel.

nfrunza (Tue, 30 Oct 2018 14:37:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PkoNMuPZxn5C2Exgr) @hkrichen please describe your fabric, is is a sample, or custom? i would suggest first using fabric-sample/first-network then you can work on yours to understand

hkrichen (Tue, 30 Oct 2018 14:41:59 GMT):
@nfrunza Hello, I'm using this fabric https://github.com/hyperledger/composer-tools/tree/master/packages/fabric-dev-servers

hkrichen (Tue, 30 Oct 2018 14:41:59 GMT):
@nfrunza Hello, I'm using this fabric https://github.com/hyperledger/composer-tools/tree/master/packages/fabric-dev-servers V1.2

nfrunza (Tue, 30 Oct 2018 14:46:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2oZMokFKpCmyW3bFd) @hkrichen try using explorer v3.4

srinivas (Tue, 30 Oct 2018 17:51:21 GMT):
Has joined the channel.

miiiiiyoung (Wed, 31 Oct 2018 00:05:11 GMT):

Clipboard - October 31, 2018 9:05 AM

miiiiiyoung (Wed, 31 Oct 2018 00:05:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=v6f3n5oxJ9jQTEJzP) @nfrunza Yes, I'm using a custom fabric network. It worked on multi-host environment(5 different PC). This is my config.json file. ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "org1MSP", "channel": "honeybeechannel", "credentialStore": { "path": "./tmp/credentialStore_org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_org1/crypto" } } } }, "channels": { "honeybeechannel": { "peers": { "peer0.org1.honeybee.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "org1MSP": { "mspid": "org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/artifacts/crypto-config/peerOrganizations/org1.honeybee.com/users/Admin@org1.honeybee.com/msp/keystore" }, "signedCert": { "path": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/artifacts/crypto-config/peerOrganizations/org1.honeybee.com/users/Admin@org1.honeybee.com/msp/signcerts" } }, "org2MSP": { "mspid": "org2MSP", "adminPrivateKey": { "path": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/artifacts/crypto-config/peerOrganizations/org2.honeybee.com/users/Admin@org2.honeybee.com/msp/keystore" } }, "org3MSP": { "mspid": "org3MSP", "adminPrivateKey": { "path": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/artifacts/crypto-config/peerOrganizations/org3.honeybee.com/users/Admin@org3.honeybee.com/msp/keystore" } }, "org4MSP": { "mspid": "org4MSP", "adminPrivateKey": { "path": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/artifacts/crypto-config/peerOrganizations/org4.honeybee.com/users/Admin@org4.honeybee.com/msp/keystore" } }, "org5MSP": { "mspid": "org5MSP", "adminPrivateKey": { "path": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/artifacts/crypto-config/peerOrganizations/org5.honeybee.com/users/Admin@org5.honeybee.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/artifacts/crypto-config/ordererOrganizations/honeybee.com/users/Admin@honeybee.com/msp/keystore" } } }, "peers": { "peer0.org1.honeybee.com": { "tlsCACerts": { "path": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/artifacts/crypto-config/peerOrganizations/org1.honeybee.com/peers/peer0.org1.honeybee.com/tls/ca.crt" }, "url": "grpcs://:7051", "eventUrl": "grpcs://:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.honeybee.com" } }, "peer1.org1.honeybee.com": { "url": "grpcs://:7056" }, "peer0.org2.honeybee.com": { "url": "grpcs://:7051" }, "peer1.org2.honeybee.com": { "url": "grpcs://:7056" }, "peer0.org3.honeybee.com": { "url": "grpcs://:7051" }, "peer1.org3.honeybee.com": { "url": "grpcs://:7056" }, "peer0.org4.honeybee.com": { "url": "grpcs://:7051" }, "peer1.org4.honeybee.com": { "url": "grpcs://:7056" }, "peer0.org5.honeybee.com": { "url": "grpcs://:7051" }, "peer1.org5.honeybee.com": { "url": "grpcs://:7056" } }, "orderers": { "orderer.org1.honeybee.com": { "url": "grpcs://:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/opt/gopath/src/github.com/hyperledger/honeybee_1.2/network/bin", "license": "Apache-2.0" } ``` And this is my network diagram.

miiiiiyoung (Wed, 31 Oct 2018 00:05:33 GMT):

Clipboard - October 31, 2018 9:05 AM

Techie (Wed, 31 Oct 2018 07:10:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qcLrQHKSCza8i3FWN) @nfrunza fabric version is 1.2 and log file gives:

Techie (Wed, 31 Oct 2018 07:10:51 GMT):
postgres://admin:Test1234@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/volume2/geth1/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections

Techie (Wed, 31 Oct 2018 09:05:14 GMT):
Can someone give config.json for explorer on multi-org setup

hkrichen (Wed, 31 Oct 2018 11:06:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jxJhLiuudmnmfQG4T) @nfrunza explorer v3.4 works

nfrunza (Wed, 31 Oct 2018 11:56:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=P96F7fZLRtA4vaC9W) @miiiiiyoung is your fabric running in a docker, if yes, this is the docker issue

nfrunza (Wed, 31 Oct 2018 12:44:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=P96F7fZLRtA4vaC9W) @miiiiiyoung do you run explorer within a docker?

hkrichen (Wed, 31 Oct 2018 14:53:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ezMcbfBpTaovEuscC) @nfrunza but I prefer use versions with docker

hkrichen (Wed, 31 Oct 2018 14:53:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ezMcbfBpTaovEuscC) @nfrunza but I prefer use docker and there is only images using recent versions

RonaldReagan (Thu, 01 Nov 2018 01:02:07 GMT):
So I have hyperledger fabric deployed on 10 remote hosts, 3 orderers and 7clients. Where would be the best place put the hyperledger explorer installation in order to be able to see all the blockchain?

me_abhijeet (Thu, 01 Nov 2018 05:37:18 GMT):
Hey! There i am trying to create the network using: https://hyperledger.github.io/composer/v0.19/tutorials/deploy-to-fabric-multi-org?fbclid=IwAR1QESv2BA5KUnoYN0NJmdI47xnRd7skqgkHDSJ5O3pNAT2yrCiaGQ64SPY I am having some doubts and issue that need to be discussed . Is there anyone can help me

me_abhijeet (Thu, 01 Nov 2018 05:37:18 GMT):
Hey! All I am working on blockchain form last few months and having good understanding of devops and docker and skilled a developing a MEAN stack application and networking concepts. I am looking for someone who can work in joint effort for developing and blockchain network using hyper ledger fabric. If anyone interested then ping me or drop your email.

ShaikSharuk (Thu, 01 Nov 2018 07:34:28 GMT):
Has joined the channel.

ShaikSharuk (Thu, 01 Nov 2018 07:43:21 GMT):
Hi, I have started block explorer successfully, but after loading some transactions I am receiving the following error,INSERT ID: 10 Insert sql is INSERT INTO transactions ( "blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set","genesis_block_hash","validation_code","envelope_signature","payload_extension","creator_nonce","chaincode_proposal_input","endorser_signature","creator_id_bytes","payload_proposal_hash","endorser_id_bytes" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21 ) RETURNING *; Successfully received the block event[object Object] error: index row requires 170936 bytes, maximum size is 8191 at Connection.parseE (/home/fabric-home/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/fabric-home/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/fabric-home/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:594:20) /home/fabric-home/blockchain-explorer/app/persistence/postgreSQL/db/pgservice.js:110 console.log("INSERT ID:", res.rows[0].id); ^ TypeError: Cannot read property 'rows' of undefined at Query.client.query (/home/fabric-home/blockchain-explorer/app/persistence/postgreSQL/db/pgservice.js:110:37) at Query.handleError (/home/fabric-home/blockchain-explorer/node_modules/pg/lib/query.js:143:17) at Connection.connectedErrorHandler (/home/fabric-home/blockchain-explorer/node_modules/pg/lib/client.js:132:26) at emitOne (events.js:116:13) at Connection.emit (events.js:211:7) at Socket. (/home/fabric-home/blockchain-explorer/node_modules/pg/lib/connection.js:117:12) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11)

ShaikSharuk (Thu, 01 Nov 2018 07:43:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zbp27k6pMPMW3mP8t) if any one have idea on the following error pls respond

IngoRammer (Thu, 01 Nov 2018 10:24:00 GMT):
Has joined the channel.

nfrunza (Thu, 01 Nov 2018 11:49:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zbp27k6pMPMW3mP8t) @ShaikSharuk you have large amount of data in your transaction, is it some files you have or images?

nfrunza (Thu, 01 Nov 2018 11:49:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zbp27k6pMPMW3mP8t) @ShaikSharuk you have large amount of data in your transaction, is it some files you have or images?

nfrunza (Thu, 01 Nov 2018 11:49:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zbp27k6pMPMW3mP8t) @ShaikSharuk you have large amount of data in your transaction, is it some files you have or images? which version of explorer do you use?

miiiiiyoung (Thu, 01 Nov 2018 23:46:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=445kFhXdbAvMvZqwM) @nfrunza No. I run explorer using start.sh script.

chandrika (Fri, 02 Nov 2018 05:28:40 GMT):
Has joined the channel.

chandrika (Fri, 02 Nov 2018 05:29:46 GMT):
Hi Experts, Would like to seek your assistance/guidance to an issue that we are currently encountering while integrating Hyperledger-explorer version 0.3.7 in Hyperledger Fabric 1.2.

chandrika (Fri, 02 Nov 2018 05:30:33 GMT):
Issue Details - In 'app/platform/fabric/FabricClient.js' file there is a piece of code in the 'initializeChannelFromDiscover' method - this.client_config.peers[host] - 'this.client_config.peers' is an array (array details given below) with peer names as the keys. - But the in the above line the value of 'host' variable is coming as ip/hostname of the server where the peers are running. ============================================================================================ The array value of "this.client_config.peers" ----- { 'peer0.org1.example.com': { tlsCACerts: { path: '/home/ubuntu/.../tls/ca.crt' }, url: 'grpcs://ec2-52-15-xxx-xxx.us-east-2.compute.amazonaws.com:7051', eventUrl: 'grpcs://ec2-52-15-xxx-xxx.us-east-2.compute.amazonaws.com:7053', grpcOptions: { 'ssl-target-name-override': 'peer0.org1.example.com' } }, 'peer0.org2.example.com': { tlsCACerts: { path: '/home/ubuntu/.../tls/ca.crt' }, url: 'grpcs://ec2-18-224-xxx-xxx.us-east-2.compute.amazonaws.com:7051', eventUrl: 'grpcs://ec2-18-224-xxx-xxx.us-east-2.compute.amazonaws.com:7053', grpcOptions: { 'ssl-target-name-override': 'peer0.org2.example.com' } } } ============================================================================================ It seems there may be some issue with FabricClient.js file or some other config related file. It might be a trivial issue , but we are spending time to get it resolved. If you have any quick suggestion , looking at the above details , kindly do let me know

chandrika (Fri, 02 Nov 2018 05:30:39 GMT):
Thanks, Chandrika

sreeharsha_katta (Fri, 02 Nov 2018 07:13:18 GMT):
Has joined the channel.

VadimInshakov (Fri, 02 Nov 2018 13:12:26 GMT):
Has left the channel.

nfrunza (Fri, 02 Nov 2018 14:57:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gRsmSYhsn5vtEtsGh) @miiiiiyoung i haven't seen such behavior, could be the connection issue?

nfrunza (Fri, 02 Nov 2018 14:58:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MLCLYpyZ5q7YE4NHz) @chandrika Please describe your fabric location, where do you run explorer, is it accessing remote fab ric network?

nfrunza (Fri, 02 Nov 2018 19:30:44 GMT):
Hello, contributors needed for explorer, please let me know if any available.

greg2git (Fri, 02 Nov 2018 20:22:10 GMT):
@nfrunza, what is the list of issues that need assistance? can we start with testing first?

nfrunza (Fri, 02 Nov 2018 20:35:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=B86Hyq2oGXPxmqjBD) @greg2git thank for asking, we need to use latest sdk node 1.3

greg2git (Fri, 02 Nov 2018 20:38:06 GMT):
sdk java or sdk go?

nfrunza (Fri, 02 Nov 2018 21:29:04 GMT):
node sdk

AkbarAgha (Sun, 04 Nov 2018 06:48:14 GMT):
Has joined the channel.

AkbarAgha (Sun, 04 Nov 2018 12:58:53 GMT):
hi

AkbarAgha (Sun, 04 Nov 2018 13:02:14 GMT):
hi i set up fabric on multi host and config explorer

AkbarAgha (Sun, 04 Nov 2018 13:08:01 GMT):
hi i set up fabric on multi host and i run chain code and app on fabric but i have problem for set up explorer [2018-11-04 12:38:36.970] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. [2018-11-04 12:47:55.421] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2018-11-04 12:47:55.422] [DEBUG] Platform - Setting admin organization enrolment files [2018-11-04 12:47:55.422] [DEBUG] FabricUtils - Organization [Org1MSP] enrolment files path defined as directory [2018-11-04 12:47:55.422] [DEBUG] FabricUtils - Organization [Org2MSP] enrolment files path defined as directory [2018-11-04 12:47:55.422] [DEBUG] FabricUtils - Organization [OrdererMSP] enrolment files path defined as directory [2018-11-04 12:47:55.422] [DEBUG] Platform - Creatinging client [client-1] >> [2018-11-04 12:47:55.423] [DEBUG] FabricUtils - Validating client [client-1] configuration [2018-11-04 12:47:55.424] [DEBUG] FabricUtils - Client configuration >> {"_fileStores":["/home/fab/blockchain-explorer/node_modules/fabric-client/config/default.json"],"_config":{"sto$ [2018-11-04 12:47:55.424] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-11-04 12:47:55.424] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-11-04 12:47:55.655] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-11-04 12:47:55.666] [DEBUG] FabricClient - Successfully created admin user [client-1_Org1MSPAdmin] for client [client-1] [2018-11-04 12:47:55.787] [DEBUG] FabricClient - Set client [client-1] default channel as >> mychannel [2018-11-04 12:47:55.787] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.org1.example.com [2018-11-04 12:47:55.787] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-11-04 12:47:55.826] [ERROR] FabricClient - { Error: 2 UNKNOWN: access denied: channel [] creator org [Org1MSP] at Object.exports.createStatusError (/home/fab/blockchain-explorer/node_modules/grpc/src/common.js:87:15) at Object.onReceiveStatus (/home/fab/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:1188:28) at InterceptingListener._callNext (/home/fab/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:564:42) at InterceptingListener.onReceiveStatus (/home/fab/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:614:8) at callback (/home/fab/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:841:24) code: 2, metadata: Metadata { _internal_repr: {} }, details: 'access denied: channel [] creator org [Org1MSP]' } [2018-11-04 12:47:55.834] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging.

AkbarAgha (Sun, 04 Nov 2018 13:08:01 GMT):
hi i set up fabric on multi host and i run chain code and app on fabric but i have problem for set up explorer [2018-11-04 12:38:36.970] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. [2018-11-04 12:47:55.421] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2018-11-04 12:47:55.422] [DEBUG] Platform - Setting admin organization enrolment files [2018-11-04 12:47:55.422] [DEBUG] FabricUtils - Organization [Org1MSP] enrolment files path defined as directory [2018-11-04 12:47:55.422] [DEBUG] FabricUtils - Organization [Org2MSP] enrolment files path defined as directory [2018-11-04 12:47:55.422] [DEBUG] FabricUtils - Organization [OrdererMSP] enrolment files path defined as directory [2018-11-04 12:47:55.422] [DEBUG] Platform - Creatinging client [client-1] >> [2018-11-04 12:47:55.423] [DEBUG] FabricUtils - Validating client [client-1] configuration [2018-11-04 12:47:55.424] [DEBUG] FabricUtils - Client configuration >> {"_fileStores":["/home/fab/blockchain-explorer/node_modules/fabric-client/config/default.json"],"_config":{"sto$ [2018-11-04 12:47:55.424] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2018-11-04 12:47:55.424] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2018-11-04 12:47:55.655] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2018-11-04 12:47:55.666] [DEBUG] FabricClient - Successfully created admin user [client-1_Org1MSPAdmin] for client [client-1] [2018-11-04 12:47:55.787] [DEBUG] FabricClient - Set client [client-1] default channel as >> mychannel [2018-11-04 12:47:55.787] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.org1.example.com [2018-11-04 12:47:55.787] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration *[2018-11-04 12:47:55.826] [ERROR] FabricClient - { Error: 2 UNKNOWN: access denied: channel [] creator org [Org1MSP] at Object.exports.createStatusError (/home/fab/blockchain-explorer/node_modules/grpc/src/common.js:87:15) at Object.onReceiveStatus (/home/fab/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:1188:28) at InterceptingListener._callNext (/home/fab/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:564:42) at InterceptingListener.onReceiveStatus (/home/fab/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:614:8) at callback (/home/fab/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:841:24) code: 2, metadata: Metadata { _internal_repr: {} }, details: 'access denied: channel [] creator org [Org1MSP]' } [2018-11-04 12:47:55.834] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. *

nfrunza (Sun, 04 Nov 2018 23:32:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uD9rmMiAf7YqtwG9A) @AkbarAgha this could be related to fabric-ca, we are working on supporting fabric-ca server

nfrunza (Sun, 04 Nov 2018 23:32:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uD9rmMiAf7YqtwG9A) @AkbarAgha this could be related to fabric-ca, we are working on supporting fabric-ca server, do you use a custom fabric? i would suggest you try fabric-sample/first-network

chandrika (Mon, 05 Nov 2018 06:44:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wPqvb6YnfuMo32ARQ) @nfrunza @nfrunza.. thanks for your response! my explorer is running on the same machine wherein i have my application running. I have built my application in Fabric 1.2. so, to summarize, both my app and explorer are in the same machine.

nfrunza (Mon, 05 Nov 2018 12:59:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=njaLQEZXcWq3t6eWR) @chandrika from the config.json i see that you run it within AWS?

Hari.Jella (Mon, 05 Nov 2018 15:51:52 GMT):
Has joined the channel.

GiovanniNapoli (Mon, 05 Nov 2018 16:48:24 GMT):
Hi all, does anybody have a `network.json` file for the docker install? I had many problem with it, and now i really need to get Explorer up and running

nfrunza (Mon, 05 Nov 2018 18:28:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SRRPTDhGaNJaDaBek) @GiovanniNapoli you mean config.json for the explorer? if yex, see https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md

nfrunza (Mon, 05 Nov 2018 18:28:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SRRPTDhGaNJaDaBek) @GiovanniNapoli you mean config.json for the explorer? if yes, see https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md

chandrika (Tue, 06 Nov 2018 05:03:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7MqPrm3ZaGET3C6rm) @nfrunza hi.. I am running it from my Ubuntu box (AWS). do i need to change anything my configurations in config,json? Please suggest!

GiovanniNapoli (Tue, 06 Nov 2018 08:19:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZdSDtvXJ7F5e3ALGE) @nfrunza Yes, sorry, meant that...The config.json of the example is good for `first-network` or should I make any change?

GiovanniNapoli (Tue, 06 Nov 2018 08:55:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZdSDtvXJ7F5e3ALGE) @nfrunza UPDATE: Just ran it. It works, thanks for your help

Rochendiil (Tue, 06 Nov 2018 12:02:44 GMT):
Has joined the channel.

Rochendiil (Tue, 06 Nov 2018 12:08:03 GMT):
Hello, I'm having some trouble starting version 3.7. I am using fabric version 1.2.1 and i got it "working" with explorer version 3.5 (it boots and shows transactions). When i try to use version 3.7 i get an error when i start the nodejs server. I think the problem is in my config.json file but when i compare the one from 3.5 to 3.7 i see no reason why this wouldn't work. Is there someone i could send my 2 network.json to that can take a look?

Rochendiil (Tue, 06 Nov 2018 12:08:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=X5uF8puxEPRPsstGx) i have the same issue as @chandrika here describes

Rochendiil (Tue, 06 Nov 2018 13:25:42 GMT):
however this was an easy fix(i think). After removing host_port in line 402 it started working atleast a bit further. Now im facing the error: Error : [ 'Default defined channel %s is not found for the client %s peer', 'channelonet', 'client-1' ]

nfrunza (Tue, 06 Nov 2018 13:36:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=v8ruKjmLfZzDJNgW2) @GiovanniNapoli yes, is good for first network

nfrunza (Tue, 06 Nov 2018 14:27:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yTHzRG9juvMnhGKYm) @Rochendiil please run from CLI, and let me know the results: 1) $peer channel list 2) $peer version Also please provide the fabric version you're using and the explorer version.

Rochendiil (Tue, 06 Nov 2018 14:34:40 GMT):
2018-11-06 14:33:58.796 UTC [grpc] Printf -> DEBU 03c pickfirstBalancer: HandleSubConnStateChange: 0xc42032baa0, CONNECTING 2018-11-06 14:33:58.797 UTC [grpc] Printf -> DEBU 03d pickfirstBalancer: HandleSubConnStateChange: 0xc42032baa0, READY 2018-11-06 14:33:58.797 UTC [channelCmd] InitCmdFactory -> INFO 03e Endorser and orderer connections initialized 2018-11-06 14:33:58.798 UTC [msp/identity] Sign -> DEBU 03f Sign: plaintext: 0ABC070A5C08031A0C08D6CC86DF0510...631A0D0A0B4765744368616E6E656C73 2018-11-06 14:33:58.798 UTC [msp/identity] Sign -> DEBU 040 Sign: digest: 122B9A3ADF37F7752ACCE8266256288C08891C4D85634FD60F41E27CBEFE4D48 Channels peers has joined: channelone

Rochendiil (Tue, 06 Nov 2018 14:34:46 GMT):
channel list ^

Rochendiil (Tue, 06 Nov 2018 14:35:00 GMT):
peer: Version: 1.2.1 Commit SHA: 5017e4d Go version: go1.10 OS/Arch: linux/amd64 Experimental features: false Chaincode: Base Image Version: 0.4.10 Base Docker Namespace: hyperledger Base Docker Label: org.hyperledger.fabric Docker Namespace: hyperledger

Rochendiil (Tue, 06 Nov 2018 14:35:04 GMT):
version ^

Rochendiil (Tue, 06 Nov 2018 14:40:54 GMT):
side node i know my error says channelonet instead of channelone i was trying to see if it actually picked up my changes in the file when i did ./start.sh

Rochendiil (Tue, 06 Nov 2018 14:43:39 GMT):
fabric version 1.2.1, explorer version 3.7

nfrunza (Tue, 06 Nov 2018 15:28:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5iQZ3HJuZW95ztuuY) @Rochendiil try this: 1) $pkill node 2) $ cd blockchain-explorer/app/persistence/fabric/postgreSQL/db/ 3) $./createdb.sh 4) $./start.sh

Rochendiil (Tue, 06 Nov 2018 16:20:47 GMT):
oh sorry i had to get back home from work iĺl try it rn

Rochendiil (Tue, 06 Nov 2018 16:29:08 GMT):
it still gives me the same error

Rochendiil (Tue, 06 Nov 2018 16:29:08 GMT):
@nfrunza it still gives me the same error

Rochendiil (Tue, 06 Nov 2018 16:29:43 GMT):
but i did had to do sudo pkill node but that shouldn;t matter right

nfrunza (Tue, 06 Nov 2018 17:42:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Z895PD6b2nrjL53u8) @Rochendiil please do not run as a root user

coderintherye (Wed, 07 Nov 2018 06:42:11 GMT):
Has joined the channel.

coderintherye (Wed, 07 Nov 2018 06:43:50 GMT):
Anyone have tips on how to debug the following: [2018-11-06 22:38:45.673] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2018-11-06 22:38:45.701] [ERROR] FabricClient - { Error: 2 UNKNOWN: access denied: channel [] creator org [KivaMSP] at new createStatusError (/Users/me/blockchain-explorer/node_modules/grpc/src/client.js:64:15) at /Users/me/blockchain-explorer/node_modules/grpc/src/client.js:583:15 code: 2, metadata: Metadata { _internal_repr: {} }, details: 'access denied: channel [] creator org [KivaMSP]' }

coderintherye (Wed, 07 Nov 2018 06:44:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fEFZYccmFLpWfLd8S) I suspect for starters that channel[] should have a channel name inside it...though not entirely sure

coderintherye (Wed, 07 Nov 2018 08:14:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Dwu3TetQMR6zp6i8R) This came down to using "path" method for "pem" method for referring to the path of the certificates

emiliomarin (Wed, 07 Nov 2018 10:44:41 GMT):
Has joined the channel.

emiliomarin (Wed, 07 Nov 2018 10:46:56 GMT):
Hi! I've been learning about explorer for some weeks now. I tested with a couple of samples I found online. Now I wanted to add it to my HL Composer network, custom BNA but the network itself is the sample one with one peer and one orderer. I am getting this error and not sure why... I tried a lot of stuff: E1106 11:59:21.357924814 6 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.

emiliomarin (Wed, 07 Nov 2018 10:47:45 GMT):
I do set the TLS certs correctly. If I do practically the same with the first-network sample I can get it to work

coderintherye (Wed, 07 Nov 2018 17:09:01 GMT):
@emiliomarin You might try with setting tlsEnabled to false, I did that and got it to work

nfrunza (Wed, 07 Nov 2018 20:25:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p7h2rzhiywduhJ7kt) @emiliomarin use explorer tag v0.3.5

MuthuT (Thu, 08 Nov 2018 06:31:52 GMT):
Has joined the channel.

titoe218 (Thu, 08 Nov 2018 07:21:42 GMT):
Hi, I run HE using docker, but always got this error, anyone help? `<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'substring' of undefined at processTLS_URL (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:66:21) at cloneConfig (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:58:19) at Object.createFabricClient (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:17:25) at Platform.buildClients (/opt/explorer/app/platform/fabric/Platform.js:99:38) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections`

titoe218 (Thu, 08 Nov 2018 07:21:42 GMT):
Hi, I run HE using docker, but always got this error, anyone help? `<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'substring' of undefined at processTLS_URL (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:66:21) at cloneConfig (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:58:19) at Object.createFabricClient (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:17:25) at Platform.buildClients (/opt/explorer/app/platform/fabric/Platform.js:99:38) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections`

titoe218 (Thu, 08 Nov 2018 07:21:42 GMT):
Hi, I run HE using docker, but got this error, anyone help? `<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ]`

titoe218 (Thu, 08 Nov 2018 07:21:42 GMT):
Hi, I run HE using docker, but got this error, anyone help? `error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 8 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections`

titoe218 (Thu, 08 Nov 2018 07:21:42 GMT):
Hi, I run HE using docker, but got this error, anyone help? ```error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 8 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections```

tballast (Thu, 08 Nov 2018 08:35:01 GMT):
@titoe218 Are you sure that you're connecting to the right endpoints? Furthermore, make sure that there is a long enough delay between starting the peers and trying to connect to them. I've run into issues in the past with that.

titoe218 (Thu, 08 Nov 2018 08:44:23 GMT):
@tballast How do you configure peer url, event url? This is mine `"url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com`

tballast (Thu, 08 Nov 2018 08:48:51 GMT):
Gotcha, do you have TLS properly enabled? If not, then you're going to want to change the grpcs to grpc. Furthermore, look in your docker-compose.yml file to find the endpoints. You should have something that resembles this in some way: ``` peer0.org1.example.com: container_name: peer0.org1.example.com extends: file: peer-base/peer-base.yaml service: peer-base environment: - CORE_PEER_ID=peer0.org1.example.com - CORE_PEER_ADDRESS=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 # - CORE_PEER_GOSSIP_ORGLEADER=true - CORE_PEER_LOCALMSPID=Org1MSP volumes: - /var/run/:/host/var/run/ - ./e2e-2Orgs/${CONFIG_FOLDER}/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/:/etc/hyperledger/msp/peer:ro ports: - 7051:7051 - 7053:7053 depends_on: - orderer.example.com ``` You can see that the address is peer0.org1.example.com:7051, so your URL should be ok, as long as your ports are correct.

titoe218 (Thu, 08 Nov 2018 09:28:58 GMT):
@tballast Thanks but I try many ways as you suggested but it still not working with same error :( any ideas?

tballast (Thu, 08 Nov 2018 10:16:20 GMT):
@titoe218 Sorry, not at the moment. I will probably be trying to get this working for myself soon though, and if I run into the issue and solve it I'll be sure to let you know.

titoe218 (Thu, 08 Nov 2018 10:21:15 GMT):
@tballast Thanks so much :thumbsup:

chaithanyaa (Thu, 08 Nov 2018 11:59:56 GMT):
Has joined the channel.

chaithanyaa (Thu, 08 Nov 2018 12:04:12 GMT):
I started my byfn network.. I want to configure explorer with multi org. I update my config.json. Am not able to do . Any help

chaithanyaa (Thu, 08 Nov 2018 12:04:23 GMT):
`{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/private/newhlfabric/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:8051", "events": "grpcs://127.0.0.1:8053", "server-hostname": "peer1.org1.example.com", "tls_cacerts": "/private/newhlfabric/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "admin": { "key": "/private/newhlfabric/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/private/newhlfabric/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "org2": { "name": "peerOrg2", "mspid": "Org2MSP", "peer1": { "requests": "grpcs://127.0.0.1:9051", "events": "grpcs://127.0.0.1:9053", "server-hostname": "peer0.org2.example.com", "tls_cacerts": "/private/newhlfabric/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:10051", "events": "grpcs://127.0.0.1:10053", "server-hostname": "peer1.org2.example.com", "tls_cacerts": "/private/newhlfabric/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt" }, "admin": { "key": "/private/newhlfabric/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore", "cert": "/private/newhlfabric/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } } }, "channel": "mychannel", "postgreSQL": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "postgres", "passwd": "postgres" }, "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpcs://127.0.0.1:7050", "tls_cacerts":"/private/newhlfabric/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/private/newhlfabric/fabric-samples/bin", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" }`

chaithanyaa (Thu, 08 Nov 2018 12:05:05 GMT):
error `TypeError: Cannot read property 'size' of undefined at Platform.initialize (/private/newhlfabric/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections `

nfrunza (Thu, 08 Nov 2018 13:12:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KiEhpKjYcvMT8ZohK) @titoe218 Thanks for posting, would you be able to show your config.json ?

nfrunza (Thu, 08 Nov 2018 13:14:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=azAGgcurdzrvYNT9j) @chaithanyaa thank you for posting, if i'm not wrong you created a fabric network based on fabric-samples/first-network ? please verify your network

lcj (Thu, 08 Nov 2018 13:28:39 GMT):
Has joined the channel.

dcasado (Thu, 08 Nov 2018 15:41:49 GMT):
Has left the channel.

titoe218 (Fri, 09 Nov 2018 01:22:24 GMT):
@nfrunza This is my config.json. My network have 1 org with 2 anchor peers. `{ "network-configs": { "mynetwork": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {}, "peer1.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "30000", "eventHub": "30000", "eventReg": "30000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://0.0.0.0:7051", "eventUrl": "grpcs://0.0.0.0:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "url": "grpcs://0.0.0.0:8051", "eventUrl": "grpcs://0.0.0.0:8053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://0.0.0.0:7050" } } } }, "configtxgenToolPath": "/home/titoe/fabric-samples/bin", "license": "Apache-2.0" }`

titoe218 (Fri, 09 Nov 2018 01:22:24 GMT):
@nfrunza This is my config.json. My network have 1 org with 2 anchor peers. ```{ "network-configs": { "mynetwork": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {}, "peer1.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "30000", "eventHub": "30000", "eventReg": "30000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://0.0.0.0:7051", "eventUrl": "grpcs://0.0.0.0:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "url": "grpcs://0.0.0.0:8051", "eventUrl": "grpcs://0.0.0.0:8053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://0.0.0.0:7050" } } } }, "configtxgenToolPath": "/home/titoe/fabric-samples/bin", "license": "Apache-2.0" }```

titoe218 (Fri, 09 Nov 2018 01:28:02 GMT):
@nfrunza This is my blockchain network docker-compose file (just a part) ``` ```

titoe218 (Fri, 09 Nov 2018 01:28:02 GMT):
@nfrunza This is my blockchain network docker-compose file (just a part) ``` orderer.example.com: container_name: orderer.example.com image: hyperledger/fabric-orderer:1.2.0 environment: - ORDERER_GENERAL_LOGLEVEL=INFO - ORDERER_GENERAL_LISTENADDRESS=0.0.0.0 - ORDERER_GENERAL_GENESISMETHOD=file - ORDERER_GENERAL_GENESISFILE=/etc/hyperledger/configtx/orderer.genesis.block - ORDERER_GENERAL_LOCALMSPID=OrdererMSP - ORDERER_GENERAL_LOCALMSPDIR=/etc/hyperledger/crypto/orderer/msp - ORDERER_GENERAL_TLS_ENABLED=true - ORDERER_GENERAL_TLS_PRIVATEKEY=/etc/hyperledger/crypto/orderer/tls/server.key - ORDERER_GENERAL_TLS_CERTIFICATE=/etc/hyperledger/crypto/orderer/tls/server.crt - ORDERER_GENERAL_TLS_ROOTCAS=[/etc/hyperledger/crypto/orderer/tls/ca.crt, /etc/hyperledger/crypto/peerOrg1/tls/ca.crt] #, /etc/hyperledger/crypto/peerOrg2/tls/ca.crt] working_dir: /opt/gopath/src/github.com/hyperledger/fabric command: orderer ports: - 7050:7050 networks: mynetwork: aliases: - orderer.example.com peer0.org1.example.com: container_name: peer0.org1.example.com extends: file: peer-base.yaml service: peer-base environment: - CORE_PEER_ID=peer0.org1.example.com - CORE_PEER_LOCALMSPID=MISAMSP - CORE_PEER_ADDRESS=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 volumes: ports: - 7051:7051 - 7053:7053 depends_on: - orderer.example.com links: - orderer.example.com networks: mynetwork: aliases: - peer0.example.com ```

nfrunza (Fri, 09 Nov 2018 03:16:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=T2LbHLM4YQttXK7vy) @titoe218 please update to be similar with the below, make sure you do run first $./deploy_explorer.sh --clean , example config.json: { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer1.org1.example.com:7051", "eventUrl": "grpcs://peer1.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }, "peer0.org2.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org2.example.com:7051", "eventUrl": "grpcs://peer0.org2.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" } }, "peer1.org2.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt" }, "url": "grpcs://peer1.org2.example.com:7051", "eventUrl": "grpcs://peer1.org2.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer1.org2.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://orderer.example.com:7050" } } } }, "configtxgenToolPath": "/home/fabric-path/workspace/fabric-samples/bin", "license": "Apache-2.0" }

titoe218 (Fri, 09 Nov 2018 03:53:13 GMT):
@nfrunza I got new error, phewww. This error I already got from beginning, so I found config.json in app/platform/fabric and change to config.json above :upside_down:. Note that my network has 1 org with 2 anchor peers and 1 orderer. ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'substring' of undefined at processTLS_URL (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:66:21) at cloneConfig (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:58:19) at Object.createFabricClient (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:17:25) at Platform.buildClients (/opt/explorer/app/platform/fabric/Platform.js:99:38) at at process._tickCallback (internal/process/next_tick.js:188:7) ```

titoe218 (Fri, 09 Nov 2018 03:53:13 GMT):
@nfrunza I got new error, phewww. Actually this error I already got from beginning, so I found config.json in app/platform/fabric and change to config.json above :upside_down:. Note that my network has 1 org with 2 anchor peers and 1 orderer. ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'substring' of undefined at processTLS_URL (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:66:21) at cloneConfig (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:58:19) at Object.createFabricClient (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:17:25) at Platform.buildClients (/opt/explorer/app/platform/fabric/Platform.js:99:38) at at process._tickCallback (internal/process/next_tick.js:188:7) ```

nfrunza (Fri, 09 Nov 2018 04:59:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oXecyzBwN2MADiisQ) @titoe218 let me know your progress

coderintherye (Fri, 09 Nov 2018 05:00:43 GMT):
Has left the channel.

titoe218 (Fri, 09 Nov 2018 05:04:39 GMT):
@nfrunza first, I build network with 2 peers & 1 orderer, use go sdk to install chaincode, then run command "./deploy_explorer.sh --clean", and finally build HE in docker, everything seems ok, but I view container "blockchain-explorer" 's log it logs some information above

chaithanyaa (Fri, 09 Nov 2018 05:35:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6KnQLHB6gm52iso5o) @nfrunza @nfrunza yes i started fabirc-samples/first-network/byfn.sh for multi org. My fabric Version: 1.2.1 and explorer version 0.3.7 .. I have given my config,json and the error . I verified my network and docker logs ..nothing wrong with them. Can you provide me working config.json for mutliorg.? kindly help me ..

titoe218 (Fri, 09 Nov 2018 09:15:48 GMT):
@nfrunza I have fixed above error ('Cannot read property 'substring'...) but now it turn back to error ``` ```

titoe218 (Fri, 09 Nov 2018 09:15:48 GMT):
@nfrunza I have fixed above error ('Cannot read property 'substring'...) but now it turn back to error ``` error: [Remote.js]: Error: Failed to connect before the deadline error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 8 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully ```

titoe218 (Fri, 09 Nov 2018 10:30:56 GMT):
I have fixed above error by change localhost on url, eventUrl to my machine ip address, phewww

chandrika (Fri, 09 Nov 2018 14:51:43 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: invalid message format at Connection.parseE (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:594:20) name: 'error', length: 74, severity: 'ERROR', code: '08P01', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'pqformat.c', line: '652', routine: 'pq_getmsgend' } <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [1]+ Done node sync.js $1 $2 >> $SYNC_LOG_CONSOLE_PATH 2>&1

chandrika (Fri, 09 Nov 2018 14:51:43 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: invalid message format at Connection.parseE (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:594:20) name: 'error', length: 74, severity: 'ERROR', code: '08P01', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'pqformat.c', line: '652', routine: 'pq_getmsgend' } <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [1]+ Done node sync.js $1 $2 >> $SYNC_LOG_CONSOLE_PATH 2>&1

chandrika (Fri, 09 Nov 2018 15:17:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HiNt6DJKYify8CG5f) @nfrunza .. I somehow managed to change my config.json and now the previous error is not coming, But the new error is now as follows which I found from the folder - /logs/sync/console/console_xxx_xxx.log

chandrika (Fri, 09 Nov 2018 15:17:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HiNt6DJKYify8CG5f) @nfrunza .. I somehow managed to change my config.json and now the previous error is not coming, But the new error is now as follows which I found from the folder - /logs/sync/console/console_xxx_xxx.log

chandrika (Fri, 09 Nov 2018 15:36:53 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: invalid message format at Connection.parseE (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:594:20) name: 'error', length: 74, severity: 'ERROR', code: '08P01', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'pqformat.c', line: '652', routine: 'pq_getmsgend' } <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [1]+ Done node sync.js $1 $2 >> $SYNC_LOG_CONSOLE_PATH 2>&1

nfrunza (Fri, 09 Nov 2018 15:39:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ToSAkiRe8Di4ETBGD) @titoe218 were you able to see explorer dashboard?

nfrunza (Fri, 09 Nov 2018 15:40:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=M49gea5DxN2GtiggA) @chandrika did you install DB script?

nfrunza (Fri, 09 Nov 2018 15:42:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=M49gea5DxN2GtiggA) @chandrika please run createDb.sh script, see README.md

nfrunza (Fri, 09 Nov 2018 15:45:25 GMT):
Dear community we need contributors for HL Explorer, we are very limited in resources

gioannou983 (Fri, 09 Nov 2018 18:49:33 GMT):
Has joined the channel.

gioannou983 (Fri, 09 Nov 2018 18:51:56 GMT):
Hi, any hints on what that error means when running ./start.sh? (node:14720) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackag eDefinition instead

nfrunza (Fri, 09 Nov 2018 21:12:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WLY9a8Z23Mn4674Ri) @gioannou983 i think someone suggested to ignore

nfrunza (Fri, 09 Nov 2018 21:12:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WLY9a8Z23Mn4674Ri) @gioannou983 i think someone suggested to ignore, are you able to run explorer?

nfrunza (Fri, 09 Nov 2018 21:13:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rtMA66XHRztJbj3CF) which errors in logs?

titoe218 (Sat, 10 Nov 2018 01:08:47 GMT):
@nfrunza Yess.

Randyshu2018 (Sat, 10 Nov 2018 05:57:17 GMT):
HI.the channel data only sync when restart? I have trouble with the channel ,when a new block arrived,the block and transaction module sync correctly while the channel changed nothing. ps:blockchain-explorer version:release-3.5

Randyshu2018 (Sat, 10 Nov 2018 06:09:20 GMT):
The Channel data is not synchronized in real time in release-3.5,right?

nfrunza (Sat, 10 Nov 2018 06:44:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QJQQMiqfazRu25qJa) @Randyshu2018 use v0.3.7.1

AkbarAgha (Sat, 10 Nov 2018 07:59:48 GMT):
fabric-ca

lotty02cho (Mon, 12 Nov 2018 00:53:32 GMT):
Has joined the channel.

lotty02cho (Mon, 12 Nov 2018 00:54:42 GMT):
Hi, I want to run blockchain-explorer using byfn network, but the problem is it makes error. `postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: util.promisify is not a function at Object. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.5/app/platform/fabric/service/channelService.js:8:19) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.5/app/platform/fabric/FabricClient.js:14:22) at Module._compile (module.js:571:32) (node:49309) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Received kill signal, shutting down gracefully Closed out connections` Does anybody know about this issues? Thanks in advance.

lotty02cho (Mon, 12 Nov 2018 00:54:42 GMT):
Hi, I want to run blockchain-explorer using byfn network, but the problem is it makes error. ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: util.promisify is not a function at Object. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.5/app/platform/fabric/service/channelService.js:8:19) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.5/app/platform/fabric/FabricClient.js:14:22) at Module._compile (module.js:571:32) (node:49309) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Received kill signal, shutting down gracefully Closed out connections ``` Does anybody know about this issues? Thanks in advance.

push1st1k (Mon, 12 Nov 2018 06:04:23 GMT):
@lotty02cho please upgrade your Node.js to 8, it should help.

chandrika (Mon, 12 Nov 2018 06:13:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rtMA66XHRztJbj3CF) @nfrunza Hi nfrunza... I did run ./createdb.sh script before running the start script ./start.sh. But still getting the same error as below.. Please suggest!

chandrika (Mon, 12 Nov 2018 06:13:53 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Please open web browser to access :http://localhost:8080/ pid is 25260 postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] Insert sql is INSERT INTO channel ( "name","createdt","blocks","trans","channel_hash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO peer ( "mspid","requests","events","server_hostname","channel_genesis_hash","peer_type" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer_ref_channel ( "peerid","channelid" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer ( "mspid","requests","events","server_hostname","channel_genesis_hash","peer_type" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer_ref_channel ( "peerid","channelid" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer ( "mspid","requests","events","server_hostname","channel_genesis_hash","peer_type" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO peer_ref_channel ( "peerid","channelid" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 3 Insert sql is INSERT INTO peer ( "mspid","requests","server_hostname","channel_genesis_hash","peer_type" ) VALUES( $1,$2,$3,$4,$5 ) RETURNING *; INSERT ID: 4 Insert sql is INSERT INTO peer_ref_channel ( "peerid","channelid" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 4 Insert sql is INSERT INTO peer ( "mspid","requests","server_hostname","channel_genesis_hash","peer_type" ) VALUES( $1,$2,$3,$4,$5 ) RETURNING *; INSERT ID: 5 Insert sql is INSERT INTO peer_ref_channel ( "peerid","channelid" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 5 Insert sql is INSERT INTO peer ( "mspid","requests","server_hostname","channel_genesis_hash","peer_type" ) VALUES( $1,$2,$3,$4,$5 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO peer_ref_channel ( "peerid","channelid" ) VALUES( $1,$2 ) RETURNING *; INSERT ID: 6 Insert sql is INSERT INTO chaincodes ( "name","version","path","txcount","createdt","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6 ) RETURNING *; INSERT ID: 10 Insert sql is INSERT INTO peer_ref_chaincode ( "chaincodeid","cc_version","peerid","channelid" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 1 Insert sql is INSERT INTO peer_ref_chaincode ( "chaincodeid","cc_version","peerid","channelid" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 2 Insert sql is INSERT INTO peer_ref_chaincode ( "chaincodeid","cc_version","peerid","channelid" ) VALUES( $1,$2,$3,$4 ) RETURNING *; INSERT ID: 3 <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: invalid message format at Connection.parseE (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:594:20) name: 'error', length: 74, severity: 'ERROR', code: '08P01', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'pqformat.c', line: '652', routine: 'pq_getmsgend' } <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

Purbaja (Mon, 12 Nov 2018 07:14:07 GMT):
Has joined the channel.

gioannou983 (Mon, 12 Nov 2018 07:16:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=N29BWCX7fSZBiShbe) @nfrunza @nfrunza When I navigate to localhost:8080 I can see the Hyperleger Explorer logo for a couple of seconds and then it goes to a blank page. I am going to try it again, because I did have some conflicts in npm pakcages though.

gioannou983 (Mon, 12 Nov 2018 07:16:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=N29BWCX7fSZBiShbe) @nfrunza When I navigate to localhost:8080 I can see the Hyperleger Explorer logo for a couple of seconds and then it goes to a blank page. I am going to try it again, because I did have some conflicts in npm pakcages though.

chandrika (Mon, 12 Nov 2018 09:12:13 GMT):
@nfrunza .. also additionally, I would like to add that my explorer is getting started but due to the error mentioned above in my earlier message, all the chaincodes and the blocks and transactions are not getting loaded in postgresql database, it seems! Need your expert guidance please...

chandrika (Mon, 12 Nov 2018 09:12:19 GMT):
Thanks, Chandrika

nfrunza (Mon, 12 Nov 2018 13:32:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=E5zSGHniZ7rbGmo4r) @push1st1k thank you Alex, @lotty02cho , please update as Alex suggested to node 8

nfrunza (Mon, 12 Nov 2018 13:32:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=E5zSGHniZ7rbGmo4r) @push1st1k thank you Alex, @lotty02cho , please update as Alex suggested to node 8

nfrunza (Mon, 12 Nov 2018 13:34:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YEHF7GRq6So7snNC9) @chandrika please let me knw: explorer version you're using? do you have in your message large data, example would be files, images ? or do you have private data?

nfrunza (Mon, 12 Nov 2018 13:34:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YEHF7GRq6So7snNC9) @chandrika please let me knw: explorer version you're using? do you have in your message large data, example would be files, images ? or do you have private data?

chandrika (Mon, 12 Nov 2018 15:37:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=423HHGmXSK7qcqPJZ) @nfrunza I am currently using explorer version 3.7 and yes I am using private data.

wuqilv (Mon, 12 Nov 2018 16:32:28 GMT):
Has joined the channel.

wuqilv (Mon, 12 Nov 2018 16:42:17 GMT):
:neutral_face:Does anyone encountered this problem as "TypeError xxx is not a function" when using the explore by the following step? ```bash node main.js ``` ps: node version 8.12.0 blockchain-explorer tag:3.8.0 fabric-client 1.3.0 fabric-ca-client 1.3.0 Network is fabric v1.3.0 ```text postgres://postgres:password@127.0.0.1:5432/fabricexplorer (node:31996) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Please open web browser to access :http://localhost:8080/ pid is 31996 postgres://postgres:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] (node:32016) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError: this.client.hfc_client.getEventHub is not a function at FabricEvent.createPeerEventHub (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:36:48) at FabricEvent.initialize (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:18:10) at SyncPlatform.initialize (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:109:27) at at process._tickCallback (internal/process/next_tick.js:189:7) <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError: this.peerEventHub.disconnect is not a function at FabricEvent.disconnectEventHubs (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135:25) at SyncPlatform.destroy (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:166:21) at Synchronizer.close (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/Synchronizer.js:77:21) at shutDown (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/sync.js:30:18) at process.on (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/sync.js:55:3) at emitTwo (events.js:126:13) at process.emit (events.js:214:7) at emitPendingUnhandledRejections (internal/process/promises.js:108:22) at process._tickCallback (internal/process/next_tick.js:190:7) <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> /opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135 this.peerEventHub.disconnect(); ^ TypeError: this.peerEventHub.disconnect is not a function at FabricEvent.disconnectEventHubs (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135:25) at SyncPlatform.destroy (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:166:21) at Synchronizer.close (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/Synchronizer.js:77:21) at shutDown (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/sync.js:30:18) at process.on (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/sync.js:66:3) at emitOne (events.js:116:13) at process.emit (events.js:211:7) at process._fatalException (bootstrap_node.js:391:26) ```

LegoEngineering (Mon, 12 Nov 2018 19:30:59 GMT):
Has joined the channel.

nfrunza (Mon, 12 Nov 2018 20:58:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ymRgfwgvib7pAKB7S) @Avery 8 if you updated package.josn to fabric-client-1.3.0 and fabric-ca-client 1.3 will not work

jtwalker2000 (Mon, 12 Nov 2018 20:59:19 GMT):
Hi - I'm trying to connect to a fabcar sample network v1.3 , which is up and running. I've gone through the Fabric install steps for Explorer , updated the keys in config.json. When I launch explorer , it does not launch - I've added the console- log file message - any assistance appreciated: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** (node:29756) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully

nfrunza (Mon, 12 Nov 2018 21:11:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BhL3qQJQ3Zn8mogBK) @jtwalker2000 try $pkill node , rerun createDB.sh

jtwalker2000 (Mon, 12 Nov 2018 21:13:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cEhrxJqKwrRicQ2nX) @nfrunza Ok thanks, I'll give it a try

jtwalker2000 (Mon, 12 Nov 2018 21:44:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RkqsrRemKmPZzDF8m) thx but same error logged

wuqilv (Tue, 13 Nov 2018 03:00:16 GMT):
@nfrunza the explorer will release for 1.3.0?

nfrunza (Tue, 13 Nov 2018 13:19:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=evwETb3zGMuJCmpjh) @jtwalker2000 i haven't tested with fabcar, i think it has fabric-ca server, so that could be the probelm

yigitpolat (Tue, 13 Nov 2018 15:50:33 GMT):
Has joined the channel.

fdu (Tue, 13 Nov 2018 16:05:21 GMT):
Has joined the channel.

nfrunza (Tue, 13 Nov 2018 18:08:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wSntsn5vCRqDXQshs) @Avery 8 we do not have resources , we are looking for contributors, would you be able to contribute ?

kisna (Tue, 13 Nov 2018 21:59:21 GMT):
have fabric explorer up and running on my private cluster, however it was only showing client-1 peers from one org, also the orderer org when I add client-2 MSP, other ORG peers for this channel, and everywhere else in config.json, the *explorer dashboard does not show all the peers*

kisna (Tue, 13 Nov 2018 21:59:21 GMT):
have fabric explorer up and running on my private cluster, however it was only showing client-1 peers from one org, also the orderer org when I add client-2 MSP, other ORG peers for this channel, and everywhere else in config.json, the *explorer dashboard does not show all the peers* on restart

kisna (Tue, 13 Nov 2018 21:59:21 GMT):
have fabric explorer up and running on my private cluster, however it was only showing client-1 peers from one org which is also the orderer org when I add client-2 MSP, other ORG peers for this channel, and everywhere else in config.json, the *explorer dashboard does not show all the peers* on restart

kisna (Tue, 13 Nov 2018 21:59:21 GMT):
have fabric explorer up and running on my private cluster, however it was only showing client-1 peers from one org which is also the orderer org when I add the second org as client-2 MSP and its peers for this channel, and everywhere else in config.json, the *explorer dashboard does not show all the peers* on restart

sathiyakaruppiah (Wed, 14 Nov 2018 04:29:05 GMT):
Has joined the channel.

chandrika (Wed, 14 Nov 2018 06:14:16 GMT):
Hi nfrunza,

chandrika (Wed, 14 Nov 2018 06:16:03 GMT):
I am now trying to use "https://github.com/khanhnb/hyperledger-explorer" to have hyperledger explorer run in my HL network using docker compose file. But when I am staring my explorer using docker compose up -d, the log shows me error and container goes down. the error is as follwos -

chandrika (Wed, 14 Nov 2018 06:16:03 GMT):
I am now trying to use "https://github.com/khanhnb/hyperledger-explorer" to have hyperledger explorer run in my HL network using docker compose file. But when I am starting my explorer using docker compose up -d, the log shows me error and container goes down. the error is as follows -

chandrika (Wed, 14 Nov 2018 06:16:13 GMT):
[i] start explorer /explorer/src/blockchain-explorer/node_modules/fabric-client/lib/Client.js:684 async _createOrUpdateChannel(request, have_envelope) { ^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Unexpected identifier at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:542:28) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/explorer/src/blockchain-explorer/node_modules/fabric-client/index.js:25:18)

chandrika (Wed, 14 Nov 2018 06:16:33 GMT):
My docker-compose.yml file -

chandrika (Wed, 14 Nov 2018 06:16:34 GMT):
version: '2.1' #networks: # host: # name: host #Name of your Hyperledger Fabric's network services: hyperledger-explorer: container_name: hyperledger-explorer image: khanhnb/hyperledger-explorer build: . working_dir: /explorer/src volumes: - ./scripts:/explorer/src/scripts - ./blockchain-explorer:/explorer/src/blockchain-explorer - /home/ubuntu/DiscoverPoC/DiscoverTest/discover-network/crypto-config:/crypto-config ports: - 8080:8080 command: /bin/sh ./scripts/script.sh tty: true network_mode: "host"

chandrika (Wed, 14 Nov 2018 06:16:34 GMT):
version: '2.1' #networks: # host: # name: host #Name of your Hyperledger Fabric's network services: hyperledger-explorer: container_name: hyperledger-explorer image: khanhnb/hyperledger-explorer build: . working_dir: /explorer/src volumes: - ./scripts:/explorer/src/scripts - ./blockchain-explorer:/explorer/src/blockchain-explorer - /home/ubuntu/crypto-config:/crypto-config ports: - 8080:8080 command: /bin/sh ./scripts/script.sh tty: true network_mode: "host"

chandrika (Wed, 14 Nov 2018 06:17:12 GMT):
and my config.json is -

chandrika (Wed, 14 Nov 2018 06:17:32 GMT):
{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "fabric-path/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "fabric-path/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "fabric-path/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "host": "localhost", "port": "8080", "channel": "mychannel", "keyValueStore": "/tmp/fabric-client-kvs", "eventWaitTime": "30000", "mysql": { "host": "127.0.0.1", "port": "3306", "database": "fabricexplorer", "username": "root", "passwd": "123456" } }

chandrika (Wed, 14 Nov 2018 06:17:45 GMT):
Can you please help me?

chandrika (Wed, 14 Nov 2018 06:17:50 GMT):
Thanks, Chandrika

knagware9 (Wed, 14 Nov 2018 07:35:23 GMT):
Hi ,, sample config.json file is for 1 2 org setup...its not clear from document how to setup for 3 orgs

knagware9 (Wed, 14 Nov 2018 07:35:44 GMT):
earlier config.json was quite simple

knagware9 (Wed, 14 Nov 2018 07:36:36 GMT):
{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "org2": { "name": "peerOrg2", "mspid": "Org2MSP", "peer1": { "requests": "grpcs://127.0.0.1:8051", "events": "grpcs://127.0.0.1:8053", "server-hostname": "peer0.org2.example.com", "tls_cacerts": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "admin": { "key": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore", "cert": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } }, "org3": { "name": "peerOrg3", "mspid": "Org3MSP", "peer1": { "requests": "grpcs://127.0.0.1:9051", "events": "grpcs://127.0.0.1:9053", "server-hostname": "peer0.org3.example.com", "tls_cacerts": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt" }, "admin": { "key": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/keystore", "cert": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/signcerts" } } }, "channel": "mgrchannel", "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpcs://127.0.0.1:7050", "tls_cacerts":"/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/artifacts/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/kamlesh/work/src/github.com/hyperledger/Boeing-Poc/bin", "SYNC_START_DATE_FORMAT":"YYYY/MM/DD", "syncStartDate":"2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" }

knagware9 (Wed, 14 Nov 2018 07:59:22 GMT):

Screenshot from 2018-11-14 13-28-59.png

DeepakMule (Wed, 14 Nov 2018 11:18:48 GMT):
can we use latest explorer with HLF 1.1 ?

nfrunza (Wed, 14 Nov 2018 12:51:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EFq2Zy5rA9bs9WuZP) @chandrika Please clarify, you trying to "Run Hyperledger Explorer using Docker"?

nfrunza (Wed, 14 Nov 2018 12:52:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uMSJsFseQTuanS2C5) @DeepakMule no, you can use up to v.03.5.1 with 1.1

nfrunza (Wed, 14 Nov 2018 12:53:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WKco3asKtNKXSgpoM) @knagware9 i think you have have a typo in config.json, or malformed json, please use online tools to validate your json config

knagware9 (Wed, 14 Nov 2018 12:55:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zaw5cuCzcBkmSiWyt) @nfrunza Ok Thanks ..let me check

JonasM (Wed, 14 Nov 2018 15:44:49 GMT):
Has joined the channel.

kisna (Wed, 14 Nov 2018 18:40:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DF2NLWTLNwE8Jwvok) any update?

kisna (Wed, 14 Nov 2018 18:40:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DF2NLWTLNwE8Jwvok) any ideas, how to add new orgs/peers?

lotty02cho (Wed, 14 Nov 2018 23:55:20 GMT):
@push1st1k, @nfrunza Thank you, guys. I have an another problem, when I type `./start.sh` and run blockchain explorer. this error comes out like. ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections (node:36775) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError: this.client.hfc_client.getEventHub is not a function at FabricEvent.createPeerEventHub (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:36:48) at FabricEvent.initialize (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:18:10) at SyncPlatform.initialize (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:109:27) at at process._tickCallback (internal/process/next_tick.js:189:7) <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError: this.peerEventHub.disconnect is not a function at FabricEvent.disconnectEventHubs (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135:25) at SyncPlatform.destroy (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:166:21) at Synchronizer.close (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/Synchronizer.js:77:21) at shutDown (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/sync.js:30:18) at process.on (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/sync.js:55:3) at emitTwo (events.js:126:13) at process.emit (events.js:214:7) at emitPendingUnhandledRejections (internal/process/promises.js:108:22) at process._tickCallback (internal/process/next_tick.js:190:7) <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> /opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135 this.peerEventHub.disconnect(); ^ TypeError: this.peerEventHub.disconnect is not a function at FabricEvent.disconnectEventHubs (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135:25) at SyncPlatform.destroy (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:166:21) at Synchronizer.close (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/Synchronizer.js:77:21) at shutDown (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/sync.js:30:18) at process.on (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/sync.js:66:3) at emitOne (events.js:116:13) at process.emit (events.js:211:7) at process._fatalException (bootstrap_node.js:391:26) ``` when I enter 8080 port, it starts well, but I can't trace block event.

lotty02cho (Wed, 14 Nov 2018 23:58:05 GMT):

181115_block_flow.PNG

nfrunza (Thu, 15 Nov 2018 00:42:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sgXh2dgnytNpT2FeA) @lotty02cho It doesn't work with fabric-client-1.3, and fabric-ca-client-1.3

chandrika (Thu, 15 Nov 2018 03:20:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DmsBLK3KC6q6TuGX6) @nfrunza Yes.. this is the site I am currently referring to... https://github.com/khanhnb/hyperledger-explorer

nfrunza (Thu, 15 Nov 2018 03:32:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sTcyWDPpM7iaxwWq9) @chandrika this is not supported by us

nfrunza (Thu, 15 Nov 2018 03:34:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KED6Ln5FFvsuh6oFc) This is supported by hyperledger project https://github.com/hyperledger/blockchain-explorer

lotty02cho (Thu, 15 Nov 2018 04:17:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cQ9Mu8J47CqZa5bx6) @nfrunza I can find `package-lock.json` and fabric-client-1.3 is installed. So, I deleted project and pull new project in github. However, there is undefined something comes out. ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: undefined is not a function at Object. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/service/channelService.js:8:19) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/FabricClient.js:15:24) at Module._compile (module.js:571:32) (node:17848) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Received kill signal, shutting down gracefully Closed out connections ```

nishanthkp (Thu, 15 Nov 2018 05:32:37 GMT):
Has joined the channel.

nicezic (Thu, 15 Nov 2018 06:58:33 GMT):
Has joined the channel.

sathiyakaruppiah (Thu, 15 Nov 2018 07:28:22 GMT):
i managed to deploy hyperledger explorer v 3.7 on existing fabric v 1.2 , Node v 8.12, Ubuntu v 18.04 but I see 0 blocks and transactions, attached explorer dashboard screenshot and config file, please help advise what's wrong with this.

sathiyakaruppiah (Thu, 15 Nov 2018 07:32:38 GMT):

hyperledgerexplorer.jpg

sathiyakaruppiah (Thu, 15 Nov 2018 07:34:36 GMT):

config.json.txt

chandrika (Thu, 15 Nov 2018 07:35:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KED6Ln5FFvsuh6oFc) @nfrunza ok Thanks, Can you please then help me with the 3.7 version Hyperledger explorer? I could manage to start the explorer but it is taking 100% CPU utilization and making all chaincodes and peer node down. Any clue why it is happening and how to resolve this issue?

nfrunza (Thu, 15 Nov 2018 13:42:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e8uf3djesFoWxADmp) @chandrika do you see any data in dashboard, and or DB

hudson (Thu, 15 Nov 2018 14:06:22 GMT):
Has joined the channel.

nfrunza (Thu, 15 Nov 2018 15:42:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e8uf3djesFoWxADmp) @chandrika can you elaborate on "making all chaincodes and peer node down" ? please describe your environment: OS, fabric version, node version

JPonna (Thu, 15 Nov 2018 19:42:22 GMT):
Has joined the channel.

JPonna (Thu, 15 Nov 2018 22:05:03 GMT):
checking if some one has installed explorer on port other than 8080 while composer is installed on port 8080 on a single VM fabric network with 1 peer, 1 orderer and one cli node.

sathiyakaruppiah (Fri, 16 Nov 2018 08:16:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4Zz2pjCet9rjFmdra) @JPonna Hi, you can change the port at appconfig.json under blockchain-explorer folder if 8080 :worried:already in-use

sathiyakaruppiah (Fri, 16 Nov 2018 08:16:17 GMT):
Hi, you can change the port at appconfig.json under blockchain-explorer folder if 8080 already in-use

sathiyakaruppiah (Fri, 16 Nov 2018 08:19:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=scqGwNRtsCc4mkCcR) can someone help on my request please

AlbertCL (Fri, 16 Nov 2018 10:36:52 GMT):
Hi! I'm trying to deploy an Explorer instance joining an existing docker network. I have troubles configurating the file "config.json" that goes into /blockchain-explorer/examples//config.json The example says: https://github.com/hyperledger/blockchain-explorer/tree/master/examples/net1 "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, I have to add a client for every org? And where is "credentialStore_Org1/credential"? to change this path

AlbertCL (Fri, 16 Nov 2018 10:36:52 GMT):
Hi! I'm trying to deploy an Explorer instance joining an existing docker network. I have troubles configurating the file "config.json" that goes into /blockchain-explorer/examples//config.json The example says: https://github.com/hyperledger/blockchain-explorer/tree/master/examples/net1 ` "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } },` I have to add a client for every org? And where is "credentialStore_Org1/credential"? to change this path

AlbertCL (Fri, 16 Nov 2018 10:37:56 GMT):
Hi! I'm trying to deploy an Explorer instance joining an existing docker network. I have troubles configurating the file "config.json" that goes into /blockchain-explorer/examples//config.json The example says: https://github.com/hyperledger/blockchain-explorer/tree/master/examples/net1 ` "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } },` I have to add a client for every org? And where is "credentialStore_Org1/credential"? to change this path

tannatejas (Fri, 16 Nov 2018 10:54:02 GMT):
Has joined the channel.

chandrika (Fri, 16 Nov 2018 11:39:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=enaBdqtNMTXxt89F9) @nfrunza Yes . I can see the data in my dashboard as well in postgresql db But my system is getting very slow and when I ran the command "top" in my ubuntu box, it shows 100% CPU utilization. Within few mins, my peer containers got stopped including all my chaincodes.

chandrika (Fri, 16 Nov 2018 11:42:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6nfgs7qFD8BTdSnsD) @nfrunza As soon as my hyperledger explorer starts, I could view the data in the dashboard - blocks, transactions, nodes, channel, network, etc. But my system gets very slow. Within couple of minutes, peer container exists and all the chaincodes also stops. I am using Ubuntu 16.04, Fabric V1.2 and node version 8.9.4, nodejs version 8.12.0

krabradosty (Fri, 16 Nov 2018 11:47:36 GMT):
Hello. I've got error: ``` Error : Failed to connect client peer, please check the configuration and peer status ``` I think the problem with `clients` section, because it's not clear how to configure it. What is the purpose of this clients? What should I save to the `credentialStore` and `cryptoStore` directories?

krabradosty (Fri, 16 Nov 2018 11:47:36 GMT):
Hello. I've got error: ``` Error : Failed to connect client peer, please check the configuration and peer status ``` I think the problem with `clients` section, because it's not clear how to configure it. What is the purpose of this clients? What should I save to the `credentialStore` and `cryptoStore` directories? I use v0.3.7.1

AlbertCL (Fri, 16 Nov 2018 13:02:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xmwF76CsNWuxmYZtd) @krabradosty I have the same problems as you... You don't have to save nothing there, look at this error that i got:

AlbertCL (Fri, 16 Nov 2018 13:02:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xmwF76CsNWuxmYZtd) @krabradosty I have the same problems as you... You don't have to save nothing there, look at this error that i got: `error: [FileKeyValueStore.js]: constructor, error creating directory, code: EEXIST <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: EEXIST: file already exists, mkdir '/tmp/crypto/peerOrganizations/org1.hacera.com/client-1_Org1MSPAdmin' errno: -17, code: 'EEXIST', syscall: 'mkdir', path: '/tmp/crypto/peerOrganizations/org1.hacera.com/client-1_Org1MSPAdmin' } Received kill signal, shutting down gracefully ` I got it when I out this path: /tmp/crypto/peerOrganizations/org1.hacera.com/client-1_Org1MSPAdmin

nfrunza (Fri, 16 Nov 2018 13:29:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4Zz2pjCet9rjFmdra) @JPonna you can change port number here, blockchain-explorer/appconfig.json

nfrunza (Fri, 16 Nov 2018 13:34:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vHKFnREFMoQ8ZhPAZ) @chandrika we haven't noticed such performance issue, what is your environment specs?

krabradosty (Fri, 16 Nov 2018 13:42:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xmwF76CsNWuxmYZtd) I found logs that are written to the log-files very useful. Now I have an error: ``` Server hostname is not defined default peer [peer0.org1.example.com] in configuration ```

krabradosty (Fri, 16 Nov 2018 13:58:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PdquqAPJAaHmGZvJ5) @AlbertCL Search for your errors in the logs. I got lucky to solve the problem. Btw, how to redirect all Explorer logs to the console?

krabradosty (Fri, 16 Nov 2018 13:58:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PdquqAPJAaHmGZvJ5) @AlbertCL Search for your errors in the logs. I got lucky to solve the problem.

krabradosty (Fri, 16 Nov 2018 13:58:34 GMT):
Btw, how to redirect all Explorer logs to the console?

feitnomore (Fri, 16 Nov 2018 16:10:28 GMT):
Has joined the channel.

feitnomore (Fri, 16 Nov 2018 16:11:28 GMT):
I'm getting the following error: ``` [2018-11-16 16:06:47.862] [ERROR] FabricUtils - Server hostname is not defined default peer [blockchain-org1peer1] in configuration ```

feitnomore (Fri, 16 Nov 2018 16:11:33 GMT):
any ideas?

feitnomore (Fri, 16 Nov 2018 16:23:11 GMT):
do I need to have the hostname = to the default peer?

nfrunza (Fri, 16 Nov 2018 17:54:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cqavbKDA3HFtieQno) @feitnomore please describe your network, and where do you run explorer, locally or in a docker?

feitnomore (Fri, 16 Nov 2018 18:09:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tcN4JDYBBDbZcZQ2b) @nfrunza I'm running on kubernetes, with Hyperledger Fabric 1.3

feitnomore (Fri, 16 Nov 2018 18:10:01 GMT):
I'm getting a different error now...

feitnomore (Fri, 16 Nov 2018 18:11:21 GMT):
``` Error: "orderer" request parameter is missing and there are no orderers defined on this channel in the network configuration at Client.getTargetOrderer (/opt/explorer/node_modules/fabric-client/lib/Client.js:1775:12) at Channel.getGenesisBlock (/opt/explorer/node_modules/fabric-client/lib/Channel.js:768:39) at FabricClient.getGenesisBlock (/opt/explorer/app/platform/fabric/FabricClient.js:556:40) at FabricClient.initializeNewChannel (/opt/explorer/app/platform/fabric/FabricClient.js:287:30) at ```

feitnomore (Fri, 16 Nov 2018 18:11:26 GMT):
and my config.json is:

feitnomore (Fri, 16 Nov 2018 18:11:49 GMT):
{ "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "channel1", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "channel1": { "peers": { "peer0.org1.example.com": {}, "peer0.org2.example.com": {}, "peer0.org3.example.com": {}, "peer0.org4.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } }, "Org3MSP": { "mspid": "Org3MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/signcerts" } }, "Org4MSP": { "mspid": "Org4MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org4.example.com/users/Admin@org4.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org4.example.com/users/Admin@org4.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://blockchain-org1peer1:30110", "eventUrl": "grpc://blockchain-org1peer1:30111", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer0.org2.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "url": "grpc://blockchain-org2peer1:30110", "eventUrl": "grpc://blockchain-org2peer1:30111", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }, "peer0.org3.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt" }, "url": "grpc://blockchain-org3peer1:30110", "eventUrl": "grpc://blockchain-org3peer1:30111", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" } }, "peer0.org4.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org4.example.com/peers/peer0.org4.example.com/tls/ca.crt" }, "url": "grpc://blockchain-org4peer1:30110", "eventUrl": "grpc://blockchain-org4peer1:30111", "grpcOptions": { "ssl-target-name-override": "peer1.org2.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://blockchain-orderer:31010" } } } }, "configtxgenToolPath": "/fabric-path/workspace/fabric-samples/bin", "license": "Apache-2.0" } ``` ```

nfrunza (Fri, 16 Nov 2018 18:13:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=c2B3fcaf5ECevpiJt) @feitnomore do you run explorer in docker ?

feitnomore (Fri, 16 Nov 2018 18:13:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qQw5ZoHqQE4gGzCov) @nfrunza yes

nfrunza (Fri, 16 Nov 2018 19:39:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uD4qs3eopgE4AuY2d) @feitnomore please read this doc, https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md , at the end you can see an example of config

AlbertCL (Fri, 16 Nov 2018 20:03:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jE8rh6EeY6CovLnop) @krabradosty yes, but I have this one: `FabricUtils - Channels is not defined in configuration` and no idea

AlbertCL (Fri, 16 Nov 2018 20:03:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jE8rh6EeY6CovLnop) @krabradosty yes, but I have this one: `FabricUtils - Channels is not defined in configuration` and no idea because I'm copying from the config example

nfrunza (Fri, 16 Nov 2018 22:06:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YPpXQS969erYK6ABf) @AlbertCL verify channels you have in fabric using CLI, $peer channel list, then update the config.json with default channel. if you user explorer in docker see the , https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md

BellaAdams (Sat, 17 Nov 2018 00:40:33 GMT):
Has joined the channel.

AlbertCL (Sat, 17 Nov 2018 11:50:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vj5FwskRvTfJfK2er) @nfrunza Thanks nfruza, I'm getting now this error: `Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.`

AlbertCL (Sat, 17 Nov 2018 11:50:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vj5FwskRvTfJfK2er) @nfrunza Thanks nfruza, I'm getting now this error: `Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.` I think the config.json is ok

nfrunza (Sat, 17 Nov 2018 15:08:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zPk7X2PXb5CTbMSrz) @AlbertCL are you using fabric-ca in your network, if yes it will not work

AlbertCL (Sat, 17 Nov 2018 16:24:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JkT2yChDuYym2q62F) @nfrunza Yes I'm using it... It means that the Explorer is useless in a real Hyperledger enviornment?

nfrunza (Sat, 17 Nov 2018 16:35:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JDmRgxfs9xnTnatmJ) @AlbertCL 'yes, otherwise you make code change to use fabric-ca-client API, i thin fabcar sample has the example code

nfrunza (Sat, 17 Nov 2018 16:35:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JDmRgxfs9xnTnatmJ) @AlbertCL 'yes, otherwise you make code change to use fabric-ca-client API, i thin fabcar sample has the example code

feitnomore (Sat, 17 Nov 2018 17:44:44 GMT):
does explorer works with 1.3? I've managed to get it up and running with SSL false, but no data shows up

feitnomore (Sat, 17 Nov 2018 17:53:46 GMT):
I can share logs if needed

nfrunza (Sat, 17 Nov 2018 18:05:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Py792XeYmA6r5WFAM) @feitnomore try release-3.8 branch

feitnomore (Sat, 17 Nov 2018 18:05:50 GMT):
this is the app log: http://www.feitoza.com.br/hyperledger-explorer.txt

feitnomore (Sat, 17 Nov 2018 18:06:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2a9xSSNr7gu73tpKN) @nfrunza I have the logs here: http://www.feitoza.com.br/hyperledger-explorer.txt Do you think its really a version problem?

nfrunza (Sat, 17 Nov 2018 18:07:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zNp3ioCqXBHaFQmZa) @feitnomore it should not, i tested and it is working with fabric-1.3

nfrunza (Sat, 17 Nov 2018 18:07:29 GMT):
do you see the console.log ?

nfrunza (Sat, 17 Nov 2018 18:07:38 GMT):
'in console/ dir?

feitnomore (Sat, 17 Nov 2018 18:09:18 GMT):
the 1st time I've tried, yes... I stopped saying it was syncing

feitnomore (Sat, 17 Nov 2018 18:09:35 GMT):
waited a little, and removed docker, and created another one

feitnomore (Sat, 17 Nov 2018 18:09:56 GMT):
when I created another one, I haven't seen the syncing message anymore, however app is up, and the logs I've shared is for the 2nd time

nfrunza (Sat, 17 Nov 2018 18:10:02 GMT):
when you remove did you do ./deploy_explorer.sh --clean

feitnomore (Sat, 17 Nov 2018 18:10:18 GMT):
--clean = database?

nfrunza (Sat, 17 Nov 2018 18:10:35 GMT):
will clean the image

feitnomore (Sat, 17 Nov 2018 18:10:42 GMT):
ok, let me delete everything

nfrunza (Sat, 17 Nov 2018 18:10:45 GMT):
docker image

feitnomore (Sat, 17 Nov 2018 18:10:55 GMT):
oh

feitnomore (Sat, 17 Nov 2018 18:11:03 GMT):
I'm using the image from the docker hub

nfrunza (Sat, 17 Nov 2018 18:11:05 GMT):
explorer docker image

feitnomore (Sat, 17 Nov 2018 18:11:05 GMT):
not local one

nfrunza (Sat, 17 Nov 2018 18:11:12 GMT):
ok

nfrunza (Sat, 17 Nov 2018 18:11:31 GMT):
sorry have to go

feitnomore (Sat, 17 Nov 2018 18:11:33 GMT):
I'm not creating a local image... instead I'm getting it from hub.docker.com

feitnomore (Sat, 17 Nov 2018 18:13:29 GMT):
``` postgres://hppoc:password@explorer-db:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found Please open web browser to access :http://localhost:8080/ pid is 11 postgres://hppoc:password@explorer-db:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ```

feitnomore (Sat, 17 Nov 2018 19:27:04 GMT):
ok, I've managed to get it running... now I've got a question... I can only see the peer nodes from the Organization that is stated in the client configuration... is there any way I can see the whole network?

AlbertCL (Sat, 17 Nov 2018 20:07:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gebXLJcRXcHxMptQC) @nfrunza Than you very much! I'll check it!

feitnomore (Sat, 17 Nov 2018 20:41:14 GMT):
I've tried different configs on my explorer, but it only shows the peer for Org1MSP... Am I right assuming each organization should have its own Explorer? I can't seem to find a way to have mine to find the others...

chandrika (Mon, 19 Nov 2018 05:45:19 GMT):
chandrika

praveen.aloker (Mon, 19 Nov 2018 06:56:52 GMT):
Has joined the channel.

feitnomore (Mon, 19 Nov 2018 11:03:08 GMT):
noone?

yigitpolat (Mon, 19 Nov 2018 11:06:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=z9ZmJ8nnoNhQ8NLmn) @feitnomore Hey. How did you solve Error : [ 'Failed to connect client peer, please check the configuration and peer status' ]

yigitpolat (Mon, 19 Nov 2018 11:07:03 GMT):
I also have the same and stucked here

feitnomore (Mon, 19 Nov 2018 11:07:56 GMT):
Check you have the correct config.json running

yigitpolat (Mon, 19 Nov 2018 11:08:12 GMT):
Im note sure what should I write to client part

yigitpolat (Mon, 19 Nov 2018 11:08:38 GMT):
I dont know what is my client name

feitnomore (Mon, 19 Nov 2018 11:08:54 GMT):
if you are sure the config.json is correct, you may need to add the env var CORE_PEER_GOSSIP_EXTERNALENDPOINT pointing to you peer addr on the peer process

feitnomore (Mon, 19 Nov 2018 11:09:04 GMT):
here I use client-1

feitnomore (Mon, 19 Nov 2018 11:09:23 GMT):
client name I don't think is the problem... Orgs, Channel, and Peers should look the same as the network

yigitpolat (Mon, 19 Nov 2018 11:09:51 GMT):
okay let me check i hope i ll pass this error

feitnomore (Mon, 19 Nov 2018 11:54:01 GMT):
noone on the environment? I only see the peer from Org1MSP... I don't see orderer and I don't see the peers for other networks... Each org should have its own explorer?

yigitpolat (Mon, 19 Nov 2018 11:54:54 GMT):
Sorry I couldnt make that far

nfrunza (Mon, 19 Nov 2018 13:38:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9FACjSk6e4FfunJkk) @feitnomore what do you mean by other networks? can you please run from CLI command 1) $peer version 2) $peer channel list , let me know what you get by issuing these command

feitnomore (Mon, 19 Nov 2018 13:47:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Wmj38kmyKccwGrQZD) @nfrunza My explorer only shows the peers from org1... I have 4 orgs

feitnomore (Mon, 19 Nov 2018 13:48:26 GMT):
do I need to have 1 explorer for earch org?

feitnomore (Mon, 19 Nov 2018 14:00:07 GMT):
I can't see orderer, or peers from Org2, Org3 and Org4... should I run 1 explorer for each Org?

nfrunza (Mon, 19 Nov 2018 14:00:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tDj6j9Zxh67W5635e) @feitnomore can you please run the CLI comands?

feitnomore (Mon, 19 Nov 2018 14:01:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Wo4uhDkXCupvicFS7) @nfrunza where should I run it? in any peer?

feitnomore (Mon, 19 Nov 2018 14:02:56 GMT):
``` root@blockchain-org2peer1-d9cb747f-j24rd:/# peer version peer: Version: 1.3.0 Commit SHA: ab0a67a Go version: go1.10.4 OS/Arch: linux/amd64 Experimental features: false Chaincode: Base Image Version: 0.4.13 Base Docker Namespace: hyperledger Base Docker Label: org.hyperledger.fabric Docker Namespace: hyperledger ```

feitnomore (Mon, 19 Nov 2018 14:03:16 GMT):
this is peer1 on org2, this doesn't show up in my explorer

feitnomore (Mon, 19 Nov 2018 14:03:35 GMT):
``` Channels peers has joined: channel1 ```

feitnomore (Mon, 19 Nov 2018 14:03:42 GMT):
channel1 is the channel I'm using...

feitnomore (Mon, 19 Nov 2018 14:05:56 GMT):
the network is fine, I can run transactions on every peer

feitnomore (Mon, 19 Nov 2018 14:06:07 GMT):
not sure why those peers don't show up in explorer

nfrunza (Mon, 19 Nov 2018 14:06:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zHHQLd6BC2oFmpK6f) @feitnomore in config what do you have for: "*channels*": { "mychannel": { "peers": { "peer0.org1.example.com": {} },

feitnomore (Mon, 19 Nov 2018 14:07:37 GMT):
``` "channels": { "channel1": { "peers": { "blockchain-org1peer1": {}, "blockchain-org2peer1": {}, "blockchain-org3peer1": {}, "blockchain-org4peer1": {} }, "orderers": { "blockchain-orderer" : {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } } ```

feitnomore (Mon, 19 Nov 2018 14:07:55 GMT):
the only peer that shows up is blockchain-org1peer1

feitnomore (Mon, 19 Nov 2018 14:08:44 GMT):
i've tried this way too: ``` "channels": { "channel1": { "peers": { "blockchain-org1peer1": {} }, "orderers": { "blockchain-orderer" : {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } } ```

nfrunza (Mon, 19 Nov 2018 14:12:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6MKdpjnrdqc46MLBs) @feitnomore did you use fabric-samples for setting up your fabric network?

feitnomore (Mon, 19 Nov 2018 14:13:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6DXGyh8TFNPA3Eqhm) @nfrunza no... this is a network that was deployed by hand, is using chaincode example 02, balance transfer...

feitnomore (Mon, 19 Nov 2018 14:13:11 GMT):
so far, network is working pretty fine... 4 orgs, 1 peer each org...

feitnomore (Mon, 19 Nov 2018 14:15:34 GMT):
is there any magic I am missing?

nfrunza (Mon, 19 Nov 2018 14:16:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DRbLiq5ytGGCuxm6A) @feitnomore hwo did you define the rest of the peers, and organizations

feitnomore (Mon, 19 Nov 2018 14:16:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZMhAt4qvhsdMNAyj4) @nfrunza you mean explorer config.json or configtx?

nfrunza (Mon, 19 Nov 2018 14:16:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZMhAt4qvhsdMNAyj4) did you join the peers for channel1?

nfrunza (Mon, 19 Nov 2018 14:17:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DMYM4HvD46zAJqetu) @feitnomore no, in your fabric

feitnomore (Mon, 19 Nov 2018 14:17:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tFLX8YRvyKbTs9Jx9) @nfrunza of course, as I told you , I've got transactions going on fine... the command I've issued was on a peer that doesn't show up on explorer

feitnomore (Mon, 19 Nov 2018 14:17:49 GMT):
my explorer only shows blockchain-org1peer1

feitnomore (Mon, 19 Nov 2018 14:18:01 GMT):
I'll issue the command on blockchain-org4peer1 so that you can see

feitnomore (Mon, 19 Nov 2018 14:18:46 GMT):
``` 2018-11-19 14:17:25.112 UTC [msp] setupSigningIdentity -> DEBU 034 Signing identity expires at 2028-11-16 12:12:00 +0000 UTC 2018-11-19 14:17:25.113 UTC [msp] Validate -> DEBU 035 MSP Org4MSP validating identity 2018-11-19 14:17:25.113 UTC [msp] GetDefaultSigningIdentity -> DEBU 036 Obtaining default signing identity 2018-11-19 14:17:25.113 UTC [grpc] DialContext -> DEBU 037 parsed scheme: "" 2018-11-19 14:17:25.113 UTC [grpc] DialContext -> DEBU 038 scheme "" not registered, fallback to default scheme 2018-11-19 14:17:25.113 UTC [grpc] watcher -> DEBU 039 ccResolverWrapper: sending new addresses to cc: [{blockchain-org4peer1:30110 0 }] 2018-11-19 14:17:25.114 UTC [grpc] switchBalancer -> DEBU 03a ClientConn switching balancer to "pick_first" 2018-11-19 14:17:25.114 UTC [grpc] HandleSubConnStateChange -> DEBU 03b pickfirstBalancer: HandleSubConnStateChange: 0xc4203d9a10, CONNECTING 2018-11-19 14:17:25.115 UTC [grpc] HandleSubConnStateChange -> DEBU 03c pickfirstBalancer: HandleSubConnStateChange: 0xc4203d9a10, READY 2018-11-19 14:17:25.115 UTC [channelCmd] InitCmdFactory -> INFO 03d Endorser and orderer connections initialized 2018-11-19 14:17:25.115 UTC [msp/identity] Sign -> DEBU 03e Sign: plaintext: 0A9B070A5B08031A0B08F58BCBDF0510...631A0D0A0B4765744368616E6E656C73 2018-11-19 14:17:25.115 UTC [msp/identity] Sign -> DEBU 03f Sign: digest: 61663930770DC590F3AA565A94B97793C95CBD9A0ECF5A3F1FC8FE80C7C8D824 Channels peers has joined: channel1 ```

feitnomore (Mon, 19 Nov 2018 14:19:19 GMT):
``` root@blockchain-org4peer1-77bcf946ff-hwwvr:/# peer version peer: Version: 1.3.0 Commit SHA: ab0a67a Go version: go1.10.4 OS/Arch: linux/amd64 Experimental features: false Chaincode: Base Image Version: 0.4.13 Base Docker Namespace: hyperledger Base Docker Label: org.hyperledger.fabric Docker Namespace: hyperledger ```

feitnomore (Mon, 19 Nov 2018 14:19:34 GMT):
as you can see, the peer has joined the channel, and it can process transactions

feitnomore (Mon, 19 Nov 2018 14:20:02 GMT):
even more, my endorsement policy requires at least 1 peer from each org to endorse the transaction before accepting it

feitnomore (Mon, 19 Nov 2018 14:20:16 GMT):
and, since I have trnasactions being accepted, it means the peers are communication well

nfrunza (Mon, 19 Nov 2018 14:24:40 GMT):
can you list what you have under /crypto-config/peerOrganizations ?

feitnomore (Mon, 19 Nov 2018 14:24:51 GMT):
sure

nfrunza (Mon, 19 Nov 2018 14:25:21 GMT):
one how did you update the channel?

feitnomore (Mon, 19 Nov 2018 14:25:40 GMT):
``` [root@bclab crypto-config]# ls ordererOrganizations peerOrganizations [root@bclab crypto-config]# cd peerOrganizations/ [root@bclab peerOrganizations]# ls org1.example.com org2.example.com org3.example.com org4.example.com [root@bclab peerOrganizations]# ```

feitnomore (Mon, 19 Nov 2018 14:26:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ffwBAgtZ7vZ67YMaq) @nfrunza what you mean by update channel?

nfrunza (Mon, 19 Nov 2018 14:32:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hXDKSLbWAHRnPPJHZ) @feitnomore now 1) $cd org4.example.com/peers the ls -l

nfrunza (Mon, 19 Nov 2018 14:32:42 GMT):
then ls -l

feitnomore (Mon, 19 Nov 2018 14:33:18 GMT):
``` [root@bclab peerOrganizations]# cd org4.example.com/ [root@bclab org4.example.com]# ls ca msp peers tlsca users [root@bclab org4.example.com]# cd peers/ [root@bclab peers]# ls peer0.org4.example.com peer1.org4.example.com [root@bclab peers]# ```

feitnomore (Mon, 19 Nov 2018 14:33:56 GMT):
blockchain-org4peer1 should be peer0.org4.example.com

nfrunza (Mon, 19 Nov 2018 14:36:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vbzTyF25sGY4BsKXN) @feitnomore you asking me "blockchain-org4peer1 should be peer0.org4.example.com "?

feitnomore (Mon, 19 Nov 2018 14:36:47 GMT):
no, I am not asking

feitnomore (Mon, 19 Nov 2018 14:36:50 GMT):
I am telling

nfrunza (Mon, 19 Nov 2018 14:37:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=z4AHtFAGukNiQnKEy) @feitnomore you define as "peers": { "blockchain-org1peer1": {}, "blockchain-org2peer1": {}, "blockchain-org3peer1": {}, "blockchain-org4peer1": {} },

nfrunza (Mon, 19 Nov 2018 14:37:49 GMT):
and you have different

feitnomore (Mon, 19 Nov 2018 14:38:15 GMT):
if I use peer0.org1.example.com it wont work

feitnomore (Mon, 19 Nov 2018 14:38:21 GMT):
explorer wont even start

nfrunza (Mon, 19 Nov 2018 14:39:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=42pMexnbBskc2ejLd) @feitnomore what errors you get when you define as in fabric network?

nfrunza (Mon, 19 Nov 2018 14:39:47 GMT):
do you see any blocks and transactions in deashboard of explorer

feitnomore (Mon, 19 Nov 2018 14:39:52 GMT):
I see

feitnomore (Mon, 19 Nov 2018 14:39:59 GMT):
blocks, transactions, everything

feitnomore (Mon, 19 Nov 2018 14:40:54 GMT):

Clipboard - November 19, 2018 12:40 PM

nfrunza (Mon, 19 Nov 2018 14:41:02 GMT):
what you define in config.json for "peers": ?

feitnomore (Mon, 19 Nov 2018 14:41:37 GMT):
``` "peers": { "blockchain-org1peer1": { "tlsCACerts": { "path": "/shared/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://blockchain-org1peer1:30110", "eventUrl": "grpc://blockchain-org1peer1:30111", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "blockchain-org2peer1": { "tlsCACerts": { "path": "/shared/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "url": "grpc://blockchain-org2peer1:30110", "eventUrl": "grpc://blockchain-org2peer1:30111", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" } }, "blockchain-org3peer1": { "tlsCACerts": { "path": "/shared/crypto-config/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt" }, "url": "grpc://blockchain-org3peer1:30110", "eventUrl": "grpc://blockchain-org3peer1:30111", "grpcOptions": { "ssl-target-name-override": "peer0.org3.example.com" } }, "blockchain-org4peer1": { "tlsCACerts": { "path": "/shared/crypto-config/peerOrganizations/org4.example.com/peers/peer0.org4.example.com/tls/ca.crt" }, "url": "grpc://blockchain-org4peer1:30110", "eventUrl": "grpc://blockchain-org4peer1:30111", "grpcOptions": { "ssl-target-name-override": "peer0.org4.example.com" } } } ```

nfrunza (Mon, 19 Nov 2018 14:49:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oXnyECxr57kd38wma) you have this url: "url": "grpc://blockchain-org1peer1:30110",

feitnomore (Mon, 19 Nov 2018 14:49:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pN5xraujd6uiKgAxr) @nfrunza yes, of course... :-)

feitnomore (Mon, 19 Nov 2018 14:50:14 GMT):
and all the others...

feitnomore (Mon, 19 Nov 2018 14:50:52 GMT):
and it actually works... blockchain-org1peer1:30110 is the only peer that actually shows up in the explorer

feitnomore (Mon, 19 Nov 2018 14:51:34 GMT):

Clipboard - November 19, 2018 12:51 PM

nfrunza (Mon, 19 Nov 2018 14:56:39 GMT):
i think this is from the config.json

feitnomore (Mon, 19 Nov 2018 14:57:02 GMT):
?

feitnomore (Mon, 19 Nov 2018 15:00:11 GMT):
I can share my complete config.json if that is the case

nfrunza (Mon, 19 Nov 2018 15:02:24 GMT):
ok, please

feitnomore (Mon, 19 Nov 2018 15:02:44 GMT):
i'll upload it so that we don't have a mess here

feitnomore (Mon, 19 Nov 2018 15:02:46 GMT):
just a sec

feitnomore (Mon, 19 Nov 2018 15:05:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xS4e7ihCPimZtWbJG) @nfrunza http://pegasus.feitoza.com.br/config.json

nfrunza (Mon, 19 Nov 2018 15:10:55 GMT):
config looks ok, please create a jira and someone will take a look

nfrunza (Mon, 19 Nov 2018 15:11:20 GMT):
FYI, we do not have any resources at the moment

feitnomore (Mon, 19 Nov 2018 15:12:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4usd4T6NY8t42cG8J) @nfrunza where can I get jira opened? Is there any detail I should look for in the logs?

nfrunza (Mon, 19 Nov 2018 15:13:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6W4QmLE6ZrrKd2aLQ) @feitnomore we have 3 types of the logs, logs/db, /app, /console from the root project logs

feitnomore (Mon, 19 Nov 2018 15:17:21 GMT):
where do I open the jira?

nfrunza (Mon, 19 Nov 2018 15:20:15 GMT):
do you have linux foundation ID?

feitnomore (Mon, 19 Nov 2018 15:20:23 GMT):
nope

feitnomore (Mon, 19 Nov 2018 15:20:30 GMT):
cant open in github?

nfrunza (Mon, 19 Nov 2018 15:22:11 GMT):
github is for source code

tkuhrt (Mon, 19 Nov 2018 17:09:35 GMT):
@feitnomore : https://jira.hyperledger.org, which requires you to login using a Linux Foundation ID, which you can obtain from https://identity.linuxfoundation.org. You can see a video on getting a Linux Foundation ID at: https://www.youtube.com/watch?v=EEc4JRyaAoA

feitnomore (Mon, 19 Nov 2018 17:13:31 GMT):
I'm rebuilding the env

feitnomore (Mon, 19 Nov 2018 18:37:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=brNmt6q5xd8BcqDzH) @tkuhrt is it worth the job of creating an account to file this? Will anyone even look at it? I've re-deployed a brand new environment with 4 orgs, 2 peers per org, and my Explorer still ony see the first peer of the list...

tkuhrt (Mon, 19 Nov 2018 22:35:56 GMT):
@feitnomore : someone once said "the worst thing you can do for an open source project is to find a bug and not report it". You may be having the same problem as someone else. With a bug report, the more people that report it, the more likely it is that it will get looked at and fixed. I know it is a bit of effort, but you do have the most information on your environment and setup that will allow for the bug to be better able to be triaged and fixed.

bongaquino (Tue, 20 Nov 2018 02:44:20 GMT):
Do you guys have the latest installation instruction for explorer in git?

bongaquino (Tue, 20 Nov 2018 02:44:34 GMT):
Because the one in git right now is quiet confusing.

bongaquino (Tue, 20 Nov 2018 02:44:50 GMT):
in the postgres part explorer.sql

bongaquino (Tue, 20 Nov 2018 02:45:12 GMT):
postgres=# \i app/persistence/fabric/postgreSQL/db/explorerpg.sql psql:app/persistence/fabric/postgreSQL/db/explorerpg.sql:5: ERROR: syntax error at or near "password" LINE 1: CREATE USER hppoc WITH PASSWORD password; ^ psql:app/persistence/fabric/postgreSQL/db/explorerpg.sql:6: NOTICE: database "fabricexplorer" does not exist, skipping DROP DATABASE psql:app/persistence/fabric/postgreSQL/db/explorerpg.sql:7: ERROR: role "hppoc" does not exist psql:app/persistence/fabric/postgreSQL/db/explorerpg.sql:8: \connect: FATAL: database "fabricexplorer" does not exist

bh4rtp (Tue, 20 Nov 2018 03:52:17 GMT):
hi, does anyone manage to run `blockchain-explorer` release-3.8 with fabric-ca?

IronStrong (Tue, 20 Nov 2018 07:30:33 GMT):
Has joined the channel.

sanav (Tue, 20 Nov 2018 08:09:41 GMT):
Has joined the channel.

titoe218 (Tue, 20 Nov 2018 09:00:22 GMT):
Hi, I ran HE on kubernetes. But when my explorer pod running, it's through this error. Anyone helps ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Cannot find module './fabric/Platform' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Function.build (/opt/explorer/app/platform/PlatformBuilder.js:12:24) at Explorer.initialize (/opt/explorer/app/Explorer.js:56:46) at at process._tickCallback (internal/process/next_tick.js:188:7) code: 'MODULE_NOT_FOUND' } Received kill signal, shutting down gracefully Closed out connections ```

feitnomore (Tue, 20 Nov 2018 11:32:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZqHJPTQo9d39xBrPu) @tkuhrt I've opened with every details I could, now, I am starting to think its not a bug, but a problem with the Service Discovery in my Network...

AndreasVlachosUnic (Tue, 20 Nov 2018 12:21:48 GMT):
Has joined the channel.

nfrunza (Tue, 20 Nov 2018 12:42:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cZZAb5T5t6Gd5odXP) @bongaquino yes, we have, https://github.com/hyperledger/blockchain-explorer#Database-Setup

nfrunza (Tue, 20 Nov 2018 12:42:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cZZAb5T5t6Gd5odXP) @bongaquino yes, we have, https://github.com/hyperledger/blockchain-explorer#Database-Setup . , please let me know your environment: OS, Node version, explorer release/branch, are you behind the proxy?

nfrunza (Tue, 20 Nov 2018 12:46:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e9KupkgcmCGiwtWGk) @titoe218 What is your node version?, i understand you run explorer in docker? if yes, see https://github.com/hyperledger/blockchain-explorer#Run-Hyperledger-Explorer-using-Docker

nfrunza (Tue, 20 Nov 2018 12:46:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e9KupkgcmCGiwtWGk) @titoe218 What is your node version?, i understand you run explorer in docker? if yes, see https://github.com/hyperledger/blockchain-explorer#Run-Hyperledger-Explorer-using-Docker

nfrunza (Tue, 20 Nov 2018 12:46:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e9KupkgcmCGiwtWGk) @titoe218 What is your node version?, i understand you run explorer in docker? if yes, see https://github.com/hyperledger/blockchain-explorer#Run-Hyperledger-Explorer-using-Docker

nfrunza (Tue, 20 Nov 2018 12:51:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e9KupkgcmCGiwtWGk) @titoe218 Please follow README doc., and yes you need to run npm install , https://github.com/hyperledger/blockchain-explorer#Build-Hyperledger-Explorer

nfrunza (Tue, 20 Nov 2018 12:51:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e9KupkgcmCGiwtWGk) @titoe218 Please follow README doc., and yes you need to run npm install , https://github.com/hyperledger/blockchain-explorer#Build-Hyperledger-Explorer

nfrunza (Tue, 20 Nov 2018 12:53:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RjBnMZQtdvwgMHxdN) @bh4rtp Someone suggested, see https://chat.hyperledger.org/channel/fabric-sdk-node?msg=hha24dM2Ygf8ZyYzN

nfrunza (Tue, 20 Nov 2018 12:53:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RjBnMZQtdvwgMHxdN) @bh4rtp Someone suggested, see https://chat.hyperledger.org/channel/fabric-sdk-node?msg=hha24dM2Ygf8ZyYzN

nfrunza (Tue, 20 Nov 2018 12:53:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RjBnMZQtdvwgMHxdN) @bh4rtp Someone suggested, see https://chat.hyperledger.org/channel/fabric-sdk-node?msg=hha24dM2Ygf8ZyYzN

thomasland (Wed, 21 Nov 2018 04:29:36 GMT):
@nfrunza Does tlsCACerts support specified a certificate chain file? When starting node process, it is always impossible to establish a TLS connection. I really need help.Thanks. ================================================================================================== Env: blockchain-explorer:0.3.7.1 fabric network:1.2.0 node:v8.11.1 postgres: 9.5.12 docker: 17.06.2-ce os: CentOS Linux release 7.4.1708 ================================================================================================== Logs: [root@ww blockchain-explorer-0.3.7.1]# tail -500f logs/console/console-2018-11-20.log postgres://hppoc:hppoc@127.0.0.1:5432/fabricexplorer (node:24341) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead E1120 19:16:57.871437108 24341 ssl_transport_security.cc:219] ssl_info_callback: error occured. E1120 19:16:57.871532833 24341 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate. E1120 19:16:58.868480564 24341 ssl_transport_security.cc:219] ssl_info_callback: error occured. E1120 19:16:58.868535194 24341 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate. E1120 19:17:00.546260952 24341 ssl_transport_security.cc:219] ssl_info_callback: error occured. E1120 19:17:00.546311070 24341 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate. error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://peer0.org1.freeexchange.cn:7051 ================================================================================================== openssl : openssl s_client -host peer0.org1.freeexchange.cn -port 7051 -CAfile /root/fabric-deploy/fabric-ca-files/org1.freeexchange.cn/peer0/tls/ca.crt.chain 140584860137376:error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate:s3_pkt.c:1493:SSL alert number 42 140584860137376:error:140790E5:SSL routines:ssl23_write:ssl handshake failure:s23_lib.c:177: Verify return code: 0 (ok) --- openssl s_client -host peer0.org1.freeexchange.cn -port 7051 -CAfile /root/fabric-deploy/fabric-ca-files/org1.freeexchange.cn/peer0/tls/ca.crt.chain -key /root/fabric-deploy/fabric-ca-files/org1.freeexchange.cn/peer0/tls/server.key -cert /root/fabric-deploy/fabric-ca-files/org1.freeexchange.cn/peer0/tls/server.crt Verify return code: 0 (ok) --- read:errno=0 ================================================================================================== Config.json: "peer0.org1.freeexchange.cn": { "tlsCACerts": { "path": "/root/fabric-deploy/fabric-ca-files/org1.freeexchange.cn/peer0/tls/ca.crt.chain", "client": { "keyfile":"/root/fabric-deploy/fabric-ca-files/org1.freeexchange.cn/peer0/tls/server.key", "certfile":"/root/fabric-deploy/fabric-ca-files/org1.freeexchange.cn/peer0/tls/server.crt" } }, "url": "grpcs://peer0.org1.freeexchange.cn:7051", "eventUrl": "grpcs://peer0.org1.freeexchange.cn:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.freeexchange.cn" } }

praveen.aloker (Wed, 21 Nov 2018 09:14:07 GMT):
Hi guys I'm using Hyperledger Fabric network and Blockchain explorer. I tested explorer for "first-network" and I succeeded. After that, I edited config.json file as below: { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.rolex.com": {}, "peer0.org2.dealer.com": {}, "peer0.org3.service.com": {}, "peer0.org4.insurer.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org1.rolex.com/users/Admin@org1.rolex.com/msp/keystore" }, "signedCert": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org1.rolex.com/users/Admin@org1.rolex.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org2.dealer.com/users/Admin@org2.dealer.com/msp/keystore" }, "signedCert": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org2.dealer.com/users/Admin@org2.dealer.com/msp/signcerts" } }, "Org3MSP": { "mspid": "Org3MSP", "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org3.service.com/users/Admin@org3.service.com/msp/keystore" }, "signedCert": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org3.service.com/users/Admin@org3.service.com/msp/signcerts" } }, "Org4MSP": { "mspid": "Org4MSP", "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org4.insurer.com/users/Admin@org4.insurer.com/msp/keystore" }, "signedCert": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org1.insurer.com/users/Admin@org4.insurer.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.rolex.com": { "tlsCACerts": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org1.rolex.com/peers/peer0.org1.rolex.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.rolex.com" } }, "peer0.org1.rolex.com": { "url": "grpcs://localhost:9051" }, "peer0.org2.dealer.com": { "url": "grpcs://localhost:10051" }, "peer0.org3.service.com": { "url": "grpcs://localhost:11051" }, "peer0.org4.insurer.com": { "url": "grpcs://localhost:12051" } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/bin", "license": "Apache-2.0" }

praveen.aloker (Wed, 21 Nov 2018 09:16:21 GMT):

Screenshot from 2018-11-21 14-45-30.png

nfrunza (Wed, 21 Nov 2018 13:16:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4jaa4Feihhb8ykEoP) @praveen.aloker what is your question after you change the config?

nfrunza (Wed, 21 Nov 2018 13:18:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nvZcGqyuPqRpnd6Bz) @praveen.aloker which version of explorer you use? is your fabric using fabric-ca? did you verify the fabric is running? can you run from fabric CLI $peer version, $ peer channel list

nfrunza (Wed, 21 Nov 2018 13:19:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bCZGqHCSvFP7QPzRu) @thomasland If you fabric uses fabric-ca explorer will now work

nfrunza (Wed, 21 Nov 2018 13:19:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bCZGqHCSvFP7QPzRu) @thomasland If you fabric uses fabric-ca explorer will not work

nfrunza (Wed, 21 Nov 2018 13:19:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bCZGqHCSvFP7QPzRu) @thomasland If your fabric uses fabric-ca explorer will not work

thomasland (Wed, 21 Nov 2018 15:01:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GCgXCQSadJfnwaGn3) @nfrunza @nfrunza Thanks for your reply.Will subsequent versions support the fabric network which using fabric-ca?

thomasland (Wed, 21 Nov 2018 15:02:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AMq9DyWDQdGBtsdx7) @nfrunza Thanks for your reply.Will subsequent versions support the fabric network which using fabric-ca?

nfrunza (Wed, 21 Nov 2018 15:05:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ABxtnvbd7ELxpFRpM) @thomasland we are very low in resource, but looking forward to support fabric-ca

thomasland (Wed, 21 Nov 2018 15:14:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bCyLeSiLWgq5PQ3Pr) @nfrunza :thumbsup: exploer is really good,and it will be better.

nfrunza (Wed, 21 Nov 2018 15:16:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rcgSGiNmgAcPvhC8Q) @thomasland would you be able to contribute to explorer, to make it much better?

thomasland (Wed, 21 Nov 2018 15:31:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZJrZw69d2WMirznrQ) @nfrunza :joy: :joy: :joy: I need to learn Node and English...

nfrunza (Wed, 21 Nov 2018 15:49:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pJHMLCZAcXjgKnJGD) @thomasland well you will need at some point

feitnomore (Wed, 21 Nov 2018 16:43:12 GMT):
when I click on my chaincode, I get "location not found"

feitnomore (Wed, 21 Nov 2018 16:43:20 GMT):
any way of troubleshooting it?

feitnomore (Wed, 21 Nov 2018 16:49:11 GMT):
think I've found the problem

feitnomore (Wed, 21 Nov 2018 17:47:09 GMT):
no, haven't figured out

nfrunza (Wed, 21 Nov 2018 18:39:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MkGyxmoujXQTMP827) @feitnomore locally we used to lookup in path, in docker this doesn't work, and there is a jira for SDK for Node to create aan API to get the source code from fabric

feitnomore (Wed, 21 Nov 2018 19:01:08 GMT):
mine is in go

feitnomore (Wed, 21 Nov 2018 19:11:38 GMT):
ok, gotcha... read really fast and didn't payed attention

feitnomore (Wed, 21 Nov 2018 19:11:59 GMT):
that's great... that way you guys will be able to retrieve the chaincode source using Fabric Node SDK

feitnomore (Wed, 21 Nov 2018 19:12:09 GMT):
and the path won't cause any trouble

nfrunza (Wed, 21 Nov 2018 19:17:15 GMT):
correct

praveen.aloker (Thu, 22 Nov 2018 05:17:42 GMT):
@nfrunza With fabric version 1.2, Explorer is running fine with fabric-ca..

thomasland (Thu, 22 Nov 2018 06:05:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ABPjppT658pqrZEQa) @praveen.aloker could you show your config.json file?

praveen.aloker (Thu, 22 Nov 2018 07:06:02 GMT):
@thomasland { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.rolex.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org1.rolex.com/users/Admin@org1.rolex.com/msp/keystore" }, "signedCert": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org1.rolex.com/users/Admin@org1.rolex.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org2.dealer.com/users/Admin@org2.dealer.com/msp/keystore" }, "signedCert": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org2.dealer.com/users/Admin@org2.dealer.com/msp/signcerts" } }, "Org3MSP": { "mspid": "Org3MSP", "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org3.service.com/users/Admin@org3.service.com/msp/keystore" }, "signedCert": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org3.service.com/users/Admin@org3.service.com/msp/signcerts" } }, "Org4MSP": { "mspid": "Org4MSP", "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org4.insurer.com/users/Admin@org4.insurer.com/msp/keystore" }, "signedCert": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org1.insurer.com/users/Admin@org4.insurer.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.rolex.com": { "tlsCACerts": { "path": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/Poc1/artifacts/channel/crypto-config/peerOrganizations/org1.rolex.com/peers/peer0.org1.rolex.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.rolex.com" } }, "peer0.org1.rolex.com": { "url": "grpcs://localhost:9051" }, "peer0.org2.dealer.com": { "url": "grpcs://localhost:10051" }, "peer0.org3.service.com": { "url": "grpcs://localhost:11051" }, "peer0.org4.insurer.com": { "url": "grpcs://localhost:12051" } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/praveen/work/src/github.com/hyperledger/fabric1.3/fabric-samples/bin", "license": "Apache-2.0" }

thomasland (Thu, 22 Nov 2018 07:47:26 GMT):
@praveen.aloker BIG THANKS.

knagware9 (Thu, 22 Nov 2018 09:00:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HQFx9x8ejXBLoWhqN) @thomasland not this config file...we used this config file which is in old fabric-explorer ...

knagware9 (Thu, 22 Nov 2018 09:02:31 GMT):
{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "org2": { "name": "peerOrg2", "mspid": "Org2MSP", "peer1": { "requests": "grpcs://127.0.0.1:8051", "events": "grpcs://127.0.0.1:8053", "server-hostname": "peer0.org2.example.com", "tls_cacerts": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "admin": { "key": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore", "cert": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } }, "org3": { "name": "peerOrg3", "mspid": "Org3MSP", "peer1": { "requests": "grpcs://127.0.0.1:9051", "events": "grpcs://127.0.0.1:9053", "server-hostname": "peer0.org3.example.com", "tls_cacerts": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt" }, "admin": { "key": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/keystore", "cert": "/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/signcerts" } } }, "channel": "mgrchannel", "pg": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "orderers":[ { "mspid": "OrdererMSP", "server-hostname":"orderer.example.com", "requests":"grpcs://127.0.0.1:7050", "tls_cacerts":"/home/kamlesh/work/src/github.com/hyperledger/Poc/artifacts/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/kamlesh/work/src/github.com/hyperledger/Poc/bin", "SYNC_START_DATE_FORMAT":"YYYY/MM/DD", "syncStartDate":"2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" }

feitnomore (Thu, 22 Nov 2018 11:37:17 GMT):
got an interesting observation regarding explorer...

feitnomore (Thu, 22 Nov 2018 11:37:38 GMT):
the dashboard screen uses the client/browser timezone to display the data

feitnomore (Thu, 22 Nov 2018 11:37:51 GMT):
and not the actual dates of the blockchain network

feitnomore (Thu, 22 Nov 2018 11:38:34 GMT):
in other words, my blockchain is running on a 2+ hour timezone, and on the dashboard, the graphs reflects transactions that happened only until the date on my desktop computers (2 hours earlier)

feitnomore (Thu, 22 Nov 2018 11:38:54 GMT):
however, if I go to transactions tab, I can see transactions that happened in the future (2 hours ahead)

feitnomore (Thu, 22 Nov 2018 11:39:02 GMT):
don't know if I could make myself clear

masterofimages (Thu, 22 Nov 2018 13:50:17 GMT):
Has joined the channel.

masterofimages (Thu, 22 Nov 2018 13:55:38 GMT):
Hi there. Has anyone been able to get explorer 3.8 working in docker with the HLF 1.3 first-network sample network? I have 3.7 working with the 1.2 sample network, but when I upgrade to 1.3/3.8 using the exact same config, explorer seems to just hang on startup, and the site won't load (connection refused). I can then revert back to 1.2/3.7 and it works with no issues. Are there any special "gotchas" required to get it working under HLF 1.3?

masterofimages (Thu, 22 Nov 2018 13:59:55 GMT):
BTW, I'm using the deploy_explorer.sh script to deploy explorer, and I'm removing all blockchain-explorer containers and images, and running ./deploy_explorer.sh --clean whenever I switch between versions to ensure that I'm starting with a clean docker setup each time.

nfrunza (Thu, 22 Nov 2018 21:43:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mYehmZ3oK6QchQsYm) @masterofimages switching between fabric versions need to be verified after you do this, if you do locally you may have to update fabric samples binaries

masterofimages (Fri, 23 Nov 2018 09:09:57 GMT):
@nfrunza As far as I can tell, all binaries have been updated, as reported by byfn.sh (which verifies the version and reports 1.3.0). The network is built and verification checks run successfully, so I can´t see why explorer isn't working. I have exactly the same behaviour with another network running under HLF 1.3 (i.e. chaincode execution and node.js apps work fine, but explorer doesn't load). I then replicated the issue using the sample network to ensure it wasn't an issue with the network I was using.

nfrunza (Fri, 23 Nov 2018 13:34:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ykKxEWwC8rPFBDhRD) @masterofimages after you switch fabric versions, did you run blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh script

masterofimages (Fri, 23 Nov 2018 13:39:28 GMT):
@nfrunza Not directly, but I'm using the supplied deploy_explorer.sh script to build the containers, and this runs createdb.sh.

nfrunza (Fri, 23 Nov 2018 13:40:31 GMT):
you're right, --clean will rerun

masterofimages (Fri, 23 Nov 2018 15:06:48 GMT):
That´s right. I had to generate the config.json for the sample network based on the example, but that´s pretty straightforward, and it´s exactly the same as the one I'm using with explorer 3.7, which works fine.

masterofimages (Fri, 23 Nov 2018 15:13:59 GMT):
I can provide the script I´m using to build and deploy explorer if that helps, along with the config.json file. All I'm doing is running this after rebuilding the sample network with the relevant version (using bootstrap.sh) and supplying it with an explorer version (3.7 or 3.8). The script then executes the clean, checks-out the correct version, copies the config file into the correct folder, creates a symbolic link to the crypto-config, then executes the deploy.

nfrunza (Fri, 23 Nov 2018 15:38:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZtLsHqyksnLGo6yxr) @masterofimages please post your script somewhere or in private chat

VikasJakhar (Fri, 23 Nov 2018 18:22:41 GMT):
hi

VikasJakhar (Fri, 23 Nov 2018 18:23:05 GMT):
I have been facing issue with Hyperledger explorer for 2-3 weeks.Not able to run it

VikasJakhar (Fri, 23 Nov 2018 18:23:32 GMT):
When I run explorer... the nodes are shown... but no block or transaction data

VikasJakhar (Fri, 23 Nov 2018 18:23:37 GMT):
Here is the error I get

VikasJakhar (Fri, 23 Nov 2018 18:24:11 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError: this.client.hfc_client.getEventHub is not a function at FabricEvent.createPeerEventHub (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:36:48) at FabricEvent.initialize (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:18:10) at SyncPlatform.initialize (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:109:27) at at process._tickCallback (internal/process/next_tick.js:188:7) <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError: this.peerEventHub.disconnect is not a function at FabricEvent.disconnectEventHubs (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135:25) at SyncPlatform.destroy (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:166:21) at Synchronizer.close (/home/vikasjakhar/hyperledger/blockchain-explorer/app/Synchronizer.js:77:21) at shutDown (/home/vikasjakhar/hyperledger/blockchain-explorer/sync.js:30:18) at process.on (/home/vikasjakhar/hyperledger/blockchain-explorer/sync.js:55:3) at emitTwo (events.js:126:13) at process.emit (events.js:214:7) at emitPendingUnhandledRejections (internal/process/promises.js:108:22) at process._tickCallback (internal/process/next_tick.js:189:7) <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> /home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135 this.peerEventHub.disconnect(); ^ TypeError: this.peerEventHub.disconnect is not a function at FabricEvent.disconnectEventHubs (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135:25) at SyncPlatform.destroy (/home/vikasjakhar/hyperledger/blockchain-explorer/app/platform/fabric/sync/SyncPlatform.js:166:21) at Synchronizer.close (/home/vikasjakhar/hyperledger/blockchain-explorer/app/Synchronizer.js:77:21) at shutDown (/home/vikasjakhar/hyperledger/blockchain-explorer/sync.js:30:18) at process.on (/home/vikasjakhar/hyperledger/blockchain-explorer/sync.js:66:3) at emitOne (events.js:116:13) at process.emit (events.js:211:7) at process._fatalException (bootstrap_node.js:378:26)

VikasJakhar (Fri, 23 Nov 2018 18:24:27 GMT):
Please help as I need to set this up asap to show in my organization

nfrunza (Fri, 23 Nov 2018 19:04:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2czTvGdhwPPLPNeyn) @VikasJakhar did you update the package.json with fabricclient-1.3 yourself ?

nfrunza (Fri, 23 Nov 2018 19:04:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2czTvGdhwPPLPNeyn) @VikasJakhar did you update the package.json with fabric-client-1.3 yourself ?

nfrunza (Fri, 23 Nov 2018 19:04:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2czTvGdhwPPLPNeyn) @VikasJakhar did you update the package.json with fabric-client-1.3 yourself ? You may try to use release-3.8 branch with fabric-1.3

AnoGuy (Sat, 24 Nov 2018 07:23:05 GMT):
Has joined the channel.

junki (Sat, 24 Nov 2018 18:02:46 GMT):
Has joined the channel.

junki (Sat, 24 Nov 2018 18:06:48 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: PEM encoded certificate is required. at new Endpoint (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/ubuntu/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at

junki (Sat, 24 Nov 2018 18:06:48 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: PEM encoded certificate is required. at new Endpoint (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/ubuntu/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at

junki (Sat, 24 Nov 2018 18:06:48 GMT):
Hello I have been facing issue with Hyperledger explorer. but i don't know why ㅠㅠ Herer is my error. Please help me <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: PEM encoded certificate is required. at new Endpoint (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/ubuntu/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at

junki (Sat, 24 Nov 2018 18:06:48 GMT):
Hello``` ``` I have been facing issue with Hyperledger explorer. but i don't know why ㅠㅠ ``` ``` Herer is my error ``` Please help me``` ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: PEM encoded certificate is required. at new Endpoint (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/ubuntu/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at

junki (Sat, 24 Nov 2018 18:06:48 GMT):
Hello I have been facing issue with Hyperledger explorer. but i don't know why ㅠㅠ Here is my error Please help me <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: PEM encoded certificate is required. at new Endpoint (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/ubuntu/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at

junki (Sat, 24 Nov 2018 18:06:48 GMT):
Hello I have been facing issue with Hyperledger explorer. Here is my error Please help me <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: PEM encoded certificate is required. at new Endpoint (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/ubuntu/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at

junki (Sat, 24 Nov 2018 18:06:48 GMT):
Hello I have been facing issue with Hyperledger explorer. What is the reason? Please help me <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: PEM encoded certificate is required. at new Endpoint (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:223:11) at new Remote (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Remote.js:106:20) at new Peer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Peer.js:44:3) at Client.newPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:308:10) at NetworkConfig_1_0.getPeer (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:174:33) at NetworkConfig_1_0._addPeersToChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:369:23) at NetworkConfig_1_0.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:155:10) at Client.getChannel (/home/ubuntu/blockchain-explorer/node_modules/fabric-client/lib/Client.js:257:37) at FabricClient.LoadClientFromConfig (/home/ubuntu/blockchain-explorer/app/platform/fabric/FabricClient.js:255:43) at

nfrunza (Sat, 24 Nov 2018 22:32:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K8rryDH7iWXGN5Z3y) @junki please describe your environment, node, fabric version, are you behind the proxy? do you use AWS fabric, do you have fabric-ca in your fabric network?

nfrunza (Sat, 24 Nov 2018 22:32:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K8rryDH7iWXGN5Z3y) @junki please describe your environment, node, fabric version, are you behind the proxy? do you use AWS fabric, do you have fabric-ca in your fabric network? If you can share your config.json file, are you using fabric-samples/first-network?

junki (Sun, 25 Nov 2018 12:26:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KcbTt2S9Kek7Qkxua) @nfrunza First of all, thank you for your response.

junki (Sun, 25 Nov 2018 12:36:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KcbTt2S9Kek7Qkxua) @nfrunza First of all, thank you for your response. And excuse my poor English. I have 4 organizations, 4 ca, 8 peers, 3 zookeeper, 4 kafka containers and my own fabric network. This is my version -Docker version 18.09.0 -docker-compose version 1.23.1 -nodejs v8.13.0 -npm 6.4.1 -postgresql 9.5 -fabric 1.2 This is my /blockchain-explorer/app/platform/fabric/config.json { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "AdminMSP", "channel": "channel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "channel",{ "peers": { "peer0.orgAdmin.com": {}, "peer0.orgFirst.com": {}, "peer0.orgSecond.com": {}, "peer0.orgThird.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "AdminMSP": { "mspid": "AdminMSP", "fullpath": false, "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/users/Admin@orgAdmin.com/msp/keystore" }, "signedCert": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/users/Admin@orgAdmin.com/msp/signcerts" } }, "FirstMSP": { "mspid": "FirstMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgFirst.com/users/Admin@orgFirst.com/msp/keystore" } }, "SecondMSP": { "mspid": "SecondMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgSecond.com/users/Admin@orgSecond.com/msp/keystore" } }, "ThirdMSP": { "mspid": "ThirdMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgThird.com/users/Admin@orgThird.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/ordererOrganizations/orgOrderer.com/users/Admin@orgOrderer.com/msp/keystore" } } }, "peers": { "peer0.orgAdmin.com": { "tlsCACerts": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/peers/peer0.orgAdmin.com/tls/ca.crt" }, "url": "grpcs://10.0.2.15:7051", "eventUrl": "grpcs://10.0.2.15:7053", "grpcOptions": { "ssl-target-name-override": "peer0.orgAdmin.com" } }, "peer1.orgAdmin.com": { "url": "grpcs://10.0.2.4:7051" }, "peer0.orgFirst.com": { "url": "grpcs://10.0.2.5:7051" }, "peer1.orgFirst.com": { "url": "grpcs://10.0.2.6:7051" }, "peer0.orgSecond.com": { "url": "grpcs://10.0.2.5:8051" }, "peer1.orgSecond.com": { "url": "grpcs://10.0.2.6:8051" }, "peer0.orgThird.com": { "url": "grpcs://10.0.2.5:9051" }, "peer1.orgThird.com": { "url": "grpcs://10.0.2.6:10051" } }, "orderers": { "orderer0.orgOrderer.com": { "url": "grpcs://10.0.2.15:7050" }, "orderer1.orgOrderer.com": { "url": "grpcs://10.0.2.4:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/ubuntu/fabric-samples/bin", "license": "Apache-2.0" } Please help me solve my error. (* Can I not have a zookeeper, kafka, or ca in config.json?) Thank You.!

junki (Sun, 25 Nov 2018 12:36:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KcbTt2S9Kek7Qkxua) @nfrunza First of all, thank you for your response. And excuse my poor English. I have 4 organizations, 4 ca, 8 peers, 3 zookeeper, 4 kafka containers at four nodes and my own fabric network. This is my version -Docker version 18.09.0 -docker-compose version 1.23.1 -nodejs v8.13.0 -npm 6.4.1 -postgresql 9.5 -fabric 1.2 This is my /blockchain-explorer/app/platform/fabric/config.json { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "AdminMSP", "channel": "channel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "channel",{ "peers": { "peer0.orgAdmin.com": {}, "peer0.orgFirst.com": {}, "peer0.orgSecond.com": {}, "peer0.orgThird.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "AdminMSP": { "mspid": "AdminMSP", "fullpath": false, "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/users/Admin@orgAdmin.com/msp/keystore" }, "signedCert": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/users/Admin@orgAdmin.com/msp/signcerts" } }, "FirstMSP": { "mspid": "FirstMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgFirst.com/users/Admin@orgFirst.com/msp/keystore" } }, "SecondMSP": { "mspid": "SecondMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgSecond.com/users/Admin@orgSecond.com/msp/keystore" } }, "ThirdMSP": { "mspid": "ThirdMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgThird.com/users/Admin@orgThird.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/ordererOrganizations/orgOrderer.com/users/Admin@orgOrderer.com/msp/keystore" } } }, "peers": { "peer0.orgAdmin.com": { "tlsCACerts": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/peers/peer0.orgAdmin.com/tls/ca.crt" }, "url": "grpcs://10.0.2.15:7051", "eventUrl": "grpcs://10.0.2.15:7053", "grpcOptions": { "ssl-target-name-override": "peer0.orgAdmin.com" } }, "peer1.orgAdmin.com": { "url": "grpcs://10.0.2.4:7051" }, "peer0.orgFirst.com": { "url": "grpcs://10.0.2.5:7051" }, "peer1.orgFirst.com": { "url": "grpcs://10.0.2.6:7051" }, "peer0.orgSecond.com": { "url": "grpcs://10.0.2.5:8051" }, "peer1.orgSecond.com": { "url": "grpcs://10.0.2.6:8051" }, "peer0.orgThird.com": { "url": "grpcs://10.0.2.5:9051" }, "peer1.orgThird.com": { "url": "grpcs://10.0.2.6:10051" } }, "orderers": { "orderer0.orgOrderer.com": { "url": "grpcs://10.0.2.15:7050" }, "orderer1.orgOrderer.com": { "url": "grpcs://10.0.2.4:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/ubuntu/fabric-samples/bin", "license": "Apache-2.0" } Please help me solve my error. (* Can I not have a zookeeper, kafka, or ca in config.json?) Thank You.!

junki (Sun, 25 Nov 2018 12:36:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KcbTt2S9Kek7Qkxua) @nfrunza First of all, thank you for your response. And excuse my poor English. I have 4 organizations, 4 ca, 8 peers, 3 zookeeper, 4 kafka containers at four nodes and my own fabric network. This is my version -Docker version 18.09.0 -docker-compose version 1.23.1 -nodejs v8.13.0 -npm 6.4.1 -postgresql 9.5 -fabric 1.2 This is my /blockchain-explorer/app/platform/fabric/config.json { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "AdminMSP", "channel": "channel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "channel",{ "peers": { "peer0.orgAdmin.com": {}, "peer0.orgFirst.com": {}, "peer0.orgSecond.com": {}, "peer0.orgThird.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "AdminMSP": { "mspid": "AdminMSP", "fullpath": false, "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/users/Admin@orgAdmin.com/msp/keystore" }, "signedCert": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/users/Admin@orgAdmin.com/msp/signcerts" } }, "FirstMSP": { "mspid": "FirstMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgFirst.com/users/Admin@orgFirst.com/msp/keystore" } }, "SecondMSP": { "mspid": "SecondMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgSecond.com/users/Admin@orgSecond.com/msp/keystore" } }, "ThirdMSP": { "mspid": "ThirdMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgThird.com/users/Admin@orgThird.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/ordererOrganizations/orgOrderer.com/users/Admin@orgOrderer.com/msp/keystore" } } }, "peers": { "peer0.orgAdmin.com": { "tlsCACerts": { "path": "/home/ubuntu/fabric-samples/first-network/crypto-config/peerOrganizations/orgAdmin.com/peers/peer0.orgAdmin.com/tls/ca.crt" }, "url": "grpcs://10.0.2.15:7051", "eventUrl": "grpcs://10.0.2.15:7053", "grpcOptions": { "ssl-target-name-override": "peer0.orgAdmin.com" } }, "peer1.orgAdmin.com": { "url": "grpcs://10.0.2.4:7051" }, "peer0.orgFirst.com": { "url": "grpcs://10.0.2.5:7051" }, "peer1.orgFirst.com": { "url": "grpcs://10.0.2.6:7051" }, "peer0.orgSecond.com": { "url": "grpcs://10.0.2.5:8051" }, "peer1.orgSecond.com": { "url": "grpcs://10.0.2.6:8051" }, "peer0.orgThird.com": { "url": "grpcs://10.0.2.5:9051" }, "peer1.orgThird.com": { "url": "grpcs://10.0.2.6:10051" } }, "orderers": { "orderer0.orgOrderer.com": { "url": "grpcs://10.0.2.15:7050" }, "orderer1.orgOrderer.com": { "url": "grpcs://10.0.2.4:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/ubuntu/fabric-samples/bin", "license": "Apache-2.0" } Please help me solve my error. (* Can I not have a zookeeper, kafka, or ca in config.json?) Thank You.!

nfrunza (Sun, 25 Nov 2018 14:17:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8qSsiXFrBHWQ3dcSQ) @junki Is your fabric located on the same machine, or is remote? do you run explorer in a docker? if yes , look at this sample . configuration, start from LINE:193 /blockchain-explorer/examples/net1/README.md

acloudfan (Sun, 25 Nov 2018 17:03:55 GMT):
Has joined the channel.

acloudfan (Sun, 25 Nov 2018 17:07:12 GMT):
Has anybody tested explorer with v1.3 successfully?

acloudfan (Sun, 25 Nov 2018 17:08:46 GMT):
This is the error I am unable to resolve with v1.3

acloudfan (Sun, 25 Nov 2018 17:08:47 GMT):
Error: "orderer" request parameter is missing and there are no orderers defined on this channel in the network configuration at Client.getTargetOrderer (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Client.js:1775:12) at Channel.getGenesisBlock (/home/vagrant/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:768:39) at FabricClient.getGenesisBlock (/home/vagrant/blockchain-explorer/app/platform/fabric/FabricClient.js:556:40)

acloudfan (Sun, 25 Nov 2018 23:09:36 GMT):
This issue resolved .... explorer process launched without error .... but the on browser getting "Cannot Get/"

acloudfan (Sun, 25 Nov 2018 23:09:36 GMT):
Encountered some common errors but all resolved .... explorer process launched without error .... but the on browser getting "Cannot Get/"

nfrunza (Mon, 26 Nov 2018 00:06:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rRQELTRryeXWYYzA9) @acloudfan use release-3.8, make sure you rerun blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh script

acloudfan (Mon, 26 Nov 2018 02:42:22 GMT):
@nfrunza thanks for the suggestion ... tried it but , didn't help. Challenge is that there is no error to get an insight on the issue

acloudfan (Mon, 26 Nov 2018 02:42:22 GMT):
@nfrunza thanks for the suggestion ... tried it but , didn't help. Challenge is that there is no error to get an insight on the issue .... Cannot Get/

longnv1a (Mon, 26 Nov 2018 04:31:00 GMT):
Has joined the channel.

longnv1a (Mon, 26 Nov 2018 04:33:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=877mzqEpwLCAANHRm) @acloudfan I do.

masterofimages (Mon, 26 Nov 2018 08:14:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qsbDTkPZSuimYKLKs) @acloudfan This looks like exactly the same behaviour I'm getting :(

masterofimages (Mon, 26 Nov 2018 08:15:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TK8PtjBNjKZoLnDNG) @longnv1a An chance you could elaborate please? Are you able to run explorer against the first-network sample using the standard deploy_explorer.sh script supplied?

junki (Mon, 26 Nov 2018 08:59:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NiFEgrNft7DsjqDy6) @nfrunza Thank you!^^

junki (Mon, 26 Nov 2018 09:03:56 GMT):
Excuse Me. I have a question!. Where does the hyperledger explorer information come from? PostgresSQL?, peer container? orderer?

longnv1a (Mon, 26 Nov 2018 09:10:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pR69vysiiBkKgEebv) @masterofimages I am not using the first-network example, we create our own network.

masterofimages (Mon, 26 Nov 2018 09:28:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=htgfCN4M5EgmrCXgw) @junki Depends what you mean by "information". The initial configuration is done via the config.json file which you have to supply. This contains all the connectivity details required to connect to each node on the network, as well as certificate and key locations. Once explorer connects to the network and starts reading the ledger, this information is then stored in the PostgreSQL database.

masterofimages (Mon, 26 Nov 2018 09:31:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=irdFYHfobKRdYTrCv) @longv1a Any chance you could try to run it in a container against the first-network example? My config.json for this is as follows:

masterofimages (Mon, 26 Nov 2018 09:31:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=irdFYHfobKRdYTrCv) @longnv1a Any chance you could try to run it in a container against the first-network example? My config.json for this is as follows:

masterofimages (Mon, 26 Nov 2018 09:32:07 GMT):
{ "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/tmp/crypto/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer1.org1.example.com:7051", "eventUrl": "grpcs://peer1.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }, "peer0.org2.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org2.example.com:7051", "eventUrl": "grpcs://peer0.org2.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" } }, "peer1.org2.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt" }, "url": "grpcs://peer1.org2.example.com:7051", "eventUrl": "grpcs://peer1.org2.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer1.org2.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://orderer.example.com:7050" } } } }, "configtxgenToolPath": "/home/fabric-path/workspace/fabric-samples/bin", "license": "Apache-2.0" }

acloudfan (Mon, 26 Nov 2018 11:27:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YBTgtfWrinq6yTYfT) @masterofimages @masterofimages only difference between your config and mine is that I have TLS disabled

acloudfan (Mon, 26 Nov 2018 12:13:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jRkfvXXD39cPxqvQz) @masterofimages interestingly the http://localhost:8080/api-docs works ..... try it out ..... issue seem to be with UI

nfrunza (Mon, 26 Nov 2018 13:30:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qsbDTkPZSuimYKLKs) @acloudfan can you put down steps you performed

masterofimages (Mon, 26 Nov 2018 15:04:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nnTf8AQM6bjaoGqGx) @acloudfan Unfortunately, I already tried that, and it doesn't work for me :(

nfrunza (Mon, 26 Nov 2018 15:05:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NH2pokJcRrZGkyA7g) @masterofimages can you try GChrome hard reload

masterofimages (Mon, 26 Nov 2018 15:19:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qSh8Sk8Z25kaEXN7D) @nfrunza Ctrl+F5 has no effect. It's not even connecting though, so I wouldn't have expected it to have any effect, as there is nothing to reload (ERR_CONNECTION_REFUSED).

nfrunza (Mon, 26 Nov 2018 15:23:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NpaxmxDwu8KHj4wqC) @masterofimages can you do docker exec cat /opt/logs/app/app.log

nfrunza (Mon, 26 Nov 2018 15:24:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=k7Df3ZCNMWW5uDqtX) also try : From the docker ($docker exec -it sh) Install curl: $apk update && apk add curl Use curl in docker to query explorer REST API Example: $curl http://localhost:8080/api/channels Example response: {"status":200,"channels":["dockerchannel","mychannel"]

acloudfan (Mon, 26 Nov 2018 15:40:51 GMT):
@nfrunza thanks for forcing me to look at what I did ..... missed the client build .... so took care of it ... now UI is showing up - thanks. BUT no data showing up ... I am sure I goofed somewhere

masterofimages (Mon, 26 Nov 2018 15:42:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=k7Df3ZCNMWW5uDqtX) Can't install curl: $apk update && apk add curl sh: update: not found I won't post the whole app.log here as it's massive, but the last few lines are: [2018-11-26 08:48:21.478] [DEBUG] FabricClient - Found existing orderer grpcs://orderer.example.com:7050 [2018-11-26 08:48:21.478] [DEBUG] FabricClient - Successfully created orderer [orderer.example.com:7050] for client [client-1] [2018-11-26 08:48:21.478] [DEBUG] FabricClient - Successfully created peer [peer0.bbva.example.com:undefined] for client [client-1] [2018-11-26 08:48:21.479] [DEBUG] FabricClient - Successfully created peer [peer0.bde.example.com:undefined] for client [client-1] [2018-11-26 08:48:21.479] [DEBUG] FabricClient - Successfully created peer [peer1.bde.example.com:undefined] for client [client-1] [2018-11-26 08:48:21.479] [DEBUG] FabricClient - Successfully created peer [peer2.bde.example.com:undefined] for client [client-1] [2018-11-26 08:48:21.479] [DEBUG] FabricClient - Successfully created peer [peer0.san.example.com:undefined] for client [client-1] [2018-11-26 09:27:06.028] [INFO] SyncServices - Block synch in process for >> client-1_crossbordertransfer And the last few lines of the docker logs: Insert sql is INSERT INTO transactions ( "blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set","channel_genesis_hash","validation_code","envelope_signature","payload_extension","creator_nonce","chaincode_proposal_input","endorser_signature","creator_id_bytes","payload_proposal_hash","endorser_id_bytes" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21 ) RETURNING *; INSERT ID: 19 Insert sql is INSERT INTO blocks ( "blocknum","datahash","prehash","txcount","createdt","prev_blockhash","blockhash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 14 read_set length 731 write_set size >>>>>>>>> : 0.5024404525756836 MB Insert sql is INSERT INTO transactions ( "blockid","txhash","createdt","chaincodename","chaincode_id","status","creator_msp_id","endorser_msp_id","type","read_set","write_set","channel_genesis_hash","validation_code","envelope_signature","payload_extension","creator_nonce","chaincode_proposal_input","endorser_signature","creator_id_bytes","payload_proposal_hash","endorser_id_bytes" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21 ) RETURNING *; INSERT ID: 20 Insert sql is INSERT INTO blocks ( "blocknum","datahash","prehash","txcount","createdt","prev_blockhash","blockhash","channel_genesis_hash" ) VALUES( $1,$2,$3,$4,$5,$6,$7,$8 ) RETURNING *; INSERT ID: 15

masterofimages (Mon, 26 Nov 2018 15:42:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=k7Df3ZCNMWW5uDqtX) Can't install curl: $apk update && apk add curl sh: update: not found

nfrunza (Mon, 26 Nov 2018 15:56:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d4dFS7Zxg9Bdh2aQk) @acloudfan clean everything, start from from the beginning , good luck

acloudfan (Mon, 26 Nov 2018 18:30:45 GMT):
Anyone seen this error :thumbsup: <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> ReferenceError: host_port is not defined at FabricClient.initializeChannelFromDiscover (/home/vagrant/blockchain-explorer/app/platform/fabric/FabricClient.js:404:17) at Received kill signal, shutting down gracefully Closed out connections

nfrunza (Mon, 26 Nov 2018 19:19:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ELZjgWnZHWGC7SkWM) @acloudfan do you run explorer in docker?

acloudfan (Mon, 26 Nov 2018 19:20:31 GMT):
@nfrunza no ... Its a native install in a VM

acloudfan (Mon, 26 Nov 2018 21:53:17 GMT):
@nfrunza solved the issue .... its a bug in the code IMHO .... it uses the host to find the peer ... since hos=localhost it is unable to find the peer ..... in my setup I have created hostnames in /etc/hosts and removed the localhost and that made it work. Also reference to host_port in FabricClient.js:404 is referring to a non existing vars

nfrunza (Mon, 26 Nov 2018 22:13:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8BxXCF8MA6wmLifgq) @acloudfan Please create a jira

nfrunza (Mon, 26 Nov 2018 22:13:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8BxXCF8MA6wmLifgq) @acloudfan

nfrunza (Mon, 26 Nov 2018 22:14:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qYM6bR3PrdBnTTgSG) wait you can define here: /blockchain-explorer/appconfig.json

junki (Mon, 26 Nov 2018 23:55:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p9H9dkyDKYBq62saQ) @masterofimages When a transaction occurs, it is stored in the database. Is it reading the database and printing it to the Web?

nfrunza (Tue, 27 Nov 2018 03:52:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4veZiT67qCsQXKHgD) @junki Fabric stores transactions/blocks in internal fabric DB(levelDB, or couchDB depending how you start your fabric), Explorer queries block/transactions from fabric and stores in local postgreSQL DB that is in sync with fabric, so it would not query fabric every time you need to preview, search blocks or transactions

masterofimages (Tue, 27 Nov 2018 10:07:08 GMT):
The whole app.log is much too large to post, so here are the last 14 lines. I have removed the certificate signatures for brevity. [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Found existing orderer grpcs://orderer.example.com:7050 [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created orderer [orderer.example.com:7050] for client [client-1] [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created peer [peer1.org1.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created peer [peer0.org1.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created peer [peer0.org2.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created peer [peer1.org2.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Discover results for client [client-1] >> {"msps":{"OrdererMSP":{"id":"OrdererMSP","orgs":[],"rootCerts":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","intermediateCerts":"","admins":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_root_certs":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_intermediate_certs":""},"Org2MSP":{"id":"Org2MSP","orgs":[],"rootCerts":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","intermediateCerts":"","admins":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_root_certs":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_intermediate_certs":""},"Org1MSP":{"id":"Org1MSP","orgs":[],"rootCerts":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","intermediateCerts":"","admins":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_root_certs":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_intermediate_certs":""}},"orderers":{"OrdererMSP":{"endpoints":[{"host":"orderer.example.com","port":7050}]}},"peers_by_org":{"Org1MSP":{"peers":[{"mspid":"Org1MSP","endpoint":"peer0.org1.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]},{"mspid":"Org1MSP","endpoint":"peer1.org1.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[]}]},"Org2MSP":{"peers":[{"mspid":"Org2MSP","endpoint":"peer0.org2.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]},{"mspid":"Org2MSP","endpoint":"peer1.org2.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]}]}}} [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Found existing orderer grpcs://orderer.example.com:7050 [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created orderer [orderer.example.com:7050] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created peer [peer0.org1.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created peer [peer1.org1.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created peer [peer0.org2.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created peer [peer1.org2.example.com:undefined] for client [client-1]

masterofimages (Tue, 27 Nov 2018 10:07:08 GMT):
@nfrunza The whole app.log is much too large to post, so here are the last 14 lines. I have removed the certificate signatures for brevity. [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Found existing orderer grpcs://orderer.example.com:7050 [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created orderer [orderer.example.com:7050] for client [client-1] [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created peer [peer1.org1.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created peer [peer0.org1.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created peer [peer0.org2.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.891] [DEBUG] FabricClient - Successfully created peer [peer1.org2.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Discover results for client [client-1] >> {"msps":{"OrdererMSP":{"id":"OrdererMSP","orgs":[],"rootCerts":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","intermediateCerts":"","admins":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_root_certs":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_intermediate_certs":""},"Org2MSP":{"id":"Org2MSP","orgs":[],"rootCerts":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","intermediateCerts":"","admins":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_root_certs":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_intermediate_certs":""},"Org1MSP":{"id":"Org1MSP","orgs":[],"rootCerts":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","intermediateCerts":"","admins":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_root_certs":"-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n","tls_intermediate_certs":""}},"orderers":{"OrdererMSP":{"endpoints":[{"host":"orderer.example.com","port":7050}]}},"peers_by_org":{"Org1MSP":{"peers":[{"mspid":"Org1MSP","endpoint":"peer0.org1.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]},{"mspid":"Org1MSP","endpoint":"peer1.org1.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[]}]},"Org2MSP":{"peers":[{"mspid":"Org2MSP","endpoint":"peer0.org2.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]},{"mspid":"Org2MSP","endpoint":"peer1.org2.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]}]}}} [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Found existing orderer grpcs://orderer.example.com:7050 [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created orderer [orderer.example.com:7050] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created peer [peer0.org1.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created peer [peer1.org1.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created peer [peer0.org2.example.com:undefined] for client [client-1] [2018-11-27 09:51:49.894] [DEBUG] FabricClient - Successfully created peer [peer1.org2.example.com:undefined] for client [client-1]

BhavathiReddy1 (Tue, 27 Nov 2018 11:13:22 GMT):
Has joined the channel.

BhavathiReddy1 (Tue, 27 Nov 2018 11:14:05 GMT):
Hi I am getting the following error Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully Closed out connections

BhavathiReddy1 (Tue, 27 Nov 2018 11:14:34 GMT):

config.json

BhavathiReddy1 (Tue, 27 Nov 2018 11:15:19 GMT):
I don't understand what I am doing wrong. Could someone help me out here? Thanks in advance :)

BhavathiReddy1 (Tue, 27 Nov 2018 11:16:37 GMT):
I tried it with and without tlsEnabled and with both grpc and grpcs and nothing seems to work.

lys94 (Tue, 27 Nov 2018 12:02:31 GMT):
Hi:wink:. Explorer can read the transaction data from ProgresSQL. What about the key-value data? Is there any approach I can read the key-value data (like A: 90 in example02) and print it to the Explorer?

nfrunza (Tue, 27 Nov 2018 13:27:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e524ba92MKgKqAZEx) @lys94 Explorer persists all queried data from fabric, and in transactions details you can see the json data in pretty format

nfrunza (Tue, 27 Nov 2018 13:29:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JWZR2JYxXxprRX4ZL) @masterofimages What is the question here?

masterofimages (Tue, 27 Nov 2018 14:38:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=duDKt2spHNDbsHawq) @nfrunza @nfrunza This was in response to your previous request for me to supply the app.log output from my explorer instance which doesn't respond on port 8080, but reports no errors.

masterofimages (Tue, 27 Nov 2018 14:38:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=duDKt2spHNDbsHawq) @nfrunza This was in response to your previous request for me to supply the app.log output from my explorer instance which doesn't respond on port 8080, but reports no errors.

saikumar3349 (Tue, 27 Nov 2018 14:40:24 GMT):
Has joined the channel.

saikumar3349 (Tue, 27 Nov 2018 14:40:47 GMT):
Hi I want to install hyperledger explorer on fabric 1.2.

saikumar3349 (Tue, 27 Nov 2018 14:40:47 GMT):
Hi errors while installing hyperledger explorer on fabric 1.2. sould anyone post a perfect document for the installations

masterofimages (Tue, 27 Nov 2018 14:41:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4RcAdi7zg5hvDQzF2) @nfrunza I've just realised you can upload files, so I will upload the whole log now. Sorry, I'm not familiar with this interface :)

masterofimages (Tue, 27 Nov 2018 14:43:20 GMT):

explorer-3.8-first-network-app.log

masterofimages (Tue, 27 Nov 2018 14:46:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hmrWSBa7FcjdufK58) @saikumar3349 @saikumar3349 The "Run Hyperledger Explorer using Docker" section of the README.md at https://github.com/hyperledger/blockchain-explorer/tree/release-3.7 should result in a working installation. Assuming your config.json is correct...

masterofimages (Tue, 27 Nov 2018 14:46:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hmrWSBa7FcjdufK58) @saikumar3349 The "Run Hyperledger Explorer using Docker" section of the README.md at https://github.com/hyperledger/blockchain-explorer/tree/release-3.7 should result in a working installation. Assuming your config.json is correct...

nfrunza (Tue, 27 Nov 2018 14:48:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4RcAdi7zg5hvDQzF2) @masterofimages apologies, i got lost in messages, you can configure port in blockchain-explorer/appconfig.json

masterofimages (Tue, 27 Nov 2018 14:49:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EhxxpptdyMAbC5AM8) @BhavathiReddy1 Are you running the fabric network and explorer in containers?

nfrunza (Tue, 27 Nov 2018 14:51:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hmrWSBa7FcjdufK58) @saikumar3349 If you scroll a little down, you can see https://github.com/hyperledger/blockchain-explorer/blob/master/README.md

masterofimages (Tue, 27 Nov 2018 15:04:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BwKAiscJBMmctnPCS) @nfrunza Ok. Now I see the problem. There was a change made to deploy_explorer.sh on October 4th (by you) which switched the exposed port from 8080 to 8090. However, all of the documentation still refers to port 8080! I don't know why this change was made, but it should either be reverted, or the documentation updated accordingly.

masterofimages (Tue, 27 Nov 2018 15:07:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KyQfHkpcSraGdMAn6) The reason was plain for me to see in the "docker ps" output when I checked the port mapping. Of course, this should have been the first thing I checked. Lesson learned!

masterofimages (Tue, 27 Nov 2018 15:09:49 GMT):
@nfrunza BTW, the client and fabric versions reported by the application are wrong for release 3.8. It still reports 0.3.7 and 1.2.

nfrunza (Tue, 27 Nov 2018 15:10:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MdNAHqfrX8R2RZxbc) @masterofimages great that you found

lys94 (Wed, 28 Nov 2018 05:25:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WbZxuPFvZY9nG5ww2) @nfrunza Got it! Thanks for ur help:wink:

BhavathiReddy1 (Wed, 28 Nov 2018 05:38:19 GMT):
@masterofimages Yes I am. The containers are running on GCP nodes and those are the internal IPs of the nodes.

garunkumar450 (Wed, 28 Nov 2018 06:15:19 GMT):
Has joined the channel.

yoyokeen (Wed, 28 Nov 2018 06:53:23 GMT):
```ReferenceError: host_port is not defined at FabricClient.initializeChannelFromDiscover (/opt/explorer/blockchain-explorer/app/platform/fabric/FabricClient.js:405:17) at ```

yoyokeen (Wed, 28 Nov 2018 06:54:02 GMT):
how to fix it?

saikumar3349 (Wed, 28 Nov 2018 07:00:04 GMT):
Hi, I had deployed a business network using yo:hyperledger-composer I want to access the network on Hyperledger explorer. Can anyone help me to deploy explorer with the composer-network.

saikumar3349 (Wed, 28 Nov 2018 07:06:41 GMT):
@masterofimages could you please tell me the location of config.json

yinzhiwu (Wed, 28 Nov 2018 07:07:43 GMT):
Hi, After postgres://postgres:postgres@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections

yinzhiwu (Wed, 28 Nov 2018 07:07:43 GMT):
Hi, After postgres://postgres:postgres@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections

yinzhiwu (Wed, 28 Nov 2018 07:07:43 GMT):
Hi, After ./start.sh, explorer failed to start. I refer to Composer Configure Hyperledger Explorer. Could anyone give me some suggestions: vi logs/console/console-2018-11-28.log postgres://postgres:postgres@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections

yinzhiwu (Wed, 28 Nov 2018 07:16:07 GMT):

Clipboard - November 28, 2018 3:16 PM

yinzhiwu (Wed, 28 Nov 2018 07:18:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uXRq2TkjoqgkufZKz) @saikumar3349 app/platform/fabric/

saikumar3349 (Wed, 28 Nov 2018 07:19:32 GMT):
@yinzhiwu Thanks

saikumar3349 (Wed, 28 Nov 2018 07:20:02 GMT):
@yinzhiwu could you help me to deploy the composer network to explorer

yinzhiwu (Wed, 28 Nov 2018 07:38:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RsKWkRBfoCjgCMifp) @saikumar3349 this thing is going on

masterofimages (Wed, 28 Nov 2018 08:07:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=P9TtyseiZpfsXTjpa) @yinzhiwu Depends how you are deploying. If you use the deploy_explorer.sh script to automate deployment to a container, config.json is under blockchain-explorer/examples/{your-network-name}. Follow the instructions in the "Run Hyperledger Explorer using Docker" section of https://github.com/hyperledger/blockchain-explorer/blob/master/README.md.

yoyokeen (Wed, 28 Nov 2018 08:31:59 GMT):
```Please open web browser to access :http://172.31.2.87:7887/ pid is 4380```

yoyokeen (Wed, 28 Nov 2018 08:32:11 GMT):
```[root@localhost ~]# curl http://172.31.2.87:7887/ Error

Cannot GET /
```

yoyokeen (Wed, 28 Nov 2018 08:32:22 GMT):
which is the home page.

junki (Wed, 28 Nov 2018 09:04:00 GMT):
Please Help me! This is an error when I run the ./start.sh command. Setting tls to false results in the following error. postgres://hppoc:password@172.28.12.10:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: invalid message format at Connection.parseE (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) name: 'error', length: 74, severity: 'ERROR', code: '08P01', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'pqformat.c', line: '652', routine: 'pq_getmsgend' } <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

junki (Wed, 28 Nov 2018 09:04:00 GMT):
Please Help me! This is an error when I run the ./start.sh command. Setting tls to false results in the following error. postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: invalid message format at Connection.parseE (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) name: 'error', length: 74, severity: 'ERROR', code: '08P01', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'pqformat.c', line: '652', routine: 'pq_getmsgend' } <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

padmaja9 (Wed, 28 Nov 2018 10:08:37 GMT):
Has joined the channel.

saikumar3349 (Wed, 28 Nov 2018 10:16:02 GMT):

Clipboard - November 28, 2018 3:45 PM

saikumar3349 (Wed, 28 Nov 2018 10:16:02 GMT):

Clipboard - November 28, 2018 3:45 PM

saikumar3349 (Wed, 28 Nov 2018 10:16:37 GMT):

Clipboard - November 28, 2018 3:46 PM

nfrunza (Wed, 28 Nov 2018 13:30:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rkSsc9fLwwgzF5p24) @saikumar3349 please use github tag v.03.5.1

nfrunza (Wed, 28 Nov 2018 13:36:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9vohJi69EcnekFMXe) @yoyokeen please describe your environment, fabric version, explorer branch you're using, node version, and do you use private data in fabric? do you have large data, like files, images in your transactions?

theezenaku (Wed, 28 Nov 2018 22:56:30 GMT):
Has joined the channel.

yinzhiwu (Thu, 29 Nov 2018 03:04:33 GMT):

Clipboard - November 29, 2018 11:04 AM

yinzhiwu (Thu, 29 Nov 2018 03:04:33 GMT):

Clipboard - November 29, 2018 11:04 AM

garunkumar450 (Thu, 29 Nov 2018 03:40:36 GMT):

Capture.PNG

nfrunza (Thu, 29 Nov 2018 04:10:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bDMoFGcawzCyB9Hyy) @yinzhiwu release-3.8 is a development branch, and yes https://github.com/hyperledger/blockchain-explorer/tree/v0.3.7.1 work with fabric-1.2

nfrunza (Thu, 29 Nov 2018 04:10:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bDMoFGcawzCyB9Hyy) @yinzhiwu release-3.8 is a development branch, and yes https://github.com/hyperledger/blockchain-explorer/tree/v0.3.7.1 work with fabric-1.2. Explorer is configurable with composer that uses fabric 1.1 ONLY

TopJohn (Thu, 29 Nov 2018 06:15:48 GMT):
Has joined the channel.

TopJohn (Thu, 29 Nov 2018 06:17:21 GMT):
who is the maintainer,i want to develop hte new explorer whish use golang to implement

TopJohn (Thu, 29 Nov 2018 06:17:39 GMT):
how to contribute

yinzhiwu (Thu, 29 Nov 2018 07:32:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=o3SYymGK7RxiyNvY7) @nfrunza Kindly. Thank you:tropical_fish:

yinzhiwu (Thu, 29 Nov 2018 07:47:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b8CDKjWhzeP79ZxTG) { "network-config": { "Qyw": { "name": "Qyw", "mspid": "QywMSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.qyw", "tls_cacerts": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/peers/peer0.qyw/tls/ca.crt" }, "admin": { "key": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/users/Admin@qyw/msp/keystore", "cert": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/users/Admin@qyw/msp/signcerts" } } }, "channel": "mychannel", "orderers": [ { "mspid": "OrdererMSP", "server-hostname": "orderer.ordererorg", "requests": "grpcs://127.0.0.1:7050", "tls_cacerts": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/ordererOrganizations/ordererorg/orderers/orderer.ordererorg/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/fabric/fabric-dev-servers/fabric-samples/bin", "SYNC_START_DATE_FORMAT": "YYYY/MM/DD", "syncStartDate": "2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.2" }

yinzhiwu (Thu, 29 Nov 2018 07:47:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b8CDKjWhzeP79ZxTG)could you c { "network-config": { "Qyw": { "name": "Qyw", "mspid": "QywMSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.qyw", "tls_cacerts": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/peers/peer0.qyw/tls/ca.crt" }, "admin": { "key": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/users/Admin@qyw/msp/keystore", "cert": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/users/Admin@qyw/msp/signcerts" } } }, "channel": "mychannel", "orderers": [ { "mspid": "OrdererMSP", "server-hostname": "orderer.ordererorg", "requests": "grpcs://127.0.0.1:7050", "tls_cacerts": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/ordererOrganizations/ordererorg/orderers/orderer.ordererorg/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/fabric/fabric-dev-servers/fabric-samples/bin", "SYNC_START_DATE_FORMAT": "YYYY/MM/DD", "syncStartDate": "2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.2" }

yinzhiwu (Thu, 29 Nov 2018 07:51:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b8CDKjWhzeP79ZxTG) Could you help check the "config.json"? Using Fabric 1.2, the version is set to "1.2" ? { "network-config": { "Qyw": { "name": "Qyw", "mspid": "QywMSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.qyw", "tls_cacerts": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/peers/peer0.qyw/tls/ca.crt" }, "admin": { "key": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/users/Admin@qyw/msp/keystore", "cert": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/users/Admin@qyw/msp/signcerts" } } }, "channel": "mychannel", "orderers": [ { "mspid": "OrdererMSP", "server-hostname": "orderer.ordererorg", "requests": "grpcs://127.0.0.1:7050", "tls_cacerts": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/ordererOrganizations/ordererorg/orderers/orderer.ordererorg/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/fabric/fabric-dev-servers/fabric-samples/bin", "SYNC_START_DATE_FORMAT": "YYYY/MM/DD", "syncStartDate": "2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.2" }

yinzhiwu (Thu, 29 Nov 2018 08:04:17 GMT):
Fabric 1.2

yinzhiwu (Thu, 29 Nov 2018 08:10:25 GMT):
Please help check the config.json. Best regards! ---------------------------------------------------- After run $EXPLORER_HOME/start.sh, vi logs/console/console-2018-11-29.log Find Error: --------- postgres://postgre:postgre@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections Environment --------------- Explorer v.3.7.1 Fabric 1.2.1 Compose 0.20.4 config.json: { "network-config": { "Qyw": { "name": "Qyw", "mspid": "QywMSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.qyw", "tls_cacerts": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/peers/peer0.qyw/tls/ca.crt" }, "admin": { "key": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/users/Admin@qyw/msp/keystore", "cert": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/peerOrganizations/qyw/users/Admin@qyw/msp/signcerts" } } }, "channel": "mychannel", "orderers": [ { "mspid": "OrdererMSP", "server-hostname": "orderer.ordererorg", "requests": "grpcs://127.0.0.1:7050", "tls_cacerts": "/home/fabric/fabric-dev-servers/fabric-samples/first-network/crypto-config/ordererOrganizations/ordererorg/orderers/orderer.ordererorg/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/fabric/fabric-dev-servers/fabric-samples/bin", "SYNC_START_DATE_FORMAT": "YYYY/MM/DD", "syncStartDate": "2018/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.2" }

fanliyan (Thu, 29 Nov 2018 08:45:37 GMT):
Has joined the channel.

yinzhiwu (Thu, 29 Nov 2018 10:07:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dBfy9teFzXkXLRB5c) there are two errors: (1) network-config->network-configs; (2)"version": "1.2" -> "version": "1.1". Homepage display now, but cannot get client. what's the problem?

bongaquino (Thu, 29 Nov 2018 12:07:42 GMT):
Sync process is started for the network : [network-1] and client : [client-1] (node:5705) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Channel name [%s] already exist in DB , Kindly re-run the DB scripts to proceed', 'mychannel' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Explorer is closing due to channel name [%s] is already exist in DB', 'mychannel' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

bongaquino (Thu, 29 Nov 2018 12:07:47 GMT):
Any idea what is this?

ShobhitSrivastava (Thu, 29 Nov 2018 12:21:31 GMT):
hi Everyone``` I am facing issue from few days in getting images of hyperledger, Has anyone faced it too?``` *error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/1d/1d3266e01e642210566110ca1fe5317b2e802a9f0349cecd8f13ff60eb863e86/data?verify=1543496987-F7xImgyE4OdUlpgfnh87JSBGZz4%3D: dial tcp: lookup production.cloudflare.docker.com: no such host* ``` ```

me_abhijeet (Thu, 29 Nov 2018 12:24:39 GMT):
I am seeing while i am trying to start couchdb on any peer: nonode@nohost <0.320.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:403) <= mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:load_shards_from_disk/2(line:407) <= mem3_shards:for_docid/3(line:91) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)

junki (Thu, 29 Nov 2018 12:56:57 GMT):
Dear Professionals.

nfrunza (Thu, 29 Nov 2018 13:07:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9wtwzDuwj6drSemse) @bongaquino looks like you killed your fabric, please stop explorer and rerun blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh , then start explorer

nfrunza (Thu, 29 Nov 2018 13:07:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9wtwzDuwj6drSemse) @bongaquino looks like you killed your fabric, and restarted again, please stop explorer and rerun blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh , then start explorer

junki (Thu, 29 Nov 2018 13:08:10 GMT):
@nfrunza Dear Professionals. I am facing big issue. This is my error message. <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>> >>>{ error: invalid message format at Connection.parseE (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:545:11) at Connection.parseMessage (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:370:19) at Socket. (/home/nhuser01/blockchain-explorer/node_modules/pg/lib/connection.js:113:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) name: 'error', length: 74, severity: 'ERROR', code: '08P01', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'pqformat.c', line: '652', routine: 'pq_getmsgend' }<<< <<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> I have seen a few solutions to the same error, but I could not solve it. My config was not wrong. because it worked well when run on another node with the same settings. I guess postgresql does not seem to be able to read block information, but I don't know how to fix it. I really need your help. Thank you

nfrunza (Thu, 29 Nov 2018 13:11:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gZM93b3R8CvntmmnB) @ShobhitSrivastava please ask in fabric-questions channel, thi is for explorer

nfrunza (Thu, 29 Nov 2018 13:11:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gZM93b3R8CvntmmnB) @ShobhitSrivastava please ask in fabric-questions channel, this is for explorer

nfrunza (Thu, 29 Nov 2018 13:13:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4cHeWf2QxCHARFP8J) @yinzhiwu please use explorer tag v0.3.5.1

nfrunza (Thu, 29 Nov 2018 13:13:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4cHeWf2QxCHARFP8J) @yinzhiwu please use explorer tag v0.3.5.1, frabric 1.1 and composer

nfrunza (Thu, 29 Nov 2018 13:14:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=icNQjbiZtbTqXbRzk) @me_abhijeet is the question to explorer ?

Vanitha (Thu, 29 Nov 2018 14:15:39 GMT):
Has joined the channel.

Vanitha (Thu, 29 Nov 2018 14:16:33 GMT):
Hello, I am facing issue while starting the explorer

ihormudryy (Thu, 29 Nov 2018 14:17:15 GMT):
Has joined the channel.

Vanitha (Thu, 29 Nov 2018 14:17:20 GMT):

Screenshot from 2018-11-29 09-16-57.png

Vanitha (Thu, 29 Nov 2018 14:17:25 GMT):
While checking the logs

Vanitha (Thu, 29 Nov 2018 14:17:41 GMT):

Screenshot from 2018-11-29 09-16-45.png

Vanitha (Thu, 29 Nov 2018 14:17:56 GMT):
Could someone please suggest the ways to solve this issue

nfrunza (Thu, 29 Nov 2018 15:32:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=k2Ggjfwowx9TfmGpz) @Vanitha is postgres behind the network

Vanitha (Thu, 29 Nov 2018 17:28:05 GMT):
@nfrunza Nope

Vanitha (Thu, 29 Nov 2018 17:28:20 GMT):

Screenshot from 2018-11-29 12-27-57.png

nfrunza (Thu, 29 Nov 2018 17:56:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZHFro5DnPfCwsw4yF) @TopJohn Thank you very much, see for contributing blockchain-explorer/CONTRIBUTING.md, you will need linux foundation id, as i understand correctly you will have the REST API using goland SDK?

nfrunza (Thu, 29 Nov 2018 18:01:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n2rhczyR2QfsoLs5n) please describe you environment, follow up README /blockchain-explorer/README.md, make sure you all prerequisites

Vanitha (Thu, 29 Nov 2018 18:29:33 GMT):
@nfrunza I have followed this link *https://github.com/hyperledger/blockchain-explorer*

Vanitha (Thu, 29 Nov 2018 18:30:30 GMT):
I did every step

nfrunza (Thu, 29 Nov 2018 18:32:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BaheqabzALXEGAppB) @Vanitha which explorer branch you use, what is your fabric version? node version?

Vanitha (Thu, 29 Nov 2018 18:33:38 GMT):
v8.11.2 -- node version

Vanitha (Thu, 29 Nov 2018 18:33:46 GMT):
And Fabric 1.1

nfrunza (Thu, 29 Nov 2018 18:44:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Porny8QzFXtj8ZPaM) @Vanitha use tag v03.5.1 with fabric 1.1

Vanitha (Thu, 29 Nov 2018 18:52:47 GMT):
I have changed my port now and it's throwing new error

Vanitha (Thu, 29 Nov 2018 18:52:47 GMT):
Is there a chance to check the db connections

Vanitha (Thu, 29 Nov 2018 18:53:03 GMT):
and to down all the connections with the db and to restart freshly?

nfrunza (Thu, 29 Nov 2018 19:05:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=o4cG9oCyqw3rimuXy) @Vanitha use a client to login to postgres, did you pull tag v03.5.1 with fabric 1.1

qin (Fri, 30 Nov 2018 01:27:58 GMT):
Has joined the channel.

Marveliu (Fri, 30 Nov 2018 04:07:13 GMT):
Has joined the channel.

ShobhitSrivastava (Fri, 30 Nov 2018 05:09:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tkw9LsHbZq5D8QEGd) @nfrunza Thanks for the suggestion

Vikaskr08 (Fri, 30 Nov 2018 10:20:43 GMT):
Has joined the channel.

yinzhiwu (Fri, 30 Nov 2018 10:27:42 GMT):

Clipboard - November 30, 2018 6:27 PM

yinzhiwu (Fri, 30 Nov 2018 10:27:42 GMT):

Clipboard - November 30, 2018 6:27 PM

yinzhiwu (Fri, 30 Nov 2018 10:27:42 GMT):

Clipboard - November 30, 2018 6:27 PM

yinzhiwu (Fri, 30 Nov 2018 10:31:14 GMT):
@nfrunza

futrax (Fri, 30 Nov 2018 12:25:34 GMT):
Has joined the channel.

futrax (Fri, 30 Nov 2018 12:28:33 GMT):
Hi, I need some help regarding Hyperledger Explorer configured with softhsm (pkcs11). All the doc deals with a config.json file which seems to be our network and our hyperledger config. How do you configure your network if Hyperledger uses PKCS11 crypto instead "file" crypto ? For example, "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "fabric-path/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "fabric-path/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, AdminPrivateKey is unknown since it's in my softhsm... All Hyperlerdger Explorer solution (included FabricClient) is based on configuration and file crypto, it's impossible to configure a pkcs11 crypto... Am I wrong ? Thank you foir your help.

nfrunza (Fri, 30 Nov 2018 14:59:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oc5H2kQXoicCANGSt) @futrax We have not done such tests, if anyone is able to configure please let us know

nfrunza (Fri, 30 Nov 2018 15:00:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=94CdzPgNXwSZyexxj) @yinzhiwu @nekia would you be able to help yinzhiwu ?

zorrothefox (Fri, 30 Nov 2018 17:28:30 GMT):
Has joined the channel.

zorrothefox (Fri, 30 Nov 2018 17:44:12 GMT):
Hi, I'd like to view my blockchain blocks using the hyperledger-explorer and I've followed the Hyperledger-explorer setup as detailed in the github page, and used the CONFIG-COMPOSER-HLEXPLORER.md to setup the app/platform/config.json settings. I'm using Hyperledger Fabric v.1.2, Composer 0.20.4. When I run the blockchain-explorer/start.sh, I get the below error: `postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections` Now I know that many others in this channel are facing the same issue, but I don't see any resolution posted...

zorrothefox (Fri, 30 Nov 2018 17:44:12 GMT):
Hi, I'd like to view my blockchain blocks using the hyperledger-explorer and I've followed the Hyperledger-explorer setup as detailed in the github page, and used the CONFIG-COMPOSER-HLEXPLORER.md to setup the app/platform/config.json settings. I'm using Hyperledger Fabric v.1.2, Composer 0.20.4. When I run the blockchain-explorer/start.sh, I get the below error: ``postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections` Now I know that many others in this channel are facing the same issue, but I don't see any resolution posted... `

zorrothefox (Fri, 30 Nov 2018 17:44:12 GMT):
Hi, I'd like to view my blockchain blocks using the hyperledger-explorer and I've followed the Hyperledger-explorer setup as detailed in the github page, and used the CONFIG-COMPOSER-HLEXPLORER.md to setup the app/platform/config.json settings. I'm using Hyperledger Fabric v.1.2, Composer 0.20.4. When I run the blockchain-explorer/start.sh, I get the below error: ``postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections` `

zorrothefox (Fri, 30 Nov 2018 17:44:12 GMT):
Hi, I'd like to view my blockchain blocks using the hyperledger-explorer and I've followed the Hyperledger-explorer setup as detailed in the github page, and used the CONFIG-COMPOSER-HLEXPLORER.md to setup the app/platform/config.json settings. *Now I know that many others in this channel are facing the same issue, but I don't see any resolution posted... * I'm using Hyperledger Fabric v.1.2, Composer 0.20.4. When I run the blockchain-explorer/start.sh, I get the below error: ``postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections` `

zorrothefox (Fri, 30 Nov 2018 17:44:12 GMT):
Hi, I'd like to view my blockchain blocks using the hyperledger-explorer and I've followed the Hyperledger-explorer setup as detailed in the github page, and used the CONFIG-COMPOSER-HLEXPLORER.md to setup the app/platform/config.json settings. *Now I know that many others in this channel are facing the same issue, but I don't see any resolution posted... * I'm using Hyperledger Fabric v.1.2, Composer 0.20.4. When I run the blockchain-explorer/start.sh, I get the below error: `postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/bharat/hlf/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully Closed out connections`

nfrunza (Fri, 30 Nov 2018 17:55:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fijDkz8T9muaXkywr) @zorrothefox try to use tag v0.3.5.1

zorrothefox (Fri, 30 Nov 2018 18:22:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LYQBS839DxY2asixY) @nfrunza *OK. Will try it out and get back with results*! :thumbsup:

zorrothefox (Fri, 30 Nov 2018 19:30:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MjdHATSWme6t2uvb4) Wow... Your advice really worked! Thanks a tonne! My Hyperledger-explorer started working and it is working with Fabric 1.2.1 and Composer 0.20.4. There were some tweaks which I had to perform but overall it was not that difficult.

zorrothefox (Fri, 30 Nov 2018 19:30:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MjdHATSWme6t2uvb4) *Wow... Your advice really worked! Thanks a tonne! My Hyperledger-explorer started working and it is working with Fabric 1.2.1 and Composer 0.20.4. There were some tweaks which I had to perform but overall it was not that difficult. THANKS A TONNE!*

zorrothefox (Fri, 30 Nov 2018 19:30:39 GMT):
@nfrunza *Wow... Your advice really worked! Thanks a tonne! My Hyperledger-explorer started working and it is working with Fabric 1.2.1 and Composer 0.20.4. There were some tweaks which I had to perform but overall it was not that difficult. THANKS A TONNE!*

zorrothefox (Fri, 30 Nov 2018 19:32:20 GMT):
I will create a github document detailing the changes which I had to perform (very minor, but crucial changes) so that it helps others as well! :smile:

zorrothefox (Fri, 30 Nov 2018 19:32:20 GMT):
*I will create a github document detailing the changes which I had to perform (very minor, but crucial changes) so that it helps others as well! :smile: *

zorrothefox (Sat, 01 Dec 2018 06:18:41 GMT):
@nfrunza The blockchain explorer is working well... It's showing the blocks as they get added (albeit with a delay of around 30-40 seconds).

zorrothefox (Sat, 01 Dec 2018 06:18:41 GMT):
@nfrunza The blockchain explorer is working well... It's showing the blocks as they get added (albeit with a delay of around 30-40 seconds). However, in the dashboard view, under Peer Status, it shows

zorrothefox (Sat, 01 Dec 2018 06:18:41 GMT):
@nfrunza Thanks to your help, the blockchain explorer is working well... It's showing the blocks as they get added (albeit with a delay of around 30-40 seconds). However, in the dashboard view, under Peer Status, it shows ------------------------------------------------------- peer0.org1.example.com DOWN -------------------------------------------------------- Is this normal? How can I remedy this?

zorrothefox (Sat, 01 Dec 2018 06:18:41 GMT):
@nfrunza Thanks to your help, the blockchain explorer is working well... It's showing the blocks as they get added (albeit with a delay of around 30-40 seconds). However, in the dashboard view, under Peer Status, it shows ------------------------------------------------------- peer0.org1.example.com DOWN -------------------------------------------------------- Is this normal? How can I remedy this?

zorrothefox (Sat, 01 Dec 2018 06:22:27 GMT):

explorer-peer-down.png

nfrunza (Sat, 01 Dec 2018 07:03:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TRfKSooF5pJYYQc9u) @zorrothefox which fabric version and explorer branch you use?

zorrothefox (Sat, 01 Dec 2018 08:04:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FWtWXwWvpWwWxNYbK) @nfrunza fabric version 1.2.1, composer 0.20.4, explorer branch 3.5.1 (as recommended by you).

zorrothefox (Sat, 01 Dec 2018 10:31:40 GMT):

explorer-peer-down.png

nfrunza (Sat, 01 Dec 2018 13:54:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=96XNJB4SMqot3fBFu) @zorrothefox fabric 1.1 works well with composer and v0.3.5.1

zorrothefox (Sat, 01 Dec 2018 16:06:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AynhnDyxnSNQ9msTL) @nfrunza ok... my codebase is tested with fabric 1.2, so I guess I'll live with the "down" status for now... Thanks for all the help! :thumbsup:

nfrunza (Sat, 01 Dec 2018 22:53:04 GMT):
you welcome

nfrunza (Sat, 01 Dec 2018 22:53:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=H8GepTKp37w9YHMT3) @zorrothefox welcome

garunkumar450 (Sun, 02 Dec 2018 06:39:15 GMT):
@zorrothefox can u please share the links of explorer branch 3.5.1 for compose setup

zorrothefox (Sun, 02 Dec 2018 06:52:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aP766btKwmwgTmPps) @garunkumar450 It is available in github repository itself https://github.com/hyperledger/blockchain-explorer. You need to git clone the repository and then checkout the tag v0.3.5.1 (here's how to download a particular tag https://stackoverflow.com/a/792027/1336068).

zorrothefox (Sun, 02 Dec 2018 06:52:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aP766btKwmwgTmPps) @garunkumar450 It is available in github repository itself https://github.com/hyperledger/blockchain-explorer. You need to git clone the repository and then checkout the tag v0.3.5.1 (here's how to download a particular tag https://stackoverflow.com/a/792027/1336068). Note that you don't need to create a branch, just checkout the tag as is.

yinzhiwu (Sun, 02 Dec 2018 09:53:53 GMT):
Run Hyperledger Explorer using Docker Env -------- Fabric 1.2 Coposer 0.20.4 explorer v0.3.7.1 when run the cmd of "docker logs -f blockchain-explorer" I found errors below, could someone help to fix it? Thanks a lot. ---------------------------------------------------------------------- ---------------------------------------------------------------------- /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found Please open web browser to access :http://localhost:8080/ pid is 7 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'getChannelNames' of undefined at Proxy.getChannels (/opt/explorer/app/platform/fabric/Proxy.js:170:36) at app.get (/opt/explorer/app/rest/platformroutes.js:51:11) at Layer.handle [as handle_request] (/opt/explorer/node_modules/express/lib/router/layer.js:95:5) at next (/opt/explorer/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/opt/explorer/node_modules/express/lib/router/route.js:112:3) at Layer.handle [as handle_request] (/opt/explorer/node_modules/express/lib/router/layer.js:95:5) at /opt/explorer/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/opt/explorer/node_modules/express/lib/router/index.js:335:12) at next (/opt/explorer/node_modules/express/lib/router/index.js:275:10) at compression (/opt/explorer/node_modules/compression/index.js:220:5) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'getDefaultChannel' of undefined at Proxy.getCurrentChannel (/opt/explorer/app/platform/fabric/Proxy.js:26:28) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>>

nfrunza (Sun, 02 Dec 2018 13:49:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aP766btKwmwgTmPps) @garunkumar450 1) $git clone https://github.com/hyperledger/blockchain-explorer.git 2)$git checkout v0.3.5.1

yinzhiwu (Mon, 03 Dec 2018 01:43:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=c7uTjJL7qaqiwhdih) @nfrunza v0.3.5.1 not support fabric1.2, why can use? confused

yinzhiwu (Mon, 03 Dec 2018 01:47:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=L2rCZ8KrTKYpyiGvm) @nfrunza Thnaks. Fabric 1.2 can work with v0.3.7.1, but while Run Hyperledger Explorer using Docker,there are errors. I need use Fabric 1.2.

yinzhiwu (Mon, 03 Dec 2018 02:06:11 GMT):

Clipboard - December 3, 2018 10:06 AM

yinzhiwu (Mon, 03 Dec 2018 02:06:11 GMT):

Clipboard - December 3, 2018 10:06 AM

nfrunza (Mon, 03 Dec 2018 02:10:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=H3JZRermsqiqeGtn6) @yinzhiwu Read, https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md, and https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md#example-file

yinzhiwu (Mon, 03 Dec 2018 02:34:28 GMT):

Clipboard - December 3, 2018 10:34 AM

yinzhiwu (Mon, 03 Dec 2018 02:34:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qnk45y99nYWMiY7pW) @nfrunza Thanks, This parameter is requred?

yinzhiwu (Mon, 03 Dec 2018 02:34:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qnk45y99nYWMiY7pW) @nfrunza Thanks, This parameter is requred?

yinzhiwu (Mon, 03 Dec 2018 02:35:03 GMT):

Clipboard - December 3, 2018 10:35 AM

nfrunza (Mon, 03 Dec 2018 02:36:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=azPYSN5pngR8gbobu) @yinzhiwu that is the fabric network name, get it by $docker network ls

yinzhiwu (Mon, 03 Dec 2018 02:47:34 GMT):

Clipboard - December 3, 2018 10:47 AM

yinzhiwu (Mon, 03 Dec 2018 02:49:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YLkbjiTNMbE4kgRf7) @nfrunza these errors, how to solve it. the same config.json can work well in native env(not docker). what's the difference between these two env?

nfrunza (Mon, 03 Dec 2018 02:52:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rR9yaGRd37Fw5BotX) @yinzhiwu what is the channel name defined in your config

yinzhiwu (Mon, 03 Dec 2018 02:55:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2GyBwfNzSChnZbHcy) @nfrunza mychannel

nfrunza (Mon, 03 Dec 2018 02:55:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aEwdEnMpwrxMcy7ws) @yinzhiwu is your fabric running?

nfrunza (Mon, 03 Dec 2018 02:55:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Hw9JBDh3BZBeZpsS8) @emiliomarin did you update package.json to fabric-client-1.3? [ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aEwdEnMpwrxMcy7ws) @yinzhiwu is your fabric running?

yinzhiwu (Mon, 03 Dec 2018 02:56:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KXYn7dM5y875CsR8Z) @nfrunza yes

yinzhiwu (Mon, 03 Dec 2018 02:56:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KXYn7dM5y875CsR8Z) @nfrunza yes,fabric is running

yinzhiwu (Mon, 03 Dec 2018 03:03:26 GMT):
How can do further?

emiliomarin (Mon, 03 Dec 2018 08:41:43 GMT):
Does explorer work with Fabric 1.3?

me_abhijeet (Mon, 03 Dec 2018 09:40:25 GMT):
While I am trying to create the channel using this cmd: peer channel create -o orderer.mydomain.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/mydomain.com/orderers/orderer.mydomain.com/msp/tlscacerts/tlsca.mydomain.com-cert.pem I am seeing error: Endorser and orderer connections initialized Error: got unexpected status: BAD_REQUEST -- error authorizing update: error validating DeltaSet: policy for [Group] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining

ihormudryy (Mon, 03 Dec 2018 10:20:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2EdNBpHRaSQ5cH84i) @emiliomarin Yes, at least I've managed to run it with 'fabric-samples/first-network' 1.3v project locally on my machine

emiliomarin (Mon, 03 Dec 2018 10:24:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=esz6RjE7WpNQ2swvj) @ihormudryy I'm working on it now and after a bunch of configuration errors I'm getting this: `TypeError: this.client.hfc_client.getEventHub is not a function` `TypeError: this.peerEventHub.disconnect is not a function` `/home/ubuntu/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135 this.peerEventHub.disconnect(); ^ TypeError: this.peerEventHub.disconnect is not a function`

emiliomarin (Mon, 03 Dec 2018 10:24:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=esz6RjE7WpNQ2swvj) @ihormudryy I'm working on it now and after a bunch of configuration errors I'm getting this: `TypeError: this.client.hfc_client.getEventHub is not a function` `TypeError: this.peerEventHub.disconnect is not a function` `/home/ubuntu/blockchain-explorer/app/platform/fabric/sync/FabricEvent.js:135 this.peerEventHub.disconnect(); ^ TypeError: this.peerEventHub.disconnect is not a function`

emiliomarin (Mon, 03 Dec 2018 10:25:49 GMT):
Which I found also here: https://jira.hyperledger.org/browse/BE-487 Any thought?

ihormudryy (Mon, 03 Dec 2018 10:27:55 GMT):
are you using explorer from the branch release-3.8? I'm asking cause for me master didn't work..

emiliomarin (Mon, 03 Dec 2018 10:28:36 GMT):
I am using master branch right now

ihormudryy (Mon, 03 Dec 2018 10:29:16 GMT):
try to switch to release one and start explorer not from docker

emiliomarin (Mon, 03 Dec 2018 10:31:07 GMT):
Alright let me try

emiliomarin (Mon, 03 Dec 2018 10:48:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GJRAEgeZkfYi35jPW) @ihormudryy yup, that was it! :D

emiliomarin (Mon, 03 Dec 2018 10:48:56 GMT):
I have another question now. If I have 2 orgs on 2 different machines, do I need to set up a network for each one? Right now in my setup each org has 2 peers and explorer only shows the 2 peers from one org, not the others

chandrasekarangengadharan (Mon, 03 Dec 2018 10:49:47 GMT):
Has joined the channel.

emiliomarin (Mon, 03 Dec 2018 10:53:48 GMT):
Or do I set up another client?

emiliomarin (Mon, 03 Dec 2018 11:41:20 GMT):
So a little more background on that: I modified first the config file to math my setup, both orgs and each peer on the peer section. When I run the main.js it works without errors but when I go to localhost:8080 it only shows the 2 peers of the first organization, nothing for the second one... On the client section I have the name of the first organization, and if I switch to the second one to test it out I get this on the app.log `[2018-12-03 11:37:33.020] [ERROR] FabricClient - { Error: 2 UNKNOWN: access denied: channel [] creator org [SupportMSP]` And in the console `Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data`

emiliomarin (Mon, 03 Dec 2018 11:41:20 GMT):
So a little more background on that: I modified first the config file to math my setup, both orgs and each peer on the peer section. When I run the main.js it works without errors but when I go to localhost:8080 it only shows the 2 peers of the first organization, nothing for the second one... On the client section I have the name of the first organization, and if I switch to the second one to test it out I get this on the app.log `[2018-12-03 11:37:33.020] [ERROR] FabricClient - { Error: 2 UNKNOWN: access denied: channel [] creator org [SupportMSP]` And in the console `Error : Failed to connect client peer, please check the configuration and peer status`` `Info : Explorer will continue working with only DB data`

jd232 (Tue, 04 Dec 2018 04:17:42 GMT):
Has joined the channel.

deepakvparmar (Tue, 04 Dec 2018 06:19:15 GMT):
While starting blockchain explorer, I am getting following error. I have running 'first-network' on Fabric 1.2 <<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: EISDIR: illegal operation on a directory, read <<<<<<>>>>>>>>>>>>>>>>>>>> { ErrortryReadSync (fs.js:540:20) at Object.fs.readFileSync (fs.js:583:19) {ory, rreadFileSync (/home/sysadmin/deepak/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:446:17) <<<<<<

deepakvparmar (Tue, 04 Dec 2018 06:19:15 GMT):
While starting blockchain explorer, I am getting following error. I have running 'first-network' on Fabric 1.2 <<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: EISDIR: illegal operation on a directory, read <<<<<<>>>>>>>>>>>>>>>>>>>> { ErrortryReadSync (fs.js:540:20) at Object.fs.readFileSync (fs.js:583:19) {ory, rreadFileSync (/home/sysadmin/deepak/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:446:17) <<<<<<

deepakvparmar (Tue, 04 Dec 2018 06:19:15 GMT):
While starting blockchain explorer, I am getting following error. I have running 'first-network' on Fabric 1.2 , Any pointer or suggestion will be very helpful. <<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: EISDIR: illegal operation on a directory, read <<<<<<>>>>>>>>>>>>>>>>>>>> { ErrortryReadSync (fs.js:540:20) at Object.fs.readFileSync (fs.js:583:19) {ory, rreadFileSync (/home/sysadmin/deepak/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:446:17) <<<<<<

Cliff.Huang (Tue, 04 Dec 2018 09:35:58 GMT):
Has joined the channel.

nfrunza (Tue, 04 Dec 2018 13:30:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=W57YgrM8BprPX2uyL) @deepakvparmar https://stackoverflow.com/questions/34959038/npm-stuck-giving-the-same-error-eisdir-illegal-operation-on-a-directory-read-a

iharshulhan (Tue, 04 Dec 2018 16:29:55 GMT):
Has joined the channel.

iharshulhan (Tue, 04 Dec 2018 16:34:05 GMT):
Hey everyone, I'm planning to add support for HyperLedger Iroha, but I have a following question. Currently a lot of functionality is entered around a concept of channels, which is specific for Fabric. As there is no channels in Iroha, what should one do?

nfrunza (Tue, 04 Dec 2018 16:53:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WrLjeYNBZeXdbKB3S) @iharshulhan Very good point, which blockchain platforms iroha supports ?

deepakvparmar (Wed, 05 Dec 2018 02:54:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ESrbfyfenXRQw5qf8) @nfrunza Thank You. I have provided following setting into config.json ,which is the only file where I have provided file path. If you dont mind can you see any issue?

vishrutJha (Wed, 05 Dec 2018 02:55:16 GMT):
Has joined the channel.

vishrutJha (Wed, 05 Dec 2018 02:56:32 GMT):
Hello All, Is there any current support or scope for any future support for wallets within hyperledger-explorer? The aim is to scope a user's view of blockchain explorer based on their ACL rules on the network.

vishrutJha (Wed, 05 Dec 2018 02:57:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FvzjZBv3buqpHsZY7) If not, I will be building out a view atop hyperledger-composer APIs replicating hyperledger exploerer UI, hence the clarification.

deepakvparmar (Wed, 05 Dec 2018 03:05:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ESrbfyfenXRQw5qf8) @nfrunza Thank You very much. I made mistake. I had changed value from "false" to "true" for fullpath attribute in Config.json file.

Vigneshavm (Wed, 05 Dec 2018 06:25:10 GMT):
Has joined the channel.

nfrunza (Wed, 05 Dec 2018 13:01:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FvzjZBv3buqpHsZY7) @vishrutJha Thank you for contacting, no we do not have such in roadmap, but if you wish to contribute, we are welcoming.

nfrunza (Wed, 05 Dec 2018 13:02:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6zfbDjQxJqHTWnN5E) @deepakvparmar not a problem, good that you found

vishrutJha (Wed, 05 Dec 2018 13:04:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pt3eo6X9PDFnzEbJM) @nfrunza Thank you for the clarification! Appreciate your time.

sam1 (Wed, 05 Dec 2018 15:14:04 GMT):
Has joined the channel.

iharshulhan (Wed, 05 Dec 2018 18:02:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Wfk3GSpyWnEcC9gX9) @nfrunza It is a blockchain platform itself https://www.hyperledger.org/projects/iroha

nfrunza (Wed, 05 Dec 2018 18:46:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BS5dXuce2Q5sdeohk) @iharshulhan what i mean is fabric blockchain, ethereum blockchain or other?

iharshulhan (Wed, 05 Dec 2018 21:55:39 GMT):
@nfrunza Iroha is an independent blockchain technology. It is an alternative to fabric

nfrunza (Wed, 05 Dec 2018 22:11:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tn3rNiiaWAp6j7cnK) @iharshulhan I see, thanks you

nfrunza (Wed, 05 Dec 2018 22:11:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tn3rNiiaWAp6j7cnK) @iharshulhan thank you.

romanychda (Thu, 06 Dec 2018 09:27:59 GMT):
Has joined the channel.

mallikarjunasai995 (Thu, 06 Dec 2018 10:17:05 GMT):
Has joined the channel.

abityildiz (Thu, 06 Dec 2018 14:18:12 GMT):

Clipboard - December 6, 2018 5:17 PM

nfrunza (Thu, 06 Dec 2018 14:50:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Se5t5RWDuThQ9jdvi) @abityildiz did you follow the README, i think you need to run DB Setup, https://github.com/hyperledger/blockchain-explorer#Database-Setup

sam1 (Thu, 06 Dec 2018 15:34:55 GMT):
Hi guys, I'm getting this error when trying to run explorer against a working fabric setup

sam1 (Thu, 06 Dec 2018 15:34:57 GMT):
Sync process is started for the network : [network-1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

sam1 (Thu, 06 Dec 2018 15:35:03 GMT):
any ideas what the issue is ?

nfrunza (Thu, 06 Dec 2018 16:05:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=awGtWGxr3CqHJBC8n) @sam1 please verify your config.json, make sure fabric is running, which fabric version y're using, and your OS?

chandrika (Thu, 06 Dec 2018 16:28:56 GMT):
hi @nfrunza .. Can you please help me with fabric-secure-chaincode ? I am facing some error while making peer service up using the command - create_peer.sh

chandrika (Thu, 06 Dec 2018 16:29:29 GMT):
I am using the link - https://github.com/hyperledger-labs/fabric-secure-chaincode

chandrika (Thu, 06 Dec 2018 16:29:37 GMT):
Thanks,

chandrika (Thu, 06 Dec 2018 16:29:38 GMT):
Chandrika

ehuarotop (Thu, 06 Dec 2018 16:29:41 GMT):
Has joined the channel.

ehuarotop (Thu, 06 Dec 2018 16:30:47 GMT):
Hi guys

ehuarotop (Thu, 06 Dec 2018 16:31:05 GMT):
I've managed to deploy hyperledger on two physical machines

ehuarotop (Thu, 06 Dec 2018 16:31:38 GMT):
Now, I want to connect hyperledger explorer to this network

ehuarotop (Thu, 06 Dec 2018 16:32:12 GMT):
in order to see blocks and transactions there..

ehuarotop (Thu, 06 Dec 2018 16:32:24 GMT):
I've managed to install hyperledger explorer..

ehuarotop (Thu, 06 Dec 2018 16:32:40 GMT):
but I have problems on the synchronization part

ehuarotop (Thu, 06 Dec 2018 16:33:17 GMT):
I've follow this guide: https://medium.com/@malliksarvepalli/hyperledger-explorer-with-fabric-1-2-running-on-multiple-hosts-89c5af691b7e

ehuarotop (Thu, 06 Dec 2018 16:34:23 GMT):
viewing the logs, for example in logs/sync/app/app.log

ehuarotop (Thu, 06 Dec 2018 16:34:27 GMT):
I see this

ehuarotop (Thu, 06 Dec 2018 16:34:35 GMT):

Clipboard - December 6, 2018 11:34 AM

ehuarotop (Thu, 06 Dec 2018 16:35:43 GMT):
and in /logs/sync/console/console-2018-12-06.log

ehuarotop (Thu, 06 Dec 2018 16:35:55 GMT):

Clipboard - December 6, 2018 11:35 AM

ehuarotop (Thu, 06 Dec 2018 16:36:10 GMT):
I've reviewed the config.json file..

ehuarotop (Thu, 06 Dec 2018 16:36:18 GMT):
and everything looks fine..

nfrunza (Thu, 06 Dec 2018 16:41:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XXLwn63WGWrjzsnop) @chandrika please ask in https://chat.hyperledger.org/channel/fabric-questions

nfrunza (Thu, 06 Dec 2018 16:44:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PYeBxd4mawv4e3cGc) @ehuarotop the error says it is a connection problem, if you're using fabric-ca in your fabric network Explorer doesn't support it, and is the fabric remotely when you connect from explorer?

sam1 (Thu, 06 Dec 2018 16:46:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kJbDqEQqNuyghanJF) @nfrunza hi nfrunza, config.json appears to be correct and points to the right orderer, peer etc, I've also confirmed connectivity via telnet. I'm running fabric 1.3

sam1 (Thu, 06 Dec 2018 16:48:15 GMT):
is this stanza supposed to relate to the actual docker network name or is it just human readable text? "network-1": { "version": "1.0", "clients": { "client-1": {

ehuarotop (Thu, 06 Dec 2018 16:48:31 GMT):
@nfrunza Yes, I have two instances on aws running one (orderer, ca, and a peer) and the other (running a second peer)

ehuarotop (Thu, 06 Dec 2018 16:48:55 GMT):
this is working OK,

ehuarotop (Thu, 06 Dec 2018 16:49:08 GMT):
I can see blocks created in boths instances

ehuarotop (Thu, 06 Dec 2018 16:49:17 GMT):
when i interact with the network

ehuarotop (Thu, 06 Dec 2018 16:50:10 GMT):
I have a third instance, in which I installed Hyperledger explorer and I trying to connect this instance two the network, in order to get an dashboard from my network

ehuarotop (Thu, 06 Dec 2018 16:51:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tZ6uGaqX29GC8gP7b) @nfrunza I don't understan what your refer with "if you're using fabric-ca in your fabric network Explorer doesn't support it"

nfrunza (Thu, 06 Dec 2018 17:15:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4EnfqiHLXfCMMGDRt) @ehuarotop where did you install Explorer in AWS, or remotely ?

ehuarotop (Thu, 06 Dec 2018 17:24:00 GMT):
@nfrunza I installed explorer on AWS

ehuarotop (Thu, 06 Dec 2018 17:24:08 GMT):
and the network in in AWS too

nfrunza (Thu, 06 Dec 2018 17:25:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LRK44CS9cvP3Eimmr) @ehuarotop in the same EC2 instance? or separate

ehuarotop (Thu, 06 Dec 2018 18:01:14 GMT):
@nfrunza as I explained before I have two instances in which I deploy a .bna , in these two instances everything is working Ok

ehuarotop (Thu, 06 Dec 2018 18:01:51 GMT):
appart of that

ehuarotop (Thu, 06 Dec 2018 18:01:57 GMT):
I have a third instance

ehuarotop (Thu, 06 Dec 2018 18:02:03 GMT):
in which I installed explorer..

ehuarotop (Thu, 06 Dec 2018 18:02:29 GMT):
now I'm trying to connect this third instance with explorer, to the blockchain network I deployed on the other two instances

ehuarotop (Thu, 06 Dec 2018 18:02:55 GMT):
I've managed to install Explorer without problems, run npm installs and tests

ehuarotop (Thu, 06 Dec 2018 18:03:03 GMT):
and everything works like a charm..

ehuarotop (Thu, 06 Dec 2018 18:03:12 GMT):
I can see the dashboard of explorer..

ehuarotop (Thu, 06 Dec 2018 18:03:27 GMT):
but every measure in on Zero (0)

ehuarotop (Thu, 06 Dec 2018 18:03:41 GMT):
then I try to run ./syncstart.sh

ehuarotop (Thu, 06 Dec 2018 18:04:07 GMT):
and this script fails with the message I showed you some lines ago

ehuarotop (Thu, 06 Dec 2018 18:04:48 GMT):

Selection_022.png

ehuarotop (Thu, 06 Dec 2018 18:04:53 GMT):
this one..

ehuarotop (Thu, 06 Dec 2018 18:05:07 GMT):
appart of that in /app/sync/app/app.log

ehuarotop (Thu, 06 Dec 2018 18:05:15 GMT):

Selection_021.png

nfrunza (Thu, 06 Dec 2018 18:05:50 GMT):
please read about syncstart.sh in README

ehuarotop (Thu, 06 Dec 2018 18:07:17 GMT):
in README is explained that if I no pass parameters

ehuarotop (Thu, 06 Dec 2018 18:07:35 GMT):
first network and client will be considered

ehuarotop (Thu, 06 Dec 2018 18:08:10 GMT):
and for the image I sent, it seems that is working as expected.. but there is some problem with the connection

nfrunza (Thu, 06 Dec 2018 18:45:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vzXF4JPRZx8CbYsZi) @ehuarotop maybe you need to config in out bounds in EC2

nfrunza (Thu, 06 Dec 2018 18:46:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5jFKnRP2yc2BjP568) I tested Explorer in docker in AWS only

ehuarotop (Thu, 06 Dec 2018 19:04:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5jFKnRP2yc2BjP568) @nfrunza I verified the ports and inbound and outbound rules..

ehuarotop (Thu, 06 Dec 2018 19:05:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7eQsXagDyXcYH7maT) @nfrunza :(

ehuarotop (Thu, 06 Dec 2018 22:28:24 GMT):
@nfrunza hi, I was looking for a solution to muy problem

ehuarotop (Thu, 06 Dec 2018 22:28:31 GMT):
and start debugging

ehuarotop (Thu, 06 Dec 2018 22:28:35 GMT):
the code..

ehuarotop (Thu, 06 Dec 2018 22:28:48 GMT):
finally I came to this link: https://jira.hyperledger.org/browse/BE-471

ehuarotop (Thu, 06 Dec 2018 22:29:17 GMT):
I see you participate in this thread

chandrika (Fri, 07 Dec 2018 04:30:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jLTSaRbwXqWo4TAui) @nfrunza Thanks :)

abityildiz (Fri, 07 Dec 2018 06:07:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7S8ovMcExBMcccb2J) @nfrunza hi,i've installed it before hyperledger fabric,after i have installed hyperledger explorer.which one install beforer?

vikasbalyan (Fri, 07 Dec 2018 09:33:24 GMT):
Has joined the channel.

vikasbalyan (Fri, 07 Dec 2018 09:44:44 GMT):
@nfrunza Hi , i've installed hyperledger fabric on my ubuntu machine after that i've installed fabric explorer on the same machine and start it with ./start.sh but explorer show data as 0 blocks,0 transactions, 0 chaincode and 0 nodes please help me..

vikasbalyan (Fri, 07 Dec 2018 10:53:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aP766btKwmwgTmPps) @garunkumar450 @garunkumar450 https://github.com/hyperledger/blockchain-explorer/tree/v0.3.5.1

Karthik1337 (Fri, 07 Dec 2018 11:41:01 GMT):
Hi, I have 3 organization structure. org1 and org2 connected via channel1, org 1 and org3 connected via channel2. Can any please share the template config.json for explorer setup in docker.

nfrunza (Fri, 07 Dec 2018 14:04:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7NDSJWAgGEmqHMkAL) @ehuarotop Thank you, great that it helped

nfrunza (Fri, 07 Dec 2018 14:05:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7fsmzzEGxSsddkRNX) @abityildiz Would you rephrase your question? Or i understand that you installed the Explorer before installing a HL fabric network?

abityildiz (Fri, 07 Dec 2018 14:07:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dtiTtg76NvG2ZsecZ) @nfrunza i have installed the explorer after install HL fabric.

nfrunza (Fri, 07 Dec 2018 14:13:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SeKzBcwMw26umaYP9) @abityildiz would you post your question again, i think i lost it

abityildiz (Fri, 07 Dec 2018 14:14:44 GMT):

Clipboard - December 7, 2018 5:14 PM

nfrunza (Fri, 07 Dec 2018 14:22:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2GkJ8o3wDxHJfDNaD) @abityildiz which fabric version and explorer version you're using?

abityildiz (Fri, 07 Dec 2018 14:23:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iwSz4kFzEwd2eYWte) @nfrunza HL 1.2 ,explorer 3.0.7

nfrunza (Fri, 07 Dec 2018 14:36:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=a2HLnRLEg9t2eQZ7w) @abityildiz you mean v0.3.7?

nfrunza (Fri, 07 Dec 2018 14:37:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=veTYnGAbQ8apqJckm) did you follow up https://github.com/hyperledger/blockchain-explorer#Database-Setup

nfrunza (Fri, 07 Dec 2018 14:52:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iwSz4kFzEwd2eYWte) would you be able to see the database using a client to connect to it? such as pgAdmin or other?

sam1 (Fri, 07 Dec 2018 15:07:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8JsaMgYdy23HkXFGc) @nfrunza any idea about this issue ?

nfrunza (Fri, 07 Dec 2018 15:16:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YZ6NKhDLskovLyrzy) @sam1 I'm assuming that you installed Explorer in your local environment, and connecting to a fabric network using telnet ?

sam1 (Fri, 07 Dec 2018 15:20:45 GMT):
@nfrunza no its all installed in kubernetes in the same namespace

sam1 (Fri, 07 Dec 2018 15:21:10 GMT):
im using telnet co confirm the servers can talk to each other, ports are open and DNS is not an issue

sam1 (Fri, 07 Dec 2018 15:21:10 GMT):
im using telnet to confirm the servers can talk to each other, ports are open and DNS is not an issue

nfrunza (Fri, 07 Dec 2018 15:25:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BJGdKSTiAJB2msYQX) @sam1 We have not tested in kubernetes , but you can refer to https://github.com/feitnomore/hyperledger-fabric-kubernetes , and ask the contributor, he is a very friendly guy

nfrunza (Fri, 07 Dec 2018 15:25:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BJGdKSTiAJB2msYQX) @sam1 We have not tested in kubernetes , but you can refer to https://github.com/feitnomore/hyperledger-fabric-kubernetes , and ask the contributor, he is a very friendly guy, i think he used release-3.8 branch, so you may need to to tweak it

ron (Fri, 07 Dec 2018 21:37:57 GMT):
Has joined the channel.

mikd (Fri, 07 Dec 2018 21:52:02 GMT):
Has joined the channel.

DJ_HC (Sun, 09 Dec 2018 14:57:05 GMT):
Has joined the channel.

garunkumar450 (Mon, 10 Dec 2018 04:30:34 GMT):

composer1.PNG

garunkumar450 (Mon, 10 Dec 2018 04:30:34 GMT):

composer1.PNG

emiliomarin (Mon, 10 Dec 2018 08:31:36 GMT):
Is it possible to add custom API queries?

me_abhijeet (Mon, 10 Dec 2018 11:36:05 GMT):
I am working on Multihost hyper ledger project and the Network Topology is: 1- 2 Orgs (Org1,Org2) 2- 2 CA(ca.org1 on PC1,ca.org2 on PC2) 3- 2 peer(p1org1,p0org1) on PC1 4- 2 peer (p1org2,p0org20 on PC2 5 - 1 orderer on PC1 and 1 cli on PC2 the network with working fine with Marbles chain code given in the first network but: Issue 1: when I'm checking the CouchDB of peer0 of ORG1 and peer0 of Org2 they both have the copy of data but in peer1 of both orgs there is no data regarding marbles. Issue 2: is it compulsory to create CA on both Machine? Issue 3: When I'm trying to make peer0.org2.example.com join the channel then I am seeing this: Error: error getting endorser client for the channel: endorser client failed to connect to peer0.org2.example.com:7051

nfrunza (Mon, 10 Dec 2018 12:34:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3so7TBMG8CAySEK6R) @garunkumar450 please ask here https://chat.hyperledger.org/channel/composer

nfrunza (Mon, 10 Dec 2018 12:57:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ekgBntRaXc7JBfNws) @emiliomarin you mean custom queries to explorer API?

nfrunza (Mon, 10 Dec 2018 12:59:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jvxjvtNhoN8D9fDJB) @me_abhijeet is the question to HL explorer?

me_abhijeet (Mon, 10 Dec 2018 13:09:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=s58W72CZcwcekY2be) @nfrunza fabric

nfrunza (Mon, 10 Dec 2018 13:12:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MXh5zoBtCTAECMcdW) @me_abhijeet please ask here https://chat.hyperledger.org/channel/fabric-questions

me_abhijeet (Mon, 10 Dec 2018 13:13:34 GMT):
okey

sam1 (Mon, 10 Dec 2018 17:23:17 GMT):
hi @nfrunza I managed to get a bit further on running explorer. I can now get the UI working but get no data, logs have this: [2018-12-10 17:17:07.896] [DEBUG] FabricClient - Found existing orderer grpc://orderer:PORT [2018-12-10 17:17:07.896] [DEBUG] FabricClient - Successfully created orderer [orderer:PORT] for client [client-1] [2018-12-10 17:17:07.896] [DEBUG] Proxy - getPeersStatus >> [] [2018-12-10 17:17:07.897] [DEBUG] Proxy - getChannels >> [] [2018-12-10 17:17:07.899] [DEBUG] Proxy - getChannelsInfo >> []

nfrunza (Mon, 10 Dec 2018 18:15:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RA7tLpeRfzAK7sZGd) @sam1 did you look, or tried to run https://github.com/feitnomore/hyperledger-fabric-kubernetes ?

KenvinNguyen (Tue, 11 Dec 2018 04:40:14 GMT):
Has joined the channel.

KenvinNguyen (Tue, 11 Dec 2018 04:41:16 GMT):
hi guys, can we use hyperledger explorer to connect fabcar sample network run on fabric V1.3?

KenvinNguyen (Tue, 11 Dec 2018 04:43:15 GMT):
I had tried install Hyperledger explorer and connect success with first-network run on fabric V1.3 but when I try to connect with basic-network example I got error about connecting to peer

sam1 (Tue, 11 Dec 2018 10:42:01 GMT):
@nfrunza yes I've followed all of those steps, is there any way to get more debug out of explorer to find out whats going on ?

nicholasp (Tue, 11 Dec 2018 11:03:19 GMT):
Has joined the channel.

nicholasp (Tue, 11 Dec 2018 11:12:55 GMT):

Clipboard - December 11, 2018 1:12 PM

nicholasp (Tue, 11 Dec 2018 11:12:56 GMT):
hello everyone! i'm trying to setup hl-exp. I did step by step the guide i think its all ok but I'm having trouble to change the config.json. I am running a hl composer blockchain (modified perishable network). I tryed the https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-COMPOSER-HLEXPLORER.md but i think something is wrong there. I am getting the following error after ./start.sh

nfrunza (Tue, 11 Dec 2018 12:06:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kn95uspw7ntbHBrrd) @nicholasp for composer, please use fabric 1.1 and explorer tag v0.3.5.1

bh4rtp (Wed, 12 Dec 2018 09:44:04 GMT):
@nfrunza does release-3.8 support fabric-ca?

cccc (Wed, 12 Dec 2018 15:47:01 GMT):
Has joined the channel.

sam1 (Wed, 12 Dec 2018 16:16:55 GMT):
@nfrunza what is the purpose of syncStart.sh ? Is it a requirement to have it running all the time or is it a run once thing ? Also, if its supposed to run all the time should I have a persistent volume for a specific directory?

KenvinNguyen (Thu, 13 Dec 2018 02:47:24 GMT):
hi alls, does the Hyperledger explorer support for Fabric V1.3?

nfrunza (Thu, 13 Dec 2018 06:23:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xRkYzwBDhSWaL4XMH) @bh4rtp no it is not supporting, would you be interested to contriobute?

nfrunza (Thu, 13 Dec 2018 06:24:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dhzYEw7wRG69JTLRt) @KenvinNguyen it is not merged into master, but you can try release-3.8 branch

nfrunza (Thu, 13 Dec 2018 06:25:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=62eDCrjWnMScvyeMS) @sam1 syncStart.sh is a process that runs independently , when you do not require UI , it is to persist data into local DB

bh4rtp (Thu, 13 Dec 2018 07:04:23 GMT):
@nfrunza i would like to do, but don't know how to implement. :blush:

nfrunza (Thu, 13 Dec 2018 13:19:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xJLRhn3vYPytvzxqd) @bh4rtp we will look into it

sam1 (Thu, 13 Dec 2018 13:44:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nNZmARHWDQZdQEXCw) @nfrunza I had to run and keep running sync to get data in the UI, is that how it should work ?

nfrunza (Thu, 13 Dec 2018 13:48:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ExzQnCooFAhrLb5Qu) @sam1 no, after you npm install, npm run build, you start with start.sh script

nfrunza (Thu, 13 Dec 2018 13:49:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hL4cghRdhWhg5NsuH) the data gets refreshed in UI every 60 seconds

varubasi77 (Thu, 13 Dec 2018 14:50:31 GMT):
Has joined the channel.

ArpitKhurana1 (Fri, 14 Dec 2018 08:54:53 GMT):
Has joined the channel.

ArpitKhurana1 (Fri, 14 Dec 2018 08:59:43 GMT):
Hi, I have a question, I am not able to add multiple peers in channel peers(json). Only one is picked up. I also checked the code, it also seems to be coded to pick just one of the peers. Is this expected behavior? What i have multiple peers in channel and i want to monitor them all?

ArpitKhurana1 (Fri, 14 Dec 2018 08:59:43 GMT):
Hi, I have a question, I am not able to add multiple peers in channel peers(json). Only one is picked up. I also checked the code, it also seems to be coded to pick just one of the peers. Is this expected behavior? What if i have multiple peers in channel and i want to monitor them all?

ArpitKhurana1 (Fri, 14 Dec 2018 08:59:43 GMT):
Hi, I have a question, I am not able to add multiple peers in channel peers(json). Only one is picked up. I also checked the code, it also seems to be coded to pick just one of the peers. Is this expected behavior? What if i have multiple peers in channel and i want to monitor them all? ```"channels": { "mychannel": { "peers": { "peer0.example": {}, "peer1.example": {}, "peer2.example": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }```

ArpitKhurana1 (Fri, 14 Dec 2018 08:59:43 GMT):
Hi, I have a question, I am not able to add multiple peers in channel peers(json). Only one is picked up. I also checked the code, it also seems to be coded to pick just one of the peers. Is this expected behavior? What if i have multiple peers in channel and i want to monitor them all? ```"channels": { "mychannel": { "peers": { "peer0.example": {}, "peer1.example": {}, //not shown on web "peer2.example": {} //not shown on web }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }```

nfrunza (Fri, 14 Dec 2018 12:45:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xQkwrD6AY6jeiPMaQ) @ArpitKhurana1 do you have multiple peers joined channel?

nfrunza (Fri, 14 Dec 2018 12:45:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xQkwrD6AY6jeiPMaQ) @ArpitKhurana1 do you have multiple peers joined channel? the peers you have in config.json listed, are they actually joined a channel?

ArpitKhurana1 (Fri, 14 Dec 2018 12:47:12 GMT):
yes

nfrunza (Fri, 14 Dec 2018 12:49:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jcdcP43wXLJCoGbBS) @ArpitKhurana1 look in config.json under the "peers: key

ArpitKhurana1 (Fri, 14 Dec 2018 12:51:30 GMT):
that is set

ArpitKhurana1 (Fri, 14 Dec 2018 12:51:35 GMT):
for each of the above peers

ArpitKhurana1 (Fri, 14 Dec 2018 12:52:30 GMT):
```"peer-org1-1.org1": { "tlsCACerts": { "path": "/media/crypto/peerOrganizations/org1/peers/peer-org1-1.org1/tls/ca.crt" }, "url": "grpcs://peer-org1-1.org1:7051", "eventUrl": "grpcs://peer-org1-1.org1:7053", "grpcOptions": { "ssl-target-name-override": "peer-org1-1.org1" } },``` Something like this

ArpitKhurana1 (Fri, 14 Dec 2018 12:52:30 GMT):
```"peer0.example": { "tlsCACerts": { "path": "/media/crypto/peerOrganizations/org1/peers/peer-org1-1.org1/tls/ca.crt" }, "url": "grpcs://peer-org1-1.org1:7051", "eventUrl": "grpcs://peer-org1-1.org1:7053", "grpcOptions": { "ssl-target-name-override": "peer-org1-1.org1" } },``` Something like this

nfrunza (Fri, 14 Dec 2018 12:56:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YG8EPwHuTBn8ZmL7Z) @ArpitKhurana1 which fabric version you're using and explorer version?

ArpitKhurana1 (Fri, 14 Dec 2018 12:56:50 GMT):
fabric 1.3

ArpitKhurana1 (Fri, 14 Dec 2018 12:57:04 GMT):
and explorer latest docker images

ArpitKhurana1 (Fri, 14 Dec 2018 12:58:56 GMT):
if i am not wrong ''https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/utils/FabricUtils.js#L134''' shows that it only has one peer to be defaulted

nfrunza (Fri, 14 Dec 2018 13:13:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jnapcEpGBHCAx4rHR) @ArpitKhurana1 you may want to read this discovery feature https://drive.google.com/file/d/19A9-iNe48MB4IZPCt0ygSY9FcOVubyZO/view?usp=sharing https://hyperledger-fabric.readthedocs.io/en/latest/discovery-overview.html The new event service (available since v1.1) is channel-scoped: https://fabric-sdk-node.github.io/release-1.3/tutorial-channel-events.html

nfrunza (Fri, 14 Dec 2018 13:15:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7aEDYjk6T8qT8A5Jv) #### Possible cause: peer node default can't access from out of fabric network #### Possible solution: add environment CORE_PEER_GOSSIP_EXTERNALENDPOINT for peer services, For example: peer0.org1.example.com: container_name: peer0.org1.example.com image: hyperledger/fabric-peer environment: - CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock - CORE_PEER_ID=peer0.org1.example.com - CORE_LOGGING_PEER=info - CORE_CHAINCODE_LOGGING_LEVEL=info - CORE_PEER_LOCALMSPID=Org1MSP - CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/msp/peer/ - CORE_PEER_ADDRESS=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 #### Related Information: HL Explorer support for HL Fabric 1.3

ArpitKhurana1 (Fri, 14 Dec 2018 17:49:54 GMT):
@nfrunza I already have this variable set, its related to explorer not fabric, since whichever peer i configure as first shows up as active

ArpitKhurana1 (Fri, 14 Dec 2018 17:49:54 GMT):
@nfrunza I already have this variable set, its related to explorer not fabric, since whichever peer i configure as first, shows up as active

ArpitKhurana1 (Fri, 14 Dec 2018 17:49:54 GMT):
@nfrunza I already have this variable set, its related to explorer not fabric, since whichever peer i configure as first, shows up as active. Do you mean that , discovery feature automatically should list all peers even if one is known?

ArpitKhurana1 (Fri, 14 Dec 2018 18:13:46 GMT):
Ok it was due to absent anchor peer

nfrunza (Fri, 14 Dec 2018 22:30:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gSfX4di5Yf3FFzwpd) @ArpitKhurana1 would you be able to describe your case and we can add to troubleshooting doc., so other developers can benefit?

ArpitKhurana1 (Sat, 15 Dec 2018 04:19:27 GMT):
@nfrunza yes ofcourse, you were right about service discovery

ArpitKhurana1 (Sat, 15 Dec 2018 04:21:19 GMT):
I guess the explorer gets the peers by querying the one default peer of channel. Even if everything was working in my channel, still I had slipped setting the anchor peer as it was just single organisation

ArpitKhurana1 (Sat, 15 Dec 2018 04:22:23 GMT):
I redeployed everything again and setup anchor too, that made it work, I don't know how much anchor peer configuration helps in gossip or service discovery. But this worked

nfrunza (Sat, 15 Dec 2018 14:48:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PJyiK5gEnHwRQahb2) @ArpitKhurana1 i'm glad that it helped, would you be able to contribute to Explorer?

ArpitKhurana1 (Sat, 15 Dec 2018 17:22:54 GMT):
@nfrunza For the doc you mean? I can but, I still don't have the exact info about why this worked.

ArpitKhurana1 (Sat, 15 Dec 2018 17:22:54 GMT):
@nfrunza For the doc you mean? I can but, I still don't have the exact clarity about why this worked.

nfrunza (Sat, 15 Dec 2018 22:58:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gQW2dzrqZNcYnpWhp) we may need to debug more

KenvinNguyen (Mon, 17 Dec 2018 07:45:56 GMT):
I'm try to connect Hyperledger Explorer V0.38 to my fabric network V1.3 but I got the error message \E1217 13:50:15.941616000 140735840723840 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status \

KenvinNguyen (Mon, 17 Dec 2018 07:45:56 GMT):
I'm try to connect Hyperledger Explorer V0.38 to my fabric network V1.3 but I got the error message `E1217 13:50:15.941616000 140735840723840 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status`

KenvinNguyen (Mon, 17 Dec 2018 07:45:56 GMT):
I'm try to connect Hyperledger Explorer V0.38 to my fabric network V1.3 but I got the error message in below: E1217 13:50:15.941616000 140735840723840 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status

KenvinNguyen (Mon, 17 Dec 2018 07:46:49 GMT):
does anybody know what is the issue and how to solve that?

ArpitKhurana1 (Mon, 17 Dec 2018 12:00:08 GMT):
Another thing i found out is, that it works fine for some time, after something if i refresh the page and open networks, the page goes blank

ArpitKhurana1 (Mon, 17 Dec 2018 12:01:17 GMT):
```error: [Remote.js]: Error: Failed to connect before the deadline error: [Remote.js]: Error: Failed to connect before the deadline ``` starts working again after restarting containers

nfrunza (Mon, 17 Dec 2018 13:46:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jXYSLMjqTDvN9jyXj) @KenvinNguyen please review your config.json, make sure fabric network is up and running

archatul (Mon, 17 Dec 2018 18:51:51 GMT):
Has joined the channel.

KenvinNguyen (Tue, 18 Dec 2018 03:01:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=T2BXNPrxatMumHCjW) @nfrunza My network is up already, I had success to connect with Fabric first-network example, but when I try connect to basic-network it got the error as my post.

nfrunza (Tue, 18 Dec 2018 03:41:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aNLoDLHFSytHjX4Bg) @KenvinNguyen we have not tested with basic network

KenvinNguyen (Tue, 18 Dec 2018 10:08:31 GMT):
if the hyperledger fabric network using fabric-ca, how do we setup fabric-ca in config.json file of Hyperledger explorer?

archatul (Tue, 18 Dec 2018 15:11:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BPHtMFAKyjxhrM2pc) @yinzhiwu Hello.. I am getting the same error as this.. Fabric 1.2, Composer 0.20.5, explorer 0.3.7.1 and using Docker Can't see from the chat how or whether this error was resolved.. Is this a proxy/CORS issue? I do get a 'Access-Control-Allow-Origin' error on the webpage(After initial page, 'Accessing the network' when trying to connect to channel, I get blank screen with the CORS error). Can someone please let me know how to resolve this?

brenzi (Tue, 18 Dec 2018 21:55:08 GMT):
Has joined the channel.

archatul (Wed, 19 Dec 2018 14:38:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zo3bmAnEM9NvoZKQD) Hi.. just in case anyone else is facing this issue, I was able to resolve this by making the change to docker-compose.yml as mentioned in this thread, https://stackoverflow.com/questions/53625457/unable-to-setup-hyperledger-explorer-with-one-node-like-basic-network-example

KvdB (Thu, 20 Dec 2018 13:57:08 GMT):
Has joined the channel.

KvdB (Thu, 20 Dec 2018 13:57:13 GMT):
Hi guys, currently running composer with angular app and want to display in which block a transaction exists. On the interwebs I found out that Hyperledger Explorer could be of use. However, I can't seem to get the installation correctly as it isn't very clear. Anyone that has Explorer running alongside Composer?

Kelvin_Moutet (Thu, 20 Dec 2018 15:14:00 GMT):
Has joined the channel.

KvdB (Sat, 22 Dec 2018 14:45:05 GMT):
Getting "cannot read property of null" error now

chenchenchenchen (Mon, 24 Dec 2018 01:43:52 GMT):
Has joined the channel.

chenchenchenchen (Mon, 24 Dec 2018 01:44:50 GMT):

微信图片_20181221163648.png

chenchenchenchen (Mon, 24 Dec 2018 01:45:06 GMT):
the hyperledger explorer only one node is supported???

JaccobSmith (Tue, 25 Dec 2018 02:48:03 GMT):
The Fabric has deleted the Event Service,why this project still have the Event config items?

JaccobSmith (Tue, 25 Dec 2018 02:58:23 GMT):
validateStructure -> WARN 1d3 Request from 172.21.0.1:32614 is badly formed: +Envelope must have a Header

JaccobSmith (Tue, 25 Dec 2018 02:59:02 GMT):
The Peer always produced this error, and my explorer can't get the status of the network

JaccobSmith (Tue, 25 Dec 2018 02:59:21 GMT):
It's displaying nothing

amiec (Tue, 25 Dec 2018 16:10:58 GMT):
Has joined the channel.

amiec (Wed, 26 Dec 2018 01:05:39 GMT):
Has left the channel.

Randyshu2018 (Wed, 26 Dec 2018 03:58:13 GMT):

Clipboard - December 26, 2018 11:58 AM

Randyshu2018 (Wed, 26 Dec 2018 03:58:22 GMT):
hi,all,Is therer some strategy for sync missed tx ? when i test tps performance with concurrency scenes,it will miss some txs.

JOYELIN (Wed, 26 Dec 2018 06:29:54 GMT):
Has joined the channel.

deenario (Thu, 27 Dec 2018 05:48:09 GMT):
Has joined the channel.

deenario (Thu, 27 Dec 2018 07:36:05 GMT):
Hey

deenario (Thu, 27 Dec 2018 07:36:25 GMT):
have you tried to deploy hyperledger explorer with Basic Network instead of BYFN

deenario (Thu, 27 Dec 2018 07:36:28 GMT):
?

deenario (Thu, 27 Dec 2018 07:36:59 GMT):
I am stuck with it for 5 days now and its giving me so many errors. Please need someone to guide me a little bit

ananson2005 (Thu, 27 Dec 2018 09:18:40 GMT):
Has joined the channel.

ananson2005 (Thu, 27 Dec 2018 09:19:24 GMT):
Hi, I have a hyperledger fabric blockchain deployed into AWS EC2, how should I visualize the blockchain in AWS by using the hyperledger explorer? Thanks!

MHarisMumtaz (Thu, 27 Dec 2018 10:35:45 GMT):
Has joined the channel.

MHarisMumtaz (Thu, 27 Dec 2018 10:37:46 GMT):
Hi All, does Hyperledger explorer support Hyperledger fabric 1.4 ?

KenvinNguyen (Fri, 28 Dec 2018 06:38:56 GMT):
@deenario I already deploy Hyperledger explorer and connect success to bacsic network. where were you stuck with it?

jeevas (Fri, 28 Dec 2018 09:07:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9f9eqYju4Qg948dC8) @MHarisMumtaz we didn't test with fabric 1.4. will test and let you know

jeevas (Fri, 28 Dec 2018 09:08:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qFJFgozC9MQ7wRgwz) @deenario Could you please tell me what issue you are facing. which version fabric are you using?

yousaf (Fri, 28 Dec 2018 21:19:52 GMT):
Has joined the channel.

yousaf (Fri, 28 Dec 2018 21:23:22 GMT):
Hi everyone. Since hyperledger fabric only supports couch db and level db, then how the hyperledger explorer docs explain about setting up postgreSQL. Even underlying underlying network structure for the explorer is fabric. Can somebody explain it?

ping40 (Sat, 29 Dec 2018 07:47:02 GMT):
Has joined the channel.

VictoriaW (Sun, 30 Dec 2018 12:39:41 GMT):
Hey :) I have a network running on 3 different VMs, 2 Organisations and 4 nodes. I can run on each peer "peer channel list" and they say "Channels peers has joind: testchannel". But in the explorer one peer is running, one is down (why??) and both of the second organisation are not shown at all. Is this an explorer issue?

VictoriaW (Sun, 30 Dec 2018 12:39:41 GMT):
Hey :) I have a network running on 3 different VMs, 2 Organisations and 4 nodes. I can run on each peer "peer channel list" and they say "Channels peers has joind: testchannel". But in the explorer one peer is running, one is down (why??) and both of the second organisation are not shown at all. Is this an explorer issue? Edit: second problem was no explorer issue.

VictoriaW (Sun, 30 Dec 2018 12:39:41 GMT):
Hey :) I have a network running on 3 different VMs, 2 Organisations and 4 nodes. I can run on each peer "peer channel list" and they say "Channels peers has joind: testchannel". But in the explorer one peer is running, one is down (why??) ~and both of the second organisation are not shown at all. Is this an explorer issue? ~ Edit: second problem was no explorer issue.

NedSnark (Wed, 02 Jan 2019 19:46:57 GMT):
Has joined the channel.

qubing (Thu, 03 Jan 2019 05:38:34 GMT):
Hi, anyone can run explorer in docker network using "deploy_explorer.sh"? how to modify "config.json" to access fabric peer running in other docker network? I had tried to expose the peer ports to localhost, and set the peer's IP with "192.168.10.1", but still get the error of "Error : Failed to connect client peer, please check the configuration and peer status".

qubing (Thu, 03 Jan 2019 05:40:38 GMT):
@yousaf postgresql db just store the data of blockchain network for explorer displaying.

VictoriaW (Thu, 03 Jan 2019 09:43:04 GMT):
@qubing https://github.com/hyperledger/blockchain-explorer/tree/master/examples/net1 Did you follow these instructions?

qubing (Thu, 03 Jan 2019 12:26:44 GMT):
@VictoriaW yes, I am using "net1/config.json". doesn't work.

qubing (Thu, 03 Jan 2019 12:29:15 GMT):
and copied crypto folders generated by cryptogen tool.

VictoriaW (Thu, 03 Jan 2019 12:48:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YhTaLXDamDN58z9iP) @qubing pm

VictoriaW (Thu, 03 Jan 2019 12:48:52 GMT):
Does somebody know why in hyperledger explorer peers are shown as "down" but are actual running? And why not alle peers are listed but the node-counter is correct?

VictoriaW (Thu, 03 Jan 2019 12:48:52 GMT):
Does somebody know why in hyperledger explorer peers are shown as "down" but are actual running? And why not alle peers are listed but the node-counter is correct?

VictoriaW (Thu, 03 Jan 2019 12:48:52 GMT):
Does somebody know why in hyperledger explorer peers are shown as "down" but are actual running? And why not alle peers are listed but the node-counter is correct? Edit: The reason is the container blockchain-explorer cant reach/ping the peers which are listed as down. (You can see it with the command docker exec -ti blockchain-explorer ping peer1.org1.example.com). Solution is as follows : Insert in Line 194 in deploy-explorer.sh "--add-host=peer1.org1.example.com:ipaddressO

VictoriaW (Thu, 03 Jan 2019 12:48:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QRMFv9SYzEtbNTktA) Does somebody know why in hyperledger explorer peers are shown as "down" but are actual running? And why not alle peers are listed but the node-counter is correct? Edit: The reason is the container blockchain-explorer cant reach/ping the peers which are listed as down. (You can see it with the command docker exec -ti blockchain-explorer ping peer1.org1.example.com). Solution is as follows : Insert in Line 194 in deploy-explorer.sh "--add-host=peer1.org1.example.com:ipaddress" . You can do it multiple times, for each down-listed peer. This was also the solution for the non-listed peers.

jeevas (Fri, 04 Jan 2019 04:41:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=25JKA4DfJTConsugu) @yousaf Yes. we are fetching data from fabric database and storing data in postgreSQL. From postgresSQL we are displaying data in Hyperledger explorer.

erikteaminova (Fri, 04 Jan 2019 10:12:27 GMT):
Has joined the channel.

qubing (Fri, 04 Jan 2019 12:15:39 GMT):
There are so much hardcoding in source code. "app/platform/fabric/config.json", "app/explorerconfig.json", etc. Why not instead by default value and Environment Variables? :confounded:

yousaf (Sat, 05 Jan 2019 16:50:17 GMT):
Got it. Thanks @jeevas @qubing for your response.

viprat (Sun, 06 Jan 2019 18:21:34 GMT):
Has joined the channel.

Lolololo (Mon, 07 Jan 2019 08:45:26 GMT):
Has joined the channel.

Lolololo (Mon, 07 Jan 2019 09:03:05 GMT):
Hello. everyone. I have a problem when I deploy explorer. Why explorer cannot show all peer names? Just only one, the default peer name.

jeevas (Mon, 07 Jan 2019 09:54:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=r9NLdwWrDcmAn5LaK) @Lolololo could you please tell me what issues are you facing? Let me know which version fabric using

Jayakrishna.V (Mon, 07 Jan 2019 10:12:58 GMT):
Has joined the channel.

Jayakrishna.V (Mon, 07 Jan 2019 10:18:25 GMT):
Hi All, I am facing an issue while setting up Hyperledger explorer for my own Fabric network. I am following the link https://github.com/hyperledger/blockchain-explorer Everything went fine but when I run ./start.sh, I am getting an error "Handshake failed with fatal error SSL_ERROR_SSL error:1408F108: SSL routines:SSL3_GET_RECORD:wrong version number [Remote.js: Error: Failed to connect before the deadlineURL:grpcs:ip_address:port" Please help me in fixing this error.

jeevas (Mon, 07 Jan 2019 10:29:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EPp3bwcj2XrWGo6ZJ) @Jayakrishna.V can you send me your config.json and "docker ps" log data

Jayakrishna.V (Mon, 07 Jan 2019 10:48:10 GMT):

config and dockerps.zip

Jayakrishna.V (Mon, 07 Jan 2019 10:49:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=a4mBjN93QCga22BsL) @jeevas @jeevas I have included both config.json and docker ps output in the above zip file. kindly check the files and do the needful.

jeevas (Mon, 07 Jan 2019 11:08:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kTTQcKcrLgwHHhJ2b) @Jayakrishna.V sure. will check and let you know

jeevas (Mon, 07 Jan 2019 11:16:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vw2jJcB972ShY77qQ) is this TLSEnable ? can you please check your tlsenable = true or false? Also you have running only one peer but u have configured peer1 too. i have updated ur config.json and attached.could you please modify and let me know if you are facing issues.

jeevas (Mon, 07 Jan 2019 11:16:40 GMT):

config.json.txt

Jayakrishna.V (Mon, 07 Jan 2019 11:19:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rALdwk3pmSjDaaszu) @jeevas Thanks for checking, we have peer1 running on a different host joined to composer channel.

Jayakrishna.V (Mon, 07 Jan 2019 11:19:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rALdwk3pmSjDaaszu) @jeevas Thanks for checking, we have peer1 running on a different host joined to composerchannel.

Jayakrishna.V (Mon, 07 Jan 2019 11:26:10 GMT):
After making the changes suggested by you, I can able to run the explorer on the browser. Can you please explain the root cause of this issue? why cat we specify machine ip address in the config file?

Jayakrishna.V (Mon, 07 Jan 2019 11:26:10 GMT):
@jeevas After making the changes suggested by you, I can able to run the explorer on the browser. Can you please explain the root cause of this issue? why cat we specify machine ip address in the config file?

Jayakrishna.V (Mon, 07 Jan 2019 11:30:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fvg3RuFEjegDpZh2Y) Also please explain when to enable TLS?

sanket1211 (Mon, 07 Jan 2019 11:33:34 GMT):
Has joined the channel.

liaoruohuai (Mon, 07 Jan 2019 11:35:18 GMT):
Has joined the channel.

Jayakrishna.V (Mon, 07 Jan 2019 11:39:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fvg3RuFEjegDpZh2Y) Although I am able to run the explorer on browser, there are no blocks or channels listed. what could be wrong?

Jayakrishna.V (Mon, 07 Jan 2019 11:39:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fvg3RuFEjegDpZh2Y) Although I am able to run the explorer on browser, there are no blocks, peers and channels listed on it. what could be wrong?

Jayakrishna.V (Mon, 07 Jan 2019 11:39:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fvg3RuFEjegDpZh2Y) @jeevas Although I am able to run the explorer on browser, there are no blocks, peers and channels listed on it. what could be wrong?

jeevas (Mon, 07 Jan 2019 12:09:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fvg3RuFEjegDpZh2Y) @Jayakrishna.V your peer is running local ip only (0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com).

jeevas (Mon, 07 Jan 2019 12:11:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9kAQt9zD4eqHj9Kts) @Jayakrishna.V can you stop explorer and recreate postgres setup and start again.

Jayakrishna.V (Mon, 07 Jan 2019 12:13:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XDjJakYFQuqq5xicY) @jeevas @jeevas sure. but how to stop explorer?

Jayakrishna.V (Mon, 07 Jan 2019 12:13:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XDjJakYFQuqq5xicY) @jeevas @jeevas sure. but how to stop explorer? Do i need to uninstall anything?

jeevas (Mon, 07 Jan 2019 12:14:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=474jbTnajKuc7uD2R) @Jayakrishna.V ./stop.sh

Jayakrishna.V (Mon, 07 Jan 2019 12:16:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LFW4x8yrLCZJw9k7S) @jeevas Thanks. Shall I repeat the steps from ./createdb.sh

jeevas (Mon, 07 Jan 2019 12:17:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=88rLMCcoGEQogvfwM) @Jayakrishna.V yes please.

Jayakrishna.V (Mon, 07 Jan 2019 12:25:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9sBz8oyWAoS7XYHkX) @jeevas What should be the sync type host or local?

Jayakrishna.V (Mon, 07 Jan 2019 12:25:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9sBz8oyWAoS7XYHkX) @jeevas What should be the sync type host or local? currently it is host

jeevas (Mon, 07 Jan 2019 12:47:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GxdBjWmMEwieDqqTg) @Jayakrishna.V make it local

Jayakrishna.V (Mon, 07 Jan 2019 12:59:49 GMT):
OK. I am getting the following error while running start.sh this time postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:3948) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Please open web browser to access :http://localhost:8080/ pid is 3948 postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [hlfv1] and client : [Org1] (node:3980) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

Jayakrishna.V (Mon, 07 Jan 2019 13:00:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GQuDQzqxaxSqYvDSg) All the containers are up and running

jeevas (Mon, 07 Jan 2019 15:52:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GQuDQzqxaxSqYvDSg) @Jayakrishna.V if sync process is running from different locations . u have to change in explorerconfig.json "sync": { "type": "host" }

jeevas (Mon, 07 Jan 2019 15:53:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rZ8XBn2RfwoEg3ctY) After that please start : ./syncstart.sh (it will have the sync node up). [Note : pass network-id and client-id to start specific client sync process, else first network and client will be considered]

rjones (Tue, 08 Jan 2019 01:33:20 GMT):
Has joined the channel.

Lolololo (Tue, 08 Jan 2019 02:52:59 GMT):
Ok. Now I face new problem. When I open the browser, there is all 0 such as peer name, tx and chaincode. What's the problem????

jeevas (Tue, 08 Jan 2019 08:54:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=euimxwbGQtRrkKMGy) @Lolololo which version fabric are you using?

Lolololo (Tue, 08 Jan 2019 09:51:55 GMT):
Oh, It has been solved. I forgot to update anchor peer for org. Thank you very much.

jeevas (Tue, 08 Jan 2019 09:53:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6FZdjAJgwAAqMtgzW) @Lolololo Great. Thank you.

VictoriaW (Tue, 08 Jan 2019 10:47:57 GMT):
I'm going crazy ... explorer did almost work, I restarted it and the only thing i replaced in config.json was the name of the channel. Now I get on the dashboard "Please verify your network configuration, database configuration and try again" , no rows in network but I can see Channels correctly, Blocks and Transactions only show the first Block/Transaction (Genesis). ANY ideas?

VictoriaW (Tue, 08 Jan 2019 10:47:57 GMT):
I'm going crazy ... explorer did almost work, I restarted it and the only thing i replaced in config.json was the name of the channel. Now I get on the dashboard "Please verify your network configuration, database configuration and try again" , no rows in network but I can see Channels. Blocks and Transactions correctly. ANY ideas?

VictoriaW (Tue, 08 Jan 2019 12:08:34 GMT):

channeltrans

jeevas (Wed, 09 Jan 2019 07:26:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4CRsasiL7hdNGeuf2) @VictoriaW Are you facing same issue still?

VictoriaW (Wed, 09 Jan 2019 07:50:32 GMT):
@jeevas yes i do :/

jeevas (Wed, 09 Jan 2019 08:09:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FE5LJa67b2TEGebc3) @VictoriaW which version fabric are you using?

VictoriaW (Wed, 09 Jan 2019 08:14:38 GMT):
@jeevas 1.2

jeevas (Wed, 09 Jan 2019 08:20:15 GMT):
which network first-network or basic-network?

jeevas (Wed, 09 Jan 2019 08:22:21 GMT):
can you please upload your docker log and config.json in my direct chat

jeevas (Wed, 09 Jan 2019 08:22:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zcppSuTwTbWjwa9C7) @deenario i could connect basic network with explorer. i have attached my config.json for your reference. Please let me know what issue are you facing

VictoriaW (Wed, 09 Jan 2019 08:26:39 GMT):
@jeevas i used first Network as starting point but have 3 vms, 2 organizations with 2 peers each. For explorer config i used the net1-example as starting point

deenario (Wed, 09 Jan 2019 10:08:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6LgzCkxvjR6BhZKiE) @KenvinNguyen I don't know maybe i get some configuration errors. Can you please share you config file in explorer/app/platform/fabric Because that is where my issue lies i guess.

Sarath_Kumar (Wed, 09 Jan 2019 10:35:52 GMT):
Has joined the channel.

jeevas (Wed, 09 Jan 2019 11:16:08 GMT):

BN-config.json.txt

jeevas (Wed, 09 Jan 2019 11:17:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zcppSuTwTbWjwa9C7) @deenario Please add below line in your docker-compose.yml

jeevas (Wed, 09 Jan 2019 11:17:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dyGguybgwB8sBSr8K) - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051

deenario (Wed, 09 Jan 2019 11:26:40 GMT):
@jeevas Is there any change in the deployment process for basic network and first network ?

deenario (Wed, 09 Jan 2019 11:41:31 GMT):
Done by checking your files that you were using 127.0.0.1 for the local config not peer1 .

deenario (Wed, 09 Jan 2019 11:41:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BYS5rPGkaKFiJoSew) Thanks man.

jeevas (Wed, 09 Jan 2019 12:00:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6xJkwwoLT2aLWupXo) @deenario Are you able to un now?

jeevas (Wed, 09 Jan 2019 12:00:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6xJkwwoLT2aLWupXo) @deenario Are you able to run now?

deenario (Wed, 09 Jan 2019 12:27:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qGSeYcBtWcqyS93Ww) @jeevas Yes Its working prefect

jeevas (Wed, 09 Jan 2019 12:44:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=y78hnEdgPY2fQGdxL) @deenario ok great. Thank you .

Renu (Thu, 10 Jan 2019 13:30:06 GMT):
Has joined the channel.

Jayakrishna.V (Fri, 11 Jan 2019 13:35:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rZ8XBn2RfwoEg3ctY) @jeevas Hi @jeevas Sorry for the late reply. We have followed the process suggested by you and we are able to successfully set up the explorer for our Fabric network. Thanks for your support. Now we are trying to add the second peer also to the explorer. We will let you know once we complete this process. Thanks again.

davidkel (Fri, 11 Jan 2019 14:41:36 GMT):
Has left the channel.

chinmsay213211 (Fri, 11 Jan 2019 22:21:43 GMT):
Has joined the channel.

rjones (Fri, 11 Jan 2019 23:27:24 GMT):
User User_1 added by rjones.

DmitriPlakhov (Tue, 15 Jan 2019 06:41:04 GMT):
Has joined the channel.

Lolololo (Tue, 15 Jan 2019 11:47:41 GMT):
Hello, I' stucked by a problem. When I start main.js, all the system will be slowed, and a process named located will consume 98% of cpu resource. So is there any tell me how to solve this?

nfrunza (Tue, 15 Jan 2019 14:16:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fuvJDqi52HSzhPnk5) @Lolololo What is your OS ?

nRyDevOps (Tue, 15 Jan 2019 19:18:00 GMT):
Hello, is there an official documentation for Hyperledger-Explorer?

nRyDevOps (Tue, 15 Jan 2019 19:18:20 GMT):
I do not see it anywhere under https://hyperledger-fabric.readthedocs.io/en/latest/search.html

nRyDevOps (Tue, 15 Jan 2019 20:05:40 GMT):
I am following the steps located here: https://github.com/hyperledger/blockchain-explorer#Requirements

nRyDevOps (Tue, 15 Jan 2019 20:06:28 GMT):
however I keep getting errors when I try to run ./createdb.sh saying that the index data does not exist.

Lolololo (Wed, 16 Jan 2019 01:49:43 GMT):
@nfrunza it's linux, ubuntu 16-04

nfrunza (Wed, 16 Jan 2019 01:58:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SQ3sTTddwapX2RtNA) @nRyDevOps would you be able to check if DB was created? can you post errors you're getting in private

Lolololo (Wed, 16 Jan 2019 02:21:03 GMT):
It's solved. still thank you.

deenario (Wed, 16 Jan 2019 07:25:04 GMT):
I mostly write blogs realted to Hyperledger Farbic and general Blockchain. Can you guys give some of them a view and give me pointers. https://www.devprovider.com/author/danyal-ahmaddevprovider-com/

Jayakrishna.V (Wed, 16 Jan 2019 12:46:23 GMT):
@jeevas Now that we have setup Hyperledger Explorer for our own Fabric network, we are trying to explore all the features available in the explorer tool. Do we have any official documentation explaining the features available in Hyperledger Explorer?

nRyDevOps (Wed, 16 Jan 2019 16:36:51 GMT):
@nfrunza thanks for the help. I gave up on trying to deploy Explorer from the code and moved onto the Docker deployment option. However, I am not on the instructions here: https://github.com/hyperledger/blockchain-explorer#Database-Setup

nRyDevOps (Wed, 16 Jan 2019 16:37:18 GMT):
I setup the dockerConfig directory as it says here:

nRyDevOps (Wed, 16 Jan 2019 16:37:41 GMT):
"Create a new folder (lets call it dockerConfig) to store your hyperledger network configuration under examples (mkdir -p ./examples/dockerConfig) Save your hyperledger network configuration under examples/dockerConfig/config.json. Save your hyperledger network certs data under examples/dockerConfig/crypto."

nRyDevOps (Wed, 16 Jan 2019 16:39:01 GMT):
however, I am now a bit confused how the details of what exactly needs to go into these two folders. The instructions are really not that good as this is way to vague to just say to throw the config settings into those folders. How is anyone new to using explorer supposed to know what to put into those folders with no details at all?

nRyDevOps (Wed, 16 Jan 2019 16:39:48 GMT):
oh, I guess I do see an example under the folder "net1"

nRyDevOps (Wed, 16 Jan 2019 16:40:38 GMT):
I will attempt to use that as an example. Just wanted to point out to whoever worked on the Explorer doc that it could use some elaboration on that part.

nRyDevOps (Wed, 16 Jan 2019 16:40:39 GMT):
;-)

nRyDevOps (Wed, 16 Jan 2019 22:28:24 GMT):
I'm getting an error when trying to run the script to start the Explorer docker containers: docker: Error response from daemon: user specified IP address is supported only when connecting to networks with user configured subnets.

nRyDevOps (Wed, 16 Jan 2019 22:29:06 GMT):
I have the byfn running and using the net_byfn network

nRyDevOps (Wed, 16 Jan 2019 22:29:49 GMT):
This is the default setup for using docker to deploy Fabric samples and the Explorer so I don't understand why it is giving this error.

nfrunza (Wed, 16 Jan 2019 23:46:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=u3FmDaGuC5ia6Zayp) @Jayakrishna.V no explanation, would you like to comment on ?

nfrunza (Wed, 16 Jan 2019 23:50:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BN58uYXxpF2b78v7a) @nRyDevOps look in the example file https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md#example-file

Sarath_Kumar (Thu, 17 Jan 2019 05:34:18 GMT):

Blockchain_explorer.png

Sarath_Kumar (Thu, 17 Jan 2019 05:34:18 GMT):

Blockchain_explorer.png

Sarath_Kumar (Thu, 17 Jan 2019 05:34:18 GMT):

Blockchain_explorer.png

AndresMartinezMelgar.itcl (Thu, 17 Jan 2019 08:08:28 GMT):
Has joined the channel.

AndresMartinezMelgar.itcl (Thu, 17 Jan 2019 08:09:57 GMT):
hi, i have a problem to run hl-explorer, i cant make it run. Always i get same report --> localhost:8080 connection refuse

AndresMartinezMelgar.itcl (Thu, 17 Jan 2019 08:10:22 GMT):
i think i follow all steps rightly

AndresMartinezMelgar.itcl (Thu, 17 Jan 2019 08:10:44 GMT):
do you know a tutorial?

emiliomarin (Thu, 17 Jan 2019 09:19:32 GMT):
I have 2 orgs with 2 peers each. Is it possible to show all 4 nodes in the explorer? I have the 4 peers in the config file but only 2 appear listed in the website

shubhendu-abhishek (Thu, 17 Jan 2019 10:08:00 GMT):
Has joined the channel.

deepakvparmar (Thu, 17 Jan 2019 14:33:18 GMT):
Is it possible to configure Hyperledger Explorer on Window 10?

nfrunza (Thu, 17 Jan 2019 17:45:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6zYqdYgZvuvRedcFd) @Sarath_Kumar can you see the block details click on link, i think is config type

nfrunza (Thu, 17 Jan 2019 17:46:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mBpbk6uiCaLdYQ8gN) @AndresMartinezMelgar.itcl do you have other processes running, i mean post may be in use, do $pkill node, and restart

nfrunza (Fri, 18 Jan 2019 01:17:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=94HRpmy9m75sXiDRa) change the port here https://github.com/hyperledger/blockchain-explorer/blob/master/appconfig.json

nfrunza (Fri, 18 Jan 2019 01:18:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZyuA9nZh8JBKYyruP) @deepakvparmar Some people have done it

nfrunza (Fri, 18 Jan 2019 01:19:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=F4d2vy3Z6eJf8ZKcZ) @emiliomarin i think you may have a fabric configuration issue

emiliomarin (Fri, 18 Jan 2019 10:24:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=juaFKEhgQ5WNMZfz9) @nfrunza Weird thing is that in the config.json file I change the "organization" field I'd get the 2 peers from the other orgs. It's not locally but aws servers, not sure if it may affect

umamani113 (Fri, 18 Jan 2019 11:10:50 GMT):
Has joined the channel.

Jayakrishna.V (Fri, 18 Jan 2019 12:02:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6KJsX7RaLfHomNJhc) @nfrunza hi @nfrunza I didn't get you. Can you be more specific with your response?

nRyDevOps (Fri, 18 Jan 2019 15:42:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LvwrFBpPWdstrv6WM) @nfrunza Thanks for the help, I was able to get Explorer setup and running with that config reference file.

nfrunza (Fri, 18 Jan 2019 23:10:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CYZQSXFoCQbQszRiz) @Jayakrishna.V No, we do not hav e documentation on the features, i hope we will provide in the next releases

Sarath_Kumar (Sat, 19 Jan 2019 09:23:41 GMT):

Peer0.PNG

Sarath_Kumar (Sat, 19 Jan 2019 09:23:41 GMT):

Peer0.PNG

Sarath_Kumar (Sat, 19 Jan 2019 09:23:41 GMT):

Peer0.PNG

Sarath_Kumar (Sat, 19 Jan 2019 09:26:19 GMT):

config.rar

VictoriaW (Sat, 19 Jan 2019 14:00:07 GMT):
@Sarath_Kumar Whats the output of docker exec -ti blockchain-explorer ping peer1.org1.example.com ?

nfrunza (Sun, 20 Jan 2019 22:17:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YWCwoQ7gWQwrLaTsD) @Sarath_Kumar would you be able to share your configuration, you can puun in private chat

miiiiiyoung (Mon, 21 Jan 2019 02:43:52 GMT):
In Fabric v1.2, I had a problem with my blockchain-explorer. ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer error: [Orderer.js]: sendDeliver - rejecting - status:NOT_FOUND <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Invalid results returned ::NOT_FOUND at ClientDuplexStream. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-client/lib/Orderer.js:230:23) at emitOne (events.js:116:13) at ClientDuplexStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ClientDuplexStream.Readable.push (_stream_readable.js:208:10) at readCallback (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/grpc/src/client.js:312:14) Received kill signal, shutting down gracefully Closed out connections ``` My channel name is `honeybeechannel` and I config all settings. At first, It works very well. But suddenly that error is occured. My network is configured with kafka orderer and multi-host. Orderer container's error log is that. ``` 2019-01-21 02:08:17.134 UTC [common/deliver] deliverBlocks -> ERRO 6d74 [channel: honeybeechannel] Error reading from channel, cause was: NOT_FOUND ```

miiiiiyoung (Mon, 21 Jan 2019 02:44:19 GMT):
Anyone help me, please. T.T

Karthik1337 (Mon, 21 Jan 2019 04:36:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YWCwoQ7gWQwrLaTsD) @Sarath_Kumar can u share your config.json

Sarath_Kumar (Mon, 21 Jan 2019 05:20:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nLxFxMsPfhdTTAanu) Hi @Karthik1337 here is my config file. pls check the file.

Sarath_Kumar (Mon, 21 Jan 2019 05:20:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nLxFxMsPfhdTTAanu) Hi @Karthik1337 @nfrunza here is my config file. pls check the file.

Sarath_Kumar (Mon, 21 Jan 2019 05:23:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2Qg8fKjW39pQ3B8xF) @VictoriaW Hi @VictoriaW , when i execute the above command the result will be *Error: No such container : blockchain-explorer*

Jayakrishna.V (Mon, 21 Jan 2019 05:24:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YZcm3tiz93MEiv9F3) @nfrunza Thanks. We will be waiting for the Explorer updates. Do you have any idea about the next release dates?

abityildiz (Mon, 21 Jan 2019 06:08:35 GMT):
hi all,Does hyperledger explorer support the fabric 1.4?

BhaskarRaju (Mon, 21 Jan 2019 08:58:50 GMT):
Has joined the channel.

BhaskarRaju (Mon, 21 Jan 2019 09:03:07 GMT):
Hi, how to get explorer support for fabric v1.1

BhaskarRaju (Mon, 21 Jan 2019 09:04:25 GMT):
got the below error, when tried to bring the service and understood that the fabric version to be updated to get rid of the error, which i do not want to do at this point of time

BhaskarRaju (Mon, 21 Jan 2019 09:04:41 GMT):
"""

BhaskarRaju (Mon, 21 Jan 2019 09:04:44 GMT):
postgres://postgres:hlExplorer@localhost:5432/fabricexplorer (node:15648) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: 12 UNIMPLEMENTED: unknown service discovery.Discovery at Object.exports.createStatusError (/app/hyperledger/tools/blockchain-explorer/node_modules/grpc/src/common.js:87:15) at Object.onReceiveStatus (/app/hyperledger/tools/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:1188:28) at InterceptingListener._callNext (/app/hyperledger/tools/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:564:42) at InterceptingListener.onReceiveStatus (/app/hyperledger/tools/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:614:8) at callback (/app/hyperledger/tools/blockchain-explorer/node_modules/grpc/src/client_interceptors.js:841:24) code: 12, metadata: Metadata { _internal_repr: {} }, details: 'unknown service discovery.Discovery' } Received kill signal, shutting down gracefully Closed out connections """

KenvinNguyen (Mon, 21 Jan 2019 10:02:53 GMT):

Hl-ex

KenvinNguyen (Mon, 21 Jan 2019 10:02:55 GMT):
Hi guys, I had installed hyperledger-explorer connect to my fabric network contain 1 ca, 1org, 2 peer, 2 couchdb, but in the explorer I just see 1 node and 1 peer only although I already configured 2 peer in config.json file.

KenvinNguyen (Mon, 21 Jan 2019 10:02:55 GMT):
Hi guys, I had installed hyperledger-explorer connect to my fabric network contain 1 ca, 1org, 2 peer, 2 couchdb, but in the explorer I just see 1 node and 1 peer only although I already configured 2 peer in config.json file. Anybody can help me explain why?

PhilipAndrew (Mon, 21 Jan 2019 11:34:26 GMT):
Has joined the channel.

PhilipAndrew (Mon, 21 Jan 2019 11:35:07 GMT):
Hello, can someone tell me how can I see a base URL for hyperledger explorer, I don't want it to be at the root base URL, want something like http://localhost:8080/mynewbase/

CraigDrabik (Mon, 21 Jan 2019 19:15:21 GMT):
Has joined the channel.

CraigDrabik (Mon, 21 Jan 2019 19:20:20 GMT):
Hello. I'm having a lot of trouble configuring explorer and getting it up and running. I am using the dockerized version, and have set up my network information in config.json. My network is a composer network, based on the "fabric dev servers" example at https://hyperledger.github.io/composer/v0.19/installing/development-tools.html. After lots of trial and error, I have Explorer starting up with no errors in the log. However, when I browse to the correct location, or use curl on the explorer docker container, I get either "Connection refused" in curl, or "localhost" didn't send any data" in Chrome on the host. The log is clean - no errors. The last few lines are: [2019-01-21 19:14:05.278] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2019-01-21 19:14:05.279] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2019-01-21 19:14:05.526] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2019-01-21 19:14:05.539] [DEBUG] FabricClient - Successfully created admin user [client-1_Org1MSPAdmin] for client [client-1]

CraigDrabik (Mon, 21 Jan 2019 19:20:34 GMT):
Any help is greatly appreciated.

thgoutham (Tue, 22 Jan 2019 01:56:19 GMT):
Has joined the channel.

thgoutham (Tue, 22 Jan 2019 02:01:06 GMT):
I am facing the same issue as @CraigDrabik as mentioned above, with the only difference being that my log actually does show an error after all the success messages ``` [2019-01-22 01:58:05.382] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2019-01-22 01:58:05.382] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2019-01-22 01:58:05.640] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2019-01-22 01:58:05.660] [DEBUG] FabricClient - Successfully created admin user [client-1_Org1MSPAdmin] for client [client-1] [2019-01-22 01:58:05.793] [DEBUG] FabricClient - Set client [client-1] default channel as >> testchannel [2019-01-22 01:58:05.794] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.org1.example.com [2019-01-22 01:58:05.794] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2019-01-22 01:58:08.827] [ERROR] FabricClient - Error: Failed to connect before the deadline at checkState (/opt/explorer/node_modules/grpc/src/client.js:838:16) [2019-01-22 01:58:08.834] [INFO] main - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging. ```

thgoutham (Tue, 22 Jan 2019 02:04:14 GMT):
My network is similar to the byfn network, 2 Orgs with 2 peers each and a single orderer

thgoutham (Tue, 22 Jan 2019 02:04:14 GMT):
My network is a local fabric network, similar to the byfn network, consisting of 2 Orgs with 2 peers each and a single orderer

Karthik1337 (Tue, 22 Jan 2019 03:44:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fjNWReRFpXnTsQQ9G) @KenvinNguyen Please check peer2 port. If you deployed in same system the peer2 configuration will be

Karthik1337 (Tue, 22 Jan 2019 03:44:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fjNWReRFpXnTsQQ9G) @KenvinNguyen Please check peer2 port. If you deployed in same system the peer2 configuration will be `"peer2.org1.example.com": { "tlsCACerts": { "path": "" }, "url": "grpc://org1.example.com:7051", "eventUrl": "grpc://org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }`

Karthik1337 (Tue, 22 Jan 2019 03:44:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fjNWReRFpXnTsQQ9G) @KenvinNguyen Please check peer2 port. If you deployed in same system the peer2 configuration will be `"peer2.org1.example.com": { "tlsCACerts": { "path": "" }, "url": "grpc://org1.example.com:7051", "eventUrl": "grpc://org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }`

Karthik1337 (Tue, 22 Jan 2019 03:44:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fjNWReRFpXnTsQQ9G) @KenvinNguyen Please check peer2 port. If you deployed in the same system the peer2 configuration will be ``` "peer2.org1.example.com": { "tlsCACerts": { "path": "" }, "url": "grpc://org1.example.com:7051", "eventUrl": "grpc://org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } } ``` https://github.com/Karthik-Venkatesh/Hyperledger-Multi-Organisation-Network/blob/master/explorer/dev/config.json This is my sample config.json. I hope it will help you.

doyajii1 (Tue, 22 Jan 2019 04:28:16 GMT):
Has joined the channel.

nekia (Tue, 22 Jan 2019 05:24:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=L8F4CeHKG9P5r4udJ) @CraigDrabik When you use the dockerized version, I think, you also need to change all kind of 'localhost:[port]' settings in config.json into the actual each container name ( ex. "url": "grpcs://localhost:10051" -> "grpcs://peer1.org2.example.com:7051" ). @thgoutham

thgoutham (Tue, 22 Jan 2019 05:35:50 GMT):
@nekia I am already using this configuration type, may I send my config file on private chat to confirm that there aren't any mistakes?

nekia (Tue, 22 Jan 2019 05:38:17 GMT):
Sure.

Karthik1337 (Tue, 22 Jan 2019 10:44:46 GMT):
@CraigDrabik If you are enabled TLS use grpcs:// else use grpc://. And check tls certificate path if tls enabled in your network. Hoping it'll help you.

MHarisMumtaz (Tue, 22 Jan 2019 12:45:43 GMT):
does hyperledger explorer work on centos linux?

nfrunza (Tue, 22 Jan 2019 13:58:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b3Nj584cQQrQN9cFv) @miiiiiyoung Please make sure you use tag 0.3.7.1, latest master supports only Fabric -1.3

nfrunza (Tue, 22 Jan 2019 13:59:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Xhccatpe365CdYzt9) @abityildiz Na it does not support, we are looking to upgrade to fabric -1.4

nfrunza (Tue, 22 Jan 2019 14:00:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FGzfvMYk5RrKhEvYd) @Jayakrishna.V Not at this time, would you be able to contribute to HL Explorer?

abityildiz (Tue, 22 Jan 2019 14:01:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LRCzA7CphrCprELJp) @nfrunza :thumbsup:

nfrunza (Tue, 22 Jan 2019 14:03:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CgMfu7yp3pqFGmTbK) @KenvinNguyen What is your fabric version, and HLExplorer version you use?

nfrunza (Tue, 22 Jan 2019 14:03:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CgMfu7yp3pqFGmTbK) @KenvinNguyen What is your fabric version, and HLExplorer version you use?

nfrunza (Tue, 22 Jan 2019 14:06:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6C7P8ezwanjb2pv9e) @nekia Please see example config, https://github.com/hyperledger/blockchain-explorer/blob/v0.3.7.1/examples/net1/README.md#example-file

nfrunza (Tue, 22 Jan 2019 14:06:01 GMT):
(https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6C7P8ezwanjb2pv9e) @CraigDrabik Please see example config, https://github.com/hyperledger/blockchain-explorer/blob/v0.3.7.1/examples/net1/README.md#example-file

nfrunza (Tue, 22 Jan 2019 14:06:01 GMT):
@CraigDrabik Please see example config, https://github.com/hyperledger/blockchain-explorer/blob/v0.3.7.1/examples/net1/README.md#example-file

nfrunza (Tue, 22 Jan 2019 14:15:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b3Nj584cQQrQN9cFv) @miiiiiyoung Please use HLExplorer tag 0.3.7.1 with Fabric-1.2

nfrunza (Tue, 22 Jan 2019 14:18:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AQhZrKxM6KZpno85g) @MHarisMumtaz We haven't tested, but i believe it works

CraigDrabik (Tue, 22 Jan 2019 14:24:33 GMT):
Thanks for the suggestions all. The logging is.. not good.When I do get errors in the log, they are unhelpful. On occasion I get no log at all. I feel like I'm throwing darts at the wall.

nfrunza (Tue, 22 Jan 2019 14:45:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JM99Cf7DaY6Pu8FvW) @CraigDrabik agree, try to use commands, https://github.com/hyperledger/blockchain-explorer/blob/master/TROUBLESHOOT.md#docker-troubleshooting-commands

CraigDrabik (Tue, 22 Jan 2019 15:02:45 GMT):
Yeah, there's nothing in those commands that will tell my WHY the application didn't bother to start, if there's nothing in the logs. Appreciate the help.

nfrunza (Tue, 22 Jan 2019 15:15:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NyhcjfS3Pm8JbkLn2) @CraigDrabik Which fabric version do you use?, and HLExplorer version, or branch, do you use fabric samples network?

CraigDrabik (Tue, 22 Jan 2019 15:38:58 GMT):
fabric version 1.2, using the master branch, but have also tried v0.3.5.1 without success

CraigDrabik (Tue, 22 Jan 2019 15:39:23 GMT):
The business network is something I've built from the fabric-dev-servers example

CraigDrabik (Tue, 22 Jan 2019 15:39:35 GMT):
I've added code, but not changed any configuration

CraigDrabik (Tue, 22 Jan 2019 15:40:36 GMT):
on v0.3.5.1 I get no app log at all, on master I get what I posted above.

CraigDrabik (Tue, 22 Jan 2019 15:41:20 GMT):
From the fabric explorer container, I can ping the grpc ports I've defined in config.json for peer and orderer.

CraigDrabik (Tue, 22 Jan 2019 15:48:45 GMT):
just tried out v0.3.7.1, same results as master. Continuing to fiddle with IPs/hostnames, TLS, etc

nfrunza (Tue, 22 Jan 2019 15:51:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PgYJf76Ej49RGeFk5) @CraigDrabik Can you try HLExplorer non docker version? use v0.3.7.1 and fabric-1.2

KenvinNguyen (Tue, 22 Jan 2019 15:58:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wk85szKA6QjsKetGf) @nfrunza I'm using fabric version 1.3 and Hyperledger Explorer Client Version: 0.3.8

nfrunza (Tue, 22 Jan 2019 16:06:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TAMn8565EeLjX2nQ4) @KenvinNguyen I don't know your fabric config, take a look at: https://stackoverflow.com/questions/51377474/hyperledger-fabric-gossip-bootstrap-gossip-externalendpoints

KenvinNguyen (Tue, 22 Jan 2019 16:08:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wzQ6osvs8o6MuxB4a) @nfrunza I already config for peer CORE_PEER_GOSSIP_EXTERNALENDPOINT

CraigDrabik (Tue, 22 Jan 2019 16:14:00 GMT):
@nfrunza thanks for the help. Running locally I see: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH WARNING: The locate database (/var/db/locate.database) does not exist. To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist Please be aware that the database can take some time to generate; once the database has been created, this message will no longer appear. ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully Closed out connections

CraigDrabik (Tue, 22 Jan 2019 16:14:26 GMT):
The database is up and running (in Docker, port 5432 exposed, can connect with a DB tool)

nfrunza (Tue, 22 Jan 2019 16:21:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2f35GHNW4s7usqvAX) @CraigDrabik is you fabric running?

nfrunza (Tue, 22 Jan 2019 16:24:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zpef3TzH96yvYqryC) @KenvinNguyen can you run $docker network ls, then identify your network and run $docker network inspect

CraigDrabik (Tue, 22 Jan 2019 16:31:23 GMT):
Fabric is running on my MacBook, in Docker. No problem running the Composer REST API, and no issues with the application I wrote to talk to the Composer API. I basically used the Composer tutorial, and haven't changed the network topology. I can telnet into the orderer and peer GRPC ports from the MacBook. I can connect to the database from the MacBook (though I don't have postgres or its tools installed directly on the MacBook, using SQLPro for Postgres to inspect the DB).

alokkv (Tue, 22 Jan 2019 16:58:40 GMT):
Has joined the channel.

alokkv (Tue, 22 Jan 2019 17:02:06 GMT):
Hi friends, i am trying to create two channel network in one machine.i was able to bring up the network without any problems.but i was not able to configure blockchain explorer config.json file.i dont know how to add two channel configuration in the config.json file.can anyone help please.i am using fabric v1.1 and explorer version 3.4

alokkv (Tue, 22 Jan 2019 17:02:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XuMg5WDCbQK4dcWee) @nfrunza @nfrunza thank you for the quick response.actually i need two separate channel to be shown in HLExplorer.because in my network there are two separate orgs and these two orgs are on two seperate channels and these channels has different chaincode.My plan is to show these two channels seperatly in HLExplorer.in HLExplorer channel selection feature is there.but in config.json file,i didit understand how to add two seperate channels.

Jamie (Tue, 22 Jan 2019 17:14:46 GMT):
Has joined the channel.

nfrunza (Tue, 22 Jan 2019 17:16:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7H3J8ZN9jGjwM8DNM) @alokkv Can you upgrade to fabric -1.2 and use HLExplorer v0.3.7.1? only one default channel is needed

nfrunza (Tue, 22 Jan 2019 17:28:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XuMg5WDCbQK4dcWee) Can you try https://github.com/hyperledger/blockchain-explorer/tree/v0.3.5.1 , i think you should be able to switch channels in UI using the channel drop down

alokkv (Tue, 22 Jan 2019 17:37:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tWsX3oAongYGZoEad) @nfrunza @nfrunza thank you for the suggestion.but the config.json file is same in the link.i know how to configure and bringup HLexplorer with only one channel.but in case of two channel i dont know how to edit the config.json file.can you please help.

nfrunza (Tue, 22 Jan 2019 17:49:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uaMCmdW3SnnrdL88v) @alokkv no need to configure, it should be picked up by Explorer, restart explorer, if you use releases < 0.3.7

alokkv (Tue, 22 Jan 2019 18:43:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7raPRf9x5FySLLuKN) @nfrunza Ok i will try and let you know.

CraigDrabik (Tue, 22 Jan 2019 19:35:58 GMT):
@nfrunza I've gotten a bit further with some tinkering and a re-read of the docs :) . Everything looks to be started up, but navigating to localhost:8080 gives me "Cannot GET /". I can view the API docs at localhost:8080/api-docs. Log is: postgres://hppoc:password@127.0.0.1:5432/fabricexplorer usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH WARNING: The locate database (/var/db/locate.database) does not exist. To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist Please be aware that the database can take some time to generate; once the database has been created, this message will no longer appear. Please open web browser to access :http://localhost:8080/ pid is 11089

nRyDevOps (Tue, 22 Jan 2019 19:47:38 GMT):
Hello, how can I run Hyperledger Explorer in development mode instead of production build? I want to be able to make changes to the code and see them update live in React. However, I tried to run: npm start and I am getting a series of proxy errors such as:

nRyDevOps (Tue, 22 Jan 2019 19:47:57 GMT):
Proxy error: Could not proxy request /api/curChannel from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED). Proxy error: Could not proxy request /api/channels from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED). Proxy error: Could not proxy request /api/curChannel from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED). Proxy error: Could not proxy request /api/blockAndTxList/null/0 from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

nRyDevOps (Tue, 22 Jan 2019 19:48:23 GMT):
I had to use: sudo npm start

nRyDevOps (Tue, 22 Jan 2019 19:48:34 GMT):
because when I tried it without sudo it was not working at all

CraigDrabik (Tue, 22 Jan 2019 20:00:32 GMT):
The web client never got built somehow.. building it manually from the client directory gets me a web application, but I see 0 nodes, 0 blocks, 0 transactions, 0 chaincodes (I should have all of these)

nRyDevOps (Tue, 22 Jan 2019 20:17:09 GMT):
@CraigDrabik try using this example as a reference: https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md That helped me.

CraigDrabik (Tue, 22 Jan 2019 20:23:56 GMT):
I've been going over and over them all for the last two days. There are two things I don't understand at the moment: 1) . The logs seem to indicate that it's looking for a database installed on the same machine as the one running the explorer GUI/API. Are there postgres dependencies I need installed? 2) I'm seeing Sync process is started for the network : [hlfv1] and client : [client-1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> in the logs. Playing with the sync setting either lets the application start up, with no data, or not start up, with the above error. I've checked the config.json settings against what's in DevServer_connection.json (in my composer network), and I can't see any differences.

CraigDrabik (Tue, 22 Jan 2019 20:24:33 GMT):
I mean, did it fail to connect because there's no route? Expecting grpcs but used grpc? Using invalid credentials?

nRyDevOps (Tue, 22 Jan 2019 20:25:18 GMT):
yes you need to install and setup postgres in order for the local install of Explorer to function.

nRyDevOps (Tue, 22 Jan 2019 20:25:54 GMT):
https://github.com/hyperledger/blockchain-explorer#Requirements

nRyDevOps (Tue, 22 Jan 2019 20:26:10 GMT):
https://github.com/hyperledger/blockchain-explorer#Database-Setup

nRyDevOps (Tue, 22 Jan 2019 20:28:47 GMT):
I am not using Composer though as it is no longer supported nor being developed from my understanding. I am not a HLF expert though and just trying to learn myself as well.

CraigDrabik (Tue, 22 Jan 2019 21:00:38 GMT):
That's disappointing.

CraigDrabik (Tue, 22 Jan 2019 21:00:54 GMT):
(The Postgres part)

nfrunza (Tue, 22 Jan 2019 21:13:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mcXCxZjM2PZRpksdr) @CraigDrabik can you try to $curl http://localhost:8080/api/channels

nfrunza (Tue, 22 Jan 2019 21:13:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mcXCxZjM2PZRpksdr) @CraigDrabik can you try to $curl http://localhost:8080/api/channels , you may want to stop previous node processes, and clear the cache

CraigDrabik (Tue, 22 Jan 2019 21:18:21 GMT):
@nfrunza assuming you mean localhost:8080/api/channels, the result is: {"status":200,"channels":[]}

CraigDrabik (Tue, 22 Jan 2019 21:18:39 GMT):
@nfrunza and thanks for lending your time to help me find a solution. It's very much appreciated.

CraigDrabik (Tue, 22 Jan 2019 21:18:55 GMT):
It seems like whatever synchronization should be happening between the application and the nodes, isn't happening

nRyDevOps (Tue, 22 Jan 2019 21:33:12 GMT):

HL Explorer NPM build.PNG

nRyDevOps (Tue, 22 Jan 2019 21:33:31 GMT):
I would greatly appreciate it if anyone can please help me with this.

nRyDevOps (Tue, 22 Jan 2019 21:34:31 GMT):
I have followed the instructions very carefully, but when I get to this point I open up http://localhost:5000/#/ in the browser and I see the Hyperledger Explorer loading page for a split second but then it does not go any further with loading.

nRyDevOps (Tue, 22 Jan 2019 21:35:02 GMT):
I actually did have the Explorer web UI running previously but now I can't seem to get it working.

nRyDevOps (Tue, 22 Jan 2019 21:35:27 GMT):
not sure if it matters or not but I have tried it with and without the CORS browser plugin and get the same result.

nRyDevOps (Tue, 22 Jan 2019 21:37:17 GMT):
same result in both Chrome and Firefox

nRyDevOps (Tue, 22 Jan 2019 21:39:54 GMT):
when I run the above suggestion I am getting: $ ▶ curl http://localhost:8080/api/channels curl: (7) Failed to connect to localhost port 8080: Connection refused

nRyDevOps (Tue, 22 Jan 2019 21:42:17 GMT):
if I run: curl http://localhost:5000/api/channels

nRyDevOps (Tue, 22 Jan 2019 21:42:19 GMT):
I get:

nRyDevOps (Tue, 22 Jan 2019 21:42:37 GMT):
└─ $ ▶ curl http://localhost:5000/api/channels Hyperledger Explorer

nRyDevOps (Tue, 22 Jan 2019 21:50:35 GMT):
if I try to do: npm start

nRyDevOps (Tue, 22 Jan 2019 21:50:37 GMT):
I get: https://pastebin.com/9BD13unL

nRyDevOps (Tue, 22 Jan 2019 21:50:56 GMT):
man this react app is REALLY DIFFICULT to get working properly.

nRyDevOps (Tue, 22 Jan 2019 21:52:43 GMT):
It would be nice if this forum was a bit more active. I have been trying to work with HLF and spending a lot of time learning it but it is difficult with such an unresponsive development community TBH. When I ask questions the quickest response time seems to be the next day or even days later. I really though HLF was a much more popular technology on the rise. Is there another support forum somewhere that is more active???

nRyDevOps (Tue, 22 Jan 2019 21:53:09 GMT):
:thinking:

nfrunza (Tue, 22 Jan 2019 22:11:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pcFdPGTxQN7NGtDgo) @nRyDevOps Explorer starts with $./start.sh , after you follow on README document, i believe you did'n build the application

nfrunza (Tue, 22 Jan 2019 22:13:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Aqzyq6kSmoHmTYYqa) Did you do the steps: $mkdir -p ~/workspace $cd ~/workspace $git clone https://github.com/hyperledger/blockchain-explorer.git FYI: HL Explorer Git tags: v0.3.1 Hyperledger Explorer works with Hyperledger Fabric 1.0. v0.3.2 - to V0.3.5.1 Hyperledger Explorer works with Hyperledger Fabric 1.1 v0.3.6 Hyperledger Explorer works with Hyperledger Fabric 1.2 $git checkout 'tag you need to use' $ cd blockchain-explorer/ Edit crypto config blockchain-explorer/app/platform/fabric/config.json $ cd app/persistence/fabric/postgreSQL/db/ && ./createdb.sh $ nom install $ cd client/ $ npm install && nom run build && cd .. $ ./start.sh

nRyDevOps (Tue, 22 Jan 2019 22:13:51 GMT):
@nfrunza thanks so much for the reply, I really appreciate it. I did also try the ./start.sh and it shows: ************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ***** Please check the log [logs/console/console-2019-01-22.log] for any error ***** ************************************************************************************ but nothing loads on http://localhost:8080

nfrunza (Tue, 22 Jan 2019 22:17:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=W8Yy5s6C9SBAkwEsY) @nRyDevOps I'm confused what you want to do?

nRyDevOps (Tue, 22 Jan 2019 22:20:06 GMT):
I just want to be able to run the Hyperledger Explorer web GUI frontend

nRyDevOps (Tue, 22 Jan 2019 22:20:27 GMT):
I followed the build steps

nRyDevOps (Tue, 22 Jan 2019 22:20:34 GMT):
npm built the app

nfrunza (Tue, 22 Jan 2019 22:20:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SQjsDrpFh7CuCgA5d) @nRyDevOps please follow my steps, where is your fanric running, locally or remotely ?

nRyDevOps (Tue, 22 Jan 2019 22:20:57 GMT):
fanric?

nRyDevOps (Tue, 22 Jan 2019 22:21:16 GMT):
if you mean fabric, it is running locally.

nfrunza (Tue, 22 Jan 2019 22:21:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NizjZQLX7bKTwCHJL) @nRyDevOps fabric network

nRyDevOps (Tue, 22 Jan 2019 22:21:42 GMT):
I know 100% for sure that my fabric network is running properly because I can interact with it via the CLI

nRyDevOps (Tue, 22 Jan 2019 22:22:00 GMT):
I am running byfn

nRyDevOps (Tue, 22 Jan 2019 22:23:27 GMT):
like I said before, I had the Web GUI Explorer working before and it was connecting to the fabric network and displaying blocks and transactions data. When I tried to stop it and see if I could run it as a React dev serve is when I was not able to get it back up and running again, even just trying the production build again as well.

nRyDevOps (Tue, 22 Jan 2019 22:25:25 GMT):
Why do you say that you do not think I built the application?

nRyDevOps (Tue, 22 Jan 2019 22:25:33 GMT):

HL Explorer NPM build.PNG

nRyDevOps (Tue, 22 Jan 2019 22:25:40 GMT):
as you can see here, I did build it

nfrunza (Tue, 22 Jan 2019 22:26:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=F4khycyyzCy8NczJF) @nRyDevOps fabric version, and explorer version

nRyDevOps (Tue, 22 Jan 2019 22:27:34 GMT):
fabric 1.4 and the latest explorer version from github

nRyDevOps (Tue, 22 Jan 2019 22:27:42 GMT):
I think I found the problem in my log file:

nRyDevOps (Tue, 22 Jan 2019 22:27:43 GMT):
./start.sh

nRyDevOps (Tue, 22 Jan 2019 22:28:00 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Channel name [%s] already exist in DB , Kindly re-run the DB scripts to proceed', 'mychannel' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Explorer is closing due to channel name [%s] is already exist in DB', 'mychannel' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

nfrunza (Tue, 22 Jan 2019 22:28:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oR7MHKgJ2oH6hqyjP) @nRyDevOps Please read README, we do not support fabric-1.4 , https://github.com/hyperledger/blockchain-explorer/blob/master/README.md

nfrunza (Tue, 22 Jan 2019 22:29:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oR7MHKgJ2oH6hqyjP) @nRyDevOps Seems that you didn't follow the README document

nRyDevOps (Tue, 22 Jan 2019 22:31:10 GMT):
@nfrunza yes I have gone through the README many times, and again as I have said it was working fine before.

nRyDevOps (Tue, 22 Jan 2019 22:31:39 GMT):
My question though, is why do you not support a React dev environment with Explorer?

nRyDevOps (Tue, 22 Jan 2019 22:31:44 GMT):
only production build?

nfrunza (Tue, 22 Jan 2019 22:31:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JrLP47LvbgCf4tdoF) @nRyDevOps you may want to kill previous node processes

nfrunza (Tue, 22 Jan 2019 22:32:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hFmSsRXoTGSMydGxR) Application uses Reactsjs,

nfrunza (Tue, 22 Jan 2019 22:32:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hFmSsRXoTGSMydGxR) Application uses Reactsjs, and developers are looking into blockchain-explorer/client/package.json file for the startup scripts

nRyDevOps (Tue, 22 Jan 2019 22:37:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SJz7TtuwTQtNBv4YW) @nfrunza this does not really answer my question. Why can't I run the app as a React app in dev mode so I can reap the live update feature of react? I would like to play around with the code and see the changes live in a dev server, instead of having to rebuild each time I change something.

nRyDevOps (Tue, 22 Jan 2019 22:39:17 GMT):
React and Angular are normally built with dev mode when in development and production during deployment. Dev mode gives on the fly updates to the React app without having to even reload the browser. More importantly without having to rebuild the app to production build.

nfrunza (Tue, 22 Jan 2019 22:40:11 GMT):
Yes, you can from the client/ directory

nfrunza (Tue, 22 Jan 2019 22:40:11 GMT):
Yes, you can from the client/ directory, make sure you run $npm install

nRyDevOps (Tue, 22 Jan 2019 22:41:46 GMT):
How?

nRyDevOps (Tue, 22 Jan 2019 22:42:06 GMT):
what command do you run from the client directory...because that is not in the README

nfrunza (Tue, 22 Jan 2019 22:42:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GemebYjhEDGY3tgvx) @nRyDevOps see in blockchain-explorer/client/README.md

nfrunza (Tue, 22 Jan 2019 22:42:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GemebYjhEDGY3tgvx) @nRyDevOps see in https://github.com/hyperledger/blockchain-explorer/blob/master/client/README.md

nfrunza (Tue, 22 Jan 2019 22:45:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QMikSRittzdGPouGw) Are you able to run?

nRyDevOps (Tue, 22 Jan 2019 22:47:10 GMT):
@nfrunza AH OKAY! That worked this time! ;-)

nRyDevOps (Tue, 22 Jan 2019 22:47:41 GMT):
must have not been working before for the same reason that the production build was not working either. I needed to re-run the postgres DB scripts was all.

nfrunza (Tue, 22 Jan 2019 22:48:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pcrmuXXMNAvShRH6D) @nRyDevOps I'm not a UI guy, but ussually front end code is under the client directory

nRyDevOps (Tue, 22 Jan 2019 22:48:10 GMT):
now I have the prod build running on port 8080 and the live dev build on 3000

nfrunza (Tue, 22 Jan 2019 22:49:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A2b6cHJEcRde8wLKR) @nRyDevOps would you be able to contribute to HLExplorer, i see y're a seasoned developer

nfrunza (Tue, 22 Jan 2019 22:49:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A2b6cHJEcRde8wLKR) @nRyDevOps would you be able to contribute to HLExplorer?, i see y're a seasoned developer

nfrunza (Tue, 22 Jan 2019 22:59:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GD5wCzcwiXQj3TvNE) let me know if would you be able to contribute to HLExplorer

nfrunza (Tue, 22 Jan 2019 22:59:34 GMT):
@nRyDevOps [ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GD5wCzcwiXQj3TvNE) let me know if would you be able to contribute to HLExplorer

alokkv (Wed, 23 Jan 2019 05:26:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4007ff7f-44e8-4e05-b427-24e1a2dfbe47) didnt work.HLexplorer is up and running with only one channel.second channel is not there.

alokkv (Wed, 23 Jan 2019 05:30:12 GMT):
Hi friends, i am trying to create two channel network in one machine.i was able to bring up the network without any problems.but i was not able to configure blockchain explorer config.json file.i dont know how to add two channel configuration in the config.json file.can anyone help please.i am using fabric v1.1 and explorer version 3.4

Sarath_Kumar (Wed, 23 Jan 2019 09:37:52 GMT):
Hi All, docker logs blockchain-explorer results --> *Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging.* How to set and where to set the debug level ?

vikas.kundz (Wed, 23 Jan 2019 11:05:18 GMT):
Has joined the channel.

nfrunza (Wed, 23 Jan 2019 13:20:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=q4PxhTFt7HyN2F3bD) @alokkv did you verify in your fabric network you have 2 channels?, please run from CLI $ peer channel list

nfrunza (Wed, 23 Jan 2019 13:59:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=q4PxhTFt7HyN2F3bD) @alokkv can you run from CLI $peer channel list , and let me know the result

nfrunza (Wed, 23 Jan 2019 15:07:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mEwk6HTd359iAYpFu) @Sarath_Kumar I think the message is to set in a class file that is being developed, ignore it

pbrudny (Wed, 23 Jan 2019 17:11:47 GMT):
Has joined the channel.

ShivanshVij (Wed, 23 Jan 2019 18:56:27 GMT):
Has joined the channel.

ShivanshVij (Wed, 23 Jan 2019 18:57:03 GMT):
Hello everyone, I posted this in #indy but I am wondering if Explorer can be modified at all to work on an indy blockchain ?

rjones (Wed, 23 Jan 2019 19:48:59 GMT):
Has left the channel.

nfrunza (Wed, 23 Jan 2019 20:12:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lbmg82C2H26wiwk4P) @ShivanshVij Valuable suggestion, we would need to research

nfrunza (Wed, 23 Jan 2019 20:12:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lbmg82C2H26wiwk4P) @ShivanshVij Valuable suggestion, we would need to research, i added to JIRA: https://jira.hyperledger.org/browse/BE-518

ShivanshVij (Wed, 23 Jan 2019 20:29:02 GMT):
Thank you!

nfrunza (Wed, 23 Jan 2019 20:58:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MaNpA3nAJzdvd6SWo) @ShivanshVij welcome, do you contribute to indy project?

nfrunza (Wed, 23 Jan 2019 20:58:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MaNpA3nAJzdvd6SWo) @ShivanshVij welcome, do you contribute to indy project?

ShivanshVij (Wed, 23 Jan 2019 21:00:19 GMT):
@nfrunza Not currently to the open source project, but I'd love to

ShivanshVij (Wed, 23 Jan 2019 21:00:27 GMT):
Would I be able to help in any way?

nfrunza (Wed, 23 Jan 2019 21:09:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ac9unDmskJRAZR8rB) @ShivanshVij sure, you can contribute to HL Explorer

miiiiiyoung (Thu, 24 Jan 2019 02:00:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EeXCDPYjaYLeiBLs8) @nfrunza I tried again it using Hyperledger Explorer v0.3.7.1, but same error is occured.

miiiiiyoung (Thu, 24 Jan 2019 02:04:55 GMT):
I checked the logs, then `const genesisBlock = await channel.getGenesisBlock(request);` command is not worked in `app/platform/fabric/FabricClient.js` file's `async getGenesisBlock` function.

nfrunza (Thu, 24 Jan 2019 02:48:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Kgo88kvT42fDvTW94) @miiiiiyoung We may need to have a zoom meeting , so we can try to troubleshoot

emiliomarin (Thu, 24 Jan 2019 08:02:55 GMT):
I am having the same problem as @KenvinNguyen and @Sarath_Kumar where not all nodes are shown on the peers list even if the config file is including eveything...

mrjdomingus (Thu, 24 Jan 2019 10:19:07 GMT):
Has joined the channel.

nfrunza (Thu, 24 Jan 2019 15:04:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bTNox7KeEH7gKWHLv) @emiliomarin I would suggest first try fabric-samples/first-network , make sure you have the correct version of the fabric and explorer, you have a custom fabric configuration and may require a different explorer configuration.

nfrunza (Thu, 24 Jan 2019 15:04:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bTNox7KeEH7gKWHLv) @emiliomarin I would suggest first try fabric-samples/first-network , make sure you have the correct version of the fabric and explorer, you have a custom fabric configuration and may require a different explorer configuration. If your fabric network is configured with fabric-ca, explorer doesn't support it, we are working on adapting explorer to fabric-ca.

bajwa (Thu, 24 Jan 2019 18:57:52 GMT):
Has joined the channel.

Moolkothari (Thu, 24 Jan 2019 18:58:39 GMT):
Has joined the channel.

DeepakMule (Fri, 25 Jan 2019 06:38:21 GMT):
Has left the channel.

nfrunza (Fri, 25 Jan 2019 13:45:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=W7yuQLuMqwze7yAtD) Are you able to run in dev mode?

alokkv (Sat, 26 Jan 2019 04:57:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=se3zmbfpcFCvChYJD) @nfrunza hi, channel is there in the cli, but one thing is i created two channels with two different orderer. later now i have created two channels with same orderer and HLexplorer have both this channels.i think that is tha problem

alokkv (Sat, 26 Jan 2019 04:57:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=se3zmbfpcFCvChYJD) @nfrunza hi, channel is there in the cli, but one thing is i created two channels with two different orderer. later now i have created two channels with same orderer and HLexplorer have both this channels.i think that is tha problem.any way it worked with same orderer.thank you for your help.but i would like to know how to show channels created with two orderers in Explorer.:)

moulika (Mon, 28 Jan 2019 11:03:42 GMT):
Has joined the channel.

nfrunza (Mon, 28 Jan 2019 12:58:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=q86cfyZTr4uPEGJfg) @alokkv Please ask in https://chat.hyperledger.org/channel/fabric-questions

edisinovcic (Mon, 28 Jan 2019 13:30:53 GMT):
Has joined the channel.

duy3991 (Tue, 29 Jan 2019 04:08:17 GMT):
Has joined the channel.

duy3991 (Tue, 29 Jan 2019 04:09:09 GMT):
Hi all,

duy3991 (Tue, 29 Jan 2019 04:09:09 GMT):
Hi all, I had a problem wwith my blockchain-explorer. postgres://hppoc:password@192.168.10.11:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] Received kill signal, shutting down gracefully Help.....

duy3991 (Tue, 29 Jan 2019 04:09:09 GMT):
Hi all, I had a problem with my blockchain-explorer. postgres://hppoc:password@192.168.10.11:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] Received kill signal, shutting down gracefully Help.....

kmohanar1 (Tue, 29 Jan 2019 07:13:47 GMT):
Has joined the channel.

kmohanar1 (Tue, 29 Jan 2019 07:42:05 GMT):
grafana

kmohanar1 (Tue, 29 Jan 2019 07:48:42 GMT):
Can any one please help me which is better for monitoring the network GRAFANA or FABRIC EXPLORER

kmohanar1 (Tue, 29 Jan 2019 07:48:42 GMT):
Can any one please suggestme which is better for monitoring the network GRAFANA or FABRIC EXPLORER

nfrunza (Tue, 29 Jan 2019 12:47:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xXiTZbXP6M7DBCsbc) @duy3991 Please describe your steps, fabric version, explorer version, explorer version

nfrunza (Tue, 29 Jan 2019 12:47:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xXiTZbXP6M7DBCsbc) @duy3991 Please describe your steps, fabric version, explorer version

nfrunza (Tue, 29 Jan 2019 13:09:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AjiJMf3uJ34tK9J5H) @kmohanar1 Can GRAFANA connect to a hyperledger fabric network, and retrieve or listen to the events for it?

kmohanar1 (Tue, 29 Jan 2019 13:24:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qJdXowgKsQhRihxcy) @nfrunza No Directly you cannot connect. You can use prometheus to connect. But i am struggling at this point only

nfrunza (Tue, 29 Jan 2019 13:29:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d5gCgNLD2To6bRykp) @kmohanar1 Can prometheus connect to a fabric network?

kmohanar1 (Tue, 29 Jan 2019 13:50:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2igMDxGo684unpkoc) @nfrunza I havent try with external promtheus. But there is a inbuild prometheus option for exposing metrics., But, i was struggle here only to find prometheus server running details

nfrunza (Tue, 29 Jan 2019 14:12:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FwJL3qZu4zuGqHPW3) @kmohanar1 Ok, let me know, thank you

nekia (Wed, 30 Jan 2019 00:27:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AjiJMf3uJ34tK9J5H) @kmohanar1 FYI https://github.com/hyperledger/fabric/blob/release-1.4/docs/source/metrics_reference.rst In fabric v1.4, the implementation of metrics provider has been improved drastically. I think, it will depend on what kind of information you want to monitor.

muniyaraj (Wed, 30 Jan 2019 07:29:44 GMT):
Has joined the channel.

kmohanar1 (Wed, 30 Jan 2019 07:38:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fQBRxCZQqex4PB3Ce) @nekia yes. But, i dont know how to project these results in a web UI/as some graph. So only i planned to integrate grafana. But i am strucking to configure data source. since the hyperledger as of now exposes endpoint http://SERVER_IP:8443/metrics like this.

kmohanar1 (Wed, 30 Jan 2019 07:40:03 GMT):
Can anyone explain me how to use this /metrics (http://SERVER_IP:8443/metrics) endpoint to display result as graph representation.

nekia (Wed, 30 Jan 2019 09:07:39 GMT):
@kmohanar1 I think fabric just provides an exporter for statd or Prometheus. You still need to use Prometheus for crawling metrics exposed by fabric. I have an experience playing around this feature in fabric 1.2. feel free to DM me if you have any question.

kmohanar1 (Wed, 30 Jan 2019 10:09:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ddae1be2-6501-45ca-89c1-8ef5f2666bac) @nekia Sure, i will try and let you know

nfrunza (Wed, 30 Jan 2019 12:51:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FSX4hCwG972r72amf) @kmohanar1 Also please ask in https://chat.hyperledger.org/channel/fabric-questions

Techie (Thu, 31 Jan 2019 05:55:40 GMT):
I'm using explorer code version 3.4 for fabric 1.2.0 and getting peer status as down.I tried latest versions but getting errors as follows

Techie (Thu, 31 Jan 2019 05:55:47 GMT):
Error: Cannot find module 'ws' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object. (/home/fabric/blockchain-explorer/main.js:13:19) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:30830) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead

sureshtedla (Thu, 31 Jan 2019 10:49:55 GMT):
Hi All I am using hyperledger Fabric 1.2 version with composer and i have cloned hyperledger explorer 3.6 version In the config file how can i configure fileds it looks like very different when compared with previous hyperledger explorer 3.4 and 3.5 versions { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "fabric-path/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "fabric-path/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "fabric-path/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "fabric-path/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "fabric-path/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "url": "grpcs://localhost:8051" }, "peer0.org2.example.com": { "url": "grpcs://localhost:9051" }, "peer1.org2.example.com": { "url": "grpcs://localhost:10051" } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "fabric-path/fabric-samples/bin", "license": "Apache-2.0" } what is client and path of credentialsstore and cryptoStore path i am getting very confusion Can any one help me out @rjones @nfrunza

rjones (Thu, 31 Jan 2019 10:49:56 GMT):
Has joined the channel.

nfrunza (Thu, 31 Jan 2019 14:07:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hZB6Rg9grLgFi7M38) @Techie For Fabric -1.2 please user from https://github.com/hyperledger/blockchain-explorer/tree/v0.3.6 to https://github.com/hyperledger/blockchain-explorer/tree/v0.3.7.1

yigitpolat (Thu, 31 Jan 2019 16:05:02 GMT):
Did anybody could bind the hyperledger explorer to Hyperledger Fabric network on Kubernetes?

nfrunza (Thu, 31 Jan 2019 16:45:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cgr3R8pisdb47wppY) @yigitpolat See the link https://github.com/feitnomore/hyperledger-fabric-kubernetes

rjones (Thu, 31 Jan 2019 19:00:03 GMT):
nfrunza

rjones (Thu, 31 Jan 2019 19:00:11 GMT):
Has left the channel.

himi64 (Thu, 31 Jan 2019 22:11:49 GMT):
Has joined the channel.

himi64 (Thu, 31 Jan 2019 22:39:45 GMT):
Hello, does anybody know if hyperledger explorer is compatible with redhat linux enterprise 7? If so, any specifc version of explorer? I am running fabric 1.1 and am trying to get explorer (0.3.5.1) working, but keep getting the error: db error { error: Ident authentication failed for user "hppoc" I have also tried connecting using the master branch from git but same error. Thanks

mbaysek (Thu, 31 Jan 2019 22:47:41 GMT):
Has joined the channel.

mbaysek (Thu, 31 Jan 2019 22:55:42 GMT):
Hi. I'm trying to connect hyplerledger explorer to the basic-network example. Apparently, the basic-network example doesn't have tls enabled. So, the defaults in explorer give "Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number." So I set tlsEnable to false, and set all grpcs protocol references to grpc and now it's just acting like the peer is down, but it is up. I have hyperledger composer already up and running and talking with the peer. Is this a common issue when setting up explorer with the basic-network example? Any suggestions would be very helpful. Thanks.

nfrunza (Thu, 31 Jan 2019 23:46:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yxGYmkBwN79RNvPgH) @himi64 This is a DB error, are you behind the proxy? please make sure you can connect to DB

nfrunza (Thu, 31 Jan 2019 23:49:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KSog8pQnqoX7AqFM4) @mbaysek I posted sample config.json in your private chat

nfrunza (Thu, 31 Jan 2019 23:52:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hZB6Rg9grLgFi7M38) @Techie Did you npm install, and npm run build , please follow readme, if you switched from branch to branch you need to npm install again

yigitpolat (Fri, 01 Feb 2019 05:53:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cZohfuoDrteiTuSwm) @nfrunza Perfect. I am gonna go over it today. Appriciate

wem (Fri, 01 Feb 2019 16:26:25 GMT):
Has joined the channel.

wem (Fri, 01 Feb 2019 16:32:18 GMT):
Hello, I'm currently trying to set up explorer within a kubernetes cluster and with a CA server. Fabric is all up and running but I'm failing to figure out how to wire up the explorer configuration. I'm not using the fabric-sample, this is my own network, and because of the CA I don't have the example crypto-config folder. Long story short, I'm eager to get more debug on what I may have done wrong. My current error on explorer is: `node main.js ... E0201 16:15:02.186261513 435 ssl_transport_security.cc:626] Could not load any root certificate. E0201 16:15:02.186854366 435 ssl_transport_security.cc:1689] Cannot load server root certificates. E0201 16:15:02.187107348 435 security_connector.cc:1087] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0201 16:15:02.187284504 435 secure_channel_create.cc:121] Failed to create secure subchannel for secure name 'peer1-hlf-peer:7051' E0201 16:15:02.187452074 435 secure_channel_create.cc:154] Failed to create subchannel arguments during subchannel creation. error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://peer1-hlf-peer:7051` How can I get closer to the root cause? Thanks!

wem (Fri, 01 Feb 2019 16:33:21 GMT):
kubernetes

GuillaumeCisco (Fri, 01 Feb 2019 17:01:12 GMT):
Has joined the channel.

nfrunza (Fri, 01 Feb 2019 17:19:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tpy3BXpcDBethZjmn) @wem see the link: https://github.com/feitnomore/hyperledger-fabric-kubernetes, someone tried

nfrunza (Fri, 01 Feb 2019 17:19:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Tpy3BXpcDBethZjmn) @wem see the link: https://github.com/feitnomore/hyperledger-fabric-kubernetes, someone tried, make sure "tlsEnable": false, i config.json

prabu3192 (Mon, 04 Feb 2019 06:04:48 GMT):
Has joined the channel.

Skprog (Mon, 04 Feb 2019 07:44:43 GMT):
Has joined the channel.

Peter777 (Wed, 06 Feb 2019 16:13:13 GMT):
Has joined the channel.

Peter777 (Wed, 06 Feb 2019 16:13:35 GMT):
Hello, can i restart Hyperledger explorer without delete the data in postgress db every time i restart my Fabric network? Hello, can i restart Hyperledger explorer without delete the data in postgress db every time i restart my Fabric network?

Peter777 (Wed, 06 Feb 2019 16:13:35 GMT):
Hello, can i restart Hyperledger explorer without delete the data in postgress db every time i restart my Fabric network?

nfrunza (Wed, 06 Feb 2019 17:57:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kyhTAk3Jogm6kjaDB) @Peter777 It depends, if wipe out the ledger data in fabric, then you need to delete data in DB, we consider the uniqueness of the channel by the GenesisBlock, and not by the name of the channel

nfrunza (Wed, 06 Feb 2019 17:57:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kyhTAk3Jogm6kjaDB) @Peter777 It depends, if you wipe out the ledger data in fabric, then you need to delete data in DB, we consider the uniqueness of the channel by the GenesisBlock, and not by the name of the channel

nfrunza (Wed, 06 Feb 2019 17:57:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kyhTAk3Jogm6kjaDB) @Peter777 It depends, if you delete the ledger data in fabric, then you need to delete data in DB, we consider the uniqueness of the channel by the GenesisBlock, and not by the name of the channel

bh4rtp (Thu, 07 Feb 2019 06:02:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FEwYrgQZgqNCWgunR) @nfrunza do you mean currently blockchain-explorer can support fabric-ca by setting tlseEnable false?

nfrunza (Thu, 07 Feb 2019 13:48:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sGKckMMsJHyD58Kg2) @bh4rtp Can you try latest from master, you may need to tweak depending on your fabric network, see README for fabric-ca

bh4rtp (Thu, 07 Feb 2019 16:31:04 GMT):
@nfrunza thank you for your reply. i have two suggestions: 1) move `admin-username` and `admin-secret` from config_ca.json into corresponding `certificateAuthorities` entry in the config.json; 2) support multiple enrollment configuration for each org in config_ca.json, including enroll_id, organization and affiliation.

bh4rtp (Thu, 07 Feb 2019 16:31:04 GMT):
@nfrunza thank you for your reply. i have two suggestions: 1) move `admin-username` and `admin-secret` from config_ca.json into corresponding `certificateAuthorities` entry in the config.json; 2) support multiple enrollment configuration for each org in config_ca.json, including `enroll_id`, `organization` and `affiliation`.

nfrunza (Thu, 07 Feb 2019 17:05:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4TB2X75kbvMKmtZYu) @bh4rtp We are working in the next release for the suggested

abityildiz (Fri, 08 Feb 2019 07:35:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KSog8pQnqoX7AqFM4) @mbaysek i have a same problem.how did you solved it?

bh4rtp (Fri, 08 Feb 2019 10:54:37 GMT):
@nfrunza i have successfully connected my own network using blockchain explorer. but the status of the org2 peers are all `DOWN`. and the nodes count should be 6, i.e. 4 org1 peers and 2 org2 peers, but actually shows 4, i.e. 2 org1 peers and 2 org2 peers. and the fatal problem is after switching channel, explorer prints two errors: ```2019-02-08T10:52:47.728Z - error: [Admin.js]: GetStatus - timed out after:45000 2019-02-08T10:52:47.737Z - error: [Peer.js]: sendDiscovery - timed out after:45000```

bh4rtp (Fri, 08 Feb 2019 10:54:37 GMT):
@nfrunza i have successfully connected my own network using blockchain explorer. but the status of the org2 peers are all `DOWN`. and the nodes count should be 6, i.e. 4 org1 peers and 2 org2 peers, but actually shows 4, i.e. 2 org1 peers and 2 org2 peers. and the fatal problem is that after switching channel explorer will print two errors: ```2019-02-08T10:52:47.728Z - error: [Admin.js]: GetStatus - timed out after:45000 2019-02-08T10:52:47.737Z - error: [Peer.js]: sendDiscovery - timed out after:45000```

bh4rtp (Fri, 08 Feb 2019 11:16:25 GMT):
my fabric network has 5 channels. should i configure 5 clients in config.json? there is only one `channel` entry in the client block.

bh4rtp (Fri, 08 Feb 2019 11:16:25 GMT):
my fabric network has 5 channels. should i configure 5 clients in config.json? as there is only one `channel` entry in the client block.

nfrunza (Fri, 08 Feb 2019 13:03:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PKxdNawfyyAWXNbNE) @bh4rtp Explorer will discover all the channel, as long you configure properly your fabric, please read about Discovery service in fabric

nfrunza (Fri, 08 Feb 2019 13:03:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PKxdNawfyyAWXNbNE) @bh4rtp Explorer will discover all the channels, as long you configure properly your fabric, please read about Discovery service in fabric

nfrunza (Fri, 08 Feb 2019 14:59:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ugmSBFnGRZaF6dksj) @abityildiz If you're running composer and basic network on the same machine there could be a conflict , please try with one of them only

nfrunza (Fri, 08 Feb 2019 15:06:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ugmSBFnGRZaF6dksj) @abityildiz I posted sample basic network in your chat

nfrunza (Fri, 08 Feb 2019 18:04:30 GMT):
@all Do you know is any company using HLExplorer in production ?

bh4rtp (Sat, 09 Feb 2019 14:56:47 GMT):
the hyperledger explorer runs ok without a single error. but the web explorer shows `Please verify your network configuration, database configuration and try again`. why?

MRM (Sat, 09 Feb 2019 16:46:36 GMT):
Has joined the channel.

nfrunza (Sun, 10 Feb 2019 03:33:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=p2SraZ7yWJKmcdRP4) @bh4rtp Can you clear your cache?

bh4rtp (Sun, 10 Feb 2019 13:13:16 GMT):
@nfrunza i have cleared the cache of web explorer. but it does not work.

Legiit (Mon, 11 Feb 2019 08:58:42 GMT):
everyone in production is using a CA, right? @nfrunza

GuillaumeCisco (Mon, 11 Feb 2019 09:16:03 GMT):
We are

Legiit (Mon, 11 Feb 2019 09:20:03 GMT):
I thought the explorer couldnt work with the CA?

Legiit (Mon, 11 Feb 2019 09:20:11 GMT):
@GuillaumeCisco

GuillaumeCisco (Mon, 11 Feb 2019 09:23:11 GMT):
We thought too, we will test it today with my new discoveries

GuillaumeCisco (Mon, 11 Feb 2019 10:44:22 GMT):
@Legiit I can confirm hyperledger explorer works with CA and TLS

Kelvin_Moutet (Mon, 11 Feb 2019 11:00:00 GMT):
Hello, when a 0.3.9 HE docker images (db and explorer) will be publish ?

Kelvin_Moutet (Mon, 11 Feb 2019 11:00:00 GMT):
Hello, when a 0.3.9 HE docker images (db and explorer) will be published ?

nfrunza (Mon, 11 Feb 2019 13:20:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nsEv4vKiY7cqYP6kR) @Kelvin_Moutet I'll check and let you know, it gets published when a tag is applied.

nfrunza (Mon, 11 Feb 2019 13:21:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WkDBg9xnvv3tpBuzE) @GuillaumeCisco What is your company? can you share?

nfrunza (Mon, 11 Feb 2019 13:23:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ba3bxJP6B4RtWYwCb) @Legiit I do not know, we need some feedback if any uses Explorer in production

GuillaumeCisco (Mon, 11 Feb 2019 13:24:29 GMT):
My company is owkin. And I'm working on the substra project. https://owkin.com/ https://substra.org WE cannot share our code right now. We will open source a part later this year though

GuillaumeCisco (Mon, 11 Feb 2019 13:24:29 GMT):
My company is owkin. And I'm working on the substra project. https://owkin.com/ https://substra.org We cannot share our code right now. We will open source a part later this year though

nfrunza (Mon, 11 Feb 2019 13:24:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7wRfcD7KnfSv3qmG7) @bh4rtp do you switch from one fabric sample to another?

Kelvin_Moutet (Mon, 11 Feb 2019 13:31:57 GMT):
@nfrunza There is a 0.3.9 tag no ? https://github.com/hyperledger/blockchain-explorer/releases

nfrunza (Mon, 11 Feb 2019 13:35:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PSfWMnaW4GGhuk6iR) @Kelvin_Moutet yes, it is, a script should have publiched, i asked CI/CD they should look into

Kelvin_Moutet (Mon, 11 Feb 2019 13:42:06 GMT):
@Legiit what do you mean by "works with CA" ?

nfrunza (Mon, 11 Feb 2019 13:57:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Nnvx6pho39rH828SR) @GuillaumeCisco i was interested in company name, and not the code, thank you

nfrunza (Mon, 11 Feb 2019 14:00:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2G8E2FgX83t6D8fDk) So you're using explorer in production, what type of industry? financial, medical?

Legiit (Mon, 11 Feb 2019 14:00:37 GMT):
I did ask for the code @nfrunza & looking at the site they;re in the medical field

nfrunza (Mon, 11 Feb 2019 14:05:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=z9x2Njg26ixNL7Xdp) @Legiit thank you

GuillaumeCisco (Mon, 11 Feb 2019 14:57:28 GMT):
@nfrunza, we are not using explorer in production, but we could. We've just succeeded making it works with fabric-ca TLS certificates. We are using fabric-ca in production. Medical industry

nfrunza (Mon, 11 Feb 2019 14:58:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZoQEvpyWQoq4R3S2a) @GuillaumeCisco i see, thanks

bh4rtp (Tue, 12 Feb 2019 04:15:21 GMT):
@nfrunza yes, i have two fabric network. one is ok. and the other displays `Please verify your network configuration, database configuration and try again`

bh4rtp (Tue, 12 Feb 2019 04:15:21 GMT):
@nfrunza yes, i have two fabric networks. one is ok. and the other displays `Please verify your network configuration, database configuration and try again`

bh4rtp (Tue, 12 Feb 2019 04:15:21 GMT):
@nfrunza yes, i have two fabric networks, and make two config.json files. one is ok. and the other displays `Please verify your network configuration, database configuration and try again`

erickrettozi (Tue, 12 Feb 2019 13:48:14 GMT):
Has joined the channel.

nfrunza (Tue, 12 Feb 2019 14:00:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GW58jADe5xJ6fkbWc) @bh4rtp What do you mean make 2 config.json, we do not have such instructions, you can add another to "network-2" {}, similar to "network-1"

erickrettozi (Tue, 12 Feb 2019 14:13:53 GMT):
Hello guys! I have questions about config.js. If anyone can help me, I'm grateful! I have 8 Peers in my network. I only added 2 Peers in my config.js. The fact is that Explorer displays all Peers that are not in config.js with Status = DOWN. Only the Peers in the config.js are displayed correctly, ie with Status = RUNNING. My question: Is it mandatory to put all Peers in config.js? Is not it correct to get Satus from all Peers regardless of what's in my config.js? That is, you should connect to the network and get all the Peers infos automatically. What do you think?

nfrunza (Tue, 12 Feb 2019 14:16:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lvqm9ybuCkJmAwwvf) @erickrettozi did you configure the peers to be discoverable?

erickrettozi (Tue, 12 Feb 2019 14:23:09 GMT):
@nfrunza No config.js? I did not configure all Peers, only 2 out of 8. But the explorer takes almost all the infos of all Peers, even the other 6 not being in the config.js file (Strange no?), But the status of Peers that are not in the config.js appear wrong.

nfrunza (Tue, 12 Feb 2019 14:24:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zmux6ganfcBBNtBBL) @erickrettozi yes, explorer uses discoveryresults

nfrunza (Tue, 12 Feb 2019 14:24:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zmux6ganfcBBNtBBL) @erickrettozi yes, explorer uses discoveryresults, would you bea able to configure and give a try, i'm afraid this may not be tested, thank you

erickrettozi (Tue, 12 Feb 2019 14:29:40 GMT):
@nfrunza Ok, thx! :vulcan:

nfrunza (Tue, 12 Feb 2019 14:41:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sQXEbeWZsGg5bLqvr) @erickrettozi welcome

erickrettozi (Tue, 12 Feb 2019 14:41:52 GMT):
@nfrunza One more question, pls. The transaction details show the CreatorID (MSPID), but do not show the certificate, why? I know in the old versions the script was showing.

nfrunza (Tue, 12 Feb 2019 14:56:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=x2WWGxXaGwSG9Sscn) @erickrettozi looks like requirements changed

dinoradulovic (Wed, 13 Feb 2019 01:18:10 GMT):
Has joined the channel.

benlongstaff (Wed, 13 Feb 2019 02:37:02 GMT):
Has joined the channel.

adamhardie (Wed, 13 Feb 2019 15:21:51 GMT):
hello/ i am installing the new release of explorer but the SQL scripts fail Executing SQL scripts... Password: psql:./explorerpg.sql:5: ERROR: syntax error at or near "password" LINE 1: CREATE USER hppoc WITH PASSWORD password;

adamhardie (Wed, 13 Feb 2019 16:07:17 GMT):
what would the following log entail? is it failing due to the node issue ? postgres://hppoc:paXXXXrd@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] (node:31697) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Received kill signal, shutting down gracefully Closed out connections

adamhardie (Wed, 13 Feb 2019 16:49:35 GMT):
I have a HL network running on docker in swarm mode - When i run the explorer in both ./start.sh and deploy_explorer.sh, the log indicates the peer is not accessible

adamhardie (Wed, 13 Feb 2019 16:49:36 GMT):
Error : Failed to connect client peer, please check the configuration and peer status

adamhardie (Wed, 13 Feb 2019 16:49:57 GMT):
i have ensured my ports and ip (localhost) are correct, and certificates are configured properly

adamhardie (Wed, 13 Feb 2019 16:50:14 GMT):
am i missing some networking part to join the swarm network ?

adamhardie (Wed, 13 Feb 2019 16:55:42 GMT):
in console logs (node:1228) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-02-13T16:26:57.171Z - error: [Peer.js]: sendDiscovery - timed out after:45000 2019-02-13T16:26:57.174Z - error: [Channel.js]: Error: REQUEST_TIMEOUT <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Failed to discover ::Error: REQUEST_TIMEOUT at Channel._initialize (/opt/go/src/github.com/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:347:11) at at process._tickCallback (internal/process/next_tick.js:189:7)

nfrunza (Wed, 13 Feb 2019 17:32:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YaNjuofZnfAGYMhZ6) @adamhardie we haven't tested in such environment, can you verify, maybe you need to update the localhost to docker ip address

adamhardie (Wed, 13 Feb 2019 17:32:48 GMT):
i can attach a normal SDK node using the ip and port

adamhardie (Wed, 13 Feb 2019 17:33:00 GMT):
ahh i see what you mena

adamhardie (Wed, 13 Feb 2019 17:33:03 GMT):
let me try

nfrunza (Wed, 13 Feb 2019 17:33:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=s7Mp5f3HnhekxLy8h) @adamhardie yes, in cofig.json , maybe docker inspect can help

nfrunza (Wed, 13 Feb 2019 17:34:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kn4gbWxzJ3L2Knure) sample here https://github.com/hyperledger/blockchain-explorer/tree/master/examples/net1#example-of-running-be-with-fabric-network

bh4rtp (Thu, 14 Feb 2019 08:43:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=baHpgEWgak8uwNSW4) @nfrunza i mean that i made two config.json, i.e. config1.json and config2.json in the app/platform/fabric. the network A was started locally, i copied config1.json as config.json, and started the explorer. it was ok. then the network B was started, copied config2.json as config.json, and started the explorer again. it displayed the error message in the browser.

Kelvin_Moutet (Thu, 14 Feb 2019 11:45:59 GMT):
Hello, I'm running in a strange issue I have setup explorer with two orgs (like this config file https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/config.json) But when I use the org1 as client it fails but with org2 as client it success. In the peer log of org2 (when using org1 as client) I see that it receive the wrong MSP, does someone know why ?

Kelvin_Moutet (Thu, 14 Feb 2019 11:47:05 GMT):
It seems that is is trying to use the client (setup as org1) to connect on peer-org2, can we setup multiple client and tell which client to use for peers ?

hamza-kakar (Thu, 14 Feb 2019 12:06:56 GMT):
Has joined the channel.

hamza-kakar (Thu, 14 Feb 2019 12:07:07 GMT):
can any kindly share the composed based config.json file for explorer. thanks

hamza-kakar (Thu, 14 Feb 2019 12:07:07 GMT):
hi i am having errors while configuring composer with explorer. composer 0.20 and explorer is 0.3.9 i have attached the conig, log and docker ps files kindly help me out

hamza-kakar (Thu, 14 Feb 2019 12:54:46 GMT):

explorer-composer.zip

hamza-kakar (Thu, 14 Feb 2019 12:54:59 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:9186) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead E0214 17:29:31.992128970 9186 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E0214 17:29:32.994756413 9186 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. E0214 17:29:34.288206473 9186 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. 2019-02-14T12:29:34.995Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/kakar/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } E0214 17:29:36.385256003 9186 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. Received kill signal, shutting down gracefully Closed out connections

hamza-kakar (Thu, 14 Feb 2019 12:55:36 GMT):
@nfrunza kindly look into it sir

garunkumar450 (Thu, 14 Feb 2019 13:18:02 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer error when connecting to db: { error: password authentication failed for user "hppoc" at Connection.parseE (/home/tanla/HLEE/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/tanla/HLEE/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/tanla/HLEE/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) name: 'error', length: 101, severity: 'FATAL', code: '28P01', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'auth.c', line: '328', routine: 'auth_failed' } ~

garunkumar450 (Thu, 14 Feb 2019 13:18:02 GMT):
Summary of all failing tests FAIL src/components/Lists/Blocks.spec.js ● Blocks › Table displays block data expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 1 260 | .children() 261 | .children().length, > 262 | ).toBe(2); | ^ 263 | 264 | // Block Number 265 | expect( at Object.toBe (src/components/Lists/Blocks.spec.js:262:7) Test Suites: 1 failed, 25 passed, 26 total Tests: 1 failed, 170 passed, 171 total Snapshots: 0 total Time: 22.055s, estimated 25s Ran all test suites. npm ERR! Test failed. See above for more details.

nfrunza (Thu, 14 Feb 2019 13:42:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=drJPhqJEbQgdx38ft) @hamza-kakar explorer v0.3.0 is supporting fabric 1.4, can you verify fabric version for the explorer?

nfrunza (Thu, 14 Feb 2019 13:42:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=drJPhqJEbQgdx38ft) @hamza-kakar explorer v0.3.0 is supporting fabric 1.4, can you verify fabric version for the composer?

nfrunza (Thu, 14 Feb 2019 13:42:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=drJPhqJEbQgdx38ft) @hamza-kakar explorer v0.3.9 is supporting fabric 1.4, can you verify fabric version for the composer?

nfrunza (Thu, 14 Feb 2019 13:45:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vZxBT6xWyb3ZdMsRf) @garunkumar450 can you try to use a db client to connect to fabricexplorer schema with the credentials specified in your blockchain-explorer/app/explorerconfig.json config

nfrunza (Thu, 14 Feb 2019 13:54:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=23TeG69EC7PQJ2ERb) @bh4rtp could it be there is a conflict between defined networks, as you run both locally, do you use fabric samples ?

Kelvin_Moutet (Thu, 14 Feb 2019 14:00:26 GMT):
@nfrunza Do you have an insight on it ? (related to my problem described before) ``` error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: access denied: channel [] creator org [org1MSP] at new createStatusError (/opt/explorer/node_modules/grpc/src/client.js:64:15) at /opt/explorer/node_modules/grpc/src/client.js:583:15 ``` and the log of peer1-org2 ``` 2019-02-14 13:54:44.626 UTC [protoutils] ValidateProposalMessage -> WARN 05a channel []: MSP error: expected MSP ID org2MSP, received org1MSP ```

nfrunza (Thu, 14 Feb 2019 14:33:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BwxLJzWvCMfpRcJSy) @Kelvin_Moutet @nekia Atsushi, can you take a look at this question?

nfrunza (Thu, 14 Feb 2019 14:33:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yqpRezTQvGAJk3tDY) @Kelvin_Moutet @nekia Atsushi, can you take a look at this question

Kelvin_Moutet (Thu, 14 Feb 2019 14:35:02 GMT):
If I read well here : https://github.com/hyperledger/blockchain-explorer/blob/5941ea1e516d7cb0f46bac4ef9ba9bed2769b4ec/app/platform/fabric/FabricClient.js#L138 It seems it related to the selection of the peer according to the default client. It should be from the same organisation to be valid.

Kelvin_Moutet (Thu, 14 Feb 2019 14:36:06 GMT):
@nfrunza Another topic, did you receive an answer on docker HE 3.9 tag ?

nfrunza (Thu, 14 Feb 2019 14:38:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mhJSyigARwWczTMBF) @Kelvin_Moutet we are working on that, someone is verifying the change, but you're welcome to give a try and let me know, are you familiar with gerrit? https://gerrit.hyperledger.org/r/#/c/29280/

ftfnunes (Thu, 14 Feb 2019 15:02:35 GMT):
Has joined the channel.

ftfnunes (Thu, 14 Feb 2019 15:15:16 GMT):
Hi, I'm trying to setup the explorer with a network that uses ssl certificates issued from an intermediate ca. My network is correctly set, but when trying to start the explorer I get the following error: `E0214 12:01:56.341531064 176370 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.`. In the config.json, I set the tls root certificate under the tlsCACerts.path property of each peer. I tested with ssl certificates issued under the root ca and everything worked fine. Can anyone help me with this setup?

Kelvin_Moutet (Thu, 14 Feb 2019 16:01:58 GMT):
If I understand well, HE uses the discovery API, right ?

Kelvin_Moutet (Thu, 14 Feb 2019 16:01:58 GMT):
If I understand well, HE uses the discover API, right ?

nfrunza (Thu, 14 Feb 2019 16:28:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cf735Q6iwiKwKuaMK) @Kelvin_Moutet correct

Kelvin_Moutet (Thu, 14 Feb 2019 16:29:53 GMT):
So, it's pretty strange to have a network/config json file if we have the discover api

Kelvin_Moutet (Thu, 14 Feb 2019 16:30:18 GMT):
https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-overview.html

Kelvin_Moutet (Thu, 14 Feb 2019 16:30:54 GMT):
Because we juste need to setup a client along one peer and the rest can be discovered non ?

hamza-kakar (Thu, 14 Feb 2019 16:38:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mjnq4xnwoesbw2Zhg) sit the fabric version is 1.2 kindly seen if there is any issue with my configuration file.

hamza-kakar (Thu, 14 Feb 2019 16:38:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=jLx3PEWw2h4JRMvp2) here are files

acloudfan (Thu, 14 Feb 2019 17:06:54 GMT):
Getting the error "*There are no orderers defined on this channel in the network configuration*" the configuration without change worked in another network .... any suggestions will be appreciated.

nfrunza (Thu, 14 Feb 2019 17:56:11 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pkwSZ5szRrxdnwd3S) @Kelvin_Moutet discovery was added in fabric 1.1, and explorer just made adjustments, and the other reason is to get the peer statuses

nfrunza (Thu, 14 Feb 2019 17:57:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=H9m9fDausAgfPe7L5) @Kelvin_Moutet i believe so, and the fabric needs to be configured properly

nfrunza (Thu, 14 Feb 2019 18:06:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NtQExz5XiF6wQS9oR) @acloudfan explorer uses discovery, you need to configure it

garunkumar450 (Thu, 14 Feb 2019 19:36:23 GMT):
Summary of all failing tests FAIL src/components/Lists/Blocks.spec.js ● Blocks › Table displays block data expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 1 260 | .children() 261 | .children().length, > 262 | ).toBe(2); | ^ 263 | 264 | // Block Number 265 | expect( at Object.toBe (src/components/Lists/Blocks.spec.js:262:7) Test Suites: 1 failed, 25 passed, 26 total Tests: 1 failed, 170 passed, 171 total Snapshots: 0 total Time: 22.055s, estimated 25s Ran all test suites. npm ERR! Test failed. See above for more details.

garunkumar450 (Thu, 14 Feb 2019 19:37:01 GMT):
while setup hyperledger explorer npm test -- -u --coverage

garunkumar450 (Thu, 14 Feb 2019 19:37:01 GMT):
while setup hyperledger explorer npm test -- -u --coverage

PMoura (Thu, 14 Feb 2019 19:47:38 GMT):
Has joined the channel.

PMoura (Thu, 14 Feb 2019 19:52:06 GMT):
Hello guys. Can I use the `fabric-samples/basic-network/connection.json` as `config.json` and `fabric-samples/basic-network/crypto-config` as crypto material folder, in order to use docker-composer for running hyperledger explorer using samples basic-network? Thanks

nfrunza (Thu, 14 Feb 2019 19:54:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=k8mJHqgBKJE67aLkC) @PMoura we provided a sample config, you cannot use the one you mention

nfrunza (Thu, 14 Feb 2019 19:55:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=d8tb87fk7Fj2qnzqo) @garunkumar450 you can skip the tests

PMoura (Thu, 14 Feb 2019 19:59:54 GMT):
@nfrunza, and what about the cripto material folder? Can I point the volumes on `docker-compose.yaml` to the fabric-samples/basic-network/crypto-config`? I saw in previous messages that already exists an config.json to be used to connect to the basic network. Can you post or send me that file?

nfrunza (Thu, 14 Feb 2019 20:04:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iZMBruSv8SeWMHusB) @PMoura posted in your chat

lucasrol (Thu, 14 Feb 2019 22:17:56 GMT):
Has joined the channel.

GuillaumeTong (Fri, 15 Feb 2019 04:12:16 GMT):
Has joined the channel.

GuillaumeTong (Fri, 15 Feb 2019 04:22:36 GMT):
Hello, I am trying to set up explorer using the current master branch (which seems to be mostly identical to release-3.9), and the network I am connecting to is a Kubernetes network, with peers/orderers having exposed ports to the outside world. The only error message I see it this, in console logs: ```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:6164) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-02-15T03:55:02.740Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/tfidm/explorer/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections ``` Explorer seems to be trying to connect to localhost:7050 even though I have not mentioned that url anywhere in my config file. Is it possible that it will try to connect there according to a result returned by discovery? (I can see discovery being done from app.log)

GuillaumeTong (Fri, 15 Feb 2019 04:22:36 GMT):
Hello, I am trying to set up explorer using the current master branch (which seems to be mostly identical to release-3.9), and the network I am connecting to is a Kubernetes network, with peers/orderers having exposed ports to the outside world. The only error message I see it this, in console logs: ```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:6164) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-02-15T03:55:02.740Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/tfidm/explorer/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections ``` Explorer seems to be trying to connect to `localhost:7050` even though I have not mentioned that url anywhere in my config file. Is it possible that it will try to connect there according to a result returned by discovery? (I can see discovery being done from app.log)

GuillaumeTong (Fri, 15 Feb 2019 04:22:36 GMT):
Hello, I am trying to set up explorer using the current master branch (which seems to be mostly identical to release-3.9), and the network I am connecting to is a Kubernetes network, with peers/orderers having exposed ports to the outside world. But start.sh does not run fully and I can not access the UI. Please help. The only error message I see it this, in console logs: ```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:6164) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-02-15T03:55:02.740Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/tfidm/explorer/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections ``` Explorer seems to be trying to connect to `localhost:7050` even though I have not mentioned that url anywhere in my config file. Is it possible that it will try to connect there according to a result returned by discovery? (I can see discovery being done from app.log)

GuillaumeTong (Fri, 15 Feb 2019 04:22:36 GMT):
Hello, I am trying to set up explorer using the current master branch (which seems to be mostly identical to release-3.9), and the network I am connecting to is a Kubernetes network, with peers/orderers having exposed ports to the outside world. But start.sh does not run fully and I can not access the UI. Please help. The only error message I see is this, in console logs: ```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:6164) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-02-15T03:55:02.740Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/tfidm/explorer/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections ``` Explorer seems to be trying to connect to `localhost:7050`, even though I have not mentioned that url anywhere in my config file. Is it possible that it will try to connect there according to a result returned by discovery? (I can see discovery being done from app.log)

GuillaumeTong (Fri, 15 Feb 2019 04:24:58 GMT):
The discovery returns a section about the orderers as such: `"orderers":{"OrdererorgMSP":{"endpoints":[{"host":"orderer0.ordererorg","port":7050},{"host":"orderer1.ordererorg","port":7050}]}}`

nekia (Fri, 15 Feb 2019 05:40:01 GMT):
@GuillaumeTong Are you woking on fabric-1.4.0 ? We had similar problem a few days before. Do you set orderers setting in your channel section ? The orderers setting seems to be **required** for network profile ([sample](https://hyperledger-fabric.readthedocs.io/en/latest/developapps/connectionprofile.html?highlight=connection%20profile#sample) ). Please refer to [this comment](https://jira.hyperledger.org/browse/BE-542?focusedCommentId=56956&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-56956).

nekia (Fri, 15 Feb 2019 05:40:01 GMT):
@GuillaumeTong Are you using explorer with fabric-1.4.0 ? We had similar problem a few days before. Do you set orderers setting in your channel section ? The orderers setting seems to be **required** for network profile ([sample](https://hyperledger-fabric.readthedocs.io/en/latest/developapps/connectionprofile.html?highlight=connection%20profile#sample) ). Please refer to [this comment](https://jira.hyperledger.org/browse/BE-542?focusedCommentId=56956&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-56956).

garunkumar450 (Fri, 15 Feb 2019 06:20:52 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/tanla/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) (node:5722) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Received kill signal, shutting down gracefully Closed out connections p

garunkumar450 (Fri, 15 Feb 2019 06:26:30 GMT):
@while iam setting hyperledger explorer for composer i am getting this erro

garunkumar450 (Fri, 15 Feb 2019 06:26:30 GMT):
@while iam setting hyperledger explorer for composer i am getting this error

GuillaumeTong (Fri, 15 Feb 2019 06:35:32 GMT):
@nekia My current config looks like this in the channels section: ``` "channels": { "channel-name": { "peers": { "peer0.org1": {}, "peer1.org1": {}, "peer0.org2": {}, "peer1.org2": {} }, "orderers": { "orderer0": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } },``` I was already trying to add an orderers section, with the same format as peers. Looking at the sample you linked to, it seems that that format is wrong and should just be a list of strings, not empty objects. Is that correct?

GuillaumeTong (Fri, 15 Feb 2019 06:36:18 GMT):
Something like `"orderers": {"orderer0"},`

nekia (Fri, 15 Feb 2019 06:41:18 GMT):
I don't think it's the same format as peers. You need to add with array format. ``` "mychannel": { "peers": { "peer0.org1.example.com": {} }, "orderers": [ "orderer.example.com" ], ```

GuillaumeTong (Fri, 15 Feb 2019 06:42:31 GMT):
@nekia I confirm, my format was wrong and the one you proposed allow me to successfully launch the explorer. Thank you very much

nekia (Fri, 15 Feb 2019 06:43:01 GMT):
If TLS enabled, you will also need to add tlsCACerts setting for orderer.

nekia (Fri, 15 Feb 2019 06:43:25 GMT):
:grinning: Great!

GuillaumeTong (Fri, 15 Feb 2019 06:44:09 GMT):
I think It would be very helpful to update the samples on github as such for the next people who would try the new explorer.

nekia (Fri, 15 Feb 2019 06:44:57 GMT):
Yes, you are right. We are working on it.

nekia (Fri, 15 Feb 2019 06:52:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=t3RWrmy3v2MEdYAxH) @nfrunza I could recreate this issue on my environment, too.

nekia (Fri, 15 Feb 2019 06:53:42 GMT):
@Kelvin_Moutet the latest master branch + first-network environment ( fabric 1.4.0 )

nekia (Fri, 15 Feb 2019 06:53:42 GMT):
@Kelvin_Moutet the latest master branch + first-network environment ( fabric 1.4.0 ) When I use the org2 as a client.

nekia (Fri, 15 Feb 2019 06:56:05 GMT):
``` 2019-02-15 06:30:54.200 UTC [protoutils] ValidateProposalMessage -> WARN 1a7 channel []: MSP error: expected MSP ID Org1MSP, received Org2MSP 2 ```

hamza-kakar (Fri, 15 Feb 2019 07:05:11 GMT):
i am having an issue in configuring explorer 3.7.1 with composer 0.20.6 running on fabric 1.2 can anyone help me out. thanks `postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [hlfv1] and client : [Org1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>`

hamza-kakar (Fri, 15 Feb 2019 07:05:11 GMT):
i am having an issue in configuring explorer 3.7.1 with composer 0.20.6 running on fabric 1.2 can anyone help me out. thanks ```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [hlfv1] and client : [Org1] <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>```

hamza-kakar (Fri, 15 Feb 2019 07:05:46 GMT):
here is my config.json `{ "network-configs": { "hlfv1": { "version": "1.0.0", "clients": { "Org1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } } }, "configtxgenToolPath": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/bin", "license": "Apache-2.0" } `

hamza-kakar (Fri, 15 Feb 2019 07:05:46 GMT):
here is my config.json ```{ "network-configs": { "hlfv1": { "version": "1.0.0", "clients": { "Org1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } } }, "configtxgenToolPath": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/bin", "license": "Apache-2.0" } ``

hamza-kakar (Fri, 15 Feb 2019 07:05:46 GMT):
here is my config.json `` { "network-configs": { "hlfv1": { "version": "1.0.0", "clients": { "Org1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } } }, "configtxgenToolPath": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/bin", "license": "Apache-2.0" } ``

hamza-kakar (Fri, 15 Feb 2019 07:05:46 GMT):
here is my config.json ``{ "network-configs": { "hlfv1": { "version": "1.0.0", "clients": { "Org1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } } }, "configtxgenToolPath": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/bin", "license": "Apache-2.0" } ``

hamza-kakar (Fri, 15 Feb 2019 07:05:46 GMT):
here is my config.json ``{ "network-configs": { "hlfv1": { "version": "1.0.0", "clients": { "Org1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } } }, "configtxgenToolPath": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/bin", "license": "Apache-2.0" }``

hamza-kakar (Fri, 15 Feb 2019 07:05:46 GMT):
here is my config.json ```{ "network-configs": { "hlfv1": { "version": "1.0.0", "clients": { "Org1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } } } }, "configtxgenToolPath": "/home/kakar/fabric-dev-servers/fabric-scripts/hlfv12/bin", "license": "Apache-2.0" }```

garunkumar450 (Fri, 15 Feb 2019 07:09:52 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/tanla/HLE/blockchain-explorer/app/platform/fabric/Platform.js:54:48) at at process._tickCallback (internal/process/next_tick.js:189:7) (node:9177) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Received kill signal, shutting down gracefully Closed out connections ~ ~ ~

nekia (Fri, 15 Feb 2019 07:20:00 GMT):
I created a new JIRA , please update the description if you have more information. [BE-545|https://jira.hyperledger.org/browse/BE-545] @Kelvin_Moutet @nfrunza

nekia (Fri, 15 Feb 2019 07:20:00 GMT):
I created a new JIRA , please update the description if you have more information. [BE-545](https://jira.hyperledger.org/browse/BE-545) @Kelvin_Moutet @nfrunza

Kelvin_Moutet (Fri, 15 Feb 2019 07:21:36 GMT):
Thank you nekia :)

Kelvin_Moutet (Fri, 15 Feb 2019 07:23:26 GMT):
If you change your client to : ``` "client-1": { "tlsEnable": true, "organization": "Org1", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } ``` Does it work ?

nekia (Fri, 15 Feb 2019 07:25:52 GMT):
Yes it works.

Kelvin_Moutet (Fri, 15 Feb 2019 07:26:16 GMT):
It surely comes from here non https://github.com/hyperledger/blockchain-explorer/blob/5941ea1e516d7cb0f46bac4ef9ba9bed2769b4ec/app/platform/fabric/FabricClient.js#L149 ?

Kelvin_Moutet (Fri, 15 Feb 2019 07:27:19 GMT):
It takes the first peer on the list, whatever the client is, but we have to match/restrict the peer chosin with client org

Kelvin_Moutet (Fri, 15 Feb 2019 07:28:18 GMT):
(I'm not familiar with Javascript, so it's just a supposition)

Kelvin_Moutet (Fri, 15 Feb 2019 07:28:18 GMT):
(I'm not familiar with Javascript and the HE code, so it's just a supposition :) )

nekia (Fri, 15 Feb 2019 07:33:08 GMT):
Thanks! We'll look into around here closer.

nekia (Fri, 15 Feb 2019 07:55:39 GMT):
@garunkumar450 There were same reports in this room before, at that time using new explorer was one of the solutions. https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fijDkz8T9muaXkywr

nekia (Fri, 15 Feb 2019 07:57:21 GMT):
I'm not sure it's required in 3.7.1, but how about changing "grpcs" to "grpc" in url.

nekia (Fri, 15 Feb 2019 07:57:21 GMT):
I'm not sure it's required in 3.7.1, but how about changing "grpcs" to "grpc" in url. @garunkumar450

garunkumar450 (Fri, 15 Feb 2019 08:32:34 GMT):
@hyperledger-fabric:1.4 Hyperledger-Composer:0.20.6 Hyperledger-Explorer:.3.8 { "network-config": { "org1": { "name": "Org1", "mspid": "Org1MSP", "peer1": { "requests": "grpc://127.0.0.1:7051", "events": "grpc://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/tanla/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "admin": { "key": "/home/tanla/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/tanla/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "channel": "composerchannel", "orderers": [ { "mspid": "OrdererMSP", "server-hostname": "orderer.example.com", "requests": "grpc://127.0.0.1:7050", "tls_cacerts": "/home/tanla/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/tanla/fabric-dev-servers/fabric-samples/bin", "SYNC_START_DATE_FORMAT": "YYYY/MM/DD", "syncStartDate": "2018/02/14", "eventWaitTime": 30000, "license": "Apache-2.0", "version": 1.0 } ~

garunkumar450 (Fri, 15 Feb 2019 08:32:45 GMT):
this is my configuration faile

garunkumar450 (Fri, 15 Feb 2019 08:33:06 GMT):
Summary of all failing tests FAIL src/components/Lists/Blocks.spec.js ● Blocks › Table displays block data expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 1 260 | .children() 261 | .children().length, > 262 | ).toBe(2); | ^ 263 | 264 | // Block Number 265 | expect( at Object.toBe (src/components/Lists/Blocks.spec.js:262:7) Test Suites: 1 failed, 25 passed, 26 total Tests: 1 failed, 170 passed, 171 total Snapshots: 0 total Time: 22.097s Ran all test suites. n

PMoura (Fri, 15 Feb 2019 09:32:18 GMT):
Hi guys. I'm stuck with the error: `postgres://hppoc:password@192.168.10.11:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully Closed out connections` I also follow the suggestions in https://stackoverflow.com/questions/53625457/unable-to-setup-hyperledger-explorer-with-one-node-like-basic-network-example. I know the docker containers are on the same network of fabric containers. I double checked the config and the docker-compose-yml. Any suggestions? Thanks

PMoura (Fri, 15 Feb 2019 09:32:18 GMT):
Hi guys. I'm stuck with the error: `postgres://hppoc:password@192.168.10.11:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully Closed out connections` I also follow the suggestions in https://stackoverflow.com/questions/53625457/unable-to-setup-hyperledger-explorer-with-one-node-like-basic-network-example. I know the docker containers are on the same network of fabric containers. I double checked the `config.json` and the `docker-compose-yaml`. Any suggestions? Thanks

garunkumar450 (Fri, 15 Feb 2019 11:15:51 GMT):
@while running npm test -- -u --coverage Summary of all failing tests FAIL src/components/Lists/Blocks.spec.js ● Blocks › Table displays block data expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 1 260 | .children() 261 | .children().length, > 262 | ).toBe(2); | ^ 263 | 264 | // Block Number 265 | expect( at Object.toBe (src/components/Lists/Blocks.spec.js:262:7) Test Suites: 1 failed, 25 passed, 26 total Tests: 1 failed, 170 passed, 171 total Snapshots: 0 total Time: 23.314s, estimated 34s Ran all test suites. npm ERR! Test failed. See above for more details.

erickrettozi (Fri, 15 Feb 2019 11:58:35 GMT):
Hello! The need to have to configure each of the Peers in the config.json file is something I would not want to have to do. For me, the ideal would be for Explorer to grab all Peers and their respective STATUS automatically, without having to add each of the Peers in the config.json. I know that for this to work, it is necessary to change the code of the Explorer to begin to recognize the Peers in the network automatically. Has anyone here had to do this? Is good idea change this logic on Explorer?

PMoura (Fri, 15 Feb 2019 13:14:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=432Na8CXNgyj6y7SR) Resolved. I had to define config.json pointing to paths inside the docker container and not on host machine.

nfrunza (Fri, 15 Feb 2019 13:27:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZwazjXterpCREvMmh) @garunkumar450 can you tell which version of node you're using?

nfrunza (Fri, 15 Feb 2019 13:29:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AZdf2qFoLdfgMrJNk) @PMoura great, you're running explorer in docker?

nfrunza (Fri, 15 Feb 2019 13:30:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aiHjMJy2cQaEHtphx) @erickrettozi we started to work on this, to use the default channel, peer, and use fully discover service, the other is to have configured properly fabric network with discover service

PMoura (Fri, 15 Feb 2019 13:44:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=w65bHsYYnCvPR8yXA) @nfrunza Yes, I am. Thanks to all.

nfrunza (Fri, 15 Feb 2019 13:56:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EgMtEWN5siiSrTB6R) @PMoura i see

erickrettozi (Fri, 15 Feb 2019 16:16:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lovhe5uWF2Np5odbJ) @nfrunza @nfrunza Thx! I'm thinking of implementing this. What you think?

nfrunza (Fri, 15 Feb 2019 16:25:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5SLhNhwAQsDRxptw3) @erickrettozi please join, we started to work on it, can you contribute?

nfrunza (Fri, 15 Feb 2019 18:02:25 GMT):
@all did anyone tried to connect explorer to AWS fabric network from local workstation ?

pschwarz (Fri, 15 Feb 2019 18:35:41 GMT):
Has left the channel.

ftfnunes (Fri, 15 Feb 2019 20:26:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b3CQ4oW483iJE5Dh5) Hey guys, I asked this question yesterday and I still couldn't figure out how to configure the explorer to work with SSL certificates issued by an intermediate CA. My network has some requirements on this, so I would be very thankful with any insight on how to correctly configure this.

nfrunza (Fri, 15 Feb 2019 21:01:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8m6zzWrtAS6NFXoiR) @ftfnunes read here, you may need to update the config.json, and credentials https://github.com/hyperledger/blockchain-explorer#configure-to-work-with-fabric-ca-server

bh4rtp (Sat, 16 Feb 2019 02:36:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JTvmsFy8uFpnY5hdD) @nfrunza each time i run one of the two networks locally. that is to say network A is stopped before test network B. so there should be no conflict.

garunkumar450 (Sat, 16 Feb 2019 05:01:33 GMT):
@nfrunza node -v:8.15 npm -v:6.4.1

garunkumar450 (Sat, 16 Feb 2019 10:55:24 GMT):
(node:25145) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default defined channel %s is not found for the client %s peer', 'mychannel', 'client-1' ] Received kill signal, shutting down gracefully Closed out connections ~ ~

bram209 (Sat, 16 Feb 2019 12:16:11 GMT):
Has joined the channel.

bram209 (Sat, 16 Feb 2019 12:16:25 GMT):
Hi, I am getting the following error message:

bram209 (Sat, 16 Feb 2019 12:16:55 GMT):
`<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Cannot find module './fabric/Platform' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Function.build (/opt/explorer/app/platform/PlatformBuilder.js:12:24) at Explorer.initialize (/opt/explorer/app/Explorer.js:56:46) at at process._tickCallback (internal/process/next_tick.js:188:7) code: 'MODULE_NOT_FOUND' } Received kill signal, shutting down gracefully Closed out connections`

bram209 (Sat, 16 Feb 2019 12:18:01 GMT):
Anybody has a clue? I am running it through docker, after checking the container, I can confirm that ./fabric/Paltform.js is there (in the /app/platform folder)

garunkumar450 (Sat, 16 Feb 2019 12:36:20 GMT):
Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** Please open web browser to access :http://localhost:8080/ pid is 5345 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ~

nfrunza (Sat, 16 Feb 2019 17:13:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xW79fCbhkP9XtTNYN) @bh4rtp you need to inspect you fabric network, defined domains for the peers, orderers and organizations, if you use fabric samples it is possible that there is a conflict, can you run in debug mode, do this 1. $export HFC_LOGGING='{"debug":"console"}' . 2. $node main.js follow on debug logs

nfrunza (Sat, 16 Feb 2019 17:13:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=erQ6dsSipucpNnJdT) @garunkumar450 do you run a fabric-samples network?

nfrunza (Sat, 16 Feb 2019 17:16:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=id85LeuFMGADn6uae) @bram209 please provide your steps, take a look at this sample https://github.com/hyperledger/blockchain-explorer/tree/release-4.0/examples/net1

nfrunza (Sat, 16 Feb 2019 17:17:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5MfuLRHkM2pyAK6Pm) @garunkumar450 please provide the app.log, you can post or attach in my chat

bh4rtp (Sun, 17 Feb 2019 03:09:16 GMT):
@nfrunza yes, i am taking `balance-transfer` as example, but the network is customized. what is the conflict when using fabric samples?

bh4rtp (Sun, 17 Feb 2019 06:47:31 GMT):
@nfrunza finally i found the reason. it may be because of timeout. after display `Please verify your network configuration, database configuration and try again`, i continue to wait and about 2 minutes later, the browser shows the network correctly. so how to adjust the timeout value?

garunkumar450 (Mon, 18 Feb 2019 05:50:57 GMT):
npm test -- -u --coverage getting error Summary of all failing tests FAIL src/components/Lists/Blocks.spec.js ● Blocks › Table displays block data expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 1 260 | .children() 261 | .children().length, > 262 | ).toBe(2); | ^ 263 | 264 | // Block Number 265 | expect( at Object.toBe (src/components/Lists/Blocks.spec.js:262:7) Test Suites: 1 failed, 25 passed, 26 total Tests: 1 failed, 170 passed, 171 total Snapshots: 0 total Time: 24.366s, estimated 32s Ran all test suites. npm ERR! Test failed. See above for more details. t

garunkumar450 (Mon, 18 Feb 2019 08:00:03 GMT):
./createdb.sh fails

garunkumar450 (Mon, 18 Feb 2019 13:24:15 GMT):
Sync process is started for the network : [network-1] and client : [client-1] (node:6591) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: column "channel_genesis_hash" does not exist at Connection.parseE (/home/tanla/EXPLORER/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/tanla/EXPLORER/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/tanla/EXPLORER/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) name: 'error', length: 120, severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: '51', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '3293', routine: 'errorMissingColumn' } <

ftfnunes (Mon, 18 Feb 2019 15:08:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FajiqF5J5XFkfxKtR) @nfrunza Thank you for the help, but I'm not using fabric-ca and I was not able to find out the changes i need to make to the config.json to make this work. My config.json is already configured like that, but maybe I need to configure my SSL intermediate CA somewhere since the peer does not return it?

AlbertCL (Mon, 18 Feb 2019 15:47:38 GMT):
Hi, I'm using explorer v0.3

AlbertCL (Mon, 18 Feb 2019 15:54:48 GMT):
Hi, I'm using Explorer V0.3.9 , Fabric 1.4 and Fabric-CA When I try to deploy the Explorer the logs from docker container blockchain-explorer says: `(node:7) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead ` and the logs from logs/app/app.log : `[2019-02-18 15:38:41.602] [DEBUG] FabricClient - Successfully created user [client-1_OrdererMSPAdmin] for client [client-1 [2019-02-18 15:38:41.603] [DEBUG] FabricClient - Client.createUser missing required organization. ` The config.json is ok because the Explorer's user is regitered well. Any idea?

AlbertCL (Mon, 18 Feb 2019 15:54:48 GMT):
Hi, I'm using Explorer V0.3.9 , Fabric 1.4 and Fabric-CA When I try to deploy the Explorer the logs from docker container blockchain-explorer says: `(node:7) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead` and the logs from logs/app/app.log : `[2019-02-18 15:38:41.602] [DEBUG] FabricClient - Successfully created user [client-1_OrdererMSPAdmin] for client [client-1]` `[2019-02-18 15:38:41.603] [DEBUG] FabricClient - Client.createUser missing required organization.` The config.json is ok because the Explorer's user is regitered well. Any idea?

AlbertCL (Mon, 18 Feb 2019 16:50:51 GMT):
btw, I'm getting this error without Fabric-CA and if I use v0.3.7 with the same configuration (config.json) it works

AlbertCL (Mon, 18 Feb 2019 17:15:04 GMT):
grpc

nfrunza (Mon, 18 Feb 2019 17:36:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kNLXokyG4MkciGvnW) @bh4rtp HI, if you have a sample running under peer0.org.example.com , and same is defined in your custom fabric, what do you think will happen? please stop all dockers, and start yours, the try to see the errors

nfrunza (Mon, 18 Feb 2019 17:37:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YXSAomv6pDWPksYyA) @AlbertCL @nekia Atsushi, can you help on this please

nfrunza (Mon, 18 Feb 2019 17:41:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PtjZXMaLn4kg3kJdb) @garunkumar450 which OS do you use? make sure you do not run as root user, try to set permissions for createdb.sh script, $chmod -R 775 createdb.sh , verify if you can access postgresql, or it is installed, or are you behind the proxy

nfrunza (Mon, 18 Feb 2019 17:42:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kNLXokyG4MkciGvnW) @bh4rtp would you be able to share, 1. $docker network ls 2. $docker inspect

nfrunza (Mon, 18 Feb 2019 18:05:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mfqyN2wnSrZ8QJ5zi) @ftfnunes Would you be able to share your config.json, OS you're using, node version, fabric version, can't ask maybe you can share docker compose yaml file for the fabric config

ftfnunes (Mon, 18 Feb 2019 18:29:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BFsJ5DFdWDen5GjqT) @nfrunza I figured out how to configure it properly. Turns out I needed to put both the root and intermediate certificates into the .crt file referenced in the tlsCACerts in the config.json, like this: `-----BEGIN CERTIFICATE----- // Intermediate CA certificate -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- // Root CA certificate -----END CERTIFICATE----- `

nfrunza (Tue, 19 Feb 2019 00:05:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TPgn4nrrDEBpf7jjY) @ftfnunes i'm glad it worked, i think this is a workaround

bh4rtp (Tue, 19 Feb 2019 01:02:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LTZtRXkkwceE6LxnQ) @nfrunza thanks. i understood.

nekia (Tue, 19 Feb 2019 02:29:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=isF3ikJjgHBrtyuE4) @AlbertCL Thanks. It seems to happen when organization name("Org1") is different from mspid ("Org1MSP") at "organizations" section in config.json.

nekia (Tue, 19 Feb 2019 02:29:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=isF3ikJjgHBrtyuE4) @AlbertCL Thanks. It seems to happen when organization name("Org1") is different from mspid ("Org1MSP") at "organizations" section in config.json. We'll handle it in a new JIRA.

nekia (Tue, 19 Feb 2019 02:32:20 GMT):
And for the DeprecationWarning from node.js, we might need to think about doing [this kind of work](https://jira.hyperledger.org/browse/FABN-942).

nekia (Tue, 19 Feb 2019 02:33:57 GMT):
@nfrunza

alokkv (Tue, 19 Feb 2019 08:08:41 GMT):
hi friend, i have run byfn and all the network is up without any errors and everythig working.i have edited config.json and brought up HL Explorer.i can see all data in there.but when i create new channel for org2, it is not reflecting in the explorer.but for org one all channels are showing.can any one help to solve this. basically what i need is to show all channels created in the network in explorer, but currently org1 channels are showing

garunkumar450 (Tue, 19 Feb 2019 09:34:56 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:19300) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default defined channel %s is not found for the client %s peer', 'mychannel', 'client-1' ] Received kill signal, shutting down gracefully Closed out connections ~

AJ501 (Tue, 19 Feb 2019 09:37:54 GMT):
Has joined the channel.

AJ501 (Tue, 19 Feb 2019 09:38:07 GMT):
Hi friends,

AJ501 (Tue, 19 Feb 2019 09:40:15 GMT):
Hi Friends,``` when I am running ./createdb.sh file, it is giving this error``` /createdb.sh Copying ENV variables into temp file... USER="hppoc" DATABASE="fabricexplorer" PASSWD='password' Executing SQL scripts... ./createdb.sh: line 35: psql: command not found ./createdb.sh: line 36: psql: command not found ``` ```

AlbertCL (Tue, 19 Feb 2019 10:07:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=useit26oLesGSTNjv) @AJ501 which version?

AlbertCL (Tue, 19 Feb 2019 11:25:36 GMT):
I have the same config.json (without any Fabric-CA in the network) - With v0.3.7 works perfectly - With v0.3.9 doesn't work and throws: `(node:8) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead` (It happens when I'm using blockchain-explorer-db v0.3.7) If i build blockchain-explorer-db v0.3.9 it throws an error: `USER="hppoc" DATABASE="fabricexplorer" PASSWD='password' Executing SQL scripts... psql: FATAL: role "root" does not exist psql: FATAL: role "root" does not exist` Anyone has used v0.3.9 successfuly?

AlbertCL (Tue, 19 Feb 2019 11:25:36 GMT):
I have the same config.json (without any Fabric-CA in the network) - With v0.3.7 works perfectly - With v0.3.9 doesn't work and throws: `(node:8) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead` (It happens when I'm using blockchain-explorer-db v0.3.7) If i build blockchain-explorer-db v0.3.9 it throws an error: `USER="hppoc" DATABASE="fabricexplorer" PASSWD='password' Executing SQL scripts... psql: FATAL: role "root" does not exist psql: FATAL: role "root" does not exist` Anyone has used v0.3.9 successfuly?

AlbertCL (Tue, 19 Feb 2019 11:25:36 GMT):
I have the same config.json (without any Fabric-CA in the network) - With v0.3.7 works perfectly - With v0.3.9 doesn't work and throws: `(node:8) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead` (It happens when I'm using blockchain-explorer-db v0.3.7) If i build blockchain-explorer-db v0.3.9 it throws an error: `USER="hppoc" DATABASE="fabricexplorer" PASSWD='password' Executing SQL scripts... psql: FATAL: role "root" does not exist psql: FATAL: role "root" does not exist` - Another thing, in the script deploy_explorer.sh v0.3.9 the build methods are never called, it is using the images form docker hub Anyone has used v0.3.9 successfuly?

AJ501 (Tue, 19 Feb 2019 11:57:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RzHLr465Sb2k5nW2b) @AlbertCL @AlbertCL ``` It run successfully when i switch user "sudo -su postgres" after this command I run "./createdbn.sh" ```

nekia (Tue, 19 Feb 2019 12:30:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ymQdoC2YmcWgHs4bH) @AlbertCL Are you using docker-compose.yaml in hyperledger-explorer repository? In this file, created.sh is executed as a docker-entrypoint-initdb with postgres uid.

AlbertCL (Tue, 19 Feb 2019 12:44:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=f1a1235c-550f-40db-a71c-ca1378f89f8a) @nekia I've been using Dockerfile, I'll try it thanks

nfrunza (Tue, 19 Feb 2019 13:24:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=useit26oLesGSTNjv) @AJ501 which OS are you using, did you install JQ, a json partser utility?

AlbertCL (Tue, 19 Feb 2019 14:38:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Maxtzopmbvn8H5bqq) @nekia okey, docker-compose.yaml solves the error with root rol, but I'm having the same problem eith grpc.load.

nfrunza (Tue, 19 Feb 2019 17:18:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Jivgx7hFbYpGaFkjB) please vrify that you have installed postgresql, follow up on README , https://github.com/hyperledger/blockchain-explorer/blob/master/README.md

nekia (Tue, 19 Feb 2019 23:38:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=meg4NZFkSnRd5vv2A) @AlbertCL I don't think the DeprecationWarning causes any critical effects in terms of explorer functionality so far. Of course we'll need to handle this issue as well as other issues.

glennd (Tue, 19 Feb 2019 23:51:10 GMT):
Has joined the channel.

hteng (Wed, 20 Feb 2019 04:46:02 GMT):
Has joined the channel.

AJ501 (Wed, 20 Feb 2019 05:09:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Jivgx7hFbYpGaFkjB) @nfrunza Thank you for your reply but Issue resolve (It run successfully)

nfrunza (Wed, 20 Feb 2019 05:29:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5hjd9hY7GjHLsrngX) @AJ501 please share what was the issue, and how you solved it, someone may run into the same

AlbertCL (Wed, 20 Feb 2019 14:56:08 GMT):
@nekia then I have to do any modification in the config.jsno when upgrading form v0.3.7 to v0.3.9? I thought that with no changes in the network and in the config.json the Explorer should work with v0.3.9

johnwangsie (Wed, 20 Feb 2019 17:04:07 GMT):
Has joined the channel.

nekia (Wed, 20 Feb 2019 23:24:51 GMT):
Basically you don't need any change, I think. What is current problem you have, except DeprecationWarning ? Is there any error in console log or app log?

nekia (Wed, 20 Feb 2019 23:25:05 GMT):
@AlbertCL

AlbertCL (Thu, 21 Feb 2019 14:51:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iTNxdguTWW92Ri3HY) @nekia thanks for answer, These are the last lines in app log: `"orderers":{"OrdererMSP":{"endpoints":[{"host":"orderer.ilimit.com","port":7050}]}},"peers_by_org":{"Org1MSP":{"peers":[{"mspid":"Org1MSP","endpoint":"peer0.org1.test_org1.com:7051","ledger_height":{"low":8,"high":0,"unsigned":true},"chaincodes":[{"name":"testchaincode","version":"1.0.0"}]}]}}} [2019-02-21 14:43:10.914] [DEBUG] FabricClient - then privateKeyPEM data [2019-02-21 14:43:10.915] [DEBUG] FabricClient - then signedCertPEM data [2019-02-21 14:43:10.916] [DEBUG] FabricClient - then user [2019-02-21 14:43:10.916] [DEBUG] FabricClient - Successfully created user [client-1_OrdererMSPAdmin] for client [client-1] [2019-02-21 14:43:10.916] [DEBUG] FabricClient - Client.createUser missing required organization.`

AlbertCL (Thu, 21 Feb 2019 14:51:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iTNxdguTWW92Ri3HY) @nekia thanks for answer, These are the last lines in app log: `"orderers":{"OrdererMSP":{"endpoints":[{"host":"orderer.ilimit.com","port":7050}]}},"peers_by_org":{"Org1MSP":{"peers":[{"mspid":"Org1MSP","endpoint":"peer0.org1.test_org1.com:7051","ledger_height":{"low":8,"high":0,"unsigned":true},"chaincodes":[{"name":"testchaincode","version":"1.0.0"}]}]}}} [2019-02-21 14:43:10.914] [DEBUG] FabricClient - then privateKeyPEM data [2019-02-21 14:43:10.915] [DEBUG] FabricClient - then signedCertPEM data [2019-02-21 14:43:10.916] [DEBUG] FabricClient - then user [2019-02-21 14:43:10.916] [DEBUG] FabricClient - Successfully created user [client-1_OrdererMSPAdmin] for client [client-1] [2019-02-21 14:43:10.916] [DEBUG] FabricClient - Client.createUser missing required organization.`

yod 15 (Thu, 21 Feb 2019 18:34:21 GMT):
Has joined the channel.

yod 15 (Thu, 21 Feb 2019 18:38:04 GMT):
Hello! Managed to setup ecplorer successfully, but it stops working after some time of inactivity. Running explorer in docker (dockerfile took from a github repo) with byfn netwrok. Output: ```...```

yod 15 (Thu, 21 Feb 2019 18:38:04 GMT):
Hello! Managed to setup ecplorer successfully, but it stops working after some time of inactivity. Running explorer in docker (dockerfile took from a github repo) with byfn netwrok. Output: ```...Sync process is started for the network : [network-1] and client : [client-1] read_set length 123 write_set size >>>>>>>>> : 0.5018472671508789 MB Sync process is started for the network : [network-1] and client : [client-1] read_set length 123 write_set size >>>>>>>>> : 0.5018472671508789 MB Sync process is started for the network : [network-1] and client : [client-1] Sync process is started for the network : [network-1] and client : [client-1] error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://peer0.org1.example.com:7051 <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> read_set length 123 write_set size >>>>>>>>> : 0.5018472671508789 MB ``` Maybe someone already faced this issue?

yod 15 (Thu, 21 Feb 2019 18:38:04 GMT):
Hello! Managed to setup explorer successfully, but it stops working after some time of inactivity. Running explorer in docker (dockerfile took from a github repo) with byfn netwrok. Output: ```...Sync process is started for the network : [network-1] and client : [client-1] read_set length 123 write_set size >>>>>>>>> : 0.5018472671508789 MB Sync process is started for the network : [network-1] and client : [client-1] read_set length 123 write_set size >>>>>>>>> : 0.5018472671508789 MB Sync process is started for the network : [network-1] and client : [client-1] Sync process is started for the network : [network-1] and client : [client-1] error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://peer0.org1.example.com:7051 <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> read_set length 123 write_set size >>>>>>>>> : 0.5018472671508789 MB ``` Maybe someone already faced this issue?

nekia (Thu, 21 Feb 2019 23:38:18 GMT):
@AlbertCL The problem might be same with [BE-542](https://jira.hyperledger.org/browse/BE-542?focusedCommentId=57117&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-57117). I think, you have some options to resolove this problem. Switch your environment to the latest release-4.0 branch, or waiting for docker image release-4.0

nekia (Thu, 21 Feb 2019 23:38:18 GMT):
@AlbertCL The problem might be same with [BE-542](https://jira.hyperledger.org/browse/BE-542?focusedCommentId=57117&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-57117). I think, you have some options to resolove this problem. Switch your environment to the latest release-4.0 branch, or waiting for releasing of explorer 0.4.0 docker image

nekia (Thu, 21 Feb 2019 23:38:18 GMT):
@AlbertCL The problem might be same with [BE-542](https://jira.hyperledger.org/browse/BE-542?focusedCommentId=57117&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-57117). I think, you have some options to resolove this problem. Switching your environment to the latest release-4.0 branch, or waiting for releasing of explorer 0.4.0 docker image

AlbertCL (Fri, 22 Feb 2019 07:57:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iL3Z8PtmrtbrDFp7P) @nekia okey I'll check, thanks!

blockchainer (Fri, 22 Feb 2019 19:18:52 GMT):
Has joined the channel.

blockchainer (Fri, 22 Feb 2019 19:54:39 GMT):
Could someone please direct me to a proper documentation about the config.json file (to fill the network details)? I'm setting up a multi-node network, and trying to setup a blockchain-explorer for "viewing" this network (not managing it).

AndresMartinezMelgar.itcl (Mon, 25 Feb 2019 09:46:09 GMT):

Clipboard - February 25, 2019 10:46 AM

AndresMartinezMelgar.itcl (Mon, 25 Feb 2019 09:46:26 GMT):
how can i create root role?

AndresMartinezMelgar.itcl (Mon, 25 Feb 2019 09:46:50 GMT):
i cant use explorer for that, i think

guolidong (Mon, 25 Feb 2019 10:06:48 GMT):
Has joined the channel.

Daniel (Mon, 25 Feb 2019 11:07:56 GMT):
Has joined the channel.

nekia (Mon, 25 Feb 2019 12:55:00 GMT):
`sudo -u postgres ./createdb.sh` @AndresMartinezMelgar.itcl

FlorianStoica (Mon, 25 Feb 2019 23:07:39 GMT):
Has joined the channel.

FlorianStoica (Mon, 25 Feb 2019 23:08:11 GMT):
Hello, can someone help me with the following issue ? E0226 01:06:26.830076531 12364 ssl_transport_security.cc:1227] Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number. 2019-02-25T23:06:26.959Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/ubuntu/hyperledger-fabric/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully

nekia (Mon, 25 Feb 2019 23:25:24 GMT):
Are you disabling TLS on your fabric network ? @FlorianStoica

ygnr (Tue, 26 Feb 2019 06:35:31 GMT):
Why does explorer need `credentialStore` path? Isn't `adminPrivateKey ` path sufficient?

FlorianStoica (Tue, 26 Feb 2019 08:03:36 GMT):
@nekia I use the same configtx.yaml and crypto-config.yaml as in fabric-samples/first-network with domain name modified, tried also disabling tls from explorer configuration that did not help either

FlorianStoica (Tue, 26 Feb 2019 08:03:36 GMT):
@nekia I use the same configtx.yaml and crypto-config.yaml as in fabric-samples/first-network with domain name modified, tried also disabling tls from explorer configuration that did not help either

jlcs (Tue, 26 Feb 2019 08:09:42 GMT):
Has joined the channel.

nekia (Tue, 26 Feb 2019 12:53:42 GMT):
I often see this kind of error when configuring TLS enabled in explorer with TLS disabled fabric network. Which version of explorer are you using?

nekia (Tue, 26 Feb 2019 12:53:42 GMT):
I often see this kind of error when configuring TLS enabled in explorer with TLS disabled fabric network. Which version of explorer are you using? @FlorianStoica

FlorianStoica (Tue, 26 Feb 2019 13:02:28 GMT):
@nekia checked-out master

FlorianStoica (Tue, 26 Feb 2019 13:03:57 GMT):
@nekia in config.json did the following modifications besides modifying the crypto paths: "tlsEnable": false, and modfied from grpcs to grpc

FlorianStoica (Tue, 26 Feb 2019 15:44:02 GMT):
@nekia So I've enabled TLS on the network and made the necessary adjustments in explorer, not it connects it sees the channel but I get the following error: [2019-02-26 17:41:15.967] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 The settings paths and everything look good triple checked the configuration

FlorianStoica (Tue, 26 Feb 2019 15:44:02 GMT):
@nekia So I've enabled TLS on the network and made the necessary adjustments in explorer, not it connects it sees the channel but I get the following error: [2019-02-26 17:41:15.967] [DEBUG] FabricClient - Admin peer Not found for grpcs://localhost:7051 The settings paths and everything looks good triple checked the configuration

FlorianStoica (Tue, 26 Feb 2019 16:13:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4JRXx5ywTtobpH6Gb) Fixed the issue peer was not visible on the outside added CORE_PEER_GOSSIP_EXTERNALENDPOINT not explorer works

nfrunza (Tue, 26 Feb 2019 16:54:07 GMT):
:thumbsup:

OscarRoman (Tue, 26 Feb 2019 21:27:29 GMT):
Has joined the channel.

OscarRoman (Tue, 26 Feb 2019 22:02:45 GMT):
hello

OscarRoman (Tue, 26 Feb 2019 22:05:17 GMT):
Hello I think I have the same problem as many, when trying to create the database for hyperledger explorer, I throw this error

OscarRoman (Tue, 26 Feb 2019 22:05:23 GMT):
Hello I think I have the same problem as many, when trying to create the database for hyperledger explorer, I throw this error

OscarRoman (Tue, 26 Feb 2019 22:06:25 GMT):

probmea.JPG

nfrunza (Tue, 26 Feb 2019 22:11:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Re69Qtv4DrjQKDSeH) @OscarRoman @nekia please help OscarRoman

nfrunza (Tue, 26 Feb 2019 22:12:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WqYL3wKLkt3GkXcWB) can you try to navigate to : cd blockchain-explorer/app/persistence/fabric/postgreSQL/db ./createdb.sh

nfrunza (Tue, 26 Feb 2019 22:12:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WqYL3wKLkt3GkXcWB) can you try to navigate to : cd blockchain-explorer/app/persistence/fabric/postgreSQL/db ./createdb.sh , try no sudo

OscarRoman (Tue, 26 Feb 2019 22:14:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BAZERHjmEPmNM9zFW) @nfrunza okok

OscarRoman (Tue, 26 Feb 2019 22:16:44 GMT):

imagen 2.JPG

nfrunza (Tue, 26 Feb 2019 22:17:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=a5PWb9XKdkAtAFyjW) @OscarRoman I know, it's a lot to read , but better then stressing, https://github.com/hyperledger/blockchain-explorer#database-setup

OscarRoman (Tue, 26 Feb 2019 22:19:24 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XP4YM7csAADLuh9pn) @nfrunza thank you very much, I'll review it

nfrunza (Tue, 26 Feb 2019 22:23:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zD3d63M7Mz8X7dHA2) @OscarRoman welcome

OscarRoman (Tue, 26 Feb 2019 22:23:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4mQr5r7WRCzcrsRz6) @nfrunza TNX D:

OscarRoman (Tue, 26 Feb 2019 22:23:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4mQr5r7WRCzcrsRz6) @nfrunza TNX :D

OscarRoman (Tue, 26 Feb 2019 23:17:38 GMT):
It is quite complicated to understand hyperledger explorer ... :( if you do not work with the network that is previously established ... I do not know how to proceed with a network that I create from 0 ... :(

OscarRoman (Tue, 26 Feb 2019 23:17:59 GMT):
by the way ... already solve the problem of the DB

OscarRoman (Tue, 26 Feb 2019 23:21:46 GMT):
1 - ubuntu@ip-10-0-1-175:~$ sudo -u postgres psql 2- copi paste -> explorerpg.sql \l see the created fabric explorer database \d see created tables and finish 3- \q exit

OscarRoman (Tue, 26 Feb 2019 23:22:22 GMT):
change .txt to .sql

OscarRoman (Tue, 26 Feb 2019 23:22:50 GMT):

explorerpg.txt

OscarRoman (Tue, 26 Feb 2019 23:52:43 GMT):
You help mount hyperledger explorer without using the template fabric-samples.git ???? I mean to ride explorer from a fabric created from 0 ??? I have a basic network that I am working with but the explorer hyper-browser is already pre-designed for several peers with channels which are not in my network ... I would like to know how to mount it with a more local network

RealDeanZhao (Wed, 27 Feb 2019 02:43:19 GMT):
Has left the channel.

AndresMartinezMelgar.itcl (Wed, 27 Feb 2019 08:18:48 GMT):
@OscarRoman did you solve your problem?? i have the same and i cant solve it ):

vanitas92 (Wed, 27 Feb 2019 08:35:48 GMT):
Hello guys! We are trying to deploy Hyperlegder Explorer v0.3.9 to our customized network and we are having some problems with what it seems to be a misconfigured discovery service. The error the console throws is: ``` 2019-02-27T07:11:29.362Z - error: [Channel.js]: Channel:ftlchannelcaixa received discovery error:failed constructing descriptor for chaincodes: 2019-02-27T07:11:29.364Z - error: [Channel.js]: Not able to get an endorsement plan for {"chaincodes":[{"name":"issueWarrants"}]} 2019-02-27T07:11:29.384Z - error: [Channel.js]: Channel:ftlchannelcaixa received discovery error:failed constructing descriptor for chaincodes: 2019-02-27T07:11:29.385Z - error: [Channel.js]: Not able to get an endorsement plan for {"chaincodes":[{"name":"idenGenerator"}]} 2019-02-27T07:11:29.392Z - error: [Channel.js]: Channel:ftlchannelcaixa received discovery error:failed constructing descriptor for chaincodes: 2019-02-27T07:11:29.392Z - error: [Channel.js]: Not able to get an endorsement plan for {"chaincodes":[{"name":"baseProspectus"}]} ``` Have any of you guys experienced somehow the same problem? It seems that the explorer is not up and running too as i get a connection refused at localhost:8080. Thanks!

FlorianStoica (Wed, 27 Feb 2019 13:56:08 GMT):
Is there a way to start explorer on a network that does not have a channel created yet? I'm currently starting a HF network with docker and also explorer with docker, but at startup channel is not created yet and explorer stops, can I make explorer pool the network somehow to check for the channel and not stop the entire process ? and uptaes itself after channel creation ?

FlorianStoica (Wed, 27 Feb 2019 13:56:08 GMT):
Is there a way to start explorer on a network that does not have a channel created yet? I'm currently starting a HF network with docker and also explorer with docker, but at startup channel is not created yet and explorer stops, can I make explorer poll the network somehow to check for the channel and not stop the entire process ? and uptaes itself after channel creation ?

FlorianStoica (Wed, 27 Feb 2019 13:58:00 GMT):
I'm thinking of chaning docker to start ./monitor.sh instead of main.js but that does not seem like a really good idea, maybe there is a better way

OscarRoman (Wed, 27 Feb 2019 15:11:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yizNKtEXx5TTGSfQz) @AndresMartinezMelgar.itcl Tell me more

nfrunza (Wed, 27 Feb 2019 18:32:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XExjEWdYiHexPEkmx) @FlorianStoica As of now, explorer needs a channel to connect

FlorianStoica (Wed, 27 Feb 2019 19:02:51 GMT):
@nfrunza ok, thanks

FlorianStoica (Wed, 27 Feb 2019 22:04:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XExjEWdYiHexPEkmx) If someone is interested later on, I've modified the docker image to start monitor.sh (also some minor modifications were needed so that it finds start.sh and main.js) and this way it starts explorer after failing thus having some kind of poll, and when channel is created explorer remains started

FlorianStoica (Wed, 27 Feb 2019 22:04:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XExjEWdYiHexPEkmx) If someone is interested later on, I've modified the docker file to start monitor.sh (also some minor modifications were needed so that it finds start.sh and main.js) and this way it starts explorer after failing thus having some kind of poll, and when channel is created explorer remains started

guolidong (Thu, 28 Feb 2019 02:02:11 GMT):
https://hub.docker.com/r/hyperledger/explorer/tags

guolidong (Thu, 28 Feb 2019 02:02:11 GMT):
https://hub.docker.com/r/hyperledger/explorer/tags No one submitted version 0.3.9. Can I submit the version freely? Is that official?

nfrunza (Thu, 28 Feb 2019 03:58:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FSstokvMJgap4LS3j) @guolidong we plan to have a release this week

nfrunza (Fri, 01 Mar 2019 14:20:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xXuzSBs2LdtBeMm9h) @vanitas92 Is the explorer running in docker? can you try localhost:8090, and yes we are using discovery service, please configure it, see here https://github.com/hyperledger/blockchain-explorer#fabric-network-setup

HLFPOC (Sat, 02 Mar 2019 10:04:52 GMT):
Has joined the channel.

HLFPOC (Sat, 02 Mar 2019 10:07:25 GMT):
Hi Team, I have created 2 org fabric network and configured hyperledger explorer to work on it, however, I am not able to see details of my second channel. I have mentioned channel details of both of my channels in config.josn under channels section, but in explorer screen, it shows data of only first channel. Also channel dropdown do not shows second channel name . Can anyone please help in resolving this issue ?

HLFPOC (Sat, 02 Mar 2019 10:07:25 GMT):
Hi Team, I have created 2 org fabric network and configured hyperledger explorer to work on it, however, I am not able to see details of my second channel. I have mentioned channel details of both of my channels in config.josn under channels section, but in explorer screen, it shows data of only first channel. Also channel dropdown do not shows second channel name . Can anyone please help in resolving this issue ? @nfrunza

nfrunza (Sun, 03 Mar 2019 02:31:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XhGgQz56gDzwptX5a) @HLFPOC hello, if you use HLF1.2 and up, and tag v03.9.1 , please make sure to set the environment variables ```CORE_PEER_GOSSIP_BOOTSTRAP``` and ```CORE_PEER_GOSSIP_EXTERNAL_ENDPOINT``` for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.. Only default channel needs to be in config.json

HLFPOC (Sun, 03 Mar 2019 10:22:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DcfvkCJ37GocKMPkr) @nfrunza Thanks for your reply, I am currently working on Fabric v1.3 and pulled latest hyperledger-explorer from github 3 days back. I checked my compose files and the env variables which you have mentioned are already configured for each peer.

HLFPOC (Sun, 03 Mar 2019 10:22:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DcfvkCJ37GocKMPkr) @nfrunza Thanks for your reply, I am currently working on Fabric v1.3 and pulled latest hyperledger-explorer from github 3 days back. I checked my compose files and the env variables which you have mentioned are already configured for each peer. `CORE_PEER_GOSSIP_EXTERNAL_ENDPOINT ` has value of the same peer (for ex, if peer address is peer0.org1.example.com, then external endpoint value is also set to same address) and `CORE_PEER_GOSSIP_BOOTSTRAP` is set with value of other peer of the same organization.

habpygo (Sun, 03 Mar 2019 11:30:32 GMT):
Has joined the channel.

nfrunza (Sun, 03 Mar 2019 20:36:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wwqtBNkamP3esBdaH) @HLFPOC you need to use tag v0.3.8 https://github.com/hyperledger/blockchain-explorer/blob/master/release_notes/v0.3.8.md

nfrunza (Sun, 03 Mar 2019 20:36:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wwqtBNkamP3esBdaH) @HLFPOC you need to use tag v0.3.8 https://github.com/hyperledger/blockchain-explorer/blob/master/release_notes/v0.3.8.md , please read in the release notes

vanitas92 (Mon, 04 Mar 2019 07:52:33 GMT):
Not working on port 8090, i have set up peer discovery as described and i am experiencing the same problems. Maybe the discovery service is not well configured. I will try on another network. Thank you

AlbertCL (Mon, 04 Mar 2019 11:39:03 GMT):
Hi all, I'm running a Fabric v1.4 network and Explorer v0.3.9.1 and it works fine. If I add CAs in the network, the Explorer still works fine. My question is: Why I need to configure the CAs in the config.json?

Kelvin_Moutet (Mon, 04 Mar 2019 13:20:24 GMT):
Does HE support mutual tls ?

nfrunza (Mon, 04 Mar 2019 13:27:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WvwHvpstpJqdP3Gsw) @AlbertCL did you turn TSL off ?

nfrunza (Mon, 04 Mar 2019 13:28:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=NE4vRuFQ6i9bCqTiq) @Kelvin_Moutet not at this time, we are planning to look into

AlbertCL (Mon, 04 Mar 2019 14:13:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MHzeAEFRpbEQaD93p) @nfrunza TLS is enabled, Should I turn it off? Why?

nfrunza (Mon, 04 Mar 2019 14:18:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rk6DJZ42sTpsP5ghw) @AlbertCL a fabric-ca would not allow to access, could be that somehow explorer reads .pem files, is the fabric network running locally or remotely

AlbertCL (Mon, 04 Mar 2019 14:37:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xa7jN3jEM2ExpkoS7) @nfrunza The fabric network is running locally and and the .pem files are inside the crypto material in examples/net/crypto/

nfrunza (Mon, 04 Mar 2019 14:41:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zg8RXn7xHNW73tZQh) @AlbertCL we will need to verify, could be that explorer reads the pem file

sean.brown2796 (Mon, 04 Mar 2019 19:05:55 GMT):
Has joined the channel.

sean.brown2796 (Mon, 04 Mar 2019 19:07:55 GMT):
Hi everybody. Does anybody have a good tutorial on how to run Hyperledger explorer for a network that is on an IBM Blockchain Platform starter instance?

SashaPESIC (Tue, 05 Mar 2019 10:46:32 GMT):
Has joined the channel.

SashaPESIC (Tue, 05 Mar 2019 11:27:24 GMT):
starting explorer with docker-compose yields an error about not being able to find the locate command. The instalation of the command is not present in docker-compose.yaml sample, neither is possible to install it once you are inside the container.

SashaPESIC (Tue, 05 Mar 2019 11:27:24 GMT):
starting explorer with docker-compose yields an error about not being able to find the locate command. The instalation of the command is not present in docker-compose.yaml sample, neither is possible to install it once you are inside the container. Are there any ideas how to bypass this?

SashaPESIC (Tue, 05 Mar 2019 11:27:24 GMT):
starting explorer with docker-compose yields an error about not being able to find the locate command. The instalation of the command is not present in docker-compose.yaml sample, neither is possible to install it once you are inside the container. Thus, chaincode source codes are not found. Are there any ideas how to bypass this?

Aniket.1 (Tue, 05 Mar 2019 12:58:49 GMT):
Has joined the channel.

Aniket.1 (Tue, 05 Mar 2019 13:00:41 GMT):
I am continuously getting this error in app.log : ``` [ERROR] FabricClient - Peer configuration is not found in config.json for peer 127.0.0.1:7051, so peer status not work for the peer ```

Aniket.1 (Tue, 05 Mar 2019 13:00:57 GMT):
Can someone suggest anything to resolve it?

Aniket.1 (Tue, 05 Mar 2019 13:02:01 GMT):
It tries to connect with peer and then show this. On peer it shows : ``` [comm.grpc.server] 1 -> INFO 07d unary call completed {"grpc.start_time": "2019-03-05T18:29:37.253+05:30", "grpc.service": "discovery.Discovery", "grpc.method": "Discover", "grpc.peer_address": "127.0.0.1:51706", "grpc.code": "OK", "grpc.call_duration": "556.861µs"} [comm.grpc.server] 1 -> INFO 07d unary call completed {"grpc.start_time": "2019-03-05T18:29:37.253+05:30", "grpc.service": "discovery.Discovery", "grpc.method": "Discover", "grpc.peer_address": "127.0.0.1:51706", "grpc.code": "OK", "grpc.call_duration": "556.861µs"} ```

Aniket.1 (Tue, 05 Mar 2019 13:04:50 GMT):
I am getting no error in console log file. UI of explorer is running with 0 in everything

SashaPESIC (Tue, 05 Mar 2019 13:08:36 GMT):
can you post your config.json?

SashaPESIC (Tue, 05 Mar 2019 13:08:36 GMT):
@Aniket.1 can you post your config.json?

Aniket.1 (Tue, 05 Mar 2019 13:09:53 GMT):
``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "testchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "testchannel": { "peers": { "peer0.org1.example.ai": {} }, "connection": { "timeout": { "peer": { "endorser": "9000", "eventHub": "9000", "eventReg": "9000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/appinventiv/projects/hyperledger1.4/storage/bin/crypto-config/peerOrganizations/org1.example.ai/users/Admin@org1.example.ai/msp/keystore" }, "signedCert": { "path": "/home/appinventiv/projects/hyperledger1.4/storage/bin/crypto-config/peerOrganizations/org1.example.ai/users/Admin@org1.example.ai/msp/signcerts" }, "peers": ["peer0.org1.example.ai"] }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/appinventiv/projects/hyperledger1.4/storage/bin/crypto-config/ordererOrganizations/example.ai/users/Admin@example.ai/msp/keystore" } } }, "peers": { "peer0.org1.example.ai": { "tlsCACerts": { "path": "/home/appinventiv/projects/hyperledger1.4/storage/bin/crypto-config/peerOrganizations/org1.example.ai/peers/peer0.org1.example.ai/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.ai" } } }, "orderers": { "orderer.example.ai": { "url": "grpc://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/appinventiv/projects/hyperledger1.4/storage/bin", "license": "Apache-2.0" } ```

Aniket.1 (Tue, 05 Mar 2019 13:11:13 GMT):
``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "testchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "testchannel": { "peers": { "peer0.org1.example.ai": {} }, "connection": { "timeout": { "peer": { "endorser": "9000", "eventHub": "9000", "eventReg": "9000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/user/projects/hyperledger1.4/storage/bin/crypto-config/peerOrganizations/org1.example.ai/users/Admin@org1.example.ai/msp/keystore" }, "signedCert": { "path": "/home/user/projects/hyperledger1.4/storage/bin/crypto-config/peerOrganizations/org1.example.ai/users/Admin@org1.example.ai/msp/signcerts" }, "peers": ["peer0.org1.example.ai"] }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/user/projects/hyperledger1.4/storage/bin/crypto-config/ordererOrganizations/example.ai/users/Admin@example.ai/msp/keystore" } } }, "peers": { "peer0.org1.example.ai": { "tlsCACerts": { "path": "/home/user/projects/hyperledger1.4/storage/bin/crypto-config/peerOrganizations/org1.example.ai/peers/peer0.org1.example.ai/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.ai" } } }, "orderers": { "orderer.example.ai": { "url": "grpc://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/user/projects/hyperledger1.4/storage/bin", "license": "Apache-2.0" } ```

Aniket.1 (Tue, 05 Mar 2019 13:12:07 GMT):
@SashaPESIC

AlbertCL (Tue, 05 Mar 2019 14:39:46 GMT):
@Aniket.1 Which version of Explorer are you using?

nfrunza (Tue, 05 Mar 2019 15:00:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xGFzrjrjW38Z784Cv) @Aniket.1 Did you enable discovery service in your network?

nfrunza (Tue, 05 Mar 2019 15:00:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xGFzrjrjW38Z784Cv) @Aniket.1 Did you enable discovery service in your network? which fabric version do you use, and explorer tag used?

HLFPOC (Tue, 05 Mar 2019 17:30:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=22L3AZWkhgyiXJoa6) @nfrunza I tried running the explorer with tag v0.3.8, still not able to see details for my 2nd channel.

nfrunza (Tue, 05 Mar 2019 19:07:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=biA77jXccwp2sTzA8) @HLFPOC we discussed in private your issues, good luck

Aniket.1 (Wed, 06 Mar 2019 06:09:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uRunieb6osCDqEHtY) @nfrunza Fabric: 1.4 , explorer: 0.3.9 DIscovery enabled

Aniket.1 (Wed, 06 Mar 2019 06:09:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uRunieb6osCDqEHtY) @nfrunza @AlbertCL Fabric: 1.4 , explorer: 0.3.9 Discovery enabled

Aniket.1 (Wed, 06 Mar 2019 06:09:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uRunieb6osCDqEHtY) @nfrunza @AlbertCL Fabric: 1.4 , explorer: 0.3.9 Discovery enabled, tls disabled

AlbertCL (Wed, 06 Mar 2019 08:24:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n96PciZma9Jax7y4T) @Aniket.1 My config.json is almost equal, the only difference is in the peer definition: `"peer0.org1.test_org1.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.test_org1.com/peers/peer0.org1.test_org1.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.test_org1.com:7051", "eventUrl": "grpcs://peer0.org1.test_org1.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.test_org1.com" }`

AlbertCL (Wed, 06 Mar 2019 08:24:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n96PciZma9Jax7y4T) @Aniket.1 My config.json is almost equal, the only difference is in the peer definition: `"peer0.org1.test_org1.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.test_org1.com/peers/peer0.org1.test_org1.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.test_org1.com:7051", "eventUrl": "grpcs://peer0.org1.test_org1.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.test_org1.com" }` Howevere, I was not able to make it run with v0.3.9, v0.3.9.1 works for me

AlbertCL (Wed, 06 Mar 2019 08:24:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n96PciZma9Jax7y4T) @Aniket.1 My config.json is almost equal, the only difference is in the peer definition, because I'm using docker containers: `"peer0.org1.test_org1.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.test_org1.com/peers/peer0.org1.test_org1.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.test_org1.com:7051", "eventUrl": "grpcs://peer0.org1.test_org1.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.test_org1.com" }` Howevere, I was not able to make it run with v0.3.9, v0.3.9.1 works for me

AlbertCL (Wed, 06 Mar 2019 08:24:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n96PciZma9Jax7y4T) @Aniket.1 My config.json is almost equal, the only difference is in the peer definition, because I'm using docker containers: ``"peer0.org1.test_org1.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.test_org1.com/peers/peer0.org1.test_org1.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.test_org1.com:7051", "eventUrl": "grpcs://peer0.org1.test_org1.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.test_org1.com" }`` Howevere, I was not able to make it run with v0.3.9, v0.3.9.1 works for me

AlbertCL (Wed, 06 Mar 2019 08:24:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n96PciZma9Jax7y4T) @Aniket.1 My config.json is almost equal, the only difference is in the peer definition, because I'm using docker containers: ` "peer0.org1.test_org1.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.test_org1.com/peers/peer0.org1.test_org1.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.test_org1.com:7051", "eventUrl": "grpcs://peer0.org1.test_org1.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.test_org1.com" } ` Howevere, I was not able to make it run with v0.3.9, v0.3.9.1 works for me

AlbertCL (Wed, 06 Mar 2019 08:24:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n96PciZma9Jax7y4T) @Aniket.1 My config.json is almost equal, the only difference is in the peer definition, because I'm using docker containers: "peer0.org1.test_org1.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.test_org1.com/peers/peer0.org1.test_org1.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.test_org1.com:7051", "eventUrl": "grpcs://peer0.org1.test_org1.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.test_org1.com" } Howevere, I was not able to make it run with v0.3.9, v0.3.9.1 works for me

AlbertCL (Wed, 06 Mar 2019 08:24:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n96PciZma9Jax7y4T) @Aniket.1 My config.json is almost equal, the only difference is in the peer definition, because I'm using docker containers: ``` "peer0.org1.test_org1.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.test_org1.com/peers/peer0.org1.test_org1.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.test_org1.com:7051", "eventUrl": "grpcs://peer0.org1.test_org1.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.test_org1.com" } ``` Howevere, I was not able to make it run with v0.3.9, v0.3.9.1 works for me

Aniket.1 (Wed, 06 Mar 2019 08:46:23 GMT):
your network contain 1 or 2 organizations?

Aniket.1 (Wed, 06 Mar 2019 08:46:23 GMT):
your network contain 1 or 2 organizations? @AlbertCL

Aniket.1 (Wed, 06 Mar 2019 08:47:57 GMT):
mine is running fine but not synchronizing the data

AlbertCL (Wed, 06 Mar 2019 09:03:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BwDgkbeAAHDdFAfyR) @Aniket.1 2 organizations, then you can see the Explorer dashboard with no data there, don't you?

Aniket.1 (Wed, 06 Mar 2019 09:05:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kseydsWgYkGHGgC2r) @AlbertCL yes

Vampire (Wed, 06 Mar 2019 09:28:33 GMT):
Has joined the channel.

Aniket.1 (Wed, 06 Mar 2019 10:22:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XzaYei6jYeJaNpdwx) do you have any findings?

AlbertCL (Wed, 06 Mar 2019 10:35:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=2owp3D8kobkf7ukdE) @Aniket.1 I've not faced with this kind of error, change the values from peer in config.json to try to get other errors to have any hint

Aniket.1 (Wed, 06 Mar 2019 10:38:23 GMT):
I added more logs in code and find out that it tries to go to ORG2MSP and it didn't get it. then it throws: ``` [DEBUG] FabricClient - Client.createUser missing required organization. [ERROR] FabricClient - Peer configuration is not found in config.json for peer 127.0.0.1:7051, so peer status not work for the peer ```

Aniket.1 (Wed, 06 Mar 2019 10:38:23 GMT):
I added more logs in code and find out that it tries to go to ORG2MSP and it didn't get it. then it throws: @AlbertCL ``` [DEBUG] FabricClient - Client.createUser missing required organization. [ERROR] FabricClient - Peer configuration is not found in config.json for peer 127.0.0.1:7051, so peer status not work for the peer ```

nfrunza (Wed, 06 Mar 2019 13:17:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n96PciZma9Jax7y4T) @Aniket.1 can you share the log files, you can put in my private chat, logs/app/app.log

nfrunza (Wed, 06 Mar 2019 13:18:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=cieYPNqRvXWX8dwfn) @AlbertCL Do yu use explorer with docker?

AlbertCL (Wed, 06 Mar 2019 14:22:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hLRxakgqWve3ZkaWb) @nfrunza Yes, the v0.3.9.1 works fine

nfrunza (Wed, 06 Mar 2019 14:23:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mkCebsxJ4FnshGxeA) @AlbertCL which OS do you use?

AlbertCL (Wed, 06 Mar 2019 14:30:23 GMT):
Ubuntu 18.04.1

AlbertCL (Wed, 06 Mar 2019 14:30:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BmdsmTAZ8hW72F6wY) @nfrunza Ubuntu 18.04.1

nfrunza (Wed, 06 Mar 2019 14:32:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=v74npgao9guNdGzbR) @AlbertCL did you have any issues? while installing it?

nfrunza (Wed, 06 Mar 2019 14:32:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=v74npgao9guNdGzbR) @AlbertCL did you have any issues while installing it?

AlbertCL (Wed, 06 Mar 2019 14:39:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=3ji2vfD6KNdKduPdo) @nfrunza Not at all, everything okey when building the images and it works as expected.

nfrunza (Wed, 06 Mar 2019 15:55:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ksFmLaX2EdQTwnXHT) @AlbertCL Do you see in the footer of the Explorer fabric version supported and the explorer version?

AlbertCL (Wed, 06 Mar 2019 15:56:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fD4v58H7nZ4XQ8eXp) @nfrunza I see: Hyperledger Explorer Client Version: 0.3.9 Fabric Compatibility: v1.4

HLFPOC (Wed, 06 Mar 2019 18:47:53 GMT):
Hello folks, Has anyone did the explorer setup successfully with fabric network running on v1.3 having multiple channels? I am facing a strange issue in which I am able to get my explorer working but it is showing details of only single channel, however I have 2 channels defined in my fabric network and transactions are working fine in both of the channels. Not able to find out the exacts issue . Can anyone kindly assist in resolving this issue ?

nfrunza (Wed, 06 Mar 2019 19:06:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WsoDi4pwxhcYWdpxW) @HLFPOC try to start explorer with debug mode , and follow the logs, from root: $export HFC_LOGGING='{"debug":"console"}' && node main.js

vanitas92 (Thu, 07 Mar 2019 11:18:44 GMT):
Hello guys! Once the explorer is built, is it possible to avoid launching the application through the `node main.js` command and serve it through an http server such as nginx? Has anyone tried this approach? Thank you!

nfrunza (Thu, 07 Mar 2019 13:21:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9Dd2TxCTvnCsGpHsZ) @vanitas92 very interesting concept, main.js exposes the routes, starts the connection to FLFabric and much more, maybe there is a way nginx can execute the main.js

edisinovcic (Fri, 08 Mar 2019 09:51:26 GMT):
@vanitas92 just use docker for explorer (and add it to existing network where your Fabric nodes are) -> they will communicate via http://containername:port and then you can also add nginx and expose explorer from docker network to host via nginx. Hope this isn't to complicated. :)

edisinovcic (Fri, 08 Mar 2019 09:57:43 GMT):
I don't know where to post this, link on https://www.hyperledger.org/projects/explorer -> join discussion on chat is wrong :)

amolpednekar (Sat, 09 Mar 2019 04:58:05 GMT):
Has joined the channel.

vanitas92 (Sat, 09 Mar 2019 13:36:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=G3sEn9A94gfNdTDZS) @edisinovcic I am using a custom dockerfile for building the explorer but i would like to use advantages such as multi-stage building in Docker to put the compiled code of the explorer into an nginx server and deliver a minimum image to the server where the explorer would run. It would be a nice to have.

edisinovcic (Sat, 09 Mar 2019 15:54:59 GMT):
@vanitas92 that would be great. If you succeed let me know. Tnx ;)

nfrunza (Sun, 10 Mar 2019 08:30:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AA2CLS3jwEwrecQWX) @edisinovcic I'll inform, to update the link, use this https://chat.hyperledger.org/channel/hyperledger-explorer

ygnr (Mon, 11 Mar 2019 08:32:48 GMT):
Does explorer support config as described here (https://fabric-sdk-node.github.io/release-1.4/tutorial-network-config.html)?

touchingsoil (Mon, 11 Mar 2019 11:55:25 GMT):
Has joined the channel.

touchingsoil (Mon, 11 Mar 2019 11:56:38 GMT):
Does hyperledger explorer support fabric from v1.1 to v1.4 and composer 0.19 and 0.20?

touchingsoil (Mon, 11 Mar 2019 11:56:38 GMT):
Does hyperledger explorer support fabric from v1.1 to v1.4 and composer 0.19 and 0.20? and if the old env is fabric 1.1 and explorer 0.3.2, the new env is fabric 1.4 and explorer 0..3.8 , only the binary files are need to upgrade?

edisinovcic (Mon, 11 Mar 2019 13:47:17 GMT):
@touchingsoil here you can find which fabric versions each version of explorer supports: https://github.com/hyperledger/blockchain-explorer/tree/release-4.0/release_notes

nikolas (Mon, 11 Mar 2019 14:03:42 GMT):
Has joined the channel.

nikolas (Mon, 11 Mar 2019 14:05:05 GMT):
Hi, I have a network with multiple orgs and kafka based ordering service (multiple orderers). I try to connect the explorer, but no luck so far. Does explorer support multi-org kafka networks?

nikolas (Mon, 11 Mar 2019 17:18:16 GMT):
Hi I am getting the following error: `error: [FabricCAClientService.js]: Failed to enroll admin, error:%o message=Enrollment failed with errors [[{"code":20,"message":"Authentication failure"}]], stack=Error: Enrollment failed with errors [[{"code":20,"message":"Authentication failure"}]]` - any hints?

nikolas (Mon, 11 Mar 2019 17:19:30 GMT):
I am guesing it needs the CA admin password? how do I set it?

touchingsoil (Tue, 12 Mar 2019 00:33:26 GMT):
@edisinovcic Many thanks, but is it downward compatible?for example,blockchain-explorer/release_notes/v0.3.6.md writes "Support for Hyperledger Fabric 1.2", so how about the fabric 1.1?

touchingsoil (Tue, 12 Mar 2019 07:17:15 GMT):
@edisinovcic Is there any difference between blockchain-explorer integrating with fabric and composer, i found they modified the same file "config.json"

touchingsoil (Tue, 12 Mar 2019 07:17:15 GMT):
@edisinovcic Is there ``` any difference between blockchain-explorer integrating with fabric and composer, i found they modified the same file " ``` config.json" , and if all peers info are need in config.json?

touchingsoil (Tue, 12 Mar 2019 07:17:15 GMT):
@edisinovcic Is there any difference between blockchain-explorer integrating with fabric and composer, i found they modified the same file " config.json" , and if all peers info are need in config.json?

touchingsoil (Tue, 12 Mar 2019 07:17:15 GMT):
@edisinovcic Is there any difference between blockchain-explorer integrating with fabric and composer, i found they modified the same file "config.json" , and if all peers info are need in config.json?

touchingsoil (Tue, 12 Mar 2019 07:17:15 GMT):
@edisinovcic Is there any difference between blockchain-explorer integrating with fabric and composer, i found they modified the same file "config.json" , and if all peers info are need in config.json? And how can i change the expose port 8080?

touchingsoil (Tue, 12 Mar 2019 07:26:38 GMT):
'''[2019-03-12 15:25:42.527] [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/xfb/blockchain-explorer/app/platform/fabric/Proxy.js:249:43) at Platform.setChannels (/home/xfb/blockchain-explorer/app/platform/fabric/Platform.js:190:35) at Platform.initialize (/home/xfb/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at Function.build (/home/xfb/blockchain-explorer/app/platform/PlatformBuilder.js:11:22) at platformroutes (/home/xfb/blockchain-explorer/app/explorer/rest/platformroutes.js:14:36) at Explorer.initialize (/home/xfb/blockchain-explorer/app/explorer/Explorer.js:40:13) at at process._tickCallback (internal/process/next_tick.js:188:7) '''

touchingsoil (Tue, 12 Mar 2019 07:26:38 GMT):
'[2019-03-12 15:25:42.527] [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/xfb/blockchain-explorer/app/platform/fabric/Proxy.js:249:43) at Platform.setChannels (/home/xfb/blockchain-explorer/app/platform/fabric/Platform.js:190:35) at Platform.initialize (/home/xfb/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at Function.build (/home/xfb/blockchain-explorer/app/platform/PlatformBuilder.js:11:22) at platformroutes (/home/xfb/blockchain-explorer/app/explorer/rest/platformroutes.js:14:36) at Explorer.initialize (/home/xfb/blockchain-explorer/app/explorer/Explorer.js:40:13) at at process._tickCallback (internal/process/next_tick.js:188:7) '

touchingsoil (Tue, 12 Mar 2019 07:26:38 GMT):
'[2019-03-12 15:25:42.527] [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined at Proxy.queryChannels (/home/xfb/blockchain-explorer/app/platform/fabric/Proxy.js:249:43) at Platform.setChannels (/home/xfb/blockchain-explorer/app/platform/fabric/Platform.js:190:35) at Platform.initialize (/home/xfb/blockchain-explorer/app/platform/fabric/Platform.js:151:16) at Function.build (/home/xfb/blockchain-explorer/app/platform/PlatformBuilder.js:11:22) at platformroutes (/home/xfb/blockchain-explorer/app/explorer/rest/platformroutes.js:14:36) at Explorer.initialize (/home/xfb/blockchain-explorer/app/explorer/Explorer.js:40:13) at at process._tickCallback (internal/process/next_tick.js:188:7) '

touchingsoil (Tue, 12 Mar 2019 07:28:44 GMT):
so what may result to these errors, the npm test is ok

edisinovcic (Tue, 12 Mar 2019 09:48:11 GMT):
@touchingsoil are you using docker-compose for running or ./start.sh and ./syncstart.sh scripts? You need only to modify config.json to your configuration (there are multiple configurations depending if you are using cello or composer or plain fabric). Here is the link: https://github.com/hyperledger/blockchain-explorer/tree/release-4.0/app/platform/fabric I'm not sure about backwards compatibility, you will need to ask devs that. :)

touchingsoil (Tue, 12 Mar 2019 10:07:59 GMT):
@edisinovcic I am using the version 0.3.5.1( because of the fabric 1.1) via the ./start.sh and ./syncstart.sh scripts. In this version ,there is no such files under app/platform/fabric, so is this version still workable?

touchingsoil (Tue, 12 Mar 2019 10:09:55 GMT):

Clipboard - March 12, 2019 6:09 PM

Javi (Tue, 12 Mar 2019 11:48:38 GMT):
hi everyone! I have a doubt, when I setup the explorer with the first-network sample, the two nodes of the org2 are in state running and the peers of the org1 are in state down, why is this?

Javi (Tue, 12 Mar 2019 11:48:53 GMT):
when I check the state using docker ps, peers of organization1 are running

Javi (Tue, 12 Mar 2019 11:49:05 GMT):
any idea what happens in the explorer?

SashaPESIC (Tue, 12 Mar 2019 12:01:20 GMT):
@Javi see if the peers have gossip external endpoints defined in their docker-compose.yaml (environment).

Javi (Tue, 12 Mar 2019 12:06:15 GMT):
yes @SashaPESIC all peers hace these env var defined

Javi (Tue, 12 Mar 2019 12:06:15 GMT):
yes @SashaPESIC all peers have these env var defined

duy3991 (Tue, 12 Mar 2019 12:28:28 GMT):
Hi all, I run hyperledger explorer but I saw only 1 peer. Although, I config 4 peer in hyperledger fabric. Please help!!

duy3991 (Tue, 12 Mar 2019 12:29:00 GMT):

Clipboard - March 12, 2019 7:28 PM

duy3991 (Tue, 12 Mar 2019 12:29:17 GMT):

Clipboard - March 12, 2019 7:29 PM

Aniket.1 (Tue, 12 Mar 2019 13:17:07 GMT):
were they all in the configuration transaction you created for your channel @duy3991 ?

walmon (Tue, 12 Mar 2019 17:43:17 GMT):
Has joined the channel.

FlorianStoica (Tue, 12 Mar 2019 20:00:30 GMT):
after deploying on cloud I have the following error on explorer error: [Channel.js]: Channel:mychannel received discovery error:access denied, do you guys have any idea ?

FlorianStoica (Tue, 12 Mar 2019 20:00:30 GMT):
after deploying on cloud I have the following error on explorer error: [Channel.js]: Channel:mychannel received discovery error:access denied, do you guys have any idea ? Also "[INFO] pgservice - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging." level is set to debug but still the same error message apears in db log

duy3991 (Wed, 13 Mar 2019 02:26:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=psWwtH2eFuxk2sC4H) @Aniket.1 Yes. I check the log of all peers have newly created block data :)

ygnr (Wed, 13 Mar 2019 05:16:04 GMT):
What is the use of client in config file and how to configure one?

Javi (Wed, 13 Mar 2019 08:24:51 GMT):
@ygnr for me, client config show status of the peers that belongs the indicated organization

Javi (Wed, 13 Mar 2019 08:25:50 GMT):
If I put into client-1 -> name `Org1`, only peers of this organization appear as running, other peers from other organizations shown as down

Javi (Wed, 13 Mar 2019 08:28:07 GMT):
I don't know why this happens, maybe anyone can explain this. The documentation says that when the `syncstar.sh` is called: `pass network-id and client-id to start specific client sync process`, but, this can affect how the peers status is shown??

edisinovcic (Wed, 13 Mar 2019 13:07:29 GMT):
@Javi I have the same problem here :/

touchingsoil (Thu, 14 Mar 2019 08:26:01 GMT):
Does blockchain explorer support kafka orders(especially in v0.3.5.1)? so how to write the order info in config.json?

touchingsoil (Thu, 14 Mar 2019 09:21:52 GMT):
I deploy the blockchain explorer , i got the right answer from direct visit to http://localhost:8080/api/channels, but got error: "TypeError: Failed to fetch" when press the "try it out "-->"execute" button in the http://localhost:8080/api-docs web page.

touchingsoil (Thu, 14 Mar 2019 09:21:54 GMT):

Clipboard - March 14, 2019 5:21 PM

nekia (Thu, 14 Mar 2019 14:17:36 GMT):
Is your fabric network joining to any channels? @FlorianStoica when I started explorer without channel joining, i might see error you mentioned.

Javi (Thu, 14 Mar 2019 17:36:26 GMT):
@edisinovcic you solved the problem?

Javi (Thu, 14 Mar 2019 17:37:24 GMT):
I started manually anothe client using `syncstart.sh network-1 client-2` but it does nothing....

Javi (Thu, 14 Mar 2019 17:38:42 GMT):
peers still shown down

Javi (Thu, 14 Mar 2019 17:49:27 GMT):
@nfrunza can you provide any hint?

ygnr (Fri, 15 Mar 2019 06:41:27 GMT):
I keep on getting `/bin/sh: locate: not found` any one facing same issue?

Vampire (Fri, 15 Mar 2019 07:39:39 GMT):
I have 4 peers in the fabric network, while the explorer only shows two of them, how can i fix it? i've checked the ports and config files.

duy3991 (Fri, 15 Mar 2019 08:11:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fXmpn6hsC5CzrTfpT) @Vampire Me too. But explorer only show 1 of them :(

Aniket.1 (Fri, 15 Mar 2019 10:14:45 GMT):
Have you guys mentioned all of them in config.json?

duy3991 (Fri, 15 Mar 2019 10:19:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QAFdFXB3NqSyCNgNf) @Aniket.1 yes. This is my file config.json

duy3991 (Fri, 15 Mar 2019 10:19:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QAFdFXB3NqSyCNgNf) @Aniket.1 yes. This is my file config.json { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {}, "peer1.org1.example.com": {}, "peer2.org1.example.com": {}, "peer3.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/fps/go/src/github.com/hyperledger/composer-sample-applications-demo/packages/letters-of-credit/installer/fabric-tools/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/fps/go/src/github.com/hyperledger/composer-sample-applications-demo/packages/letters-of-credit/installer/fabric-tools/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererOrg": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/fps/go/src/github.com/hyperledger/composer-sample-applications-demo/packages/letters-of-credit/installer/fabric-tools/fabric-scripts/hlfv12/composer/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/fps/go/src/github.com/hyperledger/composer-sample-applications-demo/packages/letters-of-credit/installer/fabric-tools/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "tlsCACerts": { "path": "/fps/go/src/github.com/hyperledger/composer-sample-applications-demo/packages/letters-of-credit/installer/fabric-tools/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:8051", "eventUrl": "grpc://localhost:8053", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }, "peer2.org1.example.com": { "tlsCACerts": { "path": "/fps/go/src/github.com/hyperledger/composer-sample-applications-demo/packages/letters-of-credit/installer/fabric-tools/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer2.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:9051", "eventUrl": "grpc://localhost:9053", "grpcOptions": { "ssl-target-name-override": "peer2.org1.example.com" } }, "peer3.org1.example.com": { "tlsCACerts": { "path": "/fps/go/src/github.com/hyperledger/composer-sample-applications-demo/packages/letters-of-credit/installer/fabric-tools/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer3.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:10051", "eventUrl": "grpc://localhost:10053", "grpcOptions": { "ssl-target-name-override": "peer3.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/fps/go/src/github.com/hyperledger/fabric-samples/bin", "license": "Apache-2.0" }

Aniket.1 (Fri, 15 Mar 2019 10:36:40 GMT):
all 4 peers have joined composerchannel?

duy3991 (Fri, 15 Mar 2019 10:48:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=j2RZQKkTmzG2tQyvD) @Aniket.1 yes.

Aniket.1 (Fri, 15 Mar 2019 10:53:20 GMT):
check app logs, is it discovering the other peers or any error is there?

Javi (Fri, 15 Mar 2019 11:39:41 GMT):
@duy3991 same error

Javi (Fri, 15 Mar 2019 11:40:05 GMT):
explorer only show running peers of the org indicated in client

Javi (Fri, 15 Mar 2019 11:40:24 GMT):
in your case only peers from Org1

AlbertCL (Fri, 15 Mar 2019 11:55:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rwivN24RJ6xzjBoc3) @Javi same here

AlbertCL (Fri, 15 Mar 2019 12:10:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5GYWHaDWhS4tanh5D) @ygnr I have the same log, but it doesn't affect the performance

dheerajsuvarna (Fri, 15 Mar 2019 15:30:04 GMT):
Has joined the channel.

garunkumar450 (Sat, 16 Mar 2019 08:04:58 GMT):
postgres://hppoc:password@127.0.0.1:5432/fabricexplorer <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'size' of undefined at Platform.initialize (/home/tanla/blockchain-explorer/app/platform/fabric/Platform.js:52:45) at at process._tickCallback (internal/process/next_tick.js:189:7) (node:29813) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Received kill signal, shutting down gracefully Closed out connections ~ ~ ~

zhasni (Sat, 16 Mar 2019 11:27:03 GMT):

Screenshot from 2019-03-16 12-22-50.png

zhasni (Sat, 16 Mar 2019 11:27:03 GMT):

Screenshot from 2019-03-16 12-22-50.png

zhasni (Sat, 16 Mar 2019 11:27:20 GMT):
Hi, I'm trying to get fabric-explorer v0.3.9.1 working with fabric-sample BYFN v1.4.0 Localy but I don't understand why it's not working after setting up config files as requested in the ReadMe and bring up a byfn network localy I run `./deploy_explorer.sh dockerConfig net_byfn` I get 2 docker containers `blockchain-explorer` and `blockchain-explorer-db` UP an RUNNING

zhasni (Sat, 16 Mar 2019 11:27:47 GMT):
``` ./deploy_explorer.sh dockerConfig net_byfn _ _ _ _ ______ _ | | | | | | | | | ____| | | | |__| |_ _ _ __ ___ _ __| | ___ __| | __ _ ___ _ __ | |__ __ ___ __ | | ___ _ __ ___ _ __ | __ | | | | '_ \ / _ \ '__| |/ _ \/ _` |/ _` |/ _ \ '__| | __| \ \/ / '_ \| |/ _ \| '__/ _ \ '__| | | | | |_| | |_) | __/ | | | __/ (_| | (_| | __/ | | |____ > <| |_) | | (_) | | | __/ | |_| |_|\__, | .__/ \___|_| |_|\___|\__,_|\__, |\___|_| |______/_/\_\ .__/|_|\___/|_| \___|_| __/ | | __/ | | | |___/|_| |___/ |_| Using custom Hyperledger Network configuration. Network name: dockerConfig Removing old configured docker vnet for Hyperledger Explorer Stopping previously deployed Hyperledger Fabric Explorer DATABASE instance... blockchain-explorer-db blockchain-explorer-db Stopping previously deployed Hyperledger Fabric Explorer instance... blockchain-explorer blockchain-explorer fabric-explorer-net Creating default Docker vnet for Hyperledger Fabric Explorer fbeca212a4ad6d0343a1710d37261da14edd5c085f415931524760d30fbf8c82 Building Hyperledger Fabric Database image from current local version... Sending build context to Docker daemon 198.2MB Step 1/10 : FROM postgres:10.4-alpine ---> 962ed899c609 Step 2/10 : ENV DATABASE_DATABASE fabricexplorer ---> Using cache ---> 8d1607e298a5 Step 3/10 : ENV DATABASE_USERNAME hppoc ---> Using cache ---> 594f9dd58555 Step 4/10 : ENV DATABASE_PASSWORD password ---> Using cache ---> 759e9fc333cd Step 5/10 : RUN apk update && apk add jq && apk add nodejs && apk add sudo && rm -rf /var/cache/apk/* ---> Using cache ---> acb10d727855 Step 6/10 : WORKDIR /opt ---> Using cache ---> 9b2cc2fa3e06 Step 7/10 : COPY app/persistence/fabric/postgreSQL/db/explorerpg.sql /opt/explorerpg.sql ---> Using cache ---> eaecf81cf1d6 Step 8/10 : COPY app/persistence/fabric/postgreSQL/db/updatepg.sql /opt/updatepg.sql ---> Using cache ---> a79e33a0333b Step 9/10 : COPY app/persistence/fabric/postgreSQL/db/createdb.sh /opt/createdb.sh ---> Using cache ---> ae934bf2ce8c Step 10/10 : COPY app/persistence/fabric/postgreSQL/db/processenv.js /opt/processenv.js ---> Using cache ---> 5f2158dcefb9 Successfully built 5f2158dcefb9 Successfully tagged hyperledger/explorer-db:latest Deploying Database (POSTGRES) container at 192.168.10.11 ec1557485ddf577cc7b8e3d22107867d895e49b4dd2cdcc0dc83b3a3f4aa7839 Preparing database for Explorer Waiting...6s Waiting...5s Waiting...4s Waiting...3s Waiting...2s Waiting...1s ```

zhasni (Sat, 16 Mar 2019 11:27:51 GMT):
``` Creating default database schemas... Copying ENV variables into temp file... USER="hppoc" DATABASE="fabricexplorer" PASSWD='password' Executing SQL scripts... CREATE ROLE DROP DATABASE psql:./explorerpg.sql:6: NOTICE: database "fabricexplorer" does not exist, skipping CREATE DATABASE You are now connected to database "fabricexplorer" as user "postgres". psql:./explorerpg.sql:14: NOTICE: table "blocks" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:33: NOTICE: table "chaincodes" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:51: NOTICE: table "peer_ref_chaincode" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:66: NOTICE: table "channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE DROP TABLE psql:./explorerpg.sql:89: NOTICE: table "peer" does not exist, skipping CREATE TABLE ALTER TABLE psql:./explorerpg.sql:108: NOTICE: table "peer_ref_channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:123: NOTICE: table "orderer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:139: NOTICE: table "transactions" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:169: NOTICE: table "write_lock" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:177: NOTICE: index "blocks_blocknum_idx" does not exist, skipping DROP INDEX CREATE INDEX DROP INDEX psql:./explorerpg.sql:180: NOTICE: index "blocks_channel_genesis_hash_idx" does not exist, skipping CREATE INDEX DROP INDEX psql:./explorerpg.sql:183: NOTICE: index "blocks_createdt_idx" does not exist, skipping CREATE INDEX psql:./explorerpg.sql:186: NOTICE: index "transaction_txhash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:189: NOTICE: index "transaction_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:192: NOTICE: index "transaction_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:195: NOTICE: index "transaction_blockid_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:198: NOTICE: index "transaction_chaincode_proposal_input_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:201: NOTICE: index "channel_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX DROP INDEX psql:./explorerpg.sql:204: NOTICE: index "channel_channel_hash_idx" does not exist, skipping CREATE INDEX GRANT You are now connected to database "fabricexplorer" as user "postgres". Stopping previously deployed Hyperledger Fabric Explorer instance... Error response from daemon: No such container: blockchain-explorer Deploying Hyperledger Fabric Explorer container at 192.168.10.12 622d44d58a15c133b7aa5f196004f3f69857d49649913fc548d7872e1965be38 Trying to join to existing network net_byfn ```

zhasni (Sat, 16 Mar 2019 11:28:38 GMT):
Docker logs ``` docker logs blockchain-explorer postgres://hppoc:password@192.168.10.11:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found (node:6) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead ```

zhasni (Sat, 16 Mar 2019 11:29:59 GMT):
blockchain-explorer log : ``` docker exec blockchain-explorer cat logs/app/app.log [2019-03-16 11:12:01.229] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2019-03-16 11:12:01.230] [DEBUG] Platform - Setting admin organization enrolment files [2019-03-16 11:12:01.230] [DEBUG] FabricUtils - Organization [Org1MSP] enrolment files path defined as directory [2019-03-16 11:12:01.230] [DEBUG] FabricUtils - Organization [Org2MSP] enrolment files path defined as directory [2019-03-16 11:12:01.230] [DEBUG] FabricUtils - Organization [OrdererMSP] enrolment files path defined as directory [2019-03-16 11:12:01.230] [DEBUG] Platform - Creatinging client [client-1] >> [2019-03-16 11:12:01.231] [DEBUG] FabricUtils - Validating client [client-1] configuration ... ```

zhasni (Sat, 16 Mar 2019 11:29:59 GMT):
blockchain-explorer log : ``` docker exec blockchain-explorer cat logs/app/app.log [2019-03-16 11:12:01.229] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2019-03-16 11:12:01.230] [DEBUG] Platform - Setting admin organization enrolment files [2019-03-16 11:12:01.230] [DEBUG] FabricUtils - Organization [Org1MSP] enrolment files path defined as directory [2019-03-16 11:12:01.230] [DEBUG] FabricUtils - Organization [Org2MSP] enrolment files path defined as directory [2019-03-16 11:12:01.230] [DEBUG] FabricUtils - Organization [OrdererMSP] enrolment files path defined as directory [2019-03-16 11:12:01.230] [DEBUG] Platform - Creatinging client [client-1] >> [2019-03-16 11:12:01.231] [DEBUG] FabricUtils - Validating client [client-1] configuration [2019-03-16 11:12:01.231] [DEBUG] FabricUtils - Client configuration >> {"_fileStores":["/opt/explorer/node_modules/fabric-client/config/default.json"],"_config":{"stores":{"memory":{"type":"memory","store":{},"mtimes": ... ```

zhasni (Sat, 16 Mar 2019 11:32:29 GMT):
``` [2019-03-16 11:12:01.232] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2019-03-16 11:12:01.233] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2019-03-16 11:12:01.472] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2019-03-16 11:12:01.481] [DEBUG] FabricClient - Successfully created admin user [client-1_Org1MSPAdmin] for client [client-1] [2019-03-16 11:12:01.487] [DEBUG] FabricClient - Set client [client-1] default channel as >> mychannel [2019-03-16 11:12:01.487] [DEBUG] FabricClient - peer0.org1.example.com is in Org1MSP [2019-03-16 11:12:01.487] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.org1.example.com [2019-03-16 11:12:01.487] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2019-03-16 11:12:01.634] [DEBUG] FabricClient - undefined [2019-03-16 11:12:01.644] [DEBUG] FabricClient - Client channels >> [{"channel_id":"mychannel"}] [2019-03-16 11:12:01.650] [DEBUG] FabricClient - Discover results for client [client-1] >> {"msps":{"OrdererMSP":{"id":"OrdererMSP","orgs":[],"rootCerts":"-----BEGIN CERTIFICATE-----"orderers":{"OrdererMSP":{"endpoints":[{"host":"orderer.example.com","port":7050}]}},"peers_by_org":{"Org1MSP":{"peers":[{"mspid":"Org1MSP","endpoint":"peer0.org1.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]},{"mspid":"Org1MSP","endpoint":"peer1.org1.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[]}]},"Org2MSP":{"peers":[{"mspid":"Org2MSP","endpoint":"peer0.org2.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]},{"mspid":"Org2MSP","endpoint":"peer1.org2.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]}]}}} [2019-03-16 11:12:01.651] [DEBUG] FabricClient - then privateKeyPEM data [2019-03-16 11:12:01.652] [DEBUG] FabricClient - then signedCertPEM data [2019-03-16 11:12:01.653] [DEBUG] FabricClient - then user [2019-03-16 11:12:01.653] [DEBUG] FabricClient - Successfully created user [client-1_OrdererMSPAdmin] for client [client-1] [2019-03-16 11:12:01.653] [DEBUG] FabricClient - then privateKeyPEM data [2019-03-16 11:12:01.654] [DEBUG] FabricClient - then signedCertPEM data [2019-03-16 11:12:01.655] [DEBUG] FabricClient - then user [2019-03-16 11:12:01.655] [DEBUG] FabricClient - Successfully created user [client-1_Org2MSPAdmin] for client [client-1] [2019-03-16 11:12:01.656] [DEBUG] FabricClient - Create a new orderer grpcs://orderer.example.com:7050 [2019-03-16 11:12:01.656] [DEBUG] FabricClient - Successfully created orderer [orderer.example.com:7050] for client [client-1] ```

zhasni (Sat, 16 Mar 2019 11:32:29 GMT):
``` [2019-03-16 11:12:01.232] [DEBUG] FabricUtils - ************ Initializing fabric client for [client-1]************ [2019-03-16 11:12:01.233] [DEBUG] FabricClient - Loading client [client-1] from configuration ... [2019-03-16 11:12:01.472] [DEBUG] FabricClient - Successfully initialized credential stores for client [client-1] [2019-03-16 11:12:01.481] [DEBUG] FabricClient - Successfully created admin user [client-1_Org1MSPAdmin] for client [client-1] [2019-03-16 11:12:01.487] [DEBUG] FabricClient - Set client [client-1] default channel as >> mychannel [2019-03-16 11:12:01.487] [DEBUG] FabricClient - peer0.org1.example.com is in Org1MSP [2019-03-16 11:12:01.487] [DEBUG] FabricClient - Set client [client-1] default peer as >> peer0.org1.example.com [2019-03-16 11:12:01.487] [DEBUG] FabricClient - Successfully loaded client [client-1] from configuration [2019-03-16 11:12:01.634] [DEBUG] FabricClient - undefined [2019-03-16 11:12:01.644] [DEBUG] FabricClient - Client channels >> [{"channel_id":"mychannel"}] [2019-03-16 11:12:01.650] [DEBUG] FabricClient - Discover results for client [client-1] >> {"msps":{"OrdererMSP":{"id":"OrdererMSP","orgs":[],"rootCerts":"-----BEGIN CERTIFICATE----- ... ... "orderers":{"OrdererMSP":{"endpoints":[{"host":"orderer.example.com","port":7050}]}},"peers_by_org":{"Org1MSP":{"peers":[{"mspid":"Org1MSP","endpoint":"peer0.org1.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]},{"mspid":"Org1MSP","endpoint":"peer1.org1.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[]}]},"Org2MSP":{"peers":[{"mspid":"Org2MSP","endpoint":"peer0.org2.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]},{"mspid":"Org2MSP","endpoint":"peer1.org2.example.com:7051","ledger_height":{"low":5,"high":0,"unsigned":true},"chaincodes":[{"name":"mycc","version":"1.0"}]}]}}} [2019-03-16 11:12:01.651] [DEBUG] FabricClient - then privateKeyPEM data [2019-03-16 11:12:01.652] [DEBUG] FabricClient - then signedCertPEM data [2019-03-16 11:12:01.653] [DEBUG] FabricClient - then user [2019-03-16 11:12:01.653] [DEBUG] FabricClient - Successfully created user [client-1_OrdererMSPAdmin] for client [client-1] [2019-03-16 11:12:01.653] [DEBUG] FabricClient - then privateKeyPEM data [2019-03-16 11:12:01.654] [DEBUG] FabricClient - then signedCertPEM data [2019-03-16 11:12:01.655] [DEBUG] FabricClient - then user [2019-03-16 11:12:01.655] [DEBUG] FabricClient - Successfully created user [client-1_Org2MSPAdmin] for client [client-1] [2019-03-16 11:12:01.656] [DEBUG] FabricClient - Create a new orderer grpcs://orderer.example.com:7050 [2019-03-16 11:12:01.656] [DEBUG] FabricClient - Successfully created orderer [orderer.example.com:7050] for client [client-1] ```

zhasni (Sat, 16 Mar 2019 11:35:11 GMT):
But nothing in localhost:8080 I follow these links : https://github.com/hyperledger/blockchain-explorer https://github.com/hyperledger/blockchain-explorer/tree/v0.3.9.1/examples/net1 please let me know if you need any other information. thanks in advance.

zhasni (Sat, 16 Mar 2019 11:35:11 GMT):
But nothing in localhost:8090 I follow these links : https://github.com/hyperledger/blockchain-explorer https://github.com/hyperledger/blockchain-explorer/tree/v0.3.9.1/examples/net1 please let me know if you need any other information. thanks in advance.

SashaPESIC (Sat, 16 Mar 2019 16:33:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PvosKTZbXniuFdHjG) @AlbertCL locate is the command the app uses to find your chaincode files. if you are running as a standalone (outside of docker), just install mlocate and you will be fine.

nekia (Sun, 17 Mar 2019 01:50:47 GMT):
Thank you for sharing an issue you have. I've not analyzed the detail of this issue yet, but I currently recommend using docker-compose to bring up your explorer with your fabric network because deploy_explorer.sh has not been maintained, unfortunately. https://github.com/hyperledger/blockchain-explorer#run-hyperledger-explorer-using-docker-compose @zhasni

zhasni (Sun, 17 Mar 2019 08:16:54 GMT):
thx @nekia I'll try this way.

zhasni (Sun, 17 Mar 2019 17:39:16 GMT):
same result with launching manually the docker-compose. I tried the local installation ``` cd blockchain-explorer npm install cd blockchain-explorer/app/test npm install npm run test cd client/ npm install npm test -- -u --coverage npm run build ``` also not working. Is there any tag working with fabric-sample v1.4.0 ?

nfrunza (Sun, 17 Mar 2019 20:51:37 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mEzy2BkTYQ6hfK7L6) @zhasni v0.3.9.1

ygnr (Sun, 17 Mar 2019 22:36:04 GMT):
Anyone came across memory leak? ``` (node:7) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added. Use emitter.setMaxListeners() to increase limit ```

duy3991 (Mon, 18 Mar 2019 04:44:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n9ReFEGvhSDaduWBz) @zhasni Why?? I see chaincode not deploy in peer1.org0

AlbertCL (Mon, 18 Mar 2019 10:29:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tX7uvW6NQbiEnh3Fz) @nfrunza You don't need to build the app, just make `docker-compose up` in /blockchain-explorer and check the port that is using inside the docker-compose file

AlbertCL (Mon, 18 Mar 2019 10:30:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mEzy2BkTYQ6hfK7L6) @zhasni You don't need to build the app, just make `docker-compose up` in /blockchain-explorer and check the port that is using inside the docker-compose file

nfrunza (Mon, 18 Mar 2019 12:43:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HsFGJLbaACv4x8r4n) @AlbertCL tag v0.3.9.1

nfrunza (Mon, 18 Mar 2019 12:43:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eDGeo5pNtPnyuyPPg) @duy3991 Is the question to HLExplorer team? or https://chat.hyperledger.org/channel/fabric-questions ?

nfrunza (Mon, 18 Mar 2019 12:45:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sSATMPFSy7q7wNnoY) @ygnr No, first time i see it, what is your data load? environment description, running explorer in docker or locally ?

zhasni (Mon, 18 Mar 2019 14:57:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eDGeo5pNtPnyuyPPg) @duy3991 This is how first-network (BYFN.sh) form fabric-sample is written.

zhasni (Mon, 18 Mar 2019 15:34:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HsFGJLbaACv4x8r4n) @AlbertCL I tried and retried via docker-compose up with no luck :-( that's why I tried to build the app (last solution)

AlbertCL (Mon, 18 Mar 2019 16:38:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8FBANKjutReGi844j) @zhasni First build the docker image from source code, inside your v0.3.9.1 code do: `docker build -t hyperledger/explorer:latest . ` next `docker-compose up`

nekia (Tue, 19 Mar 2019 02:29:44 GMT):
Did you configure external network to net_byfn in your dicker-compose.yaml? @zhasni

SashaPESIC (Tue, 19 Mar 2019 07:49:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=05dd9066-529f-460a-975a-b480a63407a4) @nekia You do not really need to configure the external network. That only means that you have created a docker network earlier and are refering to it in the docker-compose.

FlorianStoica (Tue, 19 Mar 2019 08:58:39 GMT):
How to configure explorer docker image so that when the host restarts it automatically restart the explorer (currently had issues saying that channel already exists)

nfrunza (Tue, 19 Mar 2019 13:12:54 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aD8cd4SsmMSW3bb7h) @FlorianStoica theoretically if you restart you fabric network explorer will go down, we do not handle retries, maybe we should for some interval let say 10 min max, the question would be how do you restart your fabric, will your channels be same as before restart? if genesis hash is changes, and or crypto we would not be able to reconect.

nekia (Tue, 19 Mar 2019 13:58:34 GMT):
Let me add a little bit information. I doubt that [this configuration](https://github.com/hyperledger/blockchain-explorer/blob/v0.3.9.1/docker-compose.yaml#L10) doesn't align to net_byfn that is defined for first-network. If not, explorer container can't talk to the underlying fabric network.

nekia (Tue, 19 Mar 2019 13:59:03 GMT):
@SashaPESIC @zhasni

alek (Tue, 19 Mar 2019 15:09:57 GMT):
Has joined the channel.

ygnr (Tue, 19 Mar 2019 23:55:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rLAFuwbX3ZZbQEbFW) @nfrunza There is no load. I am running explorer in kubernetes.

nfrunza (Tue, 19 Mar 2019 23:57:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bhaZwRAGX7nbzNri5) @ygnr No, we didn't test in kubernetes

ygnr (Wed, 20 Mar 2019 00:45:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=joog4u98aBHkrmT27) @nfrunza I see this intermittently. Also, peer status shows as down for all the peers except the peer for which client is defined. Do I need to have clients for all the peers?

nfrunza (Wed, 20 Mar 2019 00:58:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bXFBeybzRabz3o69z) @ygnr we didn't test in kubernetes

nfrunza (Wed, 20 Mar 2019 01:01:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=eiYwFZujQtC6ifGGj) someone did run in kube...s, https://github.com/feitnomore/hyperledger-fabric-kubernetes

vishalnigam (Wed, 20 Mar 2019 02:01:06 GMT):
Has joined the channel.

Vampire (Wed, 20 Mar 2019 05:25:16 GMT):
does anyone know, I have two orgs in my channel, while the explorer can only find one of them including the peers which belong to the org. So, the explorer missed one org and the peers in this org

awattez (Wed, 20 Mar 2019 13:08:15 GMT):
Has joined the channel.

nfrunza (Wed, 20 Mar 2019 17:48:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=c6w8aP9oHhPKTARQK) @Vampire Make sure to set the environment variables CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNAL_ENDPOINT for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

mnobilio (Wed, 20 Mar 2019 18:59:07 GMT):
Has joined the channel.

Vampire (Thu, 21 Mar 2019 06:51:36 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7YbZpRwvzBduSXPoF) @nfrunza thanks for your reply, i've checked .yaml file, these variables are set correctly. Dose discovery service need a cli container?

alek (Thu, 21 Mar 2019 10:52:25 GMT):
Hi Guys, i am trying to connect fabric explorer using `docker-compose.yaml` and struggling with below error: ```Attaching to explorer.mynetwork.com explorer.mynetwork.com | postgres://hppoc:password@explorerdb.mynetwork.com:5432/fabricexplorer explorer.mynetwork.com | error when connecting to db: { error: role "hppoc" does not exist ``` Do you know why hppoc role was not automatically created on docker image startup ?

nfrunza (Thu, 21 Mar 2019 12:33:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aaLv48usEkDQQ7hiS) @alek Can you provide the app.log, located under logs/app.log

nfrunza (Thu, 21 Mar 2019 12:33:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aaLv48usEkDQQ7hiS) @alek Can you provide the app.log, located under logs/app.log? which branch, tag of explorer do you use, and the fabric version

nfrunza (Thu, 21 Mar 2019 13:02:47 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iEqFMTgqC6XZamh9x) @Vampire which branch, tag of the explorer do you use, and the fabric version?, or do you use a sample from fabric-samples?

alek (Thu, 21 Mar 2019 13:34:18 GMT):
Hi @nfrunza thanks for your answer, Fabric 1.4, exploerer tag v0.3.9. I modified `docker-compose.yaml` file according to network name, created proper directory in `examples` directory and add proper `config.json` file and `crypto` directory. My assumption is that `logs/app.log` is placed in ` hyperledger/explorer` docker image ? If so i can't access them because docker is closing after encountering above issue so cannot log in into that and see content. Let me paste log form docker-compose instead: ```postgres://hppoc:password@explorerdb.mynetwork.com:5432/fabricexplorer error when connecting to db: { error: role "hppoc" does not exist at Connection.parseE (/opt/explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) name: 'error', length: 97, severity: 'FATAL', code: '28000', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'miscinit.c', line: '504', routine: 'InitializeSessionUserId' } /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** (node:7) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Connection terminated unexpectedly at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:200:9) at Object.onceWrapper (events.js:313:30) at emitNone (events.js:106:13) at Connection.emit (events.js:208:7) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:129:10) at emitNone (events.js:111:20) at Socket.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'port' of undefined at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/pgservice.js:48:32) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) Received kill signal, shutting down gracefully Closed out connections ```

nfrunza (Thu, 21 Mar 2019 13:55:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bee2DcsJXWBkgfa9Z) @alek @nekia Atsushi, would you be able to help Alex?

alek (Fri, 22 Mar 2019 04:57:19 GMT):
@nekia do you have any idea what caused that issue ?

EvansChang (Fri, 22 Mar 2019 06:29:02 GMT):
Has joined the channel.

EvansChang (Fri, 22 Mar 2019 06:29:26 GMT):
2019-03-22T06:25:32.189Z - error: [Channel.js]: TypeError: Cannot read property 'toArray' of null <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Failed to discover ::TypeError: Cannot read property 'toArray' of null at Channel._initialize (/Users/evanschang/Documents/nodeWorkspace/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:347:11) at Received kill signal, shutting down gracefully Closed out connections

Vampire (Fri, 22 Mar 2019 06:37:44 GMT):

byfn_network.png

Vampire (Fri, 22 Mar 2019 06:37:57 GMT):

mynetwork.png

Vampire (Fri, 22 Mar 2019 06:40:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=P2ZaovDko7m9thMx9) @nfrunza Explorer with the master branch and fabric 1.4.0 release. maybe it's because my configuration about org2 is wrong. when i use .byfn file, it seems all good

Vampire (Fri, 22 Mar 2019 06:43:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=P2ZaovDko7m9thMx9) @nfrunza Explorer with the master branch and fabric-peer 1.3.0 release. maybe it's because my configuration about org2 is wrong. when i use .byfn file, it seems all good

nekia (Fri, 22 Mar 2019 06:52:13 GMT):
When postgres container is started the first time, the database for explorer is setup by running createdb.sh through docker-entrypoint-initdb.d

nekia (Fri, 22 Mar 2019 06:53:33 GMT):
Could you try again after doing 'docker-compose down -v' to remove all persistent volumes for explorer/explorerdb containers? @alek

alek (Fri, 22 Mar 2019 07:28:03 GMT):
Hi @nekia thanks for your response. I already done that. I even removed images and they were rebuild from scratch and issue is the same

nekia (Fri, 22 Mar 2019 07:55:00 GMT):
When I comment out [here](https://github.com/hyperledger/blockchain-explorer/blob/v0.3.9.1/docker-compose.yaml#L23), I get the same error. So I suspect that the initialization of database is failed. Could you share the log of explorerdb container when it's started right after removing container volumes ( running docker-compose down -v ) ? And I recommend you to use v0.3.9.1 ( the latest tag ).

nekia (Fri, 22 Mar 2019 07:55:17 GMT):
@alek

alek (Fri, 22 Mar 2019 08:00:16 GMT):
@nekia Logs are below: ```2019-03-22 07:57:55.718 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2019-03-22 07:57:55.718 UTC [1] LOG: listening on IPv6 address "::", port 5432 2019-03-22 07:57:55.720 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2019-03-22 07:57:55.737 UTC [18] LOG: database system was shut down at 2019-03-22 07:46:56 UTC 2019-03-22 07:57:55.739 UTC [1] LOG: database system is ready to accept connections ```

nekia (Fri, 22 Mar 2019 08:11:43 GMT):
You need to see as below ``` /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/createdb.sh Copying ENV variables into temp file... USER="hppoc" DATABASE="fabricexplorer" PASSWD='password' Executing SQL scripts... psql:./explorerpg.sql:6: NOTICE: database "fabricexplorer" does not exist, skipping CREATE ROLE DROP DATABASE CREATE DATABASE ```

alek (Fri, 22 Mar 2019 08:13:50 GMT):
@nekia i have logged in into explorer db and manually executed `createdb.sh` as `postgres` user. No i am getting different exception (So as you suggested, from some reason `createdb.sh` script was not executed on startup). May i find somewere more detail what was root cause of current issue: ```explorer.mynetwork.com | ************************************************************************************** explorer.mynetwork.com | Error : Failed to connect client peer, please check the configuration and peer status explorer.mynetwork.com | Info : Explorer will continue working with only DB data explorer.mynetwork.com | ************************************************************************************** explorer.mynetwork.com | explorer.mynetwork.com | (node:11) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead explorer.mynetwork.com | <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | Error : [ 'Default client peer is down and no channel details available database' ] explorer.mynetwork.com | Received kill signal, shutting down gracefully```

alek (Fri, 22 Mar 2019 08:13:50 GMT):
@nekia i have logged in into explorer db and manually executed `createdb.sh` as `postgres` user. No i am getting different exception (So as you suggested, from some reason `createdb.sh` script was not executed on startup). May i find somewere more detail what was root cause of current issue: ```explorer.mynetwork.com | ************************************************************************************** explorer.mynetwork.com | Error : Failed to connect client peer, please check the configuration and peer status explorer.mynetwork.com | Info : Explorer will continue working with only DB data explorer.mynetwork.com | ************************************************************************************** explorer.mynetwork.com | explorer.mynetwork.com | (node:11) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead explorer.mynetwork.com | <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | Error : [ 'Default client peer is down and no channel details available database' ] explorer.mynetwork.com | Received kill signal, shutting down gracefully```

alek (Fri, 22 Mar 2019 08:13:50 GMT):
@nekia i have logged in into explorer db and manually executed `createdb.sh` as `postgres` user. No i am getting different exception (So as you suggested, from some reason `createdb.sh` script was not executed on startup). May i find somewere more detail what was root cause of current issue: ```explorer.mynetwork.com | ************************************************************************************** explorer.mynetwork.com | Error : Failed to connect client peer, please check the configuration and peer status explorer.mynetwork.com | Info : Explorer will continue working with only DB data explorer.mynetwork.com | ************************************************************************************** explorer.mynetwork.com | explorer.mynetwork.com | (node:11) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead explorer.mynetwork.com | <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | Error : [ 'Default client peer is down and no channel details available database' ] explorer.mynetwork.com | Received kill signal, shutting down gracefully```

alek (Fri, 22 Mar 2019 08:13:50 GMT):
@nekia i have logged in into explorer db and manually executed `createdb.sh` as `postgres` user. No i am getting different exception (So as you suggested, from some reason `createdb.sh` script was not executed on startup). May i find somewere more detail what was root cause of current issue: ```explorer.mynetwork.com | ************************************************************************************** explorer.mynetwork.com | Error : Failed to connect client peer, please check the configuration and peer status explorer.mynetwork.com | Info : Explorer will continue working with only DB data explorer.mynetwork.com | ************************************************************************************** explorer.mynetwork.com | explorer.mynetwork.com | (node:11) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead explorer.mynetwork.com | <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | Error : [ 'Default client peer is down and no channel details available database' ] explorer.mynetwork.com | Received kill signal, shutting down gracefully``` Network is working so my assumption is that there is somethingwrong in config.json file. May i do something to see which particular configruation is wrong in my config ?

nekia (Fri, 22 Mar 2019 08:24:13 GMT):
You seem to be in explorer, not in explorer db. Is that right ?

alek (Fri, 22 Mar 2019 08:26:15 GMT):
yes, i resolved prevoious error by dividing docker-compose file into two separate parts: explorer and exploerer db, run explorer db, manually executed `createdh.sh` then i start explorer and encounter such issue. So generally first issue is resolved and new one emerged

nekia (Fri, 22 Mar 2019 08:31:30 GMT):
OK

alek (Fri, 22 Mar 2019 08:53:08 GMT):
@nekia is there any way to change logging level to DEBUG of explorer to find out which part of `config.json` caused an issue ?

alek (Fri, 22 Mar 2019 08:53:08 GMT):
@nekia is there any way to change logging level to DEBUG of explorer to find out which part of `config.json` caused an issue ? Setting up docker logging level to DEBUG doesn't make explorer issues more visible

nekia (Fri, 22 Mar 2019 08:58:55 GMT):
It has already been set to DEBUG [here](https://github.com/hyperledger/blockchain-explorer/blob/v0.3.9.1/app/common/helper.js#L82)

nekia (Fri, 22 Mar 2019 08:59:28 GMT):
Can you ping to peer0.org1.example.com from explorer container?

alek (Fri, 22 Mar 2019 09:02:37 GMT):
yes, it is actually part of docker swarm network but both: explorer and explorerdb are part of network and can connect from "network" perspective to orderer, ca and peers

zhuquanbin (Fri, 22 Mar 2019 09:28:38 GMT):
Has joined the channel.

zhuquanbin (Fri, 22 Mar 2019 09:29:08 GMT):
help,

zhuquanbin (Fri, 22 Mar 2019 09:32:14 GMT):
help, what is the reason for this mistake ? ``` postgres://postgres:password@127.0.0.1:5432/postgres /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Peer with name "peer0.org3.example.com" not assigned to this channel at Channel._getTargets (/opt/explorer/node_modules/fabric-client/lib/Channel.js:2827:13) at Channel._getTargetForDiscovery (/opt/explorer/node_modules/fabric-client/lib/Channel.js:2806:22) at Channel._discover (/opt/explorer/node_modules/fabric-client/lib/Channel.js:863:28) at FabricClient.getChannelDiscover (/opt/explorer/app/platform/fabric/FabricClient.js:546:44) at FabricClient.initializeChannelFromDiscover (/opt/explorer/app/platform/fabric/FabricClient.js:308:41) at FabricClient.initializeNewChannel (/opt/explorer/app/platform/fabric/FabricClient.js:284:16) at FabricClient.initialize (/opt/explorer/app/platform/fabric/FabricClient.js:76:20) at at process._tickCallback (internal/process/next_tick.js:188:7) Received kill signal, shutting down gracefully Closed out connections ```

nfrunza (Fri, 22 Mar 2019 13:27:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SmjSNRtifLofNt7zy) @Vampire Use tag v03.8 to use with fabric 1.3, and Please pay attention to the release notes https://github.com/hyperledger/blockchain-explorer/blob/master/release_notes/v0.3.8.md

nfrunza (Fri, 22 Mar 2019 13:29:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aDTi3NwtQrbBY5pF3) @zhuquanbin Let me know which explorer branch, tag do you use and the fabric version, and do you run locally, or using docker ?

SashaPESIC (Sat, 23 Mar 2019 11:27:13 GMT):
Hey guys. Check out a set of tools I have been working on for a while (https://chainrider.io/private). You can create Fabric networks and contracts in a matter of minutes (: You could also take a look at our YT channel (https://www.youtube.com/channel/UC0he04pR8q3AFS_X3mKybhQ) for cool tutorial videos. Let me know if you have any questions. Also i could hook you up with some vauchers to try out some more advanced use cases. Would be happy to receive feedback from the community.

YogiGhogare (Sat, 23 Mar 2019 17:58:28 GMT):
Has joined the channel.

gaurav-bothra (Sat, 23 Mar 2019 18:58:35 GMT):
Has joined the channel.

gaurav-bothra (Sat, 23 Mar 2019 18:58:51 GMT):
Hello guys,

gaurav-bothra (Sat, 23 Mar 2019 18:59:23 GMT):
2019/03/23 18:42:09 [INFO] 172.24.0.1:58650 POST /api/v1/register 401 26 "Untrusted certificate: Failed to verify certificate: x509: certificate signed by unknown authority

gaurav-bothra (Sat, 23 Mar 2019 19:00:00 GMT):
My network is having 5 org and 5 channels

gaurav-bothra (Sat, 23 Mar 2019 19:00:55 GMT):
I am trying to configure hyperledger explorer

Daka (Sun, 24 Mar 2019 21:50:53 GMT):
Has joined the channel.

Daka (Sun, 24 Mar 2019 21:50:57 GMT):
Hello

Daka (Sun, 24 Mar 2019 21:51:13 GMT):
is explorer working with Hyperledger 1.1 and 1.2

nfrunza (Mon, 25 Mar 2019 02:39:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sxq4srCZDb9jEdNeb) @Daka yes, Hyperledger Explorer Version Fabric Version Supported NodeJS Version Supported v0.3.9.1 (Feb 28, 2019) v1.4 8.11.x v0.3.9 (Feb 7, 2019) v1.4 8.11.x v0.3.8 (Dec 13, 2018) v1.3 8.x.x v0.3.7 (Sep 21, 2018) v1.2 8.x.x v0.3.6.1 (Sep 21, 2018) v1.2 8.x.x v0.3.6 (Sep 6, 2018) v1.2 8.x.x v0.3.5.1 (Sep 21, 2018) v1.1 8.x.x v0.3.5 (Aug 24, 2018) v1.1 8.x.x v0.3.4 (Jul 13, 2018) v1.1 8.x.x

kheteshrotangen (Mon, 25 Mar 2019 06:18:51 GMT):
Has joined the channel.

kheteshrotangen (Mon, 25 Mar 2019 06:19:39 GMT):
hii guys.... i have deployed my explorer setup on google server but i won't be able to render explorer on browser?

kheteshrotangen (Mon, 25 Mar 2019 06:19:51 GMT):
it shows cannot GET

kheteshrotangen (Mon, 25 Mar 2019 06:20:01 GMT):
Cannot GET /

kheteshrotangen (Mon, 25 Mar 2019 06:20:33 GMT):
please help me with this

Vampire (Mon, 25 Mar 2019 08:41:06 GMT):
Does someone know, how many chaincodes supposed to be detected by explorer while using BYFN?

Vampire (Mon, 25 Mar 2019 08:44:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=469Fygfmuk4irBRmg) i saw an "lscc" chaincode in transaction area from transaction details, maybe this chaincode should be shown in chaincode area?

Vampire (Mon, 25 Mar 2019 08:45:12 GMT):
i saw an "lscc" chaincode in transaction area from transaction details, maybe this chaincode should be shown in chaincode area?

FlorianStoica (Mon, 25 Mar 2019 09:57:13 GMT):
@Vampire tht's a system chaincode IMO it hould not be visible in explorer chaincode area

FlorianStoica (Mon, 25 Mar 2019 09:57:13 GMT):
@Vampire tht's a system chaincode IMO it should not be visible in explorer chaincode area

FlorianStoica (Mon, 25 Mar 2019 09:57:13 GMT):
@Vampire that's a system chaincode IMO it should not be visible in explorer chaincode area

SashaPESIC (Mon, 25 Mar 2019 10:14:48 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hPMKMN5tFJEwqi3Pq) @kheteshrotangen Do you have any errors in the application logs?

zhuquanbin (Mon, 25 Mar 2019 10:28:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Y7TDDKD33HWq53CzP) @nfrunza Fabric 1.4.0 , Explorer 0.3.8 This error occurred when I added a new consortium to the fabric network by modifying the system genesis, created a new channel, and configured explorer's config.json to add a client connection to the newly created channel.

kheteshrotangen (Mon, 25 Mar 2019 11:52:06 GMT):
@SashaPESIC how can i check application logs?

SashaPESIC (Mon, 25 Mar 2019 12:48:28 GMT):
@kheteshrotangen after you launch the explorer a logs folder is created inside the explorer folder. Inside the logs folder there is the app log and the db log. Look at both if there are errors..

Daka (Mon, 25 Mar 2019 14:40:46 GMT):
@nfrunza Thank you

sacchit (Mon, 25 Mar 2019 15:10:44 GMT):
Has joined the channel.

alek (Mon, 25 Mar 2019 15:31:02 GMT):
Hi @nfrunza is Explorer supposed to support CA with LDAP? I am asking because while starting explorer, i am getting `User XXX was not enrolled, so we will need an admin user object to register` error. The think is that this particular user was enrolled but he was not registered via Fabric CA but his data were stored in LDAP instead

nfrunza (Mon, 25 Mar 2019 16:25:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=z8JkndEbGEFonQmsR) @alek we are working on integrating with fabric-ca

nfrunza (Mon, 25 Mar 2019 18:02:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MiDmb9EqqCxmxpELx) @zhuquanbin Please use tag v0.3.9.1 https://github.com/hyperledger/blockchain-explorer/blob/master/release_notes/v0.3.9.md

nfrunza (Mon, 25 Mar 2019 18:04:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SopxNJth7uRWqDpXj) @kheteshrotangen see in /blockchain-explorer/logs/console, blockchain-explorer/logs/app, and blockchain-explorer/logs/db

nfrunza (Mon, 25 Mar 2019 18:06:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=469Fygfmuk4irBRmg) @Vampire all chaincodes that are deployed and instantiated, and discovery service enabled, - Make sure to set the environment variables ```CORE_PEER_GOSSIP_BOOTSTRAP``` and ```CORE_PEER_GOSSIP_EXTERNAL_ENDPOINT``` for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

zhuquanbin (Tue, 26 Mar 2019 03:00:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KqE5nvpypyXfXAwPQ) @nfrunza app.log``` [2019-03-26 02:50:56.455] [DEBUG] FabricClient - Client.createUser missing required organization. [2019-03-26 02:50:56.455] [DEBUG] FabricClient - then privateKeyPEM data [2019-03-26 02:50:56.457] [DEBUG] FabricClient - then signedCertPEM data [2019-03-26 02:50:56.459] [DEBUG] FabricClient - then user [2019-03-26 02:50:56.459] [DEBUG] FabricClient - Successfully created user [client-channeldev1_OrdererMSPAdmin] for client [client-channeldev1][2019-03-26 02:50:56.459] [DEBUG] FabricClient - Create a new orderer grpcs://192.168.2.105:7050[2019-03-26 02:50:56.460] [DEBUG] FabricClient - Successfully created orderer [orderer0.parcelx.io:7050] for client [client-channeldev1][2019-03-26 02:50:56.460] [DEBUG] FabricClient - Create a new orderer grpcs://192.168.2.106:7050[2019-03-26 02:50:56.461] [DEBUG] FabricClient - Successfully created orderer [orderer1.parcelx.io:7050] for client [client-channeldev1][2019-03-26 02:50:56.461] [DEBUG] FabricClient - Create a new orderer grpcs://192.168.2.107:7050[2019-03-26 02:50:56.461] [DEBUG] FabricClient - Successfully created orderer [orderer2.parcelx.io:7050] for client [client-channeldev1] ```

zhuquanbin (Tue, 26 Mar 2019 03:01:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KqE5nvpypyXfXAwPQ) @nfrunza ``` # app.log ```

zhuquanbin (Tue, 26 Mar 2019 03:04:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KqE5nvpypyXfXAwPQ) @nfrunza ``` $ docker logs -f fabric-explorer postgres://postgres:password@127.0.0.1:5432/postgres /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found (node:6) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-03-26T03:03:13.727Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/opt/explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections ```

zhuquanbin (Tue, 26 Mar 2019 03:10:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KqE5nvpypyXfXAwPQ) @nfrunza ``` When I used `image: hyperledger/explorer:0.3.9.1`, the same configuration resulted in the following error: $ docker logs -f fabric-explorer postgres://postgres:password@127.0.0.1:5432/postgres /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found (node:6) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-03-26T03:03:13.727Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/opt/explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections $ tail -n 15 explorer-log/app/app.log [2019-03-26 03:03:10.713] [DEBUG] FabricClient - then user [2019-03-26 03:03:10.713] [DEBUG] FabricClient - Successfully created user [client-channeldev1_OrdererMSPAdmin] for client [client-channeldev1] [2019-03-26 03:03:10.713] [DEBUG] FabricClient - Client.createUser missing required organization. [2019-03-26 03:03:10.713] [DEBUG] FabricClient - Create a new orderer grpcs://192.168.2.105:7050 [2019-03-26 03:03:10.714] [DEBUG] FabricClient - Successfully created orderer [orderer0.example.io:7050] for client [client-channeldev1] [2019-03-26 03:03:10.714] [DEBUG] FabricClient - Create a new orderer grpcs://192.168.2.106:7050 [2019-03-26 03:03:10.714] [DEBUG] FabricClient - Successfully created orderer [orderer1.example.io:7050] for client [client-channeldev1] [2019-03-26 03:03:10.714] [DEBUG] FabricClient - Create a new orderer grpcs://192.168.2.107:7050 [2019-03-26 03:03:10.715] [DEBUG] FabricClient - Successfully created orderer [orderer2.example.io:7050] for client [client-channeldev1] [2019-03-26 03:03:10.715] [DEBUG] FabricClient - Found existing peer grpcs://192.168.2.108:7051 [2019-03-26 03:03:10.715] [DEBUG] FabricClient - Successfully created Admin peer [grpcs://192.168.2.108:7051] for client [client-channeldev1] [2019-03-26 03:03:10.716] [DEBUG] FabricClient - Successfully created peer [peer0.orgEast.example.io:7051] for client [client-channeldev1] [2019-03-26 03:03:10.716] [DEBUG] FabricClient - Found existing peer grpcs://192.168.2.109:7051 [2019-03-26 03:03:10.716] [DEBUG] FabricClient - Successfully created Admin peer [grpcs://192.168.2.109:7051] for client [client-channeldev1] [2019-03-26 03:03:10.716] [DEBUG] FabricClient - Successfully created peer [peer1.orgEast.example.io:7051] for client [client-channeldev1] ```

nekia (Tue, 26 Mar 2019 13:31:49 GMT):
``` 2019-03-26T03:03:13.727Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 ``` the hostname of orderer is still mapped to localhost even in docker environment unexpectedly. I think you need to put [this configuration](https://github.com/hyperledger/blockchain-explorer/blob/v0.3.9.1/docker-compose.yaml#L37) in your docker-compose.yaml? @zhuquanbin

nekia (Tue, 26 Mar 2019 13:31:49 GMT):
``` 2019-03-26T03:03:13.727Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 ``` the hostname of orderer is still mapped to localhost even in docker environment unexpectedly. I think you need to put [this configuration](https://github.com/hyperledger/blockchain-explorer/blob/v0.3.9.1/docker-compose.yaml#L37) in your docker-compose.yaml. @zhuquanbin

nfrunza (Tue, 26 Mar 2019 13:49:02 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KqE5nvpypyXfXAwPQ) would you be able to share your config.json?

AkshayAshok (Wed, 27 Mar 2019 05:55:31 GMT):
Has joined the channel.

AkshayAshok (Wed, 27 Mar 2019 05:57:11 GMT):
my explorer takes too much time to load once a transaction is made ? how do i decrease the load time?

kheteshrotangen (Wed, 27 Mar 2019 06:44:53 GMT):
Unable to start the hyperledger explorer . Throws 404

kheteshrotangen (Wed, 27 Mar 2019 06:45:01 GMT):
in browser

kheteshrotangen (Wed, 27 Mar 2019 06:59:10 GMT):
this is a bug in explorer

AkshayAshok (Wed, 27 Mar 2019 08:44:20 GMT):
mine starts

AkshayAshok (Wed, 27 Mar 2019 08:44:27 GMT):
which version are you using?

AkshayAshok (Wed, 27 Mar 2019 08:45:13 GMT):

Clipboard - March 27, 2019 2:14 PM

kheteshrotangen (Wed, 27 Mar 2019 09:06:36 GMT):
v0.3.4

kheteshrotangen (Wed, 27 Mar 2019 09:07:14 GMT):
Actually this is working for me on localhost

kheteshrotangen (Wed, 27 Mar 2019 09:07:30 GMT):

Screenshot from 2019-03-27 14-36-47.png

kheteshrotangen (Wed, 27 Mar 2019 09:09:32 GMT):

Screenshot from 2019-03-27 14-38-14.png

kheteshrotangen (Wed, 27 Mar 2019 09:11:11 GMT):

Screenshot from 2019-03-27 14-40-00.png

kheteshrotangen (Wed, 27 Mar 2019 09:16:32 GMT):
@AkshayAshok

kheteshrotangen (Wed, 27 Mar 2019 09:25:55 GMT):
can you help me with this?

AkshayAshok (Wed, 27 Mar 2019 09:47:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vmCArtwyYSCZes5Pw) @kheteshrotangen did you try building it before deploying?

AkshayAshok (Wed, 27 Mar 2019 09:52:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GCt3zYBFPZNNRDbje) @kheteshrotangen this error usually comes when you havent built , try running the command npm run build in the client folder

kheteshrotangen (Wed, 27 Mar 2019 10:42:18 GMT):

Screenshot from 2019-03-27 16-11-57.png

kheteshrotangen (Wed, 27 Mar 2019 10:43:14 GMT):
this is google server where my code is ......

kheteshrotangen (Wed, 27 Mar 2019 11:43:38 GMT):
build command is not working here

nfrunza (Wed, 27 Mar 2019 15:01:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8SAwMqKpztkxnNHJS) @kheteshrotangen please provide the node version installed on "google server", actually haven't tried it

nfrunza (Wed, 27 Mar 2019 15:04:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oRxreeuG94fy28n2M) @AkshayAshok this depends on the hlfabric how is broadcasting your transaction

AkshayAshok (Thu, 28 Mar 2019 03:40:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=EEEDpwfMGGEAwbtSw) @kheteshrotangen your node modules are missing , first run command "npm install" in the client folder and then try running the "npm run build"

kheteshrotangen (Thu, 28 Mar 2019 09:39:41 GMT):
Thanks a lot man

kheteshrotangen (Thu, 28 Mar 2019 09:39:46 GMT):
now its working

kheteshrotangen (Thu, 28 Mar 2019 09:41:22 GMT):
One more thing , After every transaction explorer does not update so, to make it updated we have to restart server . So how can i make auto updated

kheteshrotangen (Thu, 28 Mar 2019 09:41:23 GMT):
?

AlbertCL (Thu, 28 Mar 2019 10:22:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uASadfqqJoTuABeas) @kheteshrotangen it's auto updated, at least in v0.3.9.1 is auto updated

nfrunza (Thu, 28 Mar 2019 16:32:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oEFhKYsGvgnoB6QER) @kheteshrotangen please specify, what it doesn't update, provide explorer tag you use a,d fabric version

Tommy109 (Thu, 28 Mar 2019 17:00:14 GMT):
I have setup balance transfer from fabric-samples and now wish to setup explorer. I have the requirements, cloned repo, setup the database. Now I need to change the values in config.json, namely the path to the keys and certs. Can anyone tell me how I go about finding these paths when my balance-transfer app is running inside docker containers?

Tommy109 (Thu, 28 Mar 2019 17:02:44 GMT):
Is the term, crypto-artifacts? for the keys and certs?

Tommy109 (Thu, 28 Mar 2019 17:06:16 GMT):
I am connecting to the containers using Sudo docker exec -it ‘container-id’ bash but not sure where I might find the crypto artifacts

Tommy109 (Thu, 28 Mar 2019 17:08:52 GMT):
crypto-config seems to be the folder im looking for

nfrunza (Thu, 28 Mar 2019 17:18:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7oWosqgvgai4gFZJr) @Tommy109 see <>/fabric-samples/balance-transfer/artifacts/channel/crypto-config

nfrunza (Thu, 28 Mar 2019 17:18:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7oWosqgvgai4gFZJr) @Tommy109 see /fabric-samples/balance-transfer/artifacts/channel/crypto-config

kheteshrotangen (Fri, 29 Mar 2019 05:00:19 GMT):
auto update means every transaction should update in explorer

kheteshrotangen (Fri, 29 Mar 2019 05:11:43 GMT):
@nfrunza every time new transactions coming in explorer does not update it so whenever i stop explorer server and restart the server then it willl show all transaction otherwise it's not.

zhuquanbin (Fri, 29 Mar 2019 06:03:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7Sa2KNJGGNsThxuGq) @nfrunza Hi, my config.json and explorer error https://gist.github.com/zhuquanbin/76f1a1210a9c932d68b40ab8a5acd21c

nfrunza (Fri, 29 Mar 2019 13:07:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=w7QSe9w2ZhW77Hc8F) @kheteshrotangen Yes, it does, i think there is an interval for 1 minute, between sync with local db, please let me knoe explorer tag you use, and fabric version

nfrunza (Fri, 29 Mar 2019 13:12:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pccDrnXxcyMZ5eaHd) @zhuquanbin Did you enable discovery in your fabric, and did the channel join the peer? Make sure to set the environment variables CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNAL_ENDPOINT for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

nfrunza (Fri, 29 Mar 2019 13:12:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pccDrnXxcyMZ5eaHd) @zhuquanbin Did you enable discovery in your fabric (you do not have to list all the channels, only default one with discovery service enabled) and did the channel join the peer? Make sure to set the environment variables CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNAL_ENDPOINT for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

kheteshrotangen (Sat, 30 Mar 2019 05:38:15 GMT):
@nfrunza Hyperledger Explorer Client Version: 0.3.3 Fabric Compatibility: v1.1, v1.0.6 & v1.0

nfrunza (Sun, 31 Mar 2019 19:42:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=edShpm4xeRykXQzyv) @kheteshrotangen see compatibilities, https://github.com/hyperledger/blockchain-explorer/blob/min-config-rel-4.0/README.md#10-release-notes----

nfrunza (Sun, 31 Mar 2019 19:42:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=edShpm4xeRykXQzyv) @kheteshrotangen see compatibilities, https://github.com/hyperledger/blockchain-explorer/blob/min-config-rel-4.0/README.md#10-release-notes----

nekia (Mon, 01 Apr 2019 04:00:35 GMT):
I'm going to add a trigger of e2e test to [Jenkinsfile](https://github.com/hyperledger/blockchain-explorer/blob/master/Jenkinsfile) after adding a little more scenarios.

nekia (Mon, 01 Apr 2019 04:00:35 GMT):
I'm going to add a trigger of e2e test to [Jenkinsfile](https://github.com/hyperledger/blockchain-explorer/blob/master/Jenkinsfile) after adding a little more scenarios. For example, whenever merging a patch into a certain brunch, the e2e test for REST API will be executed through Hyperledger CI pipeline. @nfrunza

javapriyan (Mon, 01 Apr 2019 04:50:15 GMT):
Hi guys, configuring the latest Explorer against my network throwing me this error ```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:26820) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-04-01T04:49:53.441Z - ESC[31merrorESC[39m: [Channel.js]: Channel:tt-chann received discovery error:access denied 2019-04-01T04:49:53.442Z - ESC[31merrorESC[39m: [Channel.js]: Error: Channel:tt-chann Discovery error:access denied <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Failed to discover ::Error: Channel:tt-chann Discovery error:access denied at Channel._initialize (/home/karthikeyan/repo/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:347:11) Received kill signal, shutting down gracefully Closed out connections ```

javapriyan (Mon, 01 Apr 2019 04:51:19 GMT):
and the config json looks like this: ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Brand", "channel": "tt-chann", "credentialStore": { "path": "/tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "/tmp/credentialStore_Org1/crypto" } } } }, "channels": { "tt-chann": { "peers": { "peer0.brand.mycompany.io": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Brand": { "mspid": "Brand", "fullpath": false, "adminPrivateKey": { "path": "/home/karthikeyan/goWrkSpace/src/mycompany-network/crypto-config/peerOrganizations/brand.mycompany.io/users/Admin@brand.mycompany.io/msp/keystore" }, "signedCert": { "path": "/home/karthikeyan/goWrkSpace/src/mycompany-network/crypto-config/peerOrganizations/brand.mycompany.io/users/Admin@brand.mycompany.io/msp/signcerts" } }, "Supplier": { "mspid": "Supplier", "adminPrivateKey": { "path": "/home/karthikeyan/goWrkSpace/src/mycompany-network/crypto-config/peerOrganizations/supplier.mycompany.io/users/Admin@supplier.mycompany.io/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/karthikeyan/goWrkSpace/src/mycompany-network/crypto-config/ordererOrganizations/mycompany.io/users/Admin@mycompany.io/msp/keystore" } } }, "peers": { "peer0.brand.mycompany.io": { "tlsCACerts": { "path": "/home/karthikeyan/goWrkSpace/src/mycompany-network/crypto-config/peerOrganizations/brand.mycompany.io/peers/peer1.brand.mycompany.io/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.brand.mycompany.io" } }, "peer1.brand.mycompany.io": { "url": "grpcs://localhost:8051" }, "peer0.supplier.mycompany.io": { "url": "grpcs://localhost:9051" }, "peer1.supplier.mycompany.io": { "url": "grpcs://localhost:10051" } }, "orderers": { "orderer.mycompany.io": { "url": "grpcs://localhost:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/karthikeyan/goWrkSpace/src/mycompany-network/bin", "license": "Apache-2.0" } ```

javapriyan (Mon, 01 Apr 2019 10:23:55 GMT):
What is this for ? ``` "client-1": {```

duy3991 (Mon, 01 Apr 2019 10:32:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KubDSy7im9MfWZhxN) @javapriyan You try change "tlsEnable": true -->false

duy3991 (Mon, 01 Apr 2019 10:32:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KubDSy7im9MfWZhxN) @javapriyan You try to change "tlsEnable": true -->false

nfrunza (Mon, 01 Apr 2019 12:24:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LJAuoakjen8coZqG8) @nekia Let's add more test cases, make sure is working, we can ask Ramesh for a smoke test

nfrunza (Mon, 01 Apr 2019 12:30:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KubDSy7im9MfWZhxN) @javapriyan latest, you mean tag v0.3.9.1 ?

javapriyan (Mon, 01 Apr 2019 16:50:08 GMT):
@nfrunza cloned the master using ```git clone https://github.com/hyperledger/blockchain-explorer.git ``` I guess, yeah its v0.3.9.1

javapriyan (Mon, 01 Apr 2019 16:54:09 GMT):
I had to set the fullPath to true as I was using so. The above error is fixed. Now, I am facing this issue ```2019-04-01T16:50:57.592Z - ESC[31merrorESC[39m: [NetworkConfig101.js]: NetworkConfig101 - problem reading the PEM file :: Error: EISDIR: illegal operation on a directory, read (node:20218) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:493:3) at tryReadSync (fs.js:332:20) at Object.readFileSync (fs.js:369:19) at readFileSync (/home/karthikeyan/repo/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:426:19) at getPEMfromConfig (/home/username/repo/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:414:13) at NetworkConfig_1_0.getOrganization (/home/username/repo/blockchain-explorer/node_modules/fabric-client/lib/impl/NetworkConfig_1_0.js:264:18) at Client._setAdminFromConfig (/home/username/repo/blockchain-explorer/node_modules/fabric-client/lib/Client.js:1306:53) at Client.loadFromConfig (/home/username/repo/blockchain-explorer/node_modules/fabric-client/lib/Client.js:134:9) at FabricClient.LoadClientFromConfig (/home/username/repo/blockchain-explorer/app/platform/fabric/FabricClient.js:315:27) at FabricClient.initialize (/home/username/repo/blockchain-explorer/app/platform/fabric/FabricClient.js:70:16) errno: -21, syscall: 'read', code: 'EISDIR' } (END)```

nfrunza (Mon, 01 Apr 2019 17:16:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hgzaA8KHG5BMjLFBT) @javapriyan please don't run as root, it's a permission issues

javapriyan (Tue, 02 Apr 2019 05:38:08 GMT):
@nfrunza ```chmod -R 777 . ``` I logged in the NetworkConfig_1_0.js for the location, as follows :

javapriyan (Tue, 02 Apr 2019 05:38:19 GMT):
```function readFileSync(config_path) { try { logger.error('config_path - :: ' + config_path); const config_loc = path.resolve(config_path); logger.error('config_loc - :: ' + config_loc); const data = fs.readFileSync(config_loc); return Buffer.from(data).toString(); } catch (err) { logger.error('NetworkConfig101 - problem reading the PEM file :: ' + err); throw err; } }```

javapriyan (Tue, 02 Apr 2019 05:39:07 GMT):
config_path returns : /home/username/goWrkSpace/src/mycompany-network/crypto-config/peerOrganizations/brand.mycompany.io/users/Admin@brand.mycompany.io/msp/keystore

javapriyan (Tue, 02 Apr 2019 05:40:21 GMT):
Isn't it suppose to be, /home/username/goWrkSpace/src/mycompany-network/crypto-config/peerOrganizations/brand.mycompany.io/users/Admin@brand.mycompany.io/msp/keystore/17f3478c326a8e5b84f56faa1f5294d604b09c209254600aef891e9fbcdc67b9_sk

javapriyan (Tue, 02 Apr 2019 06:25:57 GMT):
Also I found this(https://nodejs.org/dist/latest-v6.x/docs/api/fs.html#fs_fs_readfile_file_options_callback) node documentation, which says, the readFileSync expects the filename instead of the directory. So is it something do with my config file then ?

rohitkhatri (Tue, 02 Apr 2019 10:46:57 GMT):
Has joined the channel.

rohitkhatri (Tue, 02 Apr 2019 11:06:58 GMT):
Hey everyone, I have setup hyperledger fabric 1.4.0 network, and trying to install hyperledger explorer using docker images, but It's giving error, here's the error that I'm getting: ```postgres://hppoc:password@192.168.10.11:5432/fabricexplorer error when connecting to db: { error: role "hppoc" does not exist at Connection.parseE (/opt/explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:601:20) name: 'error', length: 97, severity: 'FATAL', code: '28000', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'miscinit.c', line: '504', routine: 'InitializeSessionUserId' } /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found (node:8) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-04-02T11:04:56.794Z - error: [FabricCAClientService.js]: Failed to enroll admin, error:%o message=Calling enrollment endpoint failed with error [Error: write EPROTO 140207764175752:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827: ], stack=Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140207764175752:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827: ] at ClientRequest.request.on (/opt/explorer/node_modules/fabric-ca-client/lib/FabricCAClient.js:487:12) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at TLSSocket.socketErrorListener (_http_client.js:401:9) at emitOne (events.js:116:13) at TLSSocket.emit (events.js:211:7) at onwriteError (_stream_writable.js:417:12) at onwrite (_stream_writable.js:439:5) at _destroy (internal/streams/destroy.js:39:7) at TLSSocket.Socket._destroy (net.js:568:3)```

rohitkhatri (Tue, 02 Apr 2019 11:07:56 GMT):
Is anyone facing similar issue?

kheteshrotangen (Tue, 02 Apr 2019 12:03:59 GMT):

Screenshot from 2019-04-02 17-32-10.png

kheteshrotangen (Tue, 02 Apr 2019 12:04:20 GMT):
it shows error reading file

kheteshrotangen (Tue, 02 Apr 2019 12:04:33 GMT):
Can any one help me on this

nfrunza (Tue, 02 Apr 2019 12:36:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AZtrWjYnudA6wKp6d) @kheteshrotangen The chaincode functionality will be retired in the upcoming release, there is no API to get the source code, please ignore it.

nfrunza (Tue, 02 Apr 2019 12:38:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fYjPn2WfoBC9WbHZs) @javapriyan Please describe your fabric network, is it something custom, or you use a fabric sample?

rohitkhatri (Tue, 02 Apr 2019 12:38:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=h8ZeTagrwD7dnbPnd) @nfrunza Can you help me with this please?

nfrunza (Tue, 02 Apr 2019 12:39:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=h8ZeTagrwD7dnbPnd) @rohitkhatri @nekia , Atsushi can you help @rohitkhatri here?

walmon (Tue, 02 Apr 2019 12:52:40 GMT):
Hi guys - somebody tried to connect Hyperledger Explorer th Hurley and it worked smooth so we documented the steps for anyone curious about how to do it - https://docs.worldsibu.com/article/94-how-to-hyperledger-explorer

kheteshrotangen (Tue, 02 Apr 2019 13:06:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SRn7h5bRDSWWLHkZm) @nfrunza Do you have any idea would it be any alternate way to do it?

nekia (Tue, 02 Apr 2019 13:12:22 GMT):
Are you using [docker-compose.yaml](https://github.com/hyperledger/blockchain-explorer/blob/v0.3.9.1/docker-compose.yaml) in explorer repository? Which version of explorer do you use? The database required for explorer seems not to be created as expect. @rohitkhatri

nfrunza (Tue, 02 Apr 2019 13:12:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=k6cseziyw2RN8SfR6) @kheteshrotangen you can read more about it in https://jira.hyperledger.org/browse/BE-489 , see also, https://jira.hyperledger.org/browse/FABN-965

rohitkhatri (Tue, 02 Apr 2019 13:13:22 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n6McKvYMXpThR22gA) @nekia Hey @nekia, I'm using `deploy_explorer.sh` script and It's using latest version of explorer.

nekia (Tue, 02 Apr 2019 13:24:24 GMT):
https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MSaytmCiacN2GzEW3

nekia (Tue, 02 Apr 2019 13:27:03 GMT):
Please see the above past post. @rohitkhatri We might have better to remove deploy_explorer.sh for avoiding confusion. I'll do it. @nfrunza

rohitkhatri (Tue, 02 Apr 2019 13:45:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=97RZBzWGXdcwdZH22) @nekia Thanks, I will check and get back to you.

nfrunza (Tue, 02 Apr 2019 14:00:05 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mMbCNYokmjCNRxZwt) @nekia thank you Atsushi

Tommy109 (Tue, 02 Apr 2019 14:22:03 GMT):
I have setup balance-transfer from fabric samples. I now want to setup explorer. I have changed the paths in config.json to point to "tlsCACerts", "adminPrivateKey", "signedCert". Next, it says to 'Modify "network-id.clients.client-id.channel" to your default channel for each client' Where do i find this?

nfrunza (Tue, 02 Apr 2019 22:06:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fct4bykDs2XdkXopT) @Tommy109 you may have to turn TLS off in your network

SashaPESIC (Wed, 03 Apr 2019 08:52:56 GMT):
Anyone seen this error:FabricUtils - Server hostname is not defined default peer in configuration?

SashaPESIC (Wed, 03 Apr 2019 08:52:56 GMT):
Anyone seen this error:FabricUtils - Server hostname is not defined default peer in configuration? Specifically the error is: [2019-04-03 08:58:11.722] [ERROR] FabricUtils - Server hostname is not defined default peer [peer0.machine1.org1.com] in configuration

lakshmisajeevan (Wed, 03 Apr 2019 10:21:16 GMT):
Has joined the channel.

lakshmisajeevan (Wed, 03 Apr 2019 10:21:22 GMT):
how to install hyperledger explorer for hyperledger composer?

Tommy109 (Wed, 03 Apr 2019 10:27:28 GMT):
@nfrunza which files do i edit to turn TLS off?

Tommy109 (Wed, 03 Apr 2019 10:28:09 GMT):
is it off by default cause I haven't set anything for tls yet

Tommy109 (Wed, 03 Apr 2019 10:52:09 GMT):
I'm now getting a new error : 'Error: PEM encoded certificate is required.'

Tommy109 (Wed, 03 Apr 2019 11:02:52 GMT):
I've turned off TLS now

Tommy109 (Wed, 03 Apr 2019 11:03:18 GMT):
'Error: Failed to discover ::Error: 2 UNKNOWN: Stream removed at Channel._initialize (/path/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:347:11) at '

Tommy109 (Wed, 03 Apr 2019 11:12:54 GMT):
making some progress. I think! new error is 'Error : [ 'Default client peer is down and no channel details available database' ]'

Tommy109 (Wed, 03 Apr 2019 11:25:57 GMT):
if TLS is off, do I change grpcs to grpc?

lakshmisajeevan (Wed, 03 Apr 2019 11:48:35 GMT):
i have designed my model using hyperledger composer, now i need to view the blocks. So what should i do now?Does hyperledger explorer work? please help

Tommy109 (Wed, 03 Apr 2019 13:29:53 GMT):
explorer should help you view blocks yes. I read previously that it was only compatible with fabric so far. not sure if that has changed @lakshmisajeevan

nfrunza (Wed, 03 Apr 2019 17:12:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fgQocgwopx6hgqegZ) @Tommy109 correct to rgpc

nfrunza (Wed, 03 Apr 2019 17:15:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Fiz5d4qFfPbqkqCLc) @lakshmisajeevan see composer setup, https://github.com/hyperledger/blockchain-explorer/tree/v0.3.9.1#composer-configure-hyperledger-explorer

Tommy109 (Thu, 04 Apr 2019 10:26:13 GMT):
anyone experienced this error before? something to do with grpc?? 'Error: Failed to discover ::Error: 2 UNKNOWN: Stream removed at Channel._initialize (/home/thomas/blockchain-explorer/node_modules/fabric-client/lib/Channel.js:347:11)

nfrunza (Thu, 04 Apr 2019 12:15:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aMFbdM7W8gfFqmjb6) @Tommy109 Please let me know which explorer tag do you use and fabric version, is this composer?

nfrunza (Thu, 04 Apr 2019 12:15:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aMFbdM7W8gfFqmjb6) @Tommy109 Please let me know which explorer tag do you use and fabric version, is this composer?

Tommy109 (Thu, 04 Apr 2019 12:17:21 GMT):
@nfrunza When you say tag, is this a tag for an explorer image on docker? because I'm not using docker. I am using fabric 1.4

nfrunza (Thu, 04 Apr 2019 12:18:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=a9K36Rwjzy9zgAWXc) The error indicates that you have to enable DISCOVER service, https://github.com/hyperledger/blockchain-explorer/blob/master/README.md#fabric-network-setup , Make sure to set the environment variables CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNAL_ENDPOINT for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

nfrunza (Thu, 04 Apr 2019 12:20:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PgJJAf8khfRz6twZa) @Tommy109 explorer has tags also,

nfrunza (Thu, 04 Apr 2019 12:20:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PgJJAf8khfRz6twZa) @Tommy109 explorer has tags also, see in github under tags tab

Tommy109 (Thu, 04 Apr 2019 12:44:15 GMT):
@nfrunza but wouldnt I only need to set those env variables in docker-compose.yaml if I am using the docker method of setting up explorer?

nfrunza (Thu, 04 Apr 2019 12:50:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aJdz2qXusYDyBbZY3) @Tommy109 you need to enable in fabric discover service, https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-overview.html

kjensen (Thu, 04 Apr 2019 13:39:51 GMT):
Has joined the channel.

Tommy109 (Thu, 04 Apr 2019 14:49:39 GMT):
@nfrunza I've started over again. In the walkthrough it mentions 'Modify "network-id.clients.client-id.channel" to your default channel for each client' where do I find this??

Tommy109 (Thu, 04 Apr 2019 15:50:23 GMT):
ok I have updated docker-compose to include both CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNAL_ENDPOINT for each peer. Also updated config.json to include each peer and the 2 CAs. The error showing now is 'Default client peer is down and no channel details available database' My explorer tag is 0.3.9.1 i think as i pulled from github only last week

Tommy109 (Thu, 04 Apr 2019 15:50:58 GMT):
If I paste my config.json here, would someone mind having a quick look to see if im missing anything or have any wrong key values etc? ...

Tommy109 (Thu, 04 Apr 2019 15:52:20 GMT):
https://pastebin.com/3tQpLxV8

Tommy109 (Thu, 04 Apr 2019 15:52:20 GMT):
https://pastebin.com/gxJVqVHv

nfrunza (Thu, 04 Apr 2019 20:26:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZArih8gZzQngeMCKW) @Tommy109 before looking into your config, i need to knowhow do you start the balance transfer sample, are you using the sample or you created using the BT sample?

garunkumar450 (Mon, 08 Apr 2019 05:51:42 GMT):
HI, While Starting Explorer postgres://hppoc:tanla@123@127.0.0.1:5432/fabricexplorer (node:30653) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-04-07T12:56:24.360Z - ^[[31merror^[[39m: [Channel.js]: Channel:chpreferences received discovery error:access denied 2019-04-07T12:56:24.360Z - ^[[31merror^[[39m: [Channel.js]: Error: Channel:chpreferences Discovery error:access denied <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Failed to discover ::Error: Channel:chpreferences Discovery error:access denied at Channel._initialize (/home/ubuntu/HyperledgerExplorer/blockchain-explorer-old/node_modules/fabric-client/lib/Channel.js:347:11) at Received kill signal, shutting down gracefully Closed out connections ~

MatasV (Mon, 08 Apr 2019 08:02:34 GMT):
Has joined the channel.

PrakritiSharma (Mon, 08 Apr 2019 09:39:39 GMT):
Has joined the channel.

PrakritiSharma (Mon, 08 Apr 2019 10:37:43 GMT):
Can we visualise blocks and transactions composer sample network let's say pii sample network on explorer?

PrakritiSharma (Mon, 08 Apr 2019 10:37:43 GMT):
Can we visualise blocks and transactions of composer sample network let's say pii sample network on hyperledger explorer?

PrakritiSharma (Mon, 08 Apr 2019 10:37:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qkqe6Jm7Jig6asRTt) @nfrunza This means if I use fabric 1.2 and composer version 0.20.x I will be able to see results of composer sample network on explorer

nfrunza (Mon, 08 Apr 2019 13:10:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MrmFrfRvTncSrqbq8) @garunkumar450 Are you using fabric-sample as fabric network, I have noticed this when switching from one network to another, a solution would be to kill the docker and restart , docker stop $(docker ps -a -q) && docker rm -f $(docker ps -a -q) rm -rf ./crypto-config/* && rm -rf ~/.hfc*

nfrunza (Mon, 08 Apr 2019 13:13:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=frgJwvQaDHki5f8Qg) @PrakritiSharma i think composer is supported up to including fabric version 1.2, choose accordingly explorer version.

garunkumar450 (Mon, 08 Apr 2019 13:53:13 GMT):
Sync process is started for the network : [network-1] and client : [client-1] (node:27328) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Failed to connect client peer, please check the configuration and peer status' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ~

nfrunza (Mon, 08 Apr 2019 14:39:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iEqha6vccvfuG6kQy) @garunkumar450 Please provide info about your explorer branch, or tag you're using, and fabric version, if this is a fabric sample please let us know which one

garunkumar450 (Tue, 09 Apr 2019 09:36:04 GMT):
i am setting Explorer for Multinode 1->Node orderer and ca 2>Node Peer0 and couchdb 3->Node peer1 How to configure explorer

garunkumar450 (Tue, 09 Apr 2019 12:42:41 GMT):
postgres://hppoc:tanla@123@127.0.0.1:5432/fabricexplorer (node:30575) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-04-09T12:41:47.796Z - ^[[31merror^[[39m: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/ubuntu/HyperledgerExplorer/blockchain-explorer-old/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections ~

garunkumar450 (Tue, 09 Apr 2019 12:42:41 GMT):
postgres://hppoc:tanla@123@127.0.0.1:5432/fabricexplorer (node:30575) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-04-09T12:41:47.796Z - ^[[31merror^[[39m: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/ubuntu/HyperledgerExplorer/blockchain-explorer-old/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections ~

Dhiraj1990 (Tue, 09 Apr 2019 12:53:00 GMT):
Has joined the channel.

Dhiraj1990 (Tue, 09 Apr 2019 12:53:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Z4ABKmyRbksbuZRCY) @garunkumar450 i am getting the same error. My orderer is running on 22050 port as extrnal port

Dhiraj1990 (Tue, 09 Apr 2019 12:54:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nXu7D4AT3jAhT75Do) If both the ports for expolorer is 7050:7050 in orderer then it just works fine

Dhiraj1990 (Tue, 09 Apr 2019 12:54:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nXu7D4AT3jAhT75Do) If both the ports for orderer in docker-compose is 7050:7050 in orderer then it just works fine

Dhiraj1990 (Tue, 09 Apr 2019 12:57:38 GMT):
I am facing a strange issue In docker-compose i have set port for ordrerer as 22050:7050 and in config.json for exploer i have written below configuration "orderers": { "orderer0.integraledger.com": { "url": "grpc://localhost:22050" } } But i am getting error as Failed to connect before the deadline URL:grpc://localhost:7050**

Dhiraj1990 (Tue, 09 Apr 2019 12:57:38 GMT):
I am facing a strange issue In docker-compose i have set port for ordrerer as 22050:7050 and in config.json for exploer i have written below configuration "orderers": { "orderer0.integraledger.com": { "url": "grpc://localhost:22050" } } But i am getting error as Failed to connect before the deadline URL:grpc://localhost:7050**

Dhiraj1990 (Tue, 09 Apr 2019 12:57:38 GMT):
I am facing a strange issue In docker-compose i have set port for ordrerer as 22050:7050 and in config.json for exploer i have written below configuration "orderers": { "orderer0.integraledger.com": { "url": "grpc://localhost:22050" } } But i am getting error as Failed to connect before the deadline URL:grpc://localhost:7050** If i change port for orderer in docker-compose as 7050:7050 then it works fine for me.Any guesses guys ?

Dhiraj1990 (Tue, 09 Apr 2019 12:57:38 GMT):
I am facing a strange issue In docker-compose i have set port for ordrerer as 22050:7050 and in config.json for exploer i have written below configuration "orderers": { "orderer0.example.com": { "url": "grpc://localhost:22050" } } But i am getting error as Failed to connect before the deadline URL:grpc://localhost:7050** If i change port for orderer in docker-compose as 7050:7050 then it works fine for me.Any guesses guys ?

nfrunza (Tue, 09 Apr 2019 13:00:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Z4ABKmyRbksbuZRCY) @garunkumar450 Please provide explorer branch/tag used, frabric version, and do you use fabric-ca server in your fabric network?

nfrunza (Tue, 09 Apr 2019 13:00:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Z4ABKmyRbksbuZRCY) @garunkumar450 Please provide explorer branch/tag used, fabric version, and do you use fabric-ca server in your fabric network?

Dhiraj1990 (Tue, 09 Apr 2019 13:02:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=A4SJ92FzXphWbSwWh) @nfrunza I am using fabric 1.4 branch - master for explorer and yes i have implemented fabric-ca but i have not added ca configuration in the config.json

nfrunza (Tue, 09 Apr 2019 13:03:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JcuqTwZ9kd3xBsdQf) @Dhiraj1990 master branch doesn';t support fabric-ca, change to TLS off , and change all grpcs to grpc

Dhiraj1990 (Tue, 09 Apr 2019 13:04:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zo6u7N9stdBWRxAbJ) @nfrunza sir my tls is off already

nfrunza (Tue, 09 Apr 2019 13:06:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rtDJZCkLbGhFgXR44) @Dhiraj1990 in fabric configuration ? change all grpcs to grpc

Dhiraj1990 (Tue, 09 Apr 2019 13:06:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RLK7Dhpqn48ECrEzw) @nfrunza Already done as i told if port is 7050:7050 then it works ifne

Dhiraj1990 (Tue, 09 Apr 2019 13:06:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RLK7Dhpqn48ECrEzw) @nfrunza Already done as i told if port is 7050:7050 then it works fine

Dhiraj1990 (Tue, 09 Apr 2019 13:07:46 GMT):
@nfrunza But in my case my docker-compose for orderer has port defined as 22050:7050 so explorer try to connect with 7050 instead of 22050

nfrunza (Tue, 09 Apr 2019 13:08:35 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=M7YDKsyP2BhNc2A7N) @Dhiraj1990 would you explain 22050:7050 mapping?

Dhiraj1990 (Tue, 09 Apr 2019 13:08:40 GMT):
Yes

Dhiraj1990 (Tue, 09 Apr 2019 13:09:23 GMT):
orderer0.example.com: container_name: orderer0.example.com image: hyperledger/fabric-orderer:$IMAGE_TAG environment: - FABRIC_LOGGING_SPEC=INFO - ORDERER_GENERAL_LISTENADDRESS=0.0.0.0 - ORDERER_GENERAL_GENESISMETHOD=file - ORDERER_GENERAL_GENESISFILE=/var/hyperledger/orderer/orderer.genesis.block - ORDERER_GENERAL_LOCALMSPID=OrdererMSP - ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/orderer/msp # enabled TLS - ORDERER_GENERAL_TLS_ENABLED=false - ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/orderer/tls/server.key - ORDERER_GENERAL_TLS_CERTIFICATE=/var/hyperledger/orderer/tls/server.crt - ORDERER_GENERAL_TLS_ROOTCAS=[/var/hyperledger/orderer/tls/ca.crt] working_dir: /opt/gopath/src/github.com/hyperledger/fabric command: orderer volumes: - ../channel-artifacts/genesis.block:/var/hyperledger/orderer/orderer.genesis.block - ../crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/msp:/var/hyperledger/orderer/msp - ../crypto-config/ordererOrganizations/example.com/orderers/orderer0.example.com/tls/:/var/hyperledger/orderer/tls - orderer0.example.com:/var/hyperledger/production/orderer ports: - 22050:7050

Dhiraj1990 (Tue, 09 Apr 2019 13:09:42 GMT):
@nfrunza check my service for orderer here port are 22050:7050

nfrunza (Tue, 09 Apr 2019 13:16:25 GMT):
please provide explorer config.json

MatasV (Tue, 09 Apr 2019 13:39:12 GMT):
Hello, I faced some unusual problem. It seems like everything should be working properly, because there are no errors in dockers, but i'm not able to get any data from my localhost. Basicly I'm successfully bringing up Fabric network up, any of those Fabric files are not modified. Nevertheless, I'm using docker-compose to set xplorer up and *docker-compose.yaml* file are a bit modified ``

MatasV (Tue, 09 Apr 2019 13:39:12 GMT):
Hello, I faced some unusual problem. It seems like everything should be working properly, because there are no errors in dockers, but i'm not able to get any data from my localhost. Basicly I'm successfully bringing up Fabric network up, any of those Fabric files are not modified. Nevertheless, I'm using docker-compose to set xplorer up and *docker-compose.yaml* file are a bit modified `version: '2.0' volumes: pgdata: credentialstore: networks: mynetwork.com: external: name: artifacts_default services: explorerdb.mynetwork.com: image: hyperledger/explorer-db:0.3.8 container_name: explorerdb.mynetwork.com hostname: explorerdb.mynetwork.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - ./app/persistence/fabric/postgreSQL/db/createdb.sh:/docker-entrypoint-initdb.d/createdb.sh - pgdata:/var/lib/postgresql/data networks: - mynetwork.com explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - ENROLL_ID=hlbeuser - DISCOVERY_AS_LOCALHOST=false volumes: - ./examples/dockerConfig/config.json:/opt/explorer/app/platform/fabric/config.json - ./examples/dockerConfig/crypto:/tmp/crypto - credentialstore:/opt/tmp command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - 8090:8080 networks: - mynetwork.com `

MatasV (Tue, 09 Apr 2019 13:39:12 GMT):
Hello, I faced some unusual problem. It seems like everything should be working properly, because there are no errors in dockers, but i'm not able to get any data from my localhost. Basicly I'm successfully bringing up Fabric network up, any of those Fabric files are not modified. Nevertheless, I'm using docker-compose to set xplorer up and *docker-compose.yaml* file are a bit modified `version: '2.0' volumes: pgdata: credentialstore: networks: mynetwork.com: external: name: artifacts_default services: explorerdb.mynetwork.com: image: hyperledger/explorer-db:0.3.8 container_name: explorerdb.mynetwork.com hostname: explorerdb.mynetwork.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - ./app/persistence/fabric/postgreSQL/db/createdb.sh:/docker-entrypoint-initdb.d/createdb.sh - pgdata:/var/lib/postgresql/data networks: - mynetwork.com explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - ENROLL_ID=hlbeuser - DISCOVERY_AS_LOCALHOST=false volumes: - ./examples/dockerConfig/config.json:/opt/explorer/app/platform/fabric/config.json - ./examples/dockerConfig/crypto:/tmp/crypto - credentialstore:/opt/tmp command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - 8090:8080 networks: - mynetwork.com ` I have checked db logs and it looks like that all of those peers are successfully connected. My *Config.json* looks like this https://www.codepile.net/pile/bgZnvGg6

MatasV (Tue, 09 Apr 2019 13:39:12 GMT):
Hello, I faced some unusual problem. It seems like everything should be working properly, because there are no errors in dockers, but i'm not able to get any data from my localhost. Basicly I'm successfully bringing up Fabric network up, any of those Fabric files are not modified. Nevertheless, I'm using docker-compose to set xplorer up and *docker-compose.yaml* file are a bit modified `version: '2.0' volumes: pgdata: credentialstore: networks: mynetwork.com: external: name: artifacts_default services: explorerdb.mynetwork.com: image: hyperledger/explorer-db:0.3.8 container_name: explorerdb.mynetwork.com hostname: explorerdb.mynetwork.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - ./app/persistence/fabric/postgreSQL/db/createdb.sh:/docker-entrypoint-initdb.d/createdb.sh - pgdata:/var/lib/postgresql/data networks: - mynetwork.com explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - ENROLL_ID=hlbeuser - DISCOVERY_AS_LOCALHOST=false volumes: - ./examples/dockerConfig/config.json:/opt/explorer/app/platform/fabric/config.json - ./examples/dockerConfig/crypto:/tmp/crypto - credentialstore:/opt/tmp command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - 8090:8080 networks: - mynetwork.com ` I have checked db logs and it looks like that all of those peers are successfully connected. My *Config.json* looks like this https://www.codepile.net/pile/bgZnvGg6

MatasV (Tue, 09 Apr 2019 13:39:12 GMT):
Hello, I faced some unusual problem. It seems like everything should be working properly, because there are no errors in dockers, but i'm not able to get any data from my localhost. Basicly I'm successfully bringing up Fabric network up, any of those Fabric files are not modified. Nevertheless, I'm using docker-compose to set xplorer up and *docker-compose.yaml* file are a bit modified ``` version: '2.0' volumes: pgdata: credentialstore: networks: mynetwork.com: external: name: artifacts_default services: explorerdb.mynetwork.com: image: hyperledger/explorer-db:0.3.8 container_name: explorerdb.mynetwork.com hostname: explorerdb.mynetwork.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - ./app/persistence/fabric/postgreSQL/db/createdb.sh:/docker-entrypoint-initdb.d/createdb.sh - pgdata:/var/lib/postgresql/data networks: - mynetwork.com explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - ENROLL_ID=hlbeuser - DISCOVERY_AS_LOCALHOST=false volumes: - ./examples/dockerConfig/config.json:/opt/explorer/app/platform/fabric/config.json - ./examples/dockerConfig/crypto:/tmp/crypto - credentialstore:/opt/tmp command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - 8090:8080 networks: - mynetwork.com ``` I have checked db logs and it looks like that all of those peers are successfully connected. My *Config.json* looks like this https://www.codepile.net/pile/bgZnvGg6 *Explorer* docker logs: https://www.codepile.net/pile/G2zYRzZk *ExplorerDB* docker logs: https://www.codepile.net/pile/LomYXAoW

MatasV (Tue, 09 Apr 2019 13:39:12 GMT):
Hello, I faced some unusual problem. It seems like everything should be working properly, because there are no errors in dockers, but i'm not able to get any data from my localhost. Basicly I'm successfully bringing up Fabric network up, any of those Fabric files are not modified. Nevertheless, I'm using docker-compose to set explorer up and *docker-compose.yaml* file are a bit modified ``` version: '2.0' volumes: pgdata: credentialstore: networks: mynetwork.com: external: name: artifacts_default services: explorerdb.mynetwork.com: image: hyperledger/explorer-db:0.3.8 container_name: explorerdb.mynetwork.com hostname: explorerdb.mynetwork.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - ./app/persistence/fabric/postgreSQL/db/createdb.sh:/docker-entrypoint-initdb.d/createdb.sh - pgdata:/var/lib/postgresql/data networks: - mynetwork.com explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - ENROLL_ID=hlbeuser - DISCOVERY_AS_LOCALHOST=false volumes: - ./examples/dockerConfig/config.json:/opt/explorer/app/platform/fabric/config.json - ./examples/dockerConfig/crypto:/tmp/crypto - credentialstore:/opt/tmp command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - 8090:8080 networks: - mynetwork.com ``` I have checked db logs and it looks like that all of those peers are successfully connected. My *Config.json* looks like this https://www.codepile.net/pile/bgZnvGg6 *Explorer* docker logs: https://www.codepile.net/pile/G2zYRzZk *ExplorerDB* docker logs: https://www.codepile.net/pile/LomYXAoW

nfrunza (Tue, 09 Apr 2019 13:48:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bniJscsWeZPt2HChA) @MatasV @nekia Atsushi please help MatasV

MatasV (Tue, 09 Apr 2019 14:08:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bniJscsWeZPt2HChA) I have updated my post with some useful information

nfrunza (Tue, 09 Apr 2019 15:00:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PAg4D7EKGvNu6jFEv) @MatasV see sample configuration in https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/README.md#example-of-running-be-with-fabric-network

nekia (Wed, 10 Apr 2019 00:59:47 GMT):
I think the URL of each peer in your config.json should be hostname which is resolved inside the docker and you don't also need to use the published port number to host machine. ``` "peer1.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:8051", <<-- grpcs://peer1.org1.example.com:7051 "eventUrl": "grpc://localhost:8053", <<-- grpcs://peer1.org1.example.com:7053 "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }, ```

nekia (Wed, 10 Apr 2019 01:00:10 GMT):
@MatasV

Benjamin (Wed, 10 Apr 2019 01:12:21 GMT):
Has joined the channel.

karanp0987 (Wed, 10 Apr 2019 04:41:36 GMT):
Has joined the channel.

Dhiraj1990 (Wed, 10 Apr 2019 08:25:50 GMT):
Hello all, seems like in expolorer always try to connect to orderer at this address grpc://localhost:7050

pankajcheema (Wed, 10 Apr 2019 08:36:41 GMT):
Hi

pankajcheema (Wed, 10 Apr 2019 08:37:08 GMT):
trying to setup the hyperledger explorer on digitalocean server

pankajcheema (Wed, 10 Apr 2019 08:37:23 GMT):
the fabric network is deployed on other servers using the k8s

pankajcheema (Wed, 10 Apr 2019 08:38:18 GMT):
when i start the hyperledger explorer it fails with the error : `2019-04-10T08:34:38.322Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpc://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpc://localhost:7050 at checkState (/home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections`

pankajcheema (Wed, 10 Apr 2019 08:38:18 GMT):
fdgdf

pankajcheema (Wed, 10 Apr 2019 08:38:18 GMT):
Whenever the hyperledger explorer is started it return the following error

pankajcheema (Wed, 10 Apr 2019 08:39:33 GMT):
2019-04-10T08:34:38.322Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpc://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpc://localhost:7050 at checkState (/home/ubuntu/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections

pankajcheema (Wed, 10 Apr 2019 08:40:04 GMT):
But i did not specified the grpc://localhost:7050 in any line of config.json

pankajcheema (Wed, 10 Apr 2019 08:40:29 GMT):
I think it tries to find the orderer

pankajcheema (Wed, 10 Apr 2019 08:41:01 GMT):
any suggestion what can be the reason of this error

pankajcheema (Wed, 10 Apr 2019 08:48:40 GMT):
Someone has the same problem as well: https://stackoverflow.com/questions/54883394/connect-hyperledger-fabric-explorer-to-fabric-network-hosted-on-different-instan

Dhiraj1990 (Wed, 10 Apr 2019 09:08:00 GMT):
@lukasA Do you have any idea why explorer always trying to connect at localhost:7050

lukasA (Wed, 10 Apr 2019 09:08:00 GMT):
Has joined the channel.

Dhiraj1990 (Wed, 10 Apr 2019 10:38:29 GMT):
can we add username and password authentication for hyperledger expoler while running ex. if i run localhost:8080 then it should ask for the password and username then move to explorer dashboard because it is showing the senstive information

pankajcheema (Wed, 10 Apr 2019 10:50:43 GMT):
agree with @Dhiraj1990

pankajcheema (Wed, 10 Apr 2019 10:50:51 GMT):
any suggestion on the same

nfrunza (Wed, 10 Apr 2019 12:18:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ERk2mqktXE24oaDXc) @Dhiraj1990 you can try this branch min-config-rel-4.0, it is not released yet

lukasA (Wed, 10 Apr 2019 12:43:17 GMT):
Has left the channel.

Dhiraj1990 (Wed, 10 Apr 2019 13:17:09 GMT):
@nfrunza what is connection profile file ( "profile": "./connection-profile/first-network.json", )is it same as config.json which is used to be

mssathees (Wed, 10 Apr 2019 13:26:20 GMT):
Has joined the channel.

mssathees (Wed, 10 Apr 2019 13:26:32 GMT):
Hi i'm aware that hyperledger is an open source platform. Can i use this open source coding for developing my own requirement independently with the support of my developers. Is there any kind of fees applicable ?

mssathees (Wed, 10 Apr 2019 13:27:28 GMT):
If any fees or procedures, please guide me with the steps to be followed. Thanks.

nfrunza (Wed, 10 Apr 2019 14:51:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JJtan8Ftv7kcCxk4b) @Dhiraj1990 correct similar, but has less configuration

nfrunza (Wed, 10 Apr 2019 14:53:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=72M9jFaQ9w8PTTaKm) @Dhiraj1990 i think that is a bug, we are trying to get a different approach, and minimize the configuration by using the discovery service

sahilgoel (Thu, 11 Apr 2019 04:49:37 GMT):
Has joined the channel.

Dhiraj1990 (Thu, 11 Apr 2019 05:47:06 GMT):
@nfrunza I am getting below error while stating exlorer [2019-04-11 11:15:57.866] [DEBUG] FabricClient - Set client [firstnetwork] default channel as >> mychannel [2019-04-11 11:15:57.894] [ERROR] FabricClient - Error: Failed to discover ::Error: Channel:mychannel Discovery error:access denied i am using first network & first network is working well. I am able to invoke and query chaincode

Dhiraj1990 (Thu, 11 Apr 2019 05:47:06 GMT):
@nfrunza I am getting below error while stating exlorer [2019-04-11 11:15:57.866] [DEBUG] FabricClient - Set client [firstnetwork] default channel as >> mychannel [2019-04-11 11:15:57.894] [ERROR] FabricClient - Error: Failed to discover ::Error: Channel:mychannel Discovery error:access denied i am using first network & first network is working well. I am able to invoke and query chaincode

Dhiraj1990 (Thu, 11 Apr 2019 05:47:06 GMT):
@nfrunza I am getting below error while stating exlorer [2019-04-11 11:15:57.866] [DEBUG] FabricClient - Set client [firstnetwork] default channel as >> mychannel [2019-04-11 11:15:57.894] [ERROR] FabricClient - Error: Failed to discover ::Error: Channel:mychannel Discovery error:access denied i am using first network & first network is working well. I am able to invoke and query chaincode

Dhiraj1990 (Thu, 11 Apr 2019 05:47:06 GMT):
@nfrunza I am getting below error while stating exlorer [2019-04-11 11:15:57.866] [DEBUG] FabricClient - Set client [firstnetwork] default channel as >> mychannel [2019-04-11 11:15:57.894] [ERROR] FabricClient - Error: Failed to discover ::Error: Channel:mychannel Discovery error:access denied details: 'access denied: channel [] creator org [Org1MSP]' } i am using first network & first network is working well. I am able to invoke and query chaincode

Dhiraj1990 (Thu, 11 Apr 2019 05:56:40 GMT):
@nfrunza do i need to have ca running for this network ?

Dhiraj1990 (Thu, 11 Apr 2019 06:31:08 GMT):
@nfrunza I do not get this error if i am using master branch. Is branch named remotes/origin/min-config-rel-4.0 stable ? Because for same network and certificates i am not getting any error ?

Dhiraj1990 (Thu, 11 Apr 2019 06:34:15 GMT):
@aanugu @srinivas640 any sugesstions ?

srinivas640 (Thu, 11 Apr 2019 06:34:15 GMT):
Has joined the channel.

Dhiraj1990 (Thu, 11 Apr 2019 06:53:01 GMT):
@nfrunza I have tried using the branch you suggested yesterday. It shows me a login screen but whatever i enter in username and password it accept and login. How to username and password so that it can be validated at some place ?

Dhiraj1990 (Thu, 11 Apr 2019 06:53:01 GMT):
@nfrunza I have tried using the branch you suggested yesterday. It shows me a login screen but whatever i enter in username and password it accept and login. How to set username and password so that it can be validated at some place ?

Dhiraj1990 (Thu, 11 Apr 2019 06:53:01 GMT):
@nfrunza I have tried using the branch you suggested yesterday. It shows me a login screen but whatever i enter in username and password it accept and login. How to set username and password so that it can be validated at some place ?

Randyshu2018 (Thu, 11 Apr 2019 07:53:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iEqha6vccvfuG6kQy) @garunkumar450 Is this problem fix?I have the same problem, fabric version 1.4.0 explorer branch master

Randyshu2018 (Thu, 11 Apr 2019 07:53:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iEqha6vccvfuG6kQy) @garunkumar450 Is this problem fixed?I have the same problem, fabric version 1.4.0 explorer branch master

Dhiraj1990 (Thu, 11 Apr 2019 08:24:29 GMT):
@garunkumar450 view logs /logs/app/app.log

nfrunza (Thu, 11 Apr 2019 12:36:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HtDGJZS4MRFtnqmsY) @Dhiraj1990 are you using the 'min-config-rel-4.0' branch, try to delete the wallet, and start again, looks like you're switching between fabric networks

nfrunza (Thu, 11 Apr 2019 12:43:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dot9Sazys4BLokPrN) @Randyshu2018 Please describe your fabric network, do you have a fabric-ca server?, if yes, you need to turn TLSEnabled=false in your fabric, and update all you config protocols from grpcs to grpc

nfrunza (Thu, 11 Apr 2019 12:44:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=sEo2zMmWpKcJaDtRi) @Dhiraj1990 it is work in progress, we have 2 resources working only

MujtabaIdrees (Thu, 11 Apr 2019 16:43:15 GMT):
Has joined the channel.

MujtabaIdrees (Thu, 11 Apr 2019 16:51:30 GMT):
Hi so i am trying to connect hyperledger blockexplorer with fabric network that contains 3 organizations and 1 peer for each organization. Now I am configuring the explorer such that I am adding only 1 organization in config.json under "organizations" object. The idea is that in a consortium all the participating organizations would have their separate nodes and they would not share the private keys among themselves. So for each organization there would be a separate instance of explorer, is this right approach?

MujtabaIdrees (Thu, 11 Apr 2019 16:54:24 GMT):
also if i do it this way, everything seems fine in explorer except that only the peers of the organization i have added in the config file are shows as running and all the other peers are shown as down. Is this normal behaviour? Why is it showing those peers down when clearly it is detecting those peers. Also for the second instance the same peer is in running state and others are down.

mssathees (Thu, 11 Apr 2019 16:56:47 GMT):
Are there any players (Companies) available with blockchain based solution in Surety bond industry, specifically in North America

MujtabaIdrees (Thu, 11 Apr 2019 17:03:20 GMT):
So in the end this is how my three version of explorer appear for each organization

MujtabaIdrees (Thu, 11 Apr 2019 17:03:38 GMT):

orgs3.PNG

MujtabaIdrees (Thu, 11 Apr 2019 17:03:38 GMT):

orgs2.PNG

MujtabaIdrees (Thu, 11 Apr 2019 17:03:40 GMT):

orgs.PNG

nfrunza (Thu, 11 Apr 2019 21:12:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5xjqfTH6d5t93Fsxo) @MujtabaIdrees If each node has their own cryptos, i believe you need 3 separates

nfrunza (Thu, 11 Apr 2019 21:12:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5xjqfTH6d5t93Fsxo) @MujtabaIdrees If each node has their own cryptos, i believe you need 3 separate eplorer, as you do not want to enable discovery service across nodes

nfrunza (Thu, 11 Apr 2019 21:12:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5xjqfTH6d5t93Fsxo) @MujtabaIdrees If each node has their own cryptos, i believe you need 3 separate explorer, as you do not want to enable discovery service across nodes

Vampire (Fri, 12 Apr 2019 03:55:24 GMT):
a simple question, how can i use v0.3.9.1 version, my client is v0.3.9, should i add ".1" in package.json or how can i get 3.9.1 version

garunkumar450 (Fri, 12 Apr 2019 06:18:09 GMT):
postgres://hppoc:tanla@123@127.0.0.1:5432/fabricexplorer (node:8348) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-04-12T06:17:07.847Z - ^[[31merror^[[39m: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/ubuntu/HyperledgerExplorer/blockchain-explorer-old/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections ~

garunkumar450 (Fri, 12 Apr 2019 06:18:22 GMT):
while iam running orderer in different host

garunkumar450 (Fri, 12 Apr 2019 06:18:22 GMT):
while iam running orderer in different host and synctype is host in explorerconfig.json

nfrunza (Fri, 12 Apr 2019 12:38:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lr95bHmm6sZp2Nebm) @garunkumar450 please describe version of explorer, or tag used, fabric version, and location on your PC, or remotely ? node version

MujtabaIdrees (Fri, 12 Apr 2019 16:01:44 GMT):
is there any guidance or possible solution for this issue here? https://stackoverflow.com/questions/54230775/issue-in-creating-multiple-peers-in-hyperledger-explorer/55655427#55655427

nfrunza (Fri, 12 Apr 2019 16:28:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zimEkALuXscTw3GxP) @MujtabaIdrees i think you need to enable discovery, explorer will pick up https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-overview.html

garunkumar450 (Sun, 14 Apr 2019 16:59:33 GMT):
@nfrunza ExplorerVersion:0.3.9 FabricVersion:1.4.0 location Remotely node Vesion:8.15.1

garunkumar450 (Sun, 14 Apr 2019 16:59:33 GMT):
@nfrunza ExplorerVersion:0.3.9 FabricVersion:1.4.0 location Remotely node Vesion:8.15.1 and synnctype is host in explorerconfig.json

nfrunza (Sun, 14 Apr 2019 22:08:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pkiFiEqsAZWruT8SK) @garunkumar450 the problem is with permission, you may need to add to your remote fabric your pc ip, and use the remote .pem file under the copied crypto from the remote fabric, first make sure you can ssh to remote fabric from your pc

nfrunza (Sun, 14 Apr 2019 22:08:12 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pkiFiEqsAZWruT8SK) @garunkumar450 the problem is with permission, you may need to add to your remote fabric your pc ip, and use the remote .pem file under the copied crypto from the remote fabric, first make sure you can ssh to remote fabric from your pc, and in your config point to the local crypto you copied from remote fabric

garunkumar450 (Mon, 15 Apr 2019 05:30:58 GMT):
@nfrunza i copied all cryptoconfig file in all nodes is same

nfrunza (Mon, 15 Apr 2019 14:12:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YuiNpwi627Svwdoh6) @garunkumar450 is the remote fabric behind the proxy, or has a fabric-ca server configured?

javapriyan (Tue, 16 Apr 2019 02:39:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Lr95bHmm6sZp2Nebm) @garunkumar450 @garunkumar450 if you are running locally, bring the "tlsEnable"to false and set all the urls to grpc from grpcs

akshaymayekar (Tue, 16 Apr 2019 14:01:01 GMT):
Has joined the channel.

akshaymayekar (Tue, 16 Apr 2019 14:01:45 GMT):
@greg2git did you solved this error,i am facing the same issue

Tommy109 (Tue, 16 Apr 2019 14:06:16 GMT):
when I run ./createdb.sh I get the error: 'psql: FATAL: role "root" does not exist'

Tommy109 (Tue, 16 Apr 2019 14:06:23 GMT):
how do i get around this?

nfrunza (Tue, 16 Apr 2019 14:28:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wnkaZSeNTTDqAkWtK) @Tommy109 Ubuntu cd blockchain-explorer/app/persistence/fabric/postgreSQL/db sudo -u postgres ./createdb.sh MacOS cd blockchain-explorer/app/persistence/fabric/postgreSQL/db ./createdb.sh

Tommy109 (Tue, 16 Apr 2019 15:06:25 GMT):
@nfrunza thanks. works a treat

nfrunza (Tue, 16 Apr 2019 15:37:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=9cddC7XX32jo6G2j5) @Tommy109 did it work

Tommy109 (Tue, 16 Apr 2019 15:52:38 GMT):
yea connected ok @nfrunza

nfrunza (Tue, 16 Apr 2019 16:23:15 GMT):
:thumbsup:

garunkumar450 (Wed, 17 Apr 2019 11:11:08 GMT):
how to connect hyperledger explorer for hyperledger composer

garunkumar450 (Wed, 17 Apr 2019 11:12:33 GMT):
my node:8.15.0 npm:6.4.1 composer:0.20.6 Fabric:1.2.1 docker:18.09.3 docker-compose:1.16.0

garunkumar450 (Wed, 17 Apr 2019 11:13:04 GMT):
which hyperledger explorer version is compatibe for Hyperledger Compose

nfrunza (Wed, 17 Apr 2019 12:25:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ckfYzHqSivnmBMzCM) @garunkumar450 explorer tag v0.3.5 https://github.com/hyperledger/blockchain-explorer/tree/master#Composer-Configure-Hyperledger-Explorer

nfrunza (Wed, 17 Apr 2019 12:25:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ckfYzHqSivnmBMzCM) @garunkumar450 explorer tag v0.3.7 , use sample config, https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config-composer-tagv037.json

Tommy109 (Wed, 17 Apr 2019 13:08:26 GMT):
When I run sudo npm install under blockchain-explorer/app/test I get the following: npm WARN hyperledger-explorer-test@0.3.9 No repository field.

Tommy109 (Wed, 17 Apr 2019 13:08:26 GMT):
When I run sudo npm install under blockchain-explorer/app/test I get the following: npm WARN hyperledger-explorer-test@0.3.9 No repository field. @nfrunza

Tommy109 (Wed, 17 Apr 2019 13:09:38 GMT):
The run test step then fails on the test: Test explorerpg.sql for DDL statements syntax verification

nfrunza (Wed, 17 Apr 2019 13:16:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hEJws7vTYykpcrH99) @Tommy109 please do not run with root user

nfrunza (Wed, 17 Apr 2019 13:16:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PdcCbykBHZotNLKqR) you can skip that test

MatasV (Wed, 17 Apr 2019 13:32:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4erivkbiCDR8whM2c) @nekia I tried to change my config file as you said , but explorer docker crashed miserably once again.. ``` ```

MatasV (Wed, 17 Apr 2019 13:32:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4erivkbiCDR8whM2c) @nekia I tried to change my config file as you said , but explorer docker crashed miserably once again.. So I tried to modify config.json form example/net1 folder: https://www.codepile.net/pile/24EyLl4A ``` /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found (node:7) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-04-17T13:23:56.219Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpc://peer0.org2.example.com:7051 2019-04-17T13:23:56.230Z - error: [Channel.js]: Error: Failed to connect before the deadline URL:grpc://peer0.org2.example.com:7051 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Failed to discover ::Error: Failed to connect before the deadline URL:grpc://peer0.org2.example.com:7051 at Channel._initialize (/opt/explorer/node_modules/fabric-client/lib/Channel.js:347:11) at at process._tickCallback (internal/process/next_tick.js:189:7) ``` Could you help me to debug this error or maybe just guide me how to set up Explorer with first-network (I spent too much hours trying to set up this UI) Thank you so much!

nekia (Thu, 18 Apr 2019 03:14:49 GMT):
Yes, sure. Can you try the steps described in the message below? This message thread is for the user who is in trouble with other issue. @MatasV https://lists.hyperledger.org/g/explorer/message/39 That is how to setup the environment for first-network(fabric 1.3) + explorer(docker container:0.3.9.1) step by step.

RonaldReagan (Thu, 18 Apr 2019 05:59:08 GMT):
Hi, How does the Hyperledger explorer interact with the blockchain. Does it display the information from the blockchain directly or it gets the information, first store it in the database and then use the database information for display?

garunkumar450 (Thu, 18 Apr 2019 06:25:07 GMT):
@nfrunza postgres://hppoc:tanla@123@127.0.0.1:5432/fabricexplorer (node:21626) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default defined channel %s is not found for the client %s peer', 'composerchannel', 'client-1' ] Received kill signal, shutting down gracefully Closed out connections ~ ~ ~ ~ ~

viralshah1494 (Thu, 18 Apr 2019 10:32:29 GMT):
Has joined the channel.

viralshah1494 (Thu, 18 Apr 2019 10:35:23 GMT):
How can I connect my business network developed in hyperledger composer with hyperledger explorer to check the blocks and transaction. Please guide me through the step to follow

nfrunza (Thu, 18 Apr 2019 12:30:20 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JjAedgEbDz8zN2DKB) @RonaldReagan Stores in DB , and then displays it

viralshah1494 (Thu, 18 Apr 2019 13:15:25 GMT):
@nfrunza Can you please guide me how i can setup explorer to interact with my composer network. Any link which can lead me to setup steps would also be appreciated. Thanks in advance

nfrunza (Thu, 18 Apr 2019 13:22:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=caYLcNNWw3WHLPjTD) @viralshah1494 https://github.com/hyperledger/blockchain-explorer#Composer-Configure-Hyperledger-Explorer

nfrunza (Thu, 18 Apr 2019 13:23:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aoRnNRqMdaxxA3xNo) supported fabric versions https://github.com/hyperledger/blockchain-explorer/tree/min-config-rel-4.0

nfrunza (Thu, 18 Apr 2019 13:23:48 GMT):
composer supports up to fabric 1.2

nfrunza (Thu, 18 Apr 2019 13:24:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=s7rR8cXnWFvjxTeQr) @garunkumar450 please describe: fabirc version, exxplorer tag, or branch used, node version, do you use docker or standalone eplorer

garunkumar450 (Thu, 18 Apr 2019 13:26:56 GMT):
node :8.15.0 explorer:0.3.7 fabric:1.2.1 composer:0.20.6

garunkumar450 (Thu, 18 Apr 2019 13:27:24 GMT):
standlone explorer

nfrunza (Thu, 18 Apr 2019 14:26:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hdmK6wmSgBvnKZMJJ) @garunkumar450 try this config.json, update to your fabric network https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config-composer-tagv037.json

MatasV (Thu, 18 Apr 2019 14:54:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=e4YZ2o27ZBNatb9ir) @nekia It's working! Thank you @nekia, you're the real MVP

nfrunza (Thu, 18 Apr 2019 15:59:51 GMT):
:thumbsup: Award goes to Atsushi

nfrunza (Thu, 18 Apr 2019 16:00:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=uAkKAgvGQWfZz9bN5) @MatasV :thumbsup: 👍 Award goes to Atsushi

nekia (Thu, 18 Apr 2019 22:33:33 GMT):
Wow, it's good news! enjoy 👍

garunkumar450 (Fri, 19 Apr 2019 05:32:54 GMT):
@nfrunza i am using config.json https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config-composer-tagv037.json garunkumar450 6:56 PM

garunkumar450 (Fri, 19 Apr 2019 05:32:54 GMT):
@nfrunza i am using config.json https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config-composer-tagv037.json

garunkumar450 (Fri, 19 Apr 2019 05:34:41 GMT):
{ "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": false, "organization": "Org1MSP", "channel": "composerchannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "composerchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/tanla/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/tanla/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/tanla/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/tanla/fabric-dev-servers/fabric-scripts/hlfv12/composer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://127.0.0.1:7051", "eventUrl": "grpc://127.0.0.1:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://127.0.0.1:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/tanla/fabric-dev-servers/fabric-samples/bin", "license": "Apache-2.0" }

RonaldReagan (Fri, 19 Apr 2019 07:51:55 GMT):
hi @nfrunza , I did set up hyperledger explorer . It runs when locally, but fails to run for distributed network. My netwok is deploy on swarm with 10 nodes. I have ten channel so i did , "channel":["channel1", "channel2",...."channel10"] in the config.json. I am getting the following error : [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined. Same error even when i plug in only one channel. Any suggestion for how to solve this.

RonaldReagan (Fri, 19 Apr 2019 07:51:55 GMT):
hi @nfrunza , I did set up hyperledger explorer . It runs when locally, but fails to run for distributed network. My netwok (hf v1.1.0) is deploy on swarm with 10 nodes. I have ten channel so i did , "channel":["channel1", "channel2",...."channel10"] in the config.json. I am getting the following error : [ERROR] Query - TypeError: Cannot read property 'queryChannels' of undefined. Same error even when i plug in only one channel. Any suggestion for how to solve this.

gravity (Sun, 21 Apr 2019 10:25:51 GMT):
Has joined the channel.

nfrunza (Mon, 22 Apr 2019 14:52:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=QSAfzxQEtgBp2bwH3) @RonaldReagan Do you have on every node a fabric network with a defined channel? another issues could be related with the permission, so you may need to open the connection to your explorer installed IP, and copy fabric cryptos, or use full url to cryptos

valentin994 (Tue, 23 Apr 2019 07:59:33 GMT):
Has joined the channel.

valentin994 (Tue, 23 Apr 2019 08:52:11 GMT):
Hello so i'm trying to connect hle with CA, the network i'm using is the balance transfer sample provided by fabric-samples, explorer from master branch

valentin994 (Tue, 23 Apr 2019 08:52:15 GMT):
here is my config

valentin994 (Tue, 23 Apr 2019 08:52:22 GMT):
``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels":{ "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" }, "certificateAuthorities": [ "ca-Org1MSP", "ca-Org2MSP" ] }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcsOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "url": "grpcs://localhost:8051" }, "peer0.org2.example.com": { "url": "grpcs://localhost:9051" }, "peer1.org2.example.com": { "url": "grpcs://localhost:10051" } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } }, "certificateAuthorities": { "ca-Org1MSP": { "url": "http://localhost:7054", "httpOptions": { "verify": false }, "registrar": [ { "enrollId": "admin", "enrollSecret": "adminpw" } ], "caName": "ca-Org1MSP" }, "ca-Org2MSP": { "url": "http://localhost:8054", "httpOptions": { "verify": false }, "registrar": [ { "enrollId": "admin", "enrollSecret": "adminpw" } ], "caName": "ca-Org2MSP" } } }, "network-2": {} }, "configtxgenToolPath": "/root/fabric-samples/bin", "license": "Apache-2.0" } ```

valentin994 (Tue, 23 Apr 2019 08:52:34 GMT):
am i missing something?

nfrunza (Tue, 23 Apr 2019 08:55:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BQFzsNnFxDK8s8hHy) @valentin994 work in progress with sample config, would you be able to try min-config-rel-4.0 branch ?

valentin994 (Tue, 23 Apr 2019 08:56:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xWWBjokzJoh2rBJdP) @nfrunza oh absolutely, thought that there was some example as it's from the samples, thank you :)

valentin994 (Tue, 23 Apr 2019 09:46:56 GMT):
ehm so does config.json just point to balance-transfer.json

valentin994 (Tue, 23 Apr 2019 09:47:02 GMT):
so it only has to contain the path to it?

RonaldReagan (Tue, 23 Apr 2019 11:21:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WeSqrenkSGo4fnipQ) @nfrunza Hi @nfrunza , the 10 node are on the same fabric network (docker-swarm). I resolved the first part by changing the org->org1.. .Now when I tried again I am getting --> E0423 20:01:09.610030419 3603 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed. The network is on a cloud server, so I copied the crypto to local computer where explorer is running. If it is a permissions problem, i dont know how to confirm. I checked all my grpcs and all looks ok.

nfrunza (Tue, 23 Apr 2019 11:53:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=c3E6ZcWq2hZe5wQBn) @valentin994 correct, path to the balance-transfer, please go over the README.md

nfrunza (Tue, 23 Apr 2019 11:53:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=c3E6ZcWq2hZe5wQBn) @valentin994 correct, path to the balance-transfer, please go over the https://github.com/hyperledger/blockchain-explorer/blob/min-config-rel-4.0/README.md

nfrunza (Tue, 23 Apr 2019 12:18:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aexvevTerhiY9TPXb) @RonaldReagan If the explorer is configured to a remote hl fabric, yes is a permission error

valentin994 (Tue, 23 Apr 2019 13:13:01 GMT):
i think i followed everything but I get this error

valentin994 (Tue, 23 Apr 2019 13:13:04 GMT):

Clipboard - April 23, 2019 3:13 PM

nfrunza (Tue, 23 Apr 2019 23:10:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=E6djNL3XdXQcKELNS) @valentin994 i need to see the connection profile and config.json

RonaldReagan (Wed, 24 Apr 2019 03:14:08 GMT):
Anyone knows if this config.jon works with any version hyperledger fabric? https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config.json

nfrunza (Wed, 24 Apr 2019 05:08:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=whoZAHJzhdt7niXiZ) @RonaldReagan Hyperledger Explorer Version Fabric Version Supported NodeJS Version Supported v0.3.9.1 (Feb 28, 2019) v1.4 8.11.x v0.3.9 (Feb 7, 2019) v1.4 8.11.x v0.3.8 (Dec 13, 2018) v1.3 8.x.x v0.3.7 (Sep 21, 2018) v1.2 8.x.x v0.3.6.1 (Sep 21, 2018) v1.2 8.x.x v0.3.6 (Sep 6, 2018) v1.2 8.x.x v0.3.5.1 (Sep 21, 2018) v1.1 8.x.x v0.3.5 (Aug 24, 2018) v1.1 8.x.x v0.3.4 (Jul 13, 2018) v1.1 8.x.x

nfrunza (Wed, 24 Apr 2019 05:10:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SbrRmoMMh6SaBJbWy) if your fabric network uses fabric-ca server, you need to TLSenable=false, and change grpcs to grpc in config json, also if open the connection for the explorer, add the ip address to you distributed proxy

nfrunza (Wed, 24 Apr 2019 05:10:07 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SbrRmoMMh6SaBJbWy) if your fabric network uses fabric-ca server, you need to TLSenable=false, and change grpcs to grpc in config json, also open the connection for the explorer, add the ip address to you distributed proxy

valentin994 (Wed, 24 Apr 2019 07:00:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mLPc57QcnTsPzHnsb) @nfrunza ``` { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org2", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org2/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org2/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {}, "peer1.org1.example.com": {}, "peer0.org2.example.com": {}, "peer1.org2.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/5890f0061619c06fb29dea8cb304edecc020fe63f41a6db109f1e227cc1cb2a8_sk" }, "signedCert": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" }, "certificateAuthorities": ["ca-org1"], "peers": ["peer0.org1.example.com", "peer1.org1.example.com"] }, "Org2": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/1995b11d6573ed3be52fcd7a5fa477bc0f183e1f5f398c8281d0ce7c2c75a076_sk" }, "signedCert": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" }, "certificateAuthorities": ["ca-org2"], "peers": ["peer0.org2.example.com", "peer1.org2.example.com"] }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/db670eed8487a93c35ae448b9f84c2f241a7a8c87df0544fc1dc08baf7832aa0_sk" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "tlsCACerts": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7056", "eventUrl": "grpcs://localhost:7058", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } }, "peer0.org2.example.com": { "tlsCACerts": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "url": "grpcs://localhost:8051", "eventUrl": "grpcs://localhost:8053", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" } }, "peer1.org2.example.com": { "tlsCACerts": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt" }, "url": "grpcs://localhost:8056", "eventUrl": "grpcs://localhost:8058", "grpcOptions": { "ssl-target-name-override": "peer1.org2.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpcs://localhost:7050" } }, ```

valentin994 (Wed, 24 Apr 2019 07:01:02 GMT):
``` "certificateAuthorities": { "ca-org1": { "url": "https://localhost:7054", "httpOptions": { "verify": false }, "tlsCACerts": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem" }, "caName": "ca-org1" }, "ca-org2": { "url": "https://localhost:8054", "httpOptions": { "verify": false }, "tlsCACerts": { "path": "/root/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem" }, "caName": "ca-org2" } } }, "operationsservice": { "targets": { "orderers": [{ "name": "orderer.example.com", "url": "http://localhost:8443" }], "peers": [{ "name": "peer0.org1.example.com", "url": "http://localhost:9443" }, { "name": "peer1.org1.example.com", "url": "http://localhost:9444" }, { "name": "peer0.org2.example.com", "url": "http://localhost:9445" }, { "name": "peer1.org2.example.com", "url": "http://localhost:9446" } ] } }, "network-2": {} }, "configtxgenToolPath": "/root/fabric-samples/bin", "license": "Apache-2.0" } ```

valentin994 (Wed, 24 Apr 2019 07:01:30 GMT):
``` { "network-configs": { "balancetransfer": { "name": "balance-transfer", "profile": "./connection-profile/config-balance-transfer.json" } }, "license": "Apache-2.0" } ```

gravity (Wed, 24 Apr 2019 08:46:35 GMT):
hi all does explorer work without tls? because in explorerconfig.json I can see paths to tlscacerts

bilalahmed (Wed, 24 Apr 2019 09:10:56 GMT):
Has joined the channel.

raymondfx (Wed, 24 Apr 2019 13:42:54 GMT):
Trying to run explorer first time and am getting this . ./start.sh************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ***** Please check the log [logs/console/console-2019-04-24.log] for any error ***** ************************************************************************************

raymondfx (Wed, 24 Apr 2019 13:42:54 GMT):
Trying to run explorer first time and am getting this . ./start.sh ************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ***** Please check the log [logs/console/console-2019-04-24.log] for any error ***** ************************************************************************************

gravity (Wed, 24 Apr 2019 16:00:29 GMT):
hi all I'm trying to run explorer but getting this error: ``` Error : [ 'Invalid platform configuration, Please check the log' ] ``` where these logs are located and how to check them if explorer container is terminated?

nfrunza (Wed, 24 Apr 2019 16:11:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gpNgxZgGDAqsDSjvt) @valentin994 I do not see the peer in your config, can you put im my chat?

nfrunza (Wed, 24 Apr 2019 16:12:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=RsBvWBNwZBo6K3aKP) @raymondfx this is expected message, can you $tail -f logs/app.log ?

nfrunza (Wed, 24 Apr 2019 16:12:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=PSmQNGoPNiBb89jwa) @gravity if you run explorer in docker, you need to connect to the docker and see the logs

gravity (Wed, 24 Apr 2019 16:14:28 GMT):
@nfrunza explorer is running in minikube `kubectl logs -n explorer explorer-pod` gives this message ``` postgres://hppoc:password@hfexplorer-db-postgresql.hfexplorer.svc.cluster.local:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] (node:7) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Received kill signal, shutting down gracefully Closed out connections ```

gravity (Wed, 24 Apr 2019 16:15:05 GMT):
and after this, cannot login to explorer pod, because pod is terminated

nfrunza (Wed, 24 Apr 2019 16:46:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K2dSKeLTbKWNjoDiz) @gravity you running this in kuberneties? we didn't test for kuberneties, ?

nfrunza (Wed, 24 Apr 2019 16:46:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K2dSKeLTbKWNjoDiz) @gravity you running this in kuberneties? we didn't test for kuberneties,

nfrunza (Wed, 24 Apr 2019 16:46:50 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=K2dSKeLTbKWNjoDiz) @gravity you running this in kuberneties? we didn't test for kuberneties, see here, someone did configure, https://github.com/feitnomore/hyperledger-fabric-kubernetes

gravity (Wed, 24 Apr 2019 16:48:24 GMT):
I think it does not matter where it is running. the problem is that I do not know where logs are located in the container with explorer

gravity (Wed, 24 Apr 2019 16:48:24 GMT):
@nfrunza I think it does not matter where it is running. the problem is that I do not know where logs are located in the container with explorer

gravity (Wed, 24 Apr 2019 16:49:32 GMT):
@nfrunza what is an absolute path to the app.log in the explorer container?

gravity (Wed, 24 Apr 2019 16:58:16 GMT):
if the logs were printed to stdout, it would be easier to get tehm. but, if I understood correctly they are written to some file in the container what makes them not accessible if the container was terminated

mohit-kukreja (Wed, 24 Apr 2019 17:51:38 GMT):
Has joined the channel.

raymondfx (Wed, 24 Apr 2019 18:01:08 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4uwmdK2vrZ7yzXtBC) @nfrunza so didn't manage to access the explorer through url

nfrunza (Wed, 24 Apr 2019 18:34:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8QQsmx7rcv7RLTAXj) @gravity logs are located in logs/app/app.log, or logs/console, you may need to login into the docker , FYI From the docker ($docker exec -it sh) Install curl: $apk update && apk add curl Use curl in docker to query explorer REST API Example: $curl http://localhost:8080/api/channels Example response: {"status":200,"channels":["dockerchannel","mychannel"]

MuhammedHafil (Thu, 25 Apr 2019 07:02:38 GMT):
is it possible to integrate explorer for a network installed via docker swarm in multi nodes?

valentin994 (Thu, 25 Apr 2019 08:21:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bPBuTkovmiufooPYw) @nfrunza i thought that the config only was meant for relaying a path to the connection profile path, what do you mean by im? like a dm?

valentin994 (Thu, 25 Apr 2019 08:21:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bPBuTkovmiufooPYw) @nfrunza i thought that the config only was meant for relaying a path to the connection profile path, what do you mean by im? like a dm? SOrry misspelled in my private chat @nfrunza

gravity (Thu, 25 Apr 2019 13:05:16 GMT):
@nfrunza hello why the orgInfo is added to the affiliation by default? ``` let secret = await caClient.register( { enrollmentID: username, affiliation: userOrg.toLowerCase() + Fabric_Client.getConfigSetting('enroll-affiliation', '') }, adminUserObj ); ``` is it possible to override it?

gravity (Thu, 25 Apr 2019 14:18:19 GMT):
@nfrunza one nore question: does explorer support non-TLS mode? I mean, if the network is running with TLS disabled

Tommy109 (Thu, 25 Apr 2019 14:29:19 GMT):
so i am trying to run the createdb script on a machine which has only a root user. when i run sudo -u postgres ./createdb.sh it gives me errors saying cannot find module and permission denied. how can i go about fixing the permissions issue? I also applied 775 to the db folder

Tommy109 (Thu, 25 Apr 2019 14:29:31 GMT):
I also tried without sudo but same outcome

nfrunza (Thu, 25 Apr 2019 14:47:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=4WFkhn9WWxL9reFk7) @gravity If you are connecting to a non TLS fabric peer, please modify "network-id.clients.client-id.tlsEnable" (true->false) in config.json. Depending on this configuration, the application decides whether to go TLS or non TLS route.

nfrunza (Thu, 25 Apr 2019 14:48:39 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XMG2PdtQaNxiTCc32) @Tommy109 is it in a docker? can you check if you have installed Jq [https://stedolan.github.io/jq/]

nfrunza (Thu, 25 Apr 2019 14:49:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FBeMc5pgXC6pW3eHP) @valentin994 We haven't tested such configuration, but if you're willing to try configuring would be appreciated

Tommy109 (Thu, 25 Apr 2019 14:50:56 GMT):
@nfrunza yea jq is installed

nfrunza (Thu, 25 Apr 2019 14:51:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vQKkKyWv8djsWYqeq) @Tommy109 Is it in a docker environment or standalone ?

Tommy109 (Thu, 25 Apr 2019 14:52:27 GMT):
standalone

Tommy109 (Thu, 25 Apr 2019 14:52:27 GMT):
standalone @nfrunza

Tommy109 (Thu, 25 Apr 2019 14:52:45 GMT):

Clipboard - April 25, 2019 3:52 PM

nfrunza (Thu, 25 Apr 2019 14:56:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bs4XtFKHFt3BRJGy2) @Tommy109 do you run as a root user?

Tommy109 (Thu, 25 Apr 2019 14:57:06 GMT):
yes there are no other users on this machine. i know you said previously not to use root but i have no choice on this machine. @nfrunza

nfrunza (Thu, 25 Apr 2019 14:58:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=xGQ4tAGZhxSxD4QF3) @Tommy109 try create a new dir $mkdir -p explorer && cd explorer

Tommy109 (Thu, 25 Apr 2019 14:58:59 GMT):
from within the db folder?

nfrunza (Thu, 25 Apr 2019 14:59:44 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=N2K6nZ96tepqvoMEJ) @Tommy109 no, a new directory that will have all the permissions read write, then git clone into that directory

Tommy109 (Thu, 25 Apr 2019 14:59:52 GMT):
ok

gravity (Thu, 25 Apr 2019 15:02:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oEdDFhu9rxFx8SELh) @nfrunza if I do so, should I ignore this property in config: ``` "tlsCACerts": { "path": "fabric-path/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" } ```

gravity (Thu, 25 Apr 2019 15:02:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=oEdDFhu9rxFx8SELh) @nfrunza if I do so, should I ignore this property in config? ``` "tlsCACerts": { "path": "fabric-path/fabric-samples/balance-transfer/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" } ```

Tommy109 (Thu, 25 Apr 2019 15:06:00 GMT):
@nfrunza same outcome with the new directory. permission denied

Tommy109 (Thu, 25 Apr 2019 15:48:55 GMT):
also went ahead and created a new user but same outcome

nfrunza (Thu, 25 Apr 2019 16:16:27 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hvgksbK78HRpDzvjp) @gravity no, see the README, you have to change the fabric-path to the path of your fabric network

nfrunza (Thu, 25 Apr 2019 16:17:29 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zbvZZj4w8mKENkDfv) @Tommy109 what kind of OS , and environment you have?

gravity (Thu, 25 Apr 2019 16:46:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8gWr6kCysFfmP22GN) @nfrunza but if I do not use TLS, `org1.example.com/peers/peer1.org1.example.com/tls` directory will be empty

gravity (Thu, 25 Apr 2019 16:46:10 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8gWr6kCysFfmP22GN) @nfrunza but if I do not use TLS, `org1.example.com/peers/peer1.org1.example.com/tls` directory will not be created

jamap (Fri, 26 Apr 2019 05:26:33 GMT):
Has joined the channel.

jamap (Fri, 26 Apr 2019 05:29:19 GMT):
Hi guys. I'm trying to ge dockerized version of explorer up and running. When issuing ./deploy_explorer.sh dockerConfig composer_default no error appears and I have these last 5 lines: You are now connected to database "fabricexplorer" as user "postgres". Stopping previously deployed Hyperledger Fabric Explorer instance... Error response from daemon: No such container: blockchain-explorer Deploying Hyperledger Fabric Explorer container at 192.168.10.12 9e0e7b6995b5717b8a39a12e2a84d3d480c1b5d7429c36f566adabc11fd5d2ea Trying to join to existing network composer_default

jamap (Fri, 26 Apr 2019 05:30:00 GMT):
seems everything is ok, but I cannot access on Localhost:8090. (8080 alredy has composer). Any ideas?

RonaldReagan (Fri, 26 Apr 2019 06:08:36 GMT):
Hi, @nfrunza , I succeeded in testing explorer. I am getting a few error though. eg the nodes column is 0, I know I have 10 nodes.

RonaldReagan (Fri, 26 Apr 2019 06:08:36 GMT):
Hi, @nfrunza , I succeeded in testing explorer. I am getting a few error though. eg the nodes column is 0, I know I have 10 nodes. Also the network column doesn't show anything.

RonaldReagan (Fri, 26 Apr 2019 06:08:51 GMT):

explorer-report.png

AlbertCL (Fri, 26 Apr 2019 06:53:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Zg2Sc6Wgj4SG9FXDK) @jamap Which version are you using?

jamap (Fri, 26 Apr 2019 07:28:43 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CewHaKcPaRXerdxMs) @AlbertCL 0.3.8 => Had issues with postgre on newer version.

AlbertCL (Fri, 26 Apr 2019 07:33:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wgGGLvx9LprF9Kk4a) @jamap Try to use v0.3.9.1 and start the containers with docker-compose, it works for me

gravity (Fri, 26 Apr 2019 08:44:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tCFiuf6srLRWGJZqN) @RonaldReagan do you use TLS for your network?

RonaldReagan (Fri, 26 Apr 2019 08:49:01 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6coTmYpnHdLQPpwDM) @gravity yes, I do

gravity (Fri, 26 Apr 2019 08:50:09 GMT):
@RonaldReagan is it possible to run explorer witout TLS?

RonaldReagan (Fri, 26 Apr 2019 08:51:39 GMT):
How, cause my network uses tls?

RonaldReagan (Fri, 26 Apr 2019 08:51:39 GMT):
How? My network uses tls

RonaldReagan (Fri, 26 Apr 2019 08:51:39 GMT):
How? My network uses tls . Running on docker swarm environment

RonaldReagan (Fri, 26 Apr 2019 08:51:39 GMT):
How? My network uses tls . Running on docker swarm environment. Are you asking or suggesting? If asking then yes it is possible.

gravity (Fri, 26 Apr 2019 09:00:17 GMT):
I mean if the network is running with TLS disabled. because I've provided a config for explorer, container starts well, no error in logs, but explorer itself does not start this is the log after executing `node main.js`: ``` postgres://hppoc:password@hfexplorer-db-postgresql.hfexplorer.svc.cluster.local:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found (node:33) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead ```

gravity (Fri, 26 Apr 2019 09:00:17 GMT):
I mean if the network is running with TLS disabled. because I've provided a config for explorer, container starts well, no error in logs, but explorer itself does not start @RonaldReagan this is the log after executing `node main.js`: ``` postgres://hppoc:password@hfexplorer-db-postgresql.hfexplorer.svc.cluster.local:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found (node:33) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead ```

gravity (Fri, 26 Apr 2019 09:00:17 GMT):
@RonaldReagan I mean if the network is running with TLS disabled. because I've provided a config for explorer, container starts well, no error in logs, but explorer itself does not start this is the log after executing `node main.js`: ``` postgres://hppoc:password@hfexplorer-db-postgresql.hfexplorer.svc.cluster.local:5432/fabricexplorer /bin/sh: locate: not found /bin/sh: locate: not found /bin/sh: locate: not found (node:33) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead ```

vanitas92 (Fri, 26 Apr 2019 10:18:20 GMT):
@gravity it happens the same to me, still cannot figure out why the derver does not start. I have also checked the `app.log` file but it seems there is no error. Let me know if you figure something out!

vanitas92 (Fri, 26 Apr 2019 10:18:20 GMT):
@gravity it happens the same to me, still cannot figure out why the server does not start. I have also checked the `app.log` file but it seems there is no error. Let me know if you figure something out!

RonaldReagan (Fri, 26 Apr 2019 10:23:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dMpxzdYuvwaDZR7n3) @gravity I am not sure. But make sure the you are using grpc not grpcs, Also that the order of execution is followed. There is also a TROUBLESHOOT.md included in explorer folder. Also use ./start.sh, it will help you see the logs. I find it very useful.

RonaldReagan (Fri, 26 Apr 2019 10:23:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dMpxzdYuvwaDZR7n3) @gravity I am not sure. But make sure that you are using grpc not grpcs, Also that the order of execution is followed. There is also a TROUBLESHOOT.md included in explorer folder. Also use ./start.sh, it will help you see the logs. I find it very useful.

RonaldReagan (Fri, 26 Apr 2019 10:23:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=dMpxzdYuvwaDZR7n3) @gravity I am not sure. But make sure that you are using grpc not grpcs, Also that the order of execution is followed. There is also a TROUBLESHOOT.md included in explorer folder, I find it very useful. Also use ./start.sh, it will help you see the logs.

jamap (Fri, 26 Apr 2019 10:32:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=BouJ6M9cwE2vm28Xb) @AlbertCL same result. All dockers up and running but localhost:8090 doesn't answers... :-(

gravity (Fri, 26 Apr 2019 10:47:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=TnKjRzaJQfdRcjhJ8) @vanitas92 do you use docker or k8s?

AlbertCL (Fri, 26 Apr 2019 10:47:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bnCjY2NXeqaEdYazs) @jamap Any error log from the container?

AlbertCL (Fri, 26 Apr 2019 10:47:59 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bnCjY2NXeqaEdYazs) @jamap Any error log from the container? Check the app.log too

vanitas92 (Fri, 26 Apr 2019 10:49:18 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=a5qDvhED8EKd7GosY) @gravity i use k8s!

gravity (Fri, 26 Apr 2019 10:50:35 GMT):
@vanitas92 yep, me too looks like it is somehow connected to it. but I cannot understand in what way

vanitas92 (Fri, 26 Apr 2019 10:54:55 GMT):
i dont thinks its related for k8s, it does not start the web server. I managed to get it working in previous version of explorer. i might try to set debug logging to see if i can get more info about it

gravity (Fri, 26 Apr 2019 11:06:56 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MxxGPXgCjSDFTGFMB) @vanitas92 which version worked for you last time?

vanitas92 (Fri, 26 Apr 2019 11:48:21 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=Py7ET7n9GR5hZZE5P) @gravity Until 3.6 it was working. Then because tls support was dropped and all my networks have TLS activated i have not managed to make it work again

gravity (Fri, 26 Apr 2019 12:13:36 GMT):
@vanitas92 just to clarify: when the TLS was enabled, it worked. but when the TLS was disabled, it stopped working, right?

vanitas92 (Fri, 26 Apr 2019 12:26:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=42aDfg5saXbFRQ5xJ) @gravity Sorry i might have not expressed myself clear enough. All my HLF networks always hava TLS enabled. At version 3.7, explorer dropped out support of TLS-enabled HLF networks so i could not use this versions anymore. I have not tried with TLS disabled since i prefer to have my networks secured so i cannot assess on that.

vanitas92 (Fri, 26 Apr 2019 12:26:30 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=42aDfg5saXbFRQ5xJ) @gravity Sorry i might have not expressed myself clear enough. All my HLF networks always hav TLS enabled. At version 3.7, explorer dropped out support of TLS-enabled HLF networks so i could not use newer versions anymore. I have not tried with TLS disabled since i prefer to have my networks secured so i cannot assess on that.

gravity (Fri, 26 Apr 2019 12:28:26 GMT):
@vanitas92 what is more interesting - it does not work in my case when a network is running with TLS disabled

nfrunza (Fri, 26 Apr 2019 12:46:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=DRNontvu5WMq9rPJ9) @vanitas92 we are working towards supporting fabric-ca server, and minimal configuration by using discover y service, we are dry in resources, so it may take some time, but if you wish to contribute it would be appreciated.

nfrunza (Fri, 26 Apr 2019 12:49:34 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bnCjY2NXeqaEdYazs) @jamap if any of you find solutions to errors, please let me know, so i can add to the troubleshooting document, try to follow the same template when submitting one.

nfrunza (Fri, 26 Apr 2019 12:49:49 GMT):
Hello, if any of you find solutions to errors, please let me know, so i can add to the troubleshooting document, try to follow the same template when submitting one.

vanitas92 (Fri, 26 Apr 2019 12:58:40 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nsoKC7W2fQsx3SwTf) @nfrunza Appreciate the work you are doing here guys, i would gladly contribute but my coding skills are not very good.

nfrunza (Fri, 26 Apr 2019 13:02:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hJM4hjfBC2eJoG6vJ) @vanitas92 what is your skillset ?

nfrunza (Fri, 26 Apr 2019 13:04:04 GMT):
Any skillset is a valuable asset to us, even writing a good tutorial, a test case, a troubleshooting, help on testing explorer, it's appreciated

nfrunza (Fri, 26 Apr 2019 13:31:14 GMT):
Can anyone help on "Static code analysis" ?

valentin994 (Fri, 26 Apr 2019 13:44:55 GMT):
hey i have pulled some newer version of 4.0 release on gerrit

valentin994 (Fri, 26 Apr 2019 13:45:15 GMT):
were there changes in the createdb file

valentin994 (Fri, 26 Apr 2019 13:45:24 GMT):
because i get permission errors from psql

valentin994 (Fri, 26 Apr 2019 13:45:31 GMT):
which i don't get if i go to the master branch

gravity (Fri, 26 Apr 2019 14:30:31 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=nsoKC7W2fQsx3SwTf) @nfrunza does this mean that the current version of explorer does not support fabric ca server? e.g. it can work only with the static content generated by cryptogen? and one more question: if I do not use TLS, `org1.example.com/peers/peer1.org1.example.com/tls` directory will not be created, hence what the property "tlsCACerts" should point? thanks in advance

gravity (Fri, 26 Apr 2019 15:13:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fyEiLygsY7NXMpGjx) @nfrunza what exactly?

gravity (Fri, 26 Apr 2019 15:23:20 GMT):
@vanitas92 did you use fabric-ca when setup explorer? or only static resources generated by cryptogen?

nfrunza (Fri, 26 Apr 2019 15:50:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=kwuL7QBMRsLyJs7Mc) @gravity thank you, this is the jira https://jira.hyperledger.org/browse/BE-617

nfrunza (Fri, 26 Apr 2019 17:53:46 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tm9Y8NCZ3sivLaKpP) @valentin994 Run create database script: Ubuntu cd blockchain-explorer/app/persistence/fabric/postgreSQL/db sudo -u postgres ./createdb.sh MacOS cd blockchain-explorer/app/persistence/fabric/postgreSQL/db ./createdb.sh

gravity (Sat, 27 Apr 2019 12:50:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mnze5vJAXSeQYj42H) @nfrunza could you please help me on this question?

gravity (Sat, 27 Apr 2019 12:50:41 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=mnze5vJAXSeQYj42H) @nfrunza could you please help me on this question? there is no information about this in the README

nfrunza (Sat, 27 Apr 2019 17:52:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zjaTxMjLBrxcjKXAS) @gravity If you are connecting to a non TLS fabric peer, please modify "network-id.clients.client-id.tlsEnable" (true->false) in config.json. Depending on this configuration, the application decides whether to go TLS or non TLS route.

nfrunza (Sat, 27 Apr 2019 17:52:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zjaTxMjLBrxcjKXAS) @gravity If you are connecting to a non TLS fabric peer, please modify "network-id.clients.client-id.tlsEnable" (true->false) in config.json. Depending on this configuration, the application decides whether to go TLS or non TLS route., config https://github.com/hyperledger/blockchain-explorer/blob/v0.3.9.1/app/platform/fabric/config.json

gravity (Sun, 28 Apr 2019 21:53:59 GMT):
@nfrunza I modified it. but should I do with `tlsCACerts` property? in the non-tls network there is no tls directory

djraj (Mon, 29 Apr 2019 02:06:18 GMT):
Has joined the channel.

nfrunza (Mon, 29 Apr 2019 03:26:42 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=n3iwuCTePX9vhsseu) @gravity did you update grpcs to grpc ?

valentin994 (Mon, 29 Apr 2019 06:46:14 GMT):
@nfrunza eh i'm running as root, on the other version it worked i'll see if it works today

valentin994 (Mon, 29 Apr 2019 06:46:14 GMT):
@nfrunza eh i'm running as root, on the other version it worked i'll see if i get it to work

nfrunza (Mon, 29 Apr 2019 12:51:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=WnExD54QLSfjFt5s9) @valentin994 don't run as root

valentin994 (Mon, 29 Apr 2019 12:53:01 GMT):
i'm logged in ubuntu as root

valentin994 (Mon, 29 Apr 2019 12:53:07 GMT):
i can't change that

valentin994 (Mon, 29 Apr 2019 12:54:19 GMT):
do I have to create an user instance in ubuntu?

nfrunza (Mon, 29 Apr 2019 12:57:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7crLKri6Z8Dzig8bh) @valentin994 https://unix.stackexchange.com/questions/52268/why-is-it-a-bad-idea-to-run-as-root

nfrunza (Mon, 29 Apr 2019 12:57:16 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=7crLKri6Z8Dzig8bh) @valentin994 https://unix.stackexchange.com/questions/52268/why-is-it-a-bad-idea-to-run-as-root . https://www.digitalocean.com/community/tutorials/how-to-create-a-sudo-user-on-ubuntu-quickstart

gravity (Mon, 29 Apr 2019 13:54:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=bf9uE4Fy3DjPo9sWv) @nfrunza yes, I did. and turned tlsEnabled to false. but explorer do not start and has no errors in logs. db log is clear, db initialized successfully.

nfrunza (Mon, 29 Apr 2019 14:46:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=97zZf4rAsBHuPEbMw) @gravity can you remind me , you run this in a docker? in kuberneties ?

gravity (Mon, 29 Apr 2019 14:52:26 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=tzhCYrTNry5vRqPbp) @nfrunza it's running in the k8s

nfrunza (Mon, 29 Apr 2019 14:58:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=gJnP695S9oZsqpcks) @gravity did you try to look at this https://github.com/feitnomore/hyperledger-fabric-kubernetes

gravity (Mon, 29 Apr 2019 15:11:32 GMT):
@nfrunza yep. I have similar config excepts this `command: ["sh" , "-c" , "/fabric/config/explorer/app/run.sh"]` for the explorer container. as I can see in the dockerfile for the explorer, it runs `node main.js` on startup. also, I have not `tlsCACerts` properties because in the non-tls environment, there is no `tls` directory in the peers MSP, hence there is no directory to point to

nfrunza (Mon, 29 Apr 2019 15:18:28 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wN3scFPRkoEYCNJia) @gravity haven't tested in kubes, i'm afraid cannot help on that

Pai (Tue, 30 Apr 2019 03:05:09 GMT):
Has joined the channel.

Pai (Tue, 30 Apr 2019 03:10:24 GMT):
hi,anyone there, may i ask a question, for i have six node in three separate host, but there are only two show "running "status, the other four are both "down". anyone meet this situation before?

SashaPESIC (Tue, 30 Apr 2019 12:32:38 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KRHvNJjNZEzttJcpE) @Pai Do the peers have defined the GOSSIP EXTERNAL ENDPOINT environmental variable in their docker compose files (or otherwise)? That might lead to the Explorer not seeing them ...

Tommy109 (Wed, 01 May 2019 12:47:23 GMT):
where can I set the port being used by the client app?

nfrunza (Wed, 01 May 2019 13:34:25 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=M6EzdhiBMNtQotzw2) @Tommy109 https://github.com/hyperledger/blockchain-explorer/blob/master/appconfig.json

Tommy109 (Wed, 01 May 2019 13:40:35 GMT):
that file is set to 8080 but when i run the client app it attempts to use 5000

Tommy109 (Wed, 01 May 2019 13:40:48 GMT):

Clipboard - May 1, 2019 2:40 PM

Tommy109 (Wed, 01 May 2019 13:41:02 GMT):
@nfrunza how can i change this port? as i need 5000 for another app

nfrunza (Wed, 01 May 2019 13:57:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=8jkPdt7sSfxb8aTvJ) @Tommy109 you're running in dev mode, from the client, we do not have such instructions, i think you can pass as $ PORT=9999 client -s build

Tommy109 (Wed, 01 May 2019 14:46:04 GMT):
ok, thanks @nfrunza

SashaPESIC (Fri, 03 May 2019 12:16:45 GMT):
Hi guys. I am using explorer from docker image. Recently i have been getting this error when i visit the Network page of the explorer (nothing shows up). Is there something in the code that is making a problem? Anyone encountered this yet? Everything else is working on the explorer... TypeError: Cannot read property 'toString' of undefined at Object.accessor (Peers.js:84) at methods.js:361 at Array.forEach () at e (methods.js:359) at methods.js:383 at Array.map () at t.value (methods.js:382) at t.value (lifecycle.js:62) at ur (react-dom.production.min.js:2853) at Lp (react-dom.production.min.js:3757)

nfrunza (Fri, 03 May 2019 13:11:45 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=JXDWtXw8D9n3ty3gy) @SashaPESIC do you have the full log?

SashaPESIC (Fri, 03 May 2019 13:27:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SXgufRCgE3ydiomym) @nfrunza This is not a log, but a console output from the browser. The application logs does not show any errors (app.log, and db.log files). i am bit confused as to how this is happening...

SashaPESIC (Fri, 03 May 2019 13:27:17 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=SXgufRCgE3ydiomym) @nfrunza This is not a log, but a console output from the browser. The application logs does not show any errors (app.log, and db.log files). i am bit confused as to how this is happening... Check out the explorer here: http://104.42.116.46:8090/

colasga (Fri, 03 May 2019 14:16:44 GMT):
Has joined the channel.

colasga (Fri, 03 May 2019 14:16:47 GMT):
Hi, for some reasons some of the peers in "peer status" are shown as "down" although their container is running, anyone seen this problem before ? My config.json has all 3 orgs as clients at the start of the file

SashaPESIC (Fri, 03 May 2019 14:19:19 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hRz4w9sTrbNwK9Z4G) @colasga Do all of your peers have external gossip endpoints defined? If not, the explorer is not going to be seen.

colasga (Fri, 03 May 2019 14:21:37 GMT):
all my 6 peers (2 per orgs) are defined as follow : peer1.org2.example.com: container_name: peer1.org2.example.com extends: file: peer-base.yaml service: peer-base environment: - CORE_PEER_ID=peer1.org2.example.com - CORE_PEER_ADDRESS=peer1.org2.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org2.example.com:10051 - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org2.example.com:9051 - CORE_PEER_LOCALMSPID=Org2MSP volumes: - /var/run/:/host/var/run/ - ../crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp:/etc/hyperledger/fabric/msp - ../crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls:/etc/hyperledger/fabric/tls - peer1.org2.example.com:/var/hyperledger/production ports: - 10051:7051 - 10053:7053

colasga (Fri, 03 May 2019 14:21:58 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XrEe5ShXRxvxHwsc3) @SashaPESIC is something wrong with the definition of my peers in docker ?

colasga (Fri, 03 May 2019 14:22:19 GMT):
(obviously i change the address of each externalendpoint aswlel as bootstrap)

colasga (Fri, 03 May 2019 14:24:49 GMT):
I'm actually not sure what port I should put as external gossip endpoint

Pai (Sun, 05 May 2019 01:27:19 GMT):
@SashaPESIC , my problem is same as @colasga, and please refer to this link:(https://stackoverflow.com/questions/54230775/issue-in-creating-multiple-peers-in-hyperledger-explorer/55655427#55655427). it seems like someone have same problem before. and for now, i have not found out any solutions.thanks anyway.

Pai (Sun, 05 May 2019 01:29:57 GMT):
@nfrunza hi, may i ask if there is any effective solution for this question?

Pai (Sun, 05 May 2019 01:32:35 GMT):
before, nfrunza suggest to refer this document for the problem(https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-overview.html), but i still have not figured out how?

nekia (Mon, 06 May 2019 02:42:12 GMT):
You should specify the port number available within the docker network for CORE_PEER_GOSSIP_EXTERNALENDPOINT and CORE_PEER_GOSSIP_BOOTSTRAP, it means 7051, not the mapped one (ex. 10051). @colasga

colasga (Mon, 06 May 2019 11:28:12 GMT):
Hey, sometimes several blocks are registered twice in the database, has anyone ever had this problem before ? And if so how did you solve it ?

AlbertCL (Mon, 06 May 2019 11:45:14 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=vi3hiWirGvZeFnSHx) @colasga That goes against the rules of nature, can you paste any output to show this issue?

colasga (Mon, 06 May 2019 12:07:33 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ZXqpF3GqdEPmaaPvw) @AlbertCL I mean registered twice in postgre database obviously, here is a screenshot

colasga (Mon, 06 May 2019 12:08:04 GMT):

Screenshot from 2019-05-06 14-06-47.png

colasga (Mon, 06 May 2019 12:08:32 GMT):
It seems like every sql request id done twice

SashaPESIC (Wed, 08 May 2019 11:20:54 GMT):
I have run into this error when running explorer: "2019-05-08T10:29:40.917Z - error: [Channel.js]: Channel:micropayments received discovery error:access denied ". Any ideas what went wrong? Anyone had a similar issue?

SashaPESIC (Wed, 08 May 2019 11:20:54 GMT):
I have run into this error when running explorer: "2019-05-08T10:29:40.917Z - error: [Channel.js]: Channel:testchannel received discovery error:access denied". Any ideas what went wrong? Anyone had a similar issue?

nekia (Thu, 09 May 2019 01:58:23 GMT):
The following past thread might help you. @SashaPESIC https://chat.hyperledger.org/channel/hyperledger-explorer?msg=iEqha6vccvfuG6kQy

nekia (Thu, 09 May 2019 01:58:23 GMT):
The following past thread might help you. @SashaPESIC https://chat.hyperledger.org/channel/hyperledger-explorer?msg=MrmFrfRvTncSrqbq8

neneg (Fri, 10 May 2019 09:48:44 GMT):
Has joined the channel.

neneg (Fri, 10 May 2019 09:49:38 GMT):
Hi everyone1! is there a way for me to show the actual transaction content (payload) in Explorer?

Tommy109 (Fri, 10 May 2019 10:04:36 GMT):
Hi guys, i have fabric and explorer both running and fabric is writing transactions fine but explorer is not displaying the latest transcations. It has been working previously. Any idea why explorer might stop displaying transactions on the front end?

Tommy109 (Fri, 10 May 2019 10:36:01 GMT):
could it be the postgres service isnt running?

nfrunza (Fri, 10 May 2019 14:52:55 GMT):
did you look at the log files? any errors

Tommy109 (Fri, 10 May 2019 14:53:31 GMT):
my colleague got it working in time for our demo. Panic over lol. Thanks anyway @nfrunza

nfrunza (Fri, 10 May 2019 14:54:23 GMT):
what was the problem?

Tommy109 (Fri, 10 May 2019 14:55:08 GMT):
Still waiting on word back from him to find out. Since it was previously working I am guessing it might be something like postgres service has stopped

nfrunza (Fri, 10 May 2019 14:56:07 GMT):
ok

nfrunza (Fri, 10 May 2019 14:59:20 GMT):
it would be in a json pretty format, we may need to add that functionality, add a jira, how about the security, it contains the crypto

jvkatzman (Fri, 10 May 2019 16:15:57 GMT):
Has joined the channel.

neneg (Sat, 11 May 2019 11:30:54 GMT):
thanks for your reply... I am not sure I quite understood that...how can I add it myself for the timebeing?

neneg (Sat, 11 May 2019 11:31:07 GMT):
*time being

nfrunza (Sat, 11 May 2019 16:55:58 GMT):
create a jira, so we can add that functionality

cryptog (Thu, 16 May 2019 16:45:30 GMT):
Has joined the channel.

cryptog (Thu, 16 May 2019 16:45:31 GMT):
Why does explorer need to use a separate pgsql db rather than the couch or levelDB used by fabric network?

cryptog (Thu, 16 May 2019 16:49:58 GMT):
follow-up: generally speaking, how difficult might it be to modify network to use a single pgsql db instance for both Fabric and Explorer, or is this not possible due to the varying types of data being stored (aka: KVS v. RDS)?

cgaspart (Fri, 17 May 2019 07:46:55 GMT):
Has joined the channel.

lotty02cho (Fri, 17 May 2019 08:53:20 GMT):
I try to run hyperledger explorer(*v.0.3.9*) on my fabric network(*v.1.4*) and this is informations about version. ``` node: v8.15.0 nvm: v8.11.0 postgres: postgresSQL 9.5.17 jq: jq-1.5-1-ab5cbe docker: v18.09 docker-compose version 1.14.0 ``` I followed config-balance-transfer.json to use ca, and try to start `node main.js`. but I see this error below. Does anyone see this issue? if you know about help me please.. ``` postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:74768) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead Please open web browser to access :http://localhost:8080/ pid is 74768 postgres://hppoc:password@127.0.0.1:5432/fabricexplorer Sync process is started for the network : [network-1] and client : [client-1] (node:74788) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: column "channel_genesis_hash" does not exist at Connection.parseE (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.9/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.9/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.9/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:607:20) name: 'error', length: 113, severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: '57', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '3194', routine: 'errorMissingColumn' } <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` ``` ```

lotty02cho (Fri, 17 May 2019 08:53:20 GMT):
and here is my logs/app/app.log ``` ... -----BEGIN CERTIFICATE-----\nMIICLjCCAdSgAwIBAgIRAI3vx/SrJ9AqTWV92UtQ5sEwCgYIKoZIzj0EAwIwdTEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xGjAYBgNVBAoTEW9yZzEuaG9uZXliZWUuY29tMR0wGwYDVQQDExRj\nYS5vcmcxLmhvbmV5YmVlLmNvbTAeFw0xOTA1MTcwNDQ0NTlaFw0yOTA1MTQwNDQ0\nNTlaMG0xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH\nEw1TYW4gRnJhbmNpc2NvMQ8wDQYDVQQLEwZjbGllbnQxIDAeBgNVBAMMF0FkbWlu\nQG9yZzEuaG9uZXliZWUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErdIQ\n3N5Th677ew9L45orjy3aDCoR4ZwyhJBqDQY7HLSfYI/GCxP2orD+s13mJgm7ndDo\n0AXT04jF+4PtNBq8B6NNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAw\nKwYDVR0jBCQwIoAgsQnAMLnK8aOVO+8ZZjgc/joa63P0oDVB0y9T+Cd7/QEwCgYI\nKoZIzj0EAwIDSAAwRQIhANqK1mU8sQft4XgXs1InIfjB7jUNaxoe+Qqyr2AC2oH7\nAiB//P/FYU/qOWYTC+racCmqcA+CiZYuKPre1UXYbn8zBA==\n-----END CERTIFICATE-----\n"},"nonce":{"type":"Buffer","data":[101,66,96,181,6,91,200,168,144,18,142,194,131,47,92,112,212,57,254,122,131,230,45,190]}},"sigature":{"type":"Buffer","data":[48,68,2,32,105,136,12,100,9,173,219,60,37,100,54,241,56,180,146,72,235,140,172,225,52,97,152,150,79,30,164,97,252,127,143,126,2,32,10,169,183,9,4,143,164,6,13,21,199,53,97,51,132,85,254,114,64,184,18,207,95,249,98,92,111,196,177,205,227,166]}}]}},"signature":{"type":"Buffer","data":[48,68,2,32,92,116,227,253,222,148,233,178,44,161,96,197,243,8,218,117,213,248,240,6,9,205,11,252,19,122,79,70,101,244,48,68,2,32,93,67,101,37,202,154,53,225,21,163,196,31,23,196,145,60,47,54,134,154,12,76,152,179,251,238,122,66,16,114,177,128]}}}}}]},"metadata":{"metadata":[{"value":"","signatures":[]},{"value":{"index":"0"},"signatures":[]},[]]}} [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Channel genesis hash for channel [honeybeechannel] >> 0959dcfc47fbfce27c6893140a4e166d31a58edd8dcf5c75fd4d71e90a04e55c [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Initialized channel >> honeybeechannel [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Set client [client-1] default orderer as >> orderer.org1.honeybee.com:7050 ```

lotty02cho (Fri, 17 May 2019 08:57:47 GMT):
and here is my logs/app/app.log ``` .... ----END CERTIFICATE-----\n"},"nonce":{"type":"Buffer","data":[101,66,96,181,6,91,200,168,144,18,142,194,131,47,92,112,212,57,254,122,131,230,45,190]}},"sigature":{"type":"Buffer","data":[48,68,2,32,105,136,12,100,9,173,219,60,37,100,54,241,56,180,146,72,235,140,172,225,52,97,152,150,79,30,164,97,252,127,143,126,2,32,10,169,183,9,4,143,164,6,13,21,199,53,97,51,132,85,254,114,64,184,18,207,95,249,98,92,111,196,177,205,227,166]}}]}},"signature":{"type":"Buffer","data":[48,68,2,32,92,116,227,253,222,148,233,178,44,161,96,197,243,8,218,117,213,248,240,6,9,205,11,252,19,122,79,70,101,244,48,68,2,32,93,67,101,37,202,154,53,225,21,163,196,31,23,196,145,60,47,54,134,154,12,76,152,179,251,238,122,66,16,114,177,128]}}}}}]},"metadata":{"metadata":[{"value":"","signatures":[]},{"value":{"index":"0"},"signatures":[]},[]]}} [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Channel genesis hash for channel [honeybeechannel] >> 0959dcfc47fbfce27c6893140a4e166d31a58edd8dcf5c75fd4d71e90a04e55c [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Initialized channel >> honeybeechannel [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Set client [client-1] default orderer as >> orderer.org1.honeybee.com:7050 ```

lotty02cho (Fri, 17 May 2019 09:01:55 GMT):
Does anyone see this issue below? I try to run explorer(version 0.3.9) on my fabric network(v1.4), but it doesn't work. Please let me know you guys, if u know about it. ``` Sync process is started for the network : [network-1] and client : [client-1] (node:74788) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> { error: column "channel_genesis_hash" does not exist at Connection.parseE (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.9/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.9/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer-v0.3.9/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:607:20) name: 'error', length: 113, severity: 'ERROR', code: '42703', detail: undefined, hint: undefined, position: '57', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '3194', routine: 'errorMissingColumn' } <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` and here is my logs/app/app.log ``` .... ----END CERTIFICATE-----\n"},"nonce":{"type":"Buffer","data":[101,66,96,181,6,91,200,168,144,18,142,194,131,47,92,112,212,57,254,122,131,230,45,190]}},"sigature":{"type":"Buffer","data":[48,68,2,32,105,136,12,100,9,173,219,60,37,100,54,241,56,180,146,72,235,140,172,225,52,97,152,150,79,30,164,97,252,127,143,126,2,32,10,169,183,9,4,143,164,6,13,21,199,53,97,51,132,85,254,114,64,184,18,207,95,249,98,92,111,196,177,205,227,166]}}]}},"signature":{"type":"Buffer","data":[48,68,2,32,92,116,227,253,222,148,233,178,44,161,96,197,243,8,218,117,213,248,240,6,9,205,11,252,19,122,79,70,101,244,48,68,2,32,93,67,101,37,202,154,53,225,21,163,196,31,23,196,145,60,47,54,134,154,12,76,152,179,251,238,122,66,16,114,177,128]}}}}}]},"metadata":{"metadata":[{"value":"","signatures":[]},{"value":{"index":"0"},"signatures":[]},[]]}} [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Channel genesis hash for channel [honeybeechannel] >> 0959dcfc47fbfce27c6893140a4e166d31a58edd8dcf5c75fd4d71e90a04e55c [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Initialized channel >> honeybeechannel [2019-05-17 16:35:39.759] [DEBUG] FabricClient - Set client [client-1] default orderer as >> orderer.org1.honeybee.com:7050 ```

nfrunza (Fri, 17 May 2019 17:44:29 GMT):
for performance issues we keep in postgresql db

nfrunza (Fri, 17 May 2019 17:46:43 GMT):
please verify if you have installed db by running blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh

circlespainter (Sat, 18 May 2019 07:34:40 GMT):
Has joined the channel.

lotty02cho (Tue, 21 May 2019 01:56:42 GMT):
@nfrunza Yeah, I have an error like below when I start `createdb.sh`. ``` $ ./createdb.sh Copying ENV variables into temp file... USER="hppoc" DATABASE="fabricexplorer" PASSWD='password' Executing SQL scripts... psql: FATAL: database "hyper" does not exist psql: FATAL: database "hyper" does not exist ``` so I use a command, `sudo -u postgres ./createdb.sh` and then it works. I really really appreciate your help!

Dhiraj1990 (Tue, 21 May 2019 06:39:50 GMT):
can anyone help me with this issuse ?

Dhiraj1990 (Tue, 21 May 2019 06:39:52 GMT):
https://stackoverflow.com/questions/56232126/issue-with-hyprledger-node-sdk-on-calling-api

nfrunza (Tue, 21 May 2019 12:19:06 GMT):
please post in https://chat.hyperledger.org/channel/fabric-sdk-node

horse (Tue, 21 May 2019 21:56:18 GMT):
Has joined the channel.

JP (Wed, 22 May 2019 04:52:54 GMT):
Has joined the channel.

Karthik1337 (Thu, 23 May 2019 07:00:20 GMT):
Hi. I am getting following error in latest version of explorer. I deployed using docker. Can anyone knows the answer? ``` PostgreSQL init process complete; ready for start up. 2019-05-23T06:58:17.987563906Z 2019-05-23 06:58:17.995 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2019-05-23 06:58:17.995 UTC [1] LOG: listening on IPv6 address "::", port 5432 2019-05-23 06:58:17.998 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2019-05-23 06:58:18.011 UTC [41] LOG: database system was shut down at 2019-05-23 06:58:17 UTC 2019-05-23 06:58:18.015 UTC [1] LOG: database system is ready to accept connections 2019-05-23 06:58:20.294 UTC [72] FATAL: role "root" does not exist 2019-05-23 06:58:20.297 UTC [74] FATAL: role "root" does not exist 2019-05-23 06:58:21.892 UTC [75] FATAL: role "hppoc" does not exist ```

Karthik1337 (Thu, 23 May 2019 07:00:20 GMT):
Hi. I am getting following error in latest version of explorer. I deployed using docker. Anyone knows the answer? ``` PostgreSQL init process complete; ready for start up. 2019-05-23T06:58:17.987563906Z 2019-05-23 06:58:17.995 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2019-05-23 06:58:17.995 UTC [1] LOG: listening on IPv6 address "::", port 5432 2019-05-23 06:58:17.998 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2019-05-23 06:58:18.011 UTC [41] LOG: database system was shut down at 2019-05-23 06:58:17 UTC 2019-05-23 06:58:18.015 UTC [1] LOG: database system is ready to accept connections 2019-05-23 06:58:20.294 UTC [72] FATAL: role "root" does not exist 2019-05-23 06:58:20.297 UTC [74] FATAL: role "root" does not exist 2019-05-23 06:58:21.892 UTC [75] FATAL: role "hppoc" does not exist ```

nfrunza (Thu, 23 May 2019 13:02:11 GMT):
@nekia Atsushi, i think we fixed this

nekia (Thu, 23 May 2019 13:41:57 GMT):
Yes, I think so, too.

PrakritiSharma (Fri, 24 May 2019 07:17:13 GMT):
On running npm run test command I am getting error npm ERR! code ELIFECYCLE Can anyone please help me in resolving this error? `INHYKPMAC01-MacBook-Pro:test prakriti$ npm run test > hyperledger-explorer-test@0.3.9 test /Users/prakriti/Documents/hl/blockchain-explorer/app/test > mocha *.js --exit module.js:675 throw err; ^ SyntaxError: /Users/prakriti/Documents/hl/blockchain-explorer/app/platform/fabric/config.json: Unexpected token } in JSON at position 2028 at JSON.parse () at Object.Module._extensions..json (module.js:672:27) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object. (/Users/prakriti/Documents/hl/blockchain-explorer/app/test/blockandtx.js:7:16) 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) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at /Users/prakriti/Documents/hl/blockchain-explorer/app/test/node_modules/mocha/lib/mocha.js:231:27 at Array.forEach () at Mocha.loadFiles (/Users/prakriti/Documents/hl/blockchain-explorer/app/test/node_modules/mocha/lib/mocha.js:228:14) at Mocha.run (/Users/prakriti/Documents/hl/blockchain-explorer/app/test/node_modules/mocha/lib/mocha.js:536:10) at Object. (/Users/prakriti/Documents/hl/blockchain-explorer/app/test/node_modules/mocha/bin/_mocha:582:18) 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) at Function.Module.runMain (module.js:694:10) at startup (bootstrap_node.js:204:16) at bootstrap_node.js:625:3 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hyperledger-explorer-test@0.3.9 test: `mocha *.js --exit` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hyperledger-explorer-test@0.3.9 test script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/prakriti/.npm/_logs/2019-05-24T06_33_31_958Z-debug.log`

sahilgoel (Fri, 24 May 2019 10:14:43 GMT):
@nfrunza https://raw.githubusercontent.com/hyperledger/blockchain-explorer/master/app/persistence/postgreSQL/Persist.js wrong file included here

sahilgoel (Fri, 24 May 2019 10:15:02 GMT):
correct file is ./pgservice

Tommy109 (Fri, 24 May 2019 12:11:25 GMT):
have explorer up and running and works, only thing is, its really slow to load initially. once it has, navigating the various options is fast

Tommy109 (Fri, 24 May 2019 12:12:27 GMT):
sometimes it takes so long to load it will bring up a message 'please verify your network config, database config and try again'

Tommy109 (Fri, 24 May 2019 12:12:30 GMT):
is this a known issue?

nfrunza (Fri, 24 May 2019 12:21:24 GMT):
yes, we noticed that, this is because macOS is case insensitive to file name , will have a fix for that shortly

nfrunza (Fri, 24 May 2019 19:32:33 GMT):
a fix was pushed, please verify

PrakritiSharma (Sat, 25 May 2019 06:08:22 GMT):
I am getting error on running ./start.sh for hyperledger-explorer This is what I am getting on log side postgres://hppoc:password@127.0.0.1:5432/fabricexplorer usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH usage: locate [-0Scims] [-l limit] [-d database] pattern ... default database: `/var/db/locate.database' or $LOCATE_PATH WARNING: The locate database (/var/db/locate.database) does not exist. To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist Please be aware that the database can take some time to generate; once the database has been created, this message will no longer appear. ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************************************************************** (node:39148) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully Closed out connections Can anyone please help me in resolving this error?

sahilgoel (Mon, 27 May 2019 03:43:26 GMT):
Ok thanks.

Dhiraj1990 (Mon, 27 May 2019 12:05:33 GMT):
@nfrunza I have network in which there are multiples orgs and peers. In `config.json` i have just defined one org's peer and its msp. it shows the transaction but it does not show the peer in node list. why is such behaviour for explorer.

nfrunza (Tue, 28 May 2019 03:23:02 GMT):
please describe your fabric network, is a sample? your OS, which HLExplorer tag you use

nfrunza (Tue, 28 May 2019 03:24:40 GMT):
did you enable discovery service? see https://github.com/hyperledger/blockchain-explorer#60-fabric-network-setup---- , for: Make sure to set the environment variables CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNALENDPOINT for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

PrakritiSharma (Tue, 28 May 2019 07:06:19 GMT):
I am using byfn fabric network as a sample network and macos.

nfrunza (Tue, 28 May 2019 12:28:40 GMT):
which version of explorer are you using? or tag, or branch? and which HLfabric version do you use? please follow up on vesions of explorer vs fabric versions -------------------------|----------|----------|----------|----------|-------------------| 14:20:46 File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | 14:20:46 -------------------------|----------|----------|----------|----------|-------------------| 14:20:46 All files | 72.84 | 42.81 | 67.03 | 73.58 | | 14:20:46 src | 100 | 100 | 100 | 100 | | 14:20:46 FabricVersion.js | 100 | 100 | 100 | 100 | |

nfrunza (Tue, 28 May 2019 12:28:40 GMT):
which version of explorer are you using? or tag, or branch? and which HLfabric version do you use? please follow up on versions of explorer vs fabric versions , see https://github.com/hyperledger/blockchain-explorer#10-release-notes----

adineshreddy1 (Tue, 28 May 2019 14:38:36 GMT):
Has joined the channel.

adineshreddy1 (Tue, 28 May 2019 14:38:47 GMT):
facing issue when trying to connect explorer with Hyperledger fabric network hosted on different machines. successfully connected on single instance(both explorer and fabric on a single machine) but facing error when trying to connect on different machines. =========================================================================================================== (node:16024) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-05-28T13:26:18.102Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/dinesh/Music/blockchain-explorer-master/node_modules/grpc/src/client.js:720:16) connectFailed: true } ======================================================================================================= { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://12.34.56.78:7051", "eventUrl": "grpcs://l12.34.56.78:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "url": "grpcs://12.34.56.78:8051" }, "peer0.org2.example.com": { "url": "grpcs://12.34.56.78:9051" }, "peer1.org2.example.com": { "url": "grpcs://12.34.56.78:10051" } }, "orderers": { "orderer.example.com": { "url": "grpcs://12.34.56.78:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/dinesh/HyperExplorer/fabric-samples/bin", "license": "Apache-2.0" } -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

adineshreddy1 (Tue, 28 May 2019 14:40:31 GMT):
I am setting up explorer for fabric network which was running in some different machine(say IP 12.34.56.78),when i try to start the script start.sh from explorer i struck with this error. Successfully connected on single instance(both explorer and fabric on a single machine) but facing error when trying to connect on different machines. Here is the config.json file where i am changing parameters. { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" } } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": false, "adminPrivateKey": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore" } }, "OrdererMSP": { "mspid": "OrdererMSP", "adminPrivateKey": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/dinesh/HyperExplorer/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://12.34.56.78:7051", "eventUrl": "grpcs://l12.34.56.78:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "url": "grpcs://12.34.56.78:8051" }, "peer0.org2.example.com": { "url": "grpcs://12.34.56.78:9051" }, "peer1.org2.example.com": { "url": "grpcs://12.34.56.78:10051" } }, "orderers": { "orderer.example.com": { "url": "grpcs://12.34.56.78:7050" } } }, "network-2": {} }, "configtxgenToolPath": "/home/dinesh/HyperExplorer/fabric-samples/bin", "license": "Apache-2.0" } error (node:16024) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2019-05-28T13:26:18.102Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/dinesh/Music/blockchain-explorer-master/node_modules/grpc/src/client.js:720:16) connectFailed: true }

nfrunza (Tue, 28 May 2019 14:54:36 GMT):
Please don't post all your config in chat, you can attach as a file, it's hard to read, please describe your explorer version/tag, hlfabric version, and if you're using another machine to connect to you may need to open connection to machine you installed explorer

SashaPESIC (Tue, 28 May 2019 18:36:17 GMT):
How do you setup the json configuration so that the explorer can see more than one channel? If there is org org1, and it is part of channels c1 and c2, how to specify both thannels in the configuration file so that that you could switch channels in the explorer UI. Every example in github is with one channel...

nfrunza (Tue, 28 May 2019 19:43:04 GMT):
please enable discovery service, see here https://github.com/hyperledger/blockchain-explorer#60-fabric-network-setup----

nfrunza (Tue, 28 May 2019 19:43:45 GMT):
Make sure to set the environment variables CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNALENDPOINT for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

gesaleh (Tue, 28 May 2019 21:25:56 GMT):
I'm having issue with explorer (dockers) i get errors : ```fabric-explorer | (node:1) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead fabric-explorer | 2019-05-28T21:19:39.365Z - error: [Channel.js]: Error: 2 UNKNOWN: Stream removed ```

nfrunza (Wed, 29 May 2019 00:37:17 GMT):
which version/tag of explorer do you use, and hlfabric version, try latest explorer tag v03.9.3

petcoco (Wed, 29 May 2019 06:50:12 GMT):
Has joined the channel.

petcoco (Wed, 29 May 2019 06:54:25 GMT):
I have an issue when I launch HL explorer.``` I follow HL explorer tutorial . especially 'database setup'. but i have a problem ```

petcoco (Wed, 29 May 2019 06:54:25 GMT):
I have an issue when I launch HL explorer. I follow HL explorer tutorial . especially 'database setup'. but i have a problem ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { error: relation "blocks" does not exist at Connection.parseE (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:607:20) name: 'error', length: 106, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '374', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1180', routine: 'parserOpenTable' } Received kill signal, shutting down gracefully ``` I already done 'sudo -u postgres psql' '\dt' so I found blocks table. but... ;( help me

petcoco (Wed, 29 May 2019 06:54:25 GMT):
I have an issue when I launch HL explorer. I follow HL explorer tutorial . especially 'database setup'. but i have a problem ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { error: relation "blocks" does not exist at Connection.parseE (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:607:20) name: 'error', length: 106, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '374', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1180', routine: 'parserOpenTable' } Received kill signal, shutting down gracefully ``` I already done 'sudo -u postgres psql' '\dt' so I found blocks table. and definitely connect postgresql. but... ;( help me

gesaleh (Wed, 29 May 2019 07:23:34 GMT):
I'm using 4.0 tag to build the docker, Fabric 1.4

SashaPESIC (Wed, 29 May 2019 07:26:16 GMT):
I have these enabled for every peer. This still does not help explorer find all channels.

SashaPESIC (Wed, 29 May 2019 07:26:16 GMT):
I have these enabled for every peer. This still does not help explorer find all channels. Also peers are not the problem, the explorer sees all of them, but still sees only one channel (that is supplied in the config file).

SashaPESIC (Wed, 29 May 2019 07:30:11 GMT):
Every example on HF Github is a single channel example (for explorer). That is not a real use case.

SashaPESIC (Wed, 29 May 2019 07:49:21 GMT):
On the other hand, i also have setup anchor peers for ever channel, per organisation.

SashaPESIC (Wed, 29 May 2019 07:49:50 GMT):
So i am wondering if there is anything else to setup so that the explorer would pick up the multiple channels?

garunkumar450 (Wed, 29 May 2019 09:42:06 GMT):
2019-05-29T09:20:43.302Z - ^[[31merror^[[39m: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to connect before the deadline URL:grpcs://localhost:7050 at checkState (/home/ubuntu/HyperledgerExplorer/blockchain-explorer/node_modules/grpc/src/client.js:720:16) connectFailed: true } Received kill signal, shutting down gracefully Closed out connections

nfrunza (Wed, 29 May 2019 10:32:13 GMT):
please verify DB installation, Connect to the PostgreSQL database and run DB status commands: \l View created fabricexplorer database. \d View created tables.

nfrunza (Wed, 29 May 2019 10:34:29 GMT):
how about explorer tag you're using? please use tag v0.3.9.3

nfrunza (Wed, 29 May 2019 10:35:18 GMT):
can you look in logs, logs/app/app.log ?

nfrunza (Wed, 29 May 2019 10:37:59 GMT):
can you get some first 50 lines from logs/app/app.log ?

nfrunza (Wed, 29 May 2019 16:19:27 GMT):
do you run explorer and fabric on the same machine?

HLFPOC (Wed, 29 May 2019 18:17:25 GMT):
I have also faced the same issue in setting up explorer for multiple channels. In my network, one of the organization is member of 2 channels, but explorer does not list down 2nd channel in the drop down. I even checked all the tags related to service discovery and even updated the anchor peers of that organization for both the channels, still was not able to resolve this issue. An help would be appreciated in resolving this

HLFPOC (Wed, 29 May 2019 18:19:09 GMT):
Which tag of explorer version needs to be used for connecting it with fabric network running on version 1.3?

nfrunza (Wed, 29 May 2019 19:32:13 GMT):
see, https://github.com/hyperledger/blockchain-explorer#10-release-notes----

nfrunza (Wed, 29 May 2019 19:32:40 GMT):
v0.3.8

nfrunza (Wed, 29 May 2019 20:26:34 GMT):
please let me know your environment, OS, is AWS, fabric version, explorer tag or branch you use

petcoco (Thu, 30 May 2019 00:12:56 GMT):
I have issue. I create database. like this ``` Copying ENV variables into temp file... USER="postgres" DATABASE="fabricexplorer" PASSWD='1234' Executing SQL scripts, OS=linux-gnu psql:./explorerpg.sql:6: ERROR: role "postgres" already exists DROP DATABASE CREATE DATABASE You are now connected to database "fabricexplorer" as user "postgres". psql:./explorerpg.sql:15: NOTICE: table "blocks" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:35: NOTICE: table "chaincodes" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:54: NOTICE: table "peer_ref_chaincode" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:70: NOTICE: table "channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:94: NOTICE: table "peer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:114: NOTICE: table "peer_ref_channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:130: NOTICE: table "orderer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:147: NOTICE: table "transactions" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:178: NOTICE: table "write_lock" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:187: NOTICE: index "blocks_blocknum_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:191: NOTICE: index "blocks_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:195: NOTICE: index "blocks_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:199: NOTICE: index "transaction_txhash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:203: NOTICE: index "transaction_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:207: NOTICE: index "transaction_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:211: NOTICE: index "transaction_blockid_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:215: NOTICE: index "transaction_chaincode_proposal_input_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:220: NOTICE: index "channel_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:224: NOTICE: index "channel_channel_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX GRANT You are now connected to database "fabricexplorer" as user "postgres". ``` And check this in psql. ``` postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ----------------+----------+----------+-------------+-------------+----------------------- bc_db | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | fabricexplorer | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres_db | petcoco | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (6 rows) ``` but when i run ./start.sh , ``` ```

petcoco (Thu, 30 May 2019 00:12:56 GMT):
I have issue. I create database. like this ``` Copying ENV variables into temp file... USER="postgres" DATABASE="fabricexplorer" PASSWD='1234' Executing SQL scripts, OS=linux-gnu psql:./explorerpg.sql:6: ERROR: role "postgres" already exists DROP DATABASE CREATE DATABASE You are now connected to database "fabricexplorer" as user "postgres". psql:./explorerpg.sql:15: NOTICE: table "blocks" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:35: NOTICE: table "chaincodes" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:54: NOTICE: table "peer_ref_chaincode" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:70: NOTICE: table "channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:94: NOTICE: table "peer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:114: NOTICE: table "peer_ref_channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:130: NOTICE: table "orderer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:147: NOTICE: table "transactions" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:178: NOTICE: table "write_lock" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:187: NOTICE: index "blocks_blocknum_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:191: NOTICE: index "blocks_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:195: NOTICE: index "blocks_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:199: NOTICE: index "transaction_txhash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:203: NOTICE: index "transaction_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:207: NOTICE: index "transaction_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:211: NOTICE: index "transaction_blockid_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:215: NOTICE: index "transaction_chaincode_proposal_input_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:220: NOTICE: index "channel_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:224: NOTICE: index "channel_channel_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX GRANT You are now connected to database "fabricexplorer" as user "postgres". ``` And check this in psql. ``` postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ----------------+----------+----------+-------------+-------------+----------------------- bc_db | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | fabricexplorer | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres_db | petcoco | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (6 rows) ``` but when i run ./start.sh , ``` error when connecting to db: { error: database "fabricexplorer" does not exist at Connection.parseE (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:607:20) name: 'error', length: 99, severity: 'FATAL', code: '3D000', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'postinit.c', line: '853', routine: 'InitPostgres' } ``` what's the problem>

petcoco (Thu, 30 May 2019 00:12:56 GMT):
I have issue. I create database. like this ``` Copying ENV variables into temp file... USER="postgres" DATABASE="fabricexplorer" PASSWD='1234' Executing SQL scripts, OS=linux-gnu psql:./explorerpg.sql:6: ERROR: role "postgres" already exists DROP DATABASE CREATE DATABASE You are now connected to database "fabricexplorer" as user "postgres". psql:./explorerpg.sql:15: NOTICE: table "blocks" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:35: NOTICE: table "chaincodes" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:54: NOTICE: table "peer_ref_chaincode" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:70: NOTICE: table "channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:94: NOTICE: table "peer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:114: NOTICE: table "peer_ref_channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:130: NOTICE: table "orderer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:147: NOTICE: table "transactions" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:178: NOTICE: table "write_lock" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:187: NOTICE: index "blocks_blocknum_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:191: NOTICE: index "blocks_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:195: NOTICE: index "blocks_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:199: NOTICE: index "transaction_txhash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:203: NOTICE: index "transaction_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:207: NOTICE: index "transaction_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:211: NOTICE: index "transaction_blockid_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:215: NOTICE: index "transaction_chaincode_proposal_input_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:220: NOTICE: index "channel_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:224: NOTICE: index "channel_channel_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX GRANT You are now connected to database "fabricexplorer" as user "postgres". ``` And check this in psql. ``` postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ----------------+----------+----------+-------------+-------------+----------------------- bc_db | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | fabricexplorer | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres_db | petcoco | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (6 rows) ``` but when i run ./start.sh , ``` error when connecting to db: { error: database "fabricexplorer" does not exist at Connection.parseE (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:607:20) name: 'error', length: 99, severity: 'FATAL', code: '3D000', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'postinit.c', line: '853', routine: 'InitPostgres' } ``` what's the problem? And i can't also access with Heidisql. no database error. Is that possible?

petcoco (Thu, 30 May 2019 00:12:56 GMT):
I have issue. I create database. like this ``` Copying ENV variables into temp file... USER="postgres" DATABASE="fabricexplorer" PASSWD='1234' Executing SQL scripts, OS=linux-gnu psql:./explorerpg.sql:6: ERROR: role "postgres" already exists DROP DATABASE CREATE DATABASE You are now connected to database "fabricexplorer" as user "postgres". psql:./explorerpg.sql:15: NOTICE: table "blocks" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:35: NOTICE: table "chaincodes" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:54: NOTICE: table "peer_ref_chaincode" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:70: NOTICE: table "channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:94: NOTICE: table "peer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:114: NOTICE: table "peer_ref_channel" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:130: NOTICE: table "orderer" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE psql:./explorerpg.sql:147: NOTICE: table "transactions" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:178: NOTICE: table "write_lock" does not exist, skipping DROP TABLE CREATE TABLE ALTER TABLE ALTER SEQUENCE psql:./explorerpg.sql:187: NOTICE: index "blocks_blocknum_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:191: NOTICE: index "blocks_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:195: NOTICE: index "blocks_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:199: NOTICE: index "transaction_txhash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:203: NOTICE: index "transaction_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:207: NOTICE: index "transaction_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:211: NOTICE: index "transaction_blockid_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:215: NOTICE: index "transaction_chaincode_proposal_input_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:220: NOTICE: index "channel_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:224: NOTICE: index "channel_channel_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX GRANT You are now connected to database "fabricexplorer" as user "postgres". ``` And check this in psql. ``` postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ----------------+----------+----------+-------------+-------------+----------------------- bc_db | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | fabricexplorer | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres_db | petcoco | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (6 rows) ``` but when i run ./start.sh , ``` error when connecting to db: { error: database "fabricexplorer" does not exist at Connection.parseE (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at TCP.onread (net.js:607:20) name: 'error', length: 99, severity: 'FATAL', code: '3D000', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'postinit.c', line: '853', routine: 'InitPostgres' } ``` what's the problem? And i can't also access with Heidisql. no database error. Is that possible? + Postgresql Server computer in another machine. Could this be a problem?

petcoco (Thu, 30 May 2019 00:24:19 GMT):
i run same machine

nfrunza (Thu, 30 May 2019 02:07:11 GMT):
if postgresql is installed on an other machine, you may need to open ip of the explorer machine on the one where postgresql is installed

petcoco (Thu, 30 May 2019 05:04:49 GMT):
Thank you for your help! It work!!!!! I made a new setup so that external IP can access it. That's Key! Thankyou so much :kissing_closed_eyes:

donjon (Thu, 30 May 2019 09:41:00 GMT):
Has joined the channel.

nfrunza (Thu, 30 May 2019 13:26:37 GMT):
:thumbsup:

PrakashSelvaraj1 (Fri, 31 May 2019 12:41:09 GMT):
Has joined the channel.

PrakashSelvaraj1 (Fri, 31 May 2019 13:31:25 GMT):
Hi, a basic question, can we use explorer on an IBP (IBM Blockchain service) network ?

nfrunza (Fri, 31 May 2019 19:09:02 GMT):
Good question, theoretically HL Explorer can be connected to any HL Fabric based blockchain if properly configured

abityildiz (Fri, 31 May 2019 20:36:09 GMT):

Clipboard - May 31, 2019 11:34 PM

nfrunza (Fri, 31 May 2019 21:21:45 GMT):
please use tag v0.3.9.3

nfrunza (Fri, 31 May 2019 21:23:20 GMT):
what error do you get? can you look in logs/app/app.log file?

HLFPOC (Sat, 01 Jun 2019 09:44:47 GMT):
Hello Team, Has anyone been able to setup explorer with fabric network having multiple channels ? I am able to see the explorer but only 1 channel is listed in the drop down, not able to see the details of my second channel, however I am able to do transactions in both the channels, so I guess fabric-network is properly configured.

HLFPOC (Sat, 01 Jun 2019 09:44:47 GMT):
Hello Team, Has anyone been able to setup explorer with fabric network having multiple channels ? I am able to see the explorer but only 1 channel is listed in the drop down, not able to see the details of my second channel, however I am able to do transactions in both the channels, so I guess fabric-network is properly configured. I also checked the `channel` table in explorer postgres db and there was only 1 record present, ideally there should be 2 records (for both channels). Can anyone guide me , how data is pushed into these tables?

hanubc7743 (Sat, 01 Jun 2019 11:52:48 GMT):
Has joined the channel.

HLFPOC (Sat, 01 Jun 2019 18:13:12 GMT):

explorer_channel.JPG

abityildiz (Sun, 02 Jun 2019 15:25:07 GMT):
i have setup release-3.9 again,work fine.

nfrunza (Sun, 02 Jun 2019 15:26:51 GMT):
can you use CLI to do $peer channel list

nfrunza (Sun, 02 Jun 2019 15:27:13 GMT):
i want to see both channels in your fabric network

HLFPOC (Sun, 02 Jun 2019 18:11:00 GMT):

explorer-error.JPG

HLFPOC (Sun, 02 Jun 2019 18:11:00 GMT):

explorer-error.JPG

nfrunza (Sun, 02 Jun 2019 20:14:43 GMT):
please ask in https://chat.hyperledger.org/channel/fabric-questions how to make channel discoverable by other organization

nfrunza (Mon, 03 Jun 2019 12:12:04 GMT):
can you share your docker-compose, i want to see the ioclchannel definition

balazsprehoda (Mon, 03 Jun 2019 13:33:25 GMT):

Clipboard - June 3, 2019 3:33 PM

balazsprehoda (Mon, 03 Jun 2019 13:33:46 GMT):
Has joined the channel.

balazsprehoda (Mon, 03 Jun 2019 13:33:47 GMT):
Hi, I am trying to get HL Explorer running on my local machine. I am following these steps: https://github.com/hyperledger/blockchain-explorer But when I try to execute ./main.sh install, I get the error above.

balazsprehoda (Mon, 03 Jun 2019 13:34:33 GMT):
Can anybody please help me with this?

salmanbaset (Mon, 03 Jun 2019 14:14:54 GMT):
Has joined the channel.

nfrunza (Mon, 03 Jun 2019 14:48:08 GMT):
please do not run as a root user

nfrunza (Mon, 03 Jun 2019 14:53:07 GMT):
or do this from directory blockchainExplorer run$ chmod -R 775 blockchain-explorer/

balazsprehoda (Mon, 03 Jun 2019 15:20:01 GMT):
Thanks for the quick response. It turned out that I had bad nodejs version installed... I didn't check the prerequisites carefully enough.

nfrunza (Mon, 03 Jun 2019 15:20:49 GMT):
are you able to run explorer?

balazsprehoda (Mon, 03 Jun 2019 15:21:41 GMT):
yes

nfrunza (Mon, 03 Jun 2019 15:23:21 GMT):
do you use a sample from fabric-samples

balazsprehoda (Mon, 03 Jun 2019 15:27:03 GMT):
yes, the first-network

nfrunza (Mon, 03 Jun 2019 15:27:20 GMT):
ok

HLFPOC (Tue, 04 Jun 2019 04:32:33 GMT):
Guys, can anyone help me on this, not able to resolve it from quite some time now..

PrakashSelvaraj1 (Tue, 04 Jun 2019 08:12:07 GMT):
Hi, is there a single document that lists out the capabilities of Hyperledger Explorer? From what we have seen so far in explorer, we think adding few more features would be useful. Please can you suggest the right forum to make these reccommendations?

MadhusudhanaHV (Tue, 04 Jun 2019 09:46:03 GMT):
Has joined the channel.

MadhusudhanaHV (Tue, 04 Jun 2019 09:46:05 GMT):
Hi, Can anybody please let me know how to connect hyperledger explorer to fabcar sample instead of first-network?

MadhusudhanaHV (Tue, 04 Jun 2019 09:46:05 GMT):
Hi, Could anybody please let me know how to connect hyperledger explorer to fabcar sample instead of first-network?

nfrunza (Tue, 04 Jun 2019 12:18:30 GMT):
You can add to the jira, https://jira.hyperledger.org/browse/BE

nfrunza (Tue, 04 Jun 2019 12:20:35 GMT):
We have instructions in REDAME, https://github.com/hyperledger/blockchain-explorer#Configure-Fabcar-Sample

ihormudryy (Tue, 04 Jun 2019 12:26:44 GMT):
Hi, yes I did that

nfrunza (Tue, 04 Jun 2019 12:28:20 GMT):
@ihormudryy Sorry, i think i do not see the question here

vanitas92 (Tue, 04 Jun 2019 13:50:49 GMT):
Hello guys, i am using versio 3.9.3 of explorer and i come up with this error, has anyone experience it? ``` false 'ssl-certs' '/blockchain-explorer/ssl-certs' postgres://hppoc:password@postgres-explorer:5432/fabricexplorer ******* Initialization started for hyperledger fabric platform ******, { 'first-network': { name: 'network', profile: './connection-profile/network.json' } } client_configs.name allianz client_configs.profile ./connection-profile/network.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels mychannel 2019-06-04T13:46:19.644Z - error: [Channel.js]: Error: Peer with name "peer0-oe1" not assigned to this channel initializeChannelFromDiscover mychannel 2019-06-04T13:46:19.797Z - error: [Channel.js]: Error: Peer with name "peer0-oe1" not assigned to this channel 2019-06-04T13:46:19.803Z - error: [Channel.js]: Error: Peer with name "peer0-oe1" not assigned to this channel 2019-06-04T13:46:19.804Z - error: [Channel.js]: refresh - failed:Error: Peer with name "peer0-oe1" not assigned to this channel <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] ``` Received kill signal, shutting down gracefully Closed out connections

vanitas92 (Tue, 04 Jun 2019 13:52:42 GMT):
Hello guys, i am using version 3.9.3 of explorer and i came up with this error, has anyone experience it? ``` false 'ssl-certs' '/blockchain-explorer/ssl-certs' postgres://hppoc:password@postgres-explorer:5432/fabricexplorer ******* Initialization started for hyperledger fabric platform ******, { 'first-network': { name: 'network', profile: './connection-profile/network.json' } } client_configs.name allianz client_configs.profile ./connection-profile/network.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels mychannel 2019-06-04T13:46:19.644Z - error: [Channel.js]: Error: Peer with name "peer0-oe1" not assigned to this channel initializeChannelFromDiscover mychannel 2019-06-04T13:46:19.797Z - error: [Channel.js]: Error: Peer with name "peer0-oe1" not assigned to this channel 2019-06-04T13:46:19.803Z - error: [Channel.js]: Error: Peer with name "peer0-oe1" not assigned to this channel 2019-06-04T13:46:19.804Z - error: [Channel.js]: refresh - failed:Error: Peer with name "peer0-oe1" not assigned to this channel <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] Received kill signal, shutting down gracefully Closed out connections ```

vanitas92 (Tue, 04 Jun 2019 14:12:37 GMT):
I am using the following configuration for discovering service, the bootstrap and externalendpoint they differ just to enable HA on both peers: ``` - name: CORE_PEER_GOSSIP_EXTERNALENDPOINT value: peer0-oe1:7051 - name: CORE_PEER_GOSSIP_BOOTSTRAP value: peer1-oe1:7051 ```

nfrunza (Tue, 04 Jun 2019 14:24:33 GMT):
@here We need people to help on creating documentation for the HLExplorer, we want to use https://docs.readthedocs.io/en/stable/intro/getting-started-with-sphinx.html , please any volunteer would be appreciated

nfrunza (Tue, 04 Jun 2019 14:28:52 GMT):
what is "HA" ?

vanitas92 (Tue, 04 Jun 2019 14:30:19 GMT):
High availability, in case one peer goes down, the bootstrap points to other peer to get the missed transactions when the peer was down

vanitas92 (Tue, 04 Jun 2019 14:30:45 GMT):
High availability, in case one peer goes down, the bootstrap points to other peer to get the missed transactions when the peer was down

nfrunza (Tue, 04 Jun 2019 14:36:02 GMT):
thank you for clarification

SatvikSabharwal (Wed, 05 Jun 2019 22:17:04 GMT):
Has joined the channel.

KristijanGlibo (Thu, 06 Jun 2019 08:48:18 GMT):
Has joined the channel.

KristijanGlibo (Thu, 06 Jun 2019 08:48:20 GMT):
Hi guys, @DavorKljajic and I created an article about Blockchain Explorer. In this article we used our custom network with 4 organisations, 1 channel, TLS, GOSSIP etc. We explained all errors and how we resolved them so maybe it could help to all of you having issues with it: https://medium.com/beyondi/understanding-hyperledger-explorer-setup-via-docker-6af845fcb82e

HLFPOC (Thu, 06 Jun 2019 09:40:03 GMT):
Hello, I have gone through the article and I am facing one strange issue in my setup, In my network, there are 2 channels, but my explorer only lists 1 channel in the dashboard drop down. As my fabric is running on v1.3, so I am using tag 0.3.8 of explorer, and have followed the instructions mentioned in its readme file, but not able to figure out why second channel is not visible although I am able to do transactions in that channel from an SDK app and have also configured service discovery variables in my peer container. Can you please suggest what can be the issue here ?

PrakashSelvaraj1 (Thu, 06 Jun 2019 09:41:17 GMT):
Hi, I had just created Jira (BE-661 & BE-662) requesting for new features. Please can you let me know how these are considered and included into the tool - any project plans (or) roadmap ?

KristijanGlibo (Thu, 06 Jun 2019 10:51:44 GMT):
On first what I could say is that you need to check your connection-profile file and define one more channel in channels properties (like we have bowchannel) where peer will be defined peer from peers property.

KristijanGlibo (Thu, 06 Jun 2019 10:52:12 GMT):
Maybe I am not 100% right because I don't have time to try that right now but based on what I see, that seems logic step to try.

HLFPOC (Thu, 06 Jun 2019 11:35:19 GMT):
I have gone through the readme file and it is mentioned that channel should automatically picked through service discovery , although I even tried mentioning my second channel in the connection-profile, but still it was not visible.

nfrunza (Thu, 06 Jun 2019 12:41:45 GMT):
@KristijanGlibo , thank you for your article, would you like to contribute to HLExplorer in creating a tutorial, similar to HLFabric tutorial?

nfrunza (Thu, 06 Jun 2019 13:17:32 GMT):
:thumbsup:

nfrunza (Thu, 06 Jun 2019 13:22:06 GMT):
hi, these jira's needs to be reviewed, and if there are resources we can assign, as of now only 2.5 resources are allocated to the project, and we are working towards graduating explorer from the incubation, but if you want to contribute on those jira's you're more than welcomed.

PrakashSelvaraj1 (Fri, 07 Jun 2019 09:25:50 GMT):
Hi, me and my team would like to contribute to the tool. Pls could you point us on how to get started? (Source code, any design docs, technology used, how to fork and merge back etc... )

bram209 (Tue, 11 Jun 2019 15:30:47 GMT):
Hi, is there a setting for explorer to work behind a reverse proxy?

bram209 (Tue, 11 Jun 2019 15:31:03 GMT):
like I want to serve the explorer on `/explorer` for examlpe

bram209 (Tue, 11 Jun 2019 15:31:03 GMT):
like I want to serve the explorer on `/explorer` for example

nfrunza (Tue, 11 Jun 2019 16:15:43 GMT):
no, we do not have such settings

bram209 (Tue, 11 Jun 2019 16:18:34 GMT):
ah ok

horse (Tue, 11 Jun 2019 17:22:30 GMT):
Hi all, Any specialist can help-me to install with sucess the COMPOSER REST SERVER. I run npm install -g composer-rest-server and message erros is > make: Leaving directory `/root/.nvm/versions/node/v10.16.0/lib/node_modules/node/lib/node_modules/composer-rest-server/node_modules/grpc/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit Thanks for any help.

nfrunza (Tue, 11 Jun 2019 21:29:41 GMT):
try composer channel, https://chat.hyperledger.org/channel/composer , is composer supporting node v10 ?

braduf (Tue, 11 Jun 2019 23:04:41 GMT):
Has joined the channel.

PrakritiSharma (Wed, 12 Jun 2019 08:05:34 GMT):
On launching localhost on port 8080 getting "This page isn’t working" and this is what I am getting on console side:

PrakritiSharma (Wed, 12 Jun 2019 08:06:14 GMT):

Error.png

nfrunza (Wed, 12 Jun 2019 15:05:10 GMT):
Please describe: OS you're running explorer, version of fabric, tag or branch of explorer, are you behind the proxy, is fabric network remotely? do you use fabric-ca server?

nfrunza (Wed, 12 Jun 2019 15:08:01 GMT):
Do you run explorer in docker or standalone?

PrakritiSharma (Wed, 12 Jun 2019 15:56:38 GMT):
I ran explorer standalone

PrakritiSharma (Wed, 12 Jun 2019 15:59:36 GMT):
Running on MacOS using fabric version 1.1 Fabric network is running on same system yes I am using fabric-ca server

nfrunza (Wed, 12 Jun 2019 16:02:34 GMT):
tag or branch of explorer,?

nfrunza (Wed, 12 Jun 2019 16:03:15 GMT):
please look at the compatibility table https://github.com/hyperledger/blockchain-explorer#10-release-notes----

nfrunza (Wed, 12 Jun 2019 16:03:40 GMT):
you may need to turn TLSEnable to false in your fabric

braduf (Wed, 12 Jun 2019 16:19:05 GMT):
Hi, is it normal I only see the nodes of my organization in the network tab? I think it should be possible to see the anchor peers of other organizations at least, no?

nfrunza (Wed, 12 Jun 2019 16:24:14 GMT):
Please describe: OS you're running explorer, version of fabric, tag or branch of explorer, are you behind the proxy, is fabric network remotely? do you use fabric-ca server? Did you enable discovery service if using explorer tag v0.3.9.3

MohammedR (Wed, 12 Jun 2019 17:10:57 GMT):
Has joined the channel.

MohammedR (Wed, 12 Jun 2019 17:12:39 GMT):
you can use nginx as a reverse proxy server to do that

MohammedR (Wed, 12 Jun 2019 17:17:28 GMT):
Hi, does anyone know how to configure multiple channels with hyperledger explorer ?

nfrunza (Wed, 12 Jun 2019 17:59:44 GMT):
Configure fabric network for discovery service, and if you use latest v0.3.9.3 tag with fabric version 1.4

MohammedR (Wed, 12 Jun 2019 18:00:14 GMT):
i've configured

MohammedR (Wed, 12 Jun 2019 18:00:21 GMT):
discovery service

MohammedR (Wed, 12 Jun 2019 18:00:49 GMT):
can you tell me what changes should i make in config.json

nfrunza (Wed, 12 Jun 2019 18:00:59 GMT):
are you running on same machine explorer and fabric?

MohammedR (Wed, 12 Jun 2019 18:01:06 GMT):
yes

MohammedR (Wed, 12 Jun 2019 18:01:14 GMT):
it works fine for mychannel

nfrunza (Wed, 12 Jun 2019 18:01:29 GMT):
are you using some samples, or your custom fabric network?

MohammedR (Wed, 12 Jun 2019 18:01:39 GMT):
custom fabric network

MohammedR (Wed, 12 Jun 2019 18:02:23 GMT):
i am using custom fabric network

nfrunza (Wed, 12 Jun 2019 18:08:23 GMT):
if you do not see your channel in explorer drop down, you need to configure, take a look in https://hyperledger-fabric.readthedocs.io/en/release-1.4/gossip.html

nfrunza (Wed, 12 Jun 2019 18:09:10 GMT):
i would suggest to ask in https://chat.hyperledger.org/channel/fabric-questions

MohammedR (Wed, 12 Jun 2019 18:10:30 GMT):
do i have to configure 2 channel in config.json

MohammedR (Wed, 12 Jun 2019 18:10:40 GMT):
i mean i have tried configuring it

nfrunza (Wed, 12 Jun 2019 18:11:13 GMT):
no, you need default channel, and the default needs to know about other channel

nfrunza (Wed, 12 Jun 2019 18:11:13 GMT):
no, you need default channel, and the default needs to know about other channels

braduf (Wed, 12 Jun 2019 23:21:33 GMT):
OS: Ubuntu on AWS Version of Fabric: 1.4.1 No proxy Network is remotely

braduf (Wed, 12 Jun 2019 23:21:33 GMT):
OS: Ubuntu on AWS Version of Fabric: 1.4.1 No proxy Network is remotely Fabric-ca's are used, but are not added to the connection profile of the explorer Exlorer is run with docker and the only environment variable that I have set that has to do with the discovery service is: DISCOVERY_AS_LOCALHOST=false What is the variable to enable discovery service? Thanks a lot for your time to answer.

braduf (Wed, 12 Jun 2019 23:21:33 GMT):
OS: Ubuntu on AWS Version of Fabric: 1.4.1 No proxy Network is remotely Fabric-ca's are used, but are not added to the connection profile of the explorer Exlorer is running with docker and the only environment variable that I have set that has to do with the discovery service is: DISCOVERY_AS_LOCALHOST=false What is the variable to enable discovery service? Thanks a lot for your time to answer.

PrakritiSharma (Thu, 13 Jun 2019 06:21:24 GMT):
Clone git repository of hyperledger explorer form this link git clone https://github.com/hyperledger/blockchain-explorer.git and I am using fabric version 1.1 and node version v8.16.0 which is compatible. Not able to figure out where I am going wrong :thinking:

nfrunza (Thu, 13 Jun 2019 11:41:58 GMT):
did you $git checkout v0.3.5.1 ?

nfrunza (Thu, 13 Jun 2019 11:44:03 GMT):
1) you need to add the IP address of the explorer to the remote fabric network to allow connectionm

nfrunza (Thu, 13 Jun 2019 11:44:40 GMT):
2) copy crypto somewhere on your machine where you run explorer

nfrunza (Thu, 13 Jun 2019 11:47:26 GMT):
are you able to make connection to remote fabric and see the channel in Explorer? if this is the case you need to enable discovery service , see here how to https://hyperledger-fabric.readthedocs.io/en/release-1.4/gossip.html

nfrunza (Thu, 13 Jun 2019 11:49:07 GMT):
and https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-overview.html?highlight=discovery

PrakritiSharma (Thu, 13 Jun 2019 13:17:29 GMT):
No I didn't followed this step

PrakritiSharma (Thu, 13 Jun 2019 13:17:40 GMT):
Can we run hyperledger explorer on another port

PrakritiSharma (Thu, 13 Jun 2019 13:17:40 GMT):
Can we run hyperledger explorer on another port other than 8080?

MohammedR (Thu, 13 Jun 2019 13:52:20 GMT):
yes, you can on another port just need to change the port in appconfig.json

MohammedR (Thu, 13 Jun 2019 13:52:20 GMT):
yes, you can run explorer on another port just need to change the port in appconfig.json

nfrunza (Thu, 13 Jun 2019 15:22:42 GMT):
Hello here, anyone successfully installed and able to configure latest explorer with fabric network?

PrakritiSharma (Fri, 14 Jun 2019 05:19:12 GMT):
tried to run explorer on another port but not working

MohammedR (Fri, 14 Jun 2019 05:19:37 GMT):
what is the error

PrakritiSharma (Fri, 14 Jun 2019 06:32:24 GMT):

Error.png

MohammedR (Fri, 14 Jun 2019 06:49:32 GMT):
this error is not related to port its failing due wrong config check config.json you are passing correct msp path certificates if tls is enabled

MohammedR (Fri, 14 Jun 2019 06:49:32 GMT):
this error is not related to port its failing due wrong config check config.json you are passing correct msp path, certificates if tls is enabled

MohammedR (Fri, 14 Jun 2019 06:49:32 GMT):
this error is not related to port its failing due to wrong config check config.json you are passing correct msp path, certificates if tls is enabled

PrakritiSharma (Fri, 14 Jun 2019 09:34:07 GMT):
Could u please share with me the tsl enabled config.josn file for explorer

MohammedR (Fri, 14 Jun 2019 10:00:41 GMT):
refer config.json

garunkumar450 (Mon, 17 Jun 2019 09:57:57 GMT):
How To Create Login Page for Heperledger Explorer

nfrunza (Mon, 17 Jun 2019 14:06:47 GMT):
we have a login page, as of now we default to admin user role

nfrunza (Tue, 18 Jun 2019 13:23:27 GMT):
TFA ?

OscarRoman (Tue, 18 Jun 2019 14:59:12 GMT):
hey guys i need helo

OscarRoman (Tue, 18 Jun 2019 14:59:13 GMT):
help

OscarRoman (Tue, 18 Jun 2019 14:59:59 GMT):
I'm using explorer for the first time and I mark this error when trying to connect

OscarRoman (Tue, 18 Jun 2019 15:00:47 GMT):

imagen.PNG

OscarRoman (Tue, 18 Jun 2019 15:01:02 GMT):
i dont know what do :(

nfrunza (Tue, 18 Jun 2019 16:37:55 GMT):
Hi, Can you provide the following details about your environment? Fabric version Explorer branch/tag version Structure of your fabric network ( first-network or your own original network, etc ) Location of your fabric network ( on local machine, on cloud managed service, etc. ) Location of your explorer ( on the same machine where your fabric network is deployed, etc.) Are you using Explorer docker image

hanubc7743 (Tue, 18 Jun 2019 19:54:39 GMT):
Hi Anybody know how to work with hyperledger fabric java sdk and ipfs?

BrajeshKumar (Wed, 19 Jun 2019 08:56:13 GMT):
Has joined the channel.

nfrunza (Wed, 19 Jun 2019 11:21:25 GMT):
please ask in https://chat.hyperledger.org/channel/fabric-sdk-java

hanubc7743 (Wed, 19 Jun 2019 17:48:55 GMT):
Hi Can we integrate oracle db instead of couch db in hyperledger fabric?

nfrunza (Wed, 19 Jun 2019 20:36:27 GMT):
please ask in https://chat.hyperledger.org/channel/fabric-questions

PonmudiK (Thu, 20 Jun 2019 18:33:05 GMT):
Has joined the channel.

Abrara (Fri, 21 Jun 2019 09:29:01 GMT):
Has joined the channel.

Abrara (Fri, 21 Jun 2019 09:53:30 GMT):
Hello, when I access localhost:8080 I only have "Cannot GET /" as an error on the webpage. I started explorer wiht start.sh I'm using the latest explorer version (master branch) and the 1.4 fabric-samples first-network on an ubuntu 18.04.

Abrara (Fri, 21 Jun 2019 09:53:30 GMT):
Hello, when I access localhost:8080 I only have a 404 error that translates in "Cannot GET /" as an error on the webpage. I started explorer wiht start.sh I'm using the latest explorer version (master branch) and the 1.4 fabric-samples first-network on an ubuntu 18.04.

nfrunza (Fri, 21 Jun 2019 12:01:29 GMT):
can you post first 50 lines of logs from logs/console.log, and logs/app/app.log files? attach in the chat in a text file. Can you provide the following details about your environment : Location of your fabric network ( on local machine, on cloud managed service, etc. ) Location of your explorer ( on the same machine where your fabric network is deployed, etc.) Are you using Explorer docker image

Abrara (Fri, 21 Jun 2019 12:08:11 GMT):
everything is on the same machine, I'm not using the explorer docker image since I'm using start.sh

Abrara (Fri, 21 Jun 2019 12:08:24 GMT):

console-2019-06-21.log

nfrunza (Fri, 21 Jun 2019 12:09:27 GMT):
and the app.log file?

Abrara (Fri, 21 Jun 2019 12:09:31 GMT):

app.log

Abrara (Fri, 21 Jun 2019 12:09:36 GMT):
was uploading it

Abrara (Fri, 21 Jun 2019 12:09:47 GMT):
it's both logs

nfrunza (Fri, 21 Jun 2019 12:10:55 GMT):
which browser do you use?

Abrara (Fri, 21 Jun 2019 12:12:31 GMT):
firefox 67.0.3 (64-bit)

nfrunza (Fri, 21 Jun 2019 12:15:08 GMT):
FF is fine, can you hard reload with cache clearing ?

nfrunza (Fri, 21 Jun 2019 12:15:55 GMT):
logss looks good to me

Abrara (Fri, 21 Jun 2019 12:16:02 GMT):
doesn't change anything

Abrara (Fri, 21 Jun 2019 12:16:27 GMT):
y, no flashing red error, that's why I'm a bit lost

nfrunza (Fri, 21 Jun 2019 12:17:20 GMT):
can you post the logs/db/db.log ?

nfrunza (Fri, 21 Jun 2019 12:17:46 GMT):
one is it on AWS?

Abrara (Fri, 21 Jun 2019 12:17:53 GMT):
everything is on local

nfrunza (Fri, 21 Jun 2019 12:17:56 GMT):
one more*

Abrara (Fri, 21 Jun 2019 12:18:02 GMT):

db.log

nfrunza (Fri, 21 Jun 2019 12:19:19 GMT):
db logs look good

nfrunza (Fri, 21 Jun 2019 12:22:45 GMT):
i just tried FF, works fine

nfrunza (Fri, 21 Jun 2019 12:22:55 GMT):
can you try in private mode?

nfrunza (Fri, 21 Jun 2019 12:23:12 GMT):
are you behind the proxy?

Abrara (Fri, 21 Jun 2019 12:24:33 GMT):
tried in private and checked that I don't have proxy, did not change a thing

nfrunza (Fri, 21 Jun 2019 12:25:31 GMT):
can you open FF in developer mode, and see the console ?

Abrara (Fri, 21 Jun 2019 12:25:58 GMT):
I have the console, that's how I saw it's a 404 error

Abrara (Fri, 21 Jun 2019 12:26:26 GMT):
ah no sorry, console doesn't print anything

Abrara (Fri, 21 Jun 2019 12:27:05 GMT):
but I checked the requests in it, that's where I found the 404

Abrara (Fri, 21 Jun 2019 12:27:09 GMT):
the GET request

nfrunza (Fri, 21 Jun 2019 12:34:33 GMT):
let do some curl request

Abrara (Fri, 21 Jun 2019 12:35:17 GMT):
sure

nfrunza (Fri, 21 Jun 2019 12:38:10 GMT):
can you try this url http://localhost:8080/api-docs/

Abrara (Fri, 21 Jun 2019 12:38:55 GMT):
this one works

nfrunza (Fri, 21 Jun 2019 12:41:49 GMT):
do you have any plugins installed that could prevent for accessing?

nfrunza (Fri, 21 Jun 2019 12:42:01 GMT):
can you disable all the plugins in FF?

Abrara (Fri, 21 Jun 2019 12:42:36 GMT):
I disabled ublock and noscript before testing

nfrunza (Fri, 21 Jun 2019 12:44:25 GMT):
very interesting case

Abrara (Fri, 21 Jun 2019 12:45:27 GMT):
at leat now I can play with api-docs to send requests and check the logs

Abrara (Fri, 21 Jun 2019 12:45:27 GMT):
at least now I can play with api-docs to send requests and check the logs

nfrunza (Fri, 21 Jun 2019 12:45:35 GMT):
can you try with Gchrome?

nfrunza (Fri, 21 Jun 2019 12:45:53 GMT):
you can't , you need the jwt token

Abrara (Fri, 21 Jun 2019 12:45:57 GMT):
same error

Abrara (Fri, 21 Jun 2019 12:46:38 GMT):
and chromium is a fresh install, no plugins whatsoever

nfrunza (Fri, 21 Jun 2019 12:46:40 GMT):
i think your browser is pretty loaded with setting

Abrara (Fri, 21 Jun 2019 12:47:06 GMT):
I used chromium once or twice as I said, fresh install

nfrunza (Fri, 21 Jun 2019 12:47:13 GMT):
i see

nfrunza (Fri, 21 Jun 2019 12:47:41 GMT):
do you have any settings in hosts file?

Abrara (Fri, 21 Jun 2019 12:48:00 GMT):
which one?

nfrunza (Fri, 21 Jun 2019 12:48:44 GMT):
let's change the port in blockchain-explorer/appconfig.json, and restart the app

nfrunza (Fri, 21 Jun 2019 12:49:17 GMT):
change to 8083

Abrara (Fri, 21 Jun 2019 12:50:01 GMT):
still the Cannot GET /

Abrara (Fri, 21 Jun 2019 12:50:39 GMT):
From what I can tell, logs look the same

nfrunza (Fri, 21 Jun 2019 12:54:10 GMT):
something is blocking

nfrunza (Fri, 21 Jun 2019 12:56:14 GMT):
can you try to use the tag v0.3.9.4 ?

Abrara (Fri, 21 Jun 2019 13:00:15 GMT):
sure, 10in and I'll keep you updated

Abrara (Fri, 21 Jun 2019 13:00:15 GMT):
sure, 10min and I'll keep you updated

nfrunza (Fri, 21 Jun 2019 13:01:23 GMT):
thanks

Abrara (Fri, 21 Jun 2019 13:11:55 GMT):
I cloned a clean repo and switched to v0.3.9.4, still the same error

nfrunza (Fri, 21 Jun 2019 13:15:05 GMT):
could be some permission problem ?

Abrara (Fri, 21 Jun 2019 13:16:57 GMT):
doubtful, not sure what to try, I threw a sudo in the start.sh for the node command, didn't change anything either

Abrara (Fri, 21 Jun 2019 13:17:53 GMT):
but I might have some npm issues, I never finished the tests for the build, because the folder "client" doesn't exist (https://github.com/hyperledger/blockchain-explorer#100-build-hyperledger-explorer---- )

Abrara (Fri, 21 Jun 2019 13:18:22 GMT):
imma try a fresh first-network too, just in case

nfrunza (Fri, 21 Jun 2019 13:20:51 GMT):
do ./main.sh install from the project root

Abrara (Fri, 21 Jun 2019 13:23:27 GMT):
won't work without sudo, my npm is kinda messy, I usually have to sudo npm, delete the node modules and then I can npm without sudo

Abrara (Fri, 21 Jun 2019 13:30:25 GMT):
clean first-network, still the same error

nfrunza (Fri, 21 Jun 2019 13:44:48 GMT):
do not run as root, do this $ mkdir -p hlexplorer && chmod -R 775 hlexplorer && cd hlexplorer

nfrunza (Fri, 21 Jun 2019 13:44:53 GMT):
then git clone

nfrunza (Fri, 21 Jun 2019 13:45:46 GMT):
a good practice, do not run as root, as log you're not installing a package

nfrunza (Fri, 21 Jun 2019 13:45:56 GMT):
i mean ubuntu software

Abrara (Fri, 21 Jun 2019 13:48:55 GMT):
not true, but for npm it is y

nfrunza (Fri, 21 Jun 2019 13:49:22 GMT):
ok

Abrara (Fri, 21 Jun 2019 13:49:39 GMT):
imma try that in a sec

nfrunza (Fri, 21 Jun 2019 13:49:48 GMT):
sure

Abrara (Fri, 21 Jun 2019 13:56:12 GMT):
as I feared, doesn"t change the fact that I cannot do ./main.sh install without having permission denied

nfrunza (Fri, 21 Jun 2019 13:56:35 GMT):
then you need to $su

Abrara (Fri, 21 Jun 2019 13:56:37 GMT):
I'll try again next week after unmessing npm

nfrunza (Fri, 21 Jun 2019 13:56:40 GMT):
switch user

nfrunza (Fri, 21 Jun 2019 13:56:54 GMT):
which node version do you use?

Abrara (Fri, 21 Jun 2019 13:57:08 GMT):
8.16.0

nfrunza (Fri, 21 Jun 2019 13:57:11 GMT):
ok

nfrunza (Fri, 21 Jun 2019 13:57:30 GMT):
correct otherwise the api wouldn't work

nfrunza (Fri, 21 Jun 2019 13:57:58 GMT):
good luck, keep posted

Abrara (Fri, 21 Jun 2019 14:10:56 GMT):
ran everything as root, now it works, so it definitely is npm :) will clean it up later, thank you very much and have a good weekend

nfrunza (Fri, 21 Jun 2019 14:11:30 GMT):
ok

Abrara (Fri, 21 Jun 2019 14:12:20 GMT):
For anyone following the convo: problem was that my build wasn't correct, due to my npm being messed up. Apparently can lead to the Explorer "kinda working" but only displaying "Cannot GET /" (which is a typical node error according to google)

nfrunza (Fri, 21 Jun 2019 14:21:36 GMT):
would you be able to contribute to hl explorer, i see you have good skills

nfrunza (Fri, 21 Jun 2019 14:21:50 GMT):
any contribution, UI, node backend

Abrara (Fri, 21 Jun 2019 14:24:39 GMT):
I'm more of a C guy tbh x) I just had to setup an HLF network and I figured I'd check explorer for a nice UI

Abrara (Fri, 21 Jun 2019 14:25:08 GMT):
but thanks for the offer :)

nfrunza (Fri, 21 Jun 2019 16:35:25 GMT):
sure, no problem, you must be good with .sh scripting ?

periodic (Thu, 27 Jun 2019 10:25:01 GMT):
Has joined the channel.

periodic (Thu, 27 Jun 2019 10:51:51 GMT):
Hi everybody. I've tried to use explorer (its docker images), but faced with the connection problem after some time its activity. I've figured out that the problem is the following: explorer doesn't reconnect to db (postgreSQL) on losing connection. ```` db error { Error: read ECONNRESET at TCP.onread (net.js:622:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' } <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: read ECONNRESET at TCP.onread (net.js:622:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' } <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: read ECONNRESET at TCP.onread (net.js:622:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' } db error Error: Connection terminated unexpectedly at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:200:9) at Object.onceWrapper (events.js:313:30) at emitNone (events.js:106:13) at Connection.emit (events.js:208:7) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:76:10) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at TCP._handle.close [as _onclose] (net.js:561:12) ... <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: This socket is closed at Socket._writeGeneric (net.js:733:18) at Socket._write (net.js:787:8) at doWrite (_stream_writable.js:396:12) at writeOrBuffer (_stream_writable.js:382:5) at Socket.Writable.write (_stream_writable.js:290:11) at Socket.write (net.js:711:40) at Connection.end (/opt/explorer/node_modules/pg/lib/connection.js:319:22) at Client.end (/opt/explorer/node_modules/pg/lib/client.js:453:21) at PgService.closeconnection (/opt/explorer/app/persistence/postgreSQL/PgService.js:105:15) at Persist.closeconnection (/opt/explorer/app/persistence/postgreSQL/Persist.js:71:18) db error Error: write after end at writeAfterEnd (_stream_writable.js:236:12) at Socket.Writable.write (_stream_writable.js:287:5) at Socket.write (net.js:711:40) at Connection.end (/opt/explorer/node_modules/pg/lib/connection.js:319:22) at Client.end (/opt/explorer/node_modules/pg/lib/client.js:453:21) at PgService.closeconnection (/opt/explorer/app/persistence/postgreSQL/PgService.js:105:15) at Persist.closeconnection (/opt/explorer/app/persistence/postgreSQL/Persist.js:71:18) at Explorer.close (/opt/explorer/app/Explorer.js:132:21) at server.close (/opt/explorer/main.js:153:12) at Server.close (net.js:1613:9) ```` I've added the patch and seems it works normal now on loosing db connection (crossed fingers) ;) ```` --- app/persistence/postgreSQL/PgService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/persistence/postgreSQL/PgService.js b/app/persistence/postgreSQL/PgService.js index 8b49cae..d08de54 100644 --- a/app/persistence/postgreSQL/PgService.js +++ b/app/persistence/postgreSQL/PgService.js @@ -67,7 +67,7 @@ class PgService { try { this.client.on('error', err => { console.log('db error', err); - if (err.code === 'PROTOCOL_CONNECTION_LOST') { + if (err.code === 'PROTOCOL_CONNECTION_LOST' || err.code === 'EPIPE') { this.handleDisconnect(); } else { throw err; -- ````

nekia (Thu, 27 Jun 2019 13:07:11 GMT):
Nice contribution! Can you give us more detail to recreate the problem or raise a new JIRA? @periodic

periodic (Thu, 27 Jun 2019 13:26:10 GMT):
@nekia To reproduce it just stop explorer-db docker container (stop db) wait for connection error in explorer container and start explorer-db again. But it seems that some other error codes have to be supported (i.e. ECONNRESET). Anyway I'll try to create issue in JIRA...

nekia (Thu, 27 Jun 2019 14:21:42 GMT):
Thanks! If you have any unclear, please let us know. I'll also try to reproduce it.

ooojerryooo (Fri, 28 Jun 2019 02:56:36 GMT):
Has joined the channel.

ooojerryooo (Fri, 28 Jun 2019 02:58:02 GMT):
use raft ,The following problems occur`2019-06-28T02:57:46.065193464Z SyncPlatform initialize()-- @ Fri Jun 28 2019 2019-06-28T02:57:46.065425043Z 2019-06-28T02:57:46.065445040Z Sync process is started for the network : [first-network] and client : [firstnetwork] 2019-06-28T02:57:46.065817928Z config.client.tlsEnable true 2019-06-28T02:57:46.065921993Z FabricConfig, this.config.channels mychannel 2019-06-28T02:57:46.066166223Z An identity for the admin user: admin already exists in the wallet 2019-06-28T02:57:46.100184939Z initializeChannelFromDiscover mychannel 2019-06-28T02:57:46.110801015Z FabricClient.discover_results endpoint { host: 'orderer.hwsj.com', port: 7050 } 2019-06-28T02:57:46.110821485Z 2019-06-28T02:57:46.110826303Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer.hwsj.com:7050 2019-06-28T02:57:46.110832474Z 2019-06-28T02:57:46.111359768Z FabricClient.discover_results endpoint { host: 'orderer2.hwsj.com', port: 8050 } 2019-06-28T02:57:46.111400884Z 2019-06-28T02:57:46.111416373Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer2.hwsj.com:8050 2019-06-28T02:57:46.111419925Z 2019-06-28T02:57:46.111871357Z FabricClient.discover_results endpoint { host: 'orderer3.hwsj.com', port: 9050 } 2019-06-28T02:57:46.111908955Z 2019-06-28T02:57:46.111915975Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer3.hwsj.com:9050 2019-06-28T02:57:46.111935280Z 2019-06-28T02:57:46.112354486Z FabricClient.discover_results endpoint { host: 'orderer4.hwsj.com', port: 10050 } 2019-06-28T02:57:46.112386950Z 2019-06-28T02:57:46.112393171Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer4.hwsj.com:10050 2019-06-28T02:57:46.112397685Z 2019-06-28T02:57:46.112853541Z FabricClient.discover_results endpoint { host: 'orderer5.hwsj.com', port: 11050 } 2019-06-28T02:57:46.112888250Z 2019-06-28T02:57:46.112894390Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer5.hwsj.com:11050 2019-06-28T02:57:46.112897443Z 2019-06-28T02:57:46.125968973Z Channel genesis hash for channel [mychannel] >> 860751fb581776a0ef3c828fbf32a61aba0f4f193f817ab0e6458e86fcfe92c3 2019-06-28T02:57:46.126399470Z SyncServices.synchNetworkConfigToDB client firstnetwork channel_name mychannel 2019-06-28T02:57:46.134548601Z initializeChannelFromDiscover mychannel 2019-06-28T02:57:46.144995130Z FabricClient.discover_results endpoint { host: 'orderer.hwsj.com', port: 7050 } 2019-06-28T02:57:46.145014060Z 2019-06-28T02:57:46.145017953Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer.hwsj.com:7050 2019-06-28T02:57:46.145021733Z 2019-06-28T02:57:46.147835138Z FabricClient.discover_results endpoint { host: 'orderer2.hwsj.com', port: 8050 } 2019-06-28T02:57:46.147855683Z 2019-06-28T02:57:46.147859472Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer2.hwsj.com:8050 2019-06-28T02:57:46.147862507Z 2019-06-28T02:57:46.147865180Z FabricClient.discover_results endpoint { host: 'orderer3.hwsj.com', port: 9050 } 2019-06-28T02:57:46.147868480Z 2019-06-28T02:57:46.147871079Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer3.hwsj.com:9050 2019-06-28T02:57:46.147873984Z 2019-06-28T02:57:46.147876510Z FabricClient.discover_results endpoint { host: 'orderer4.hwsj.com', port: 10050 } 2019-06-28T02:57:46.147879315Z 2019-06-28T02:57:46.147881903Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer4.hwsj.com:10050 2019-06-28T02:57:46.147885100Z 2019-06-28T02:57:46.147887761Z FabricClient.discover_results endpoint { host: 'orderer5.hwsj.com', port: 11050 } 2019-06-28T02:57:46.147890460Z 2019-06-28T02:57:46.147892982Z initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer5.hwsj.com:11050 2019-06-28T02:57:46.147895697Z 2019-06-28T02:57:46.147898218Z insertNewOrderers discoveryProtocol grpcs requesturl grpcs://orderer.hwsj.com:7050 2019-06-28T02:57:46.147900908Z insertNewOrderers discoveryProtocol grpcs requesturl grpcs://orderer2.hwsj.com:8050 2019-06-28T02:57:46.147913788Z insertNewOrderers discoveryProtocol grpcs requesturl grpcs://orderer3.hwsj.com:9050 2019-06-28T02:57:46.148242262Z insertNewOrderers discoveryProtocol grpcs requesturl grpcs://orderer4.hwsj.com:10050 2019-06-28T02:57:46.150231510Z insertNewOrderers discoveryProtocol grpcs requesturl grpcs://orderer5.hwsj.com:11050 `

ooojerryooo (Fri, 28 Jun 2019 04:00:58 GMT):

Clipboard - June 28, 2019 12:00 PM

ooojerryooo (Fri, 28 Jun 2019 04:01:04 GMT):
Using the etcdraft consensus, five Orderers, six Peers, and fabric networks are functioning normally, but Explorer does not have a "peer" display.

ooojerryooo (Fri, 28 Jun 2019 04:01:17 GMT):

logs.txt

ooojerryooo (Fri, 28 Jun 2019 05:12:18 GMT):
@nfrunza

ooojerryooo (Fri, 28 Jun 2019 05:45:32 GMT):
centos7.2,fabric1.4.1,node8.11.4,npm5.6.0,

ooojerryooo (Fri, 28 Jun 2019 07:56:08 GMT):
@nfrunza I have solved the problem of nodes not displaying.However, the issue of the orderer information continuing to refresh in the log has not been resolved.

nfrunza (Fri, 28 Jun 2019 12:25:15 GMT):
What was the problem with the nodes? (did you enable discovery service?) , need more info on "However, the issue of the orderer information continuing to refresh in the log has not been resolved."

zZz (Sun, 30 Jun 2019 07:11:05 GMT):
Has joined the channel.

ooojerryooo (Sun, 30 Jun 2019 11:13:31 GMT):

all.zip

ooojerryooo (Sun, 30 Jun 2019 11:52:21 GMT):
Discovery service enabled.

ooojerryooo (Sun, 30 Jun 2019 12:17:35 GMT):
Peers and orderers refresh the following logs every 30 seconds

ooojerryooo (Sun, 30 Jun 2019 12:17:45 GMT):

orderer.txt

ooojerryooo (Sun, 30 Jun 2019 12:17:46 GMT):

peers.txt

vanitas92 (Mon, 01 Jul 2019 09:02:04 GMT):
Hello all, i got this error from latest version 0.3.9.4: ``` postgres://hppoc:password@postgres-explorer:5432/fabricexplorer ******* Initialization started for hyperledger fabric platform ******, { 'network-1': { version: '1.0', clients: { 'client-1': [Object] }, channels: { mychannel: [Object] }, organizations: { oe1MSP: [Object], oe2MSP: [Object], OrdererMSP: [Object] }, peers: { 'peer0-oe1-allianz-technology-com': [Object], 'peer1-oe1-allianz-technology-com': [Object], 'peer0-oe2-allianz-technology-com': [Object], 'peer1-oe2-allianz-technology-com': [Object] }, orderers: { 'orderer0-allianz-technology-com': [Object], 'orderer1-allianz-technology-com': [Object], 'orderer2-allianz-technology-com': [Object] }, certificateAuthorities: { 'ca-oe1': [Object], 'ca-oe2': [Object] } }, 'network-2': {} } client_configs.name undefined client_configs.profile undefined FabricUtils.createFabricClient <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Invalid platform configuration, Please check the log' ] Received kill signal, shutting down gracefully Closed out connections ```

periodic (Mon, 01 Jul 2019 12:06:35 GMT):
Hi everybody. I've tried to use explorer (its docker images), but faced with the connection problem after some time its activity. I've figured out that the problem is the following: explorer doesn't reconnect to db (postgreSQL) on losing connection. ```` db error { Error: read ECONNRESET at TCP.onread (net.js:622:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' } <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: read ECONNRESET at TCP.onread (net.js:622:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' } <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: read ECONNRESET at TCP.onread (net.js:622:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' } db error Error: Connection terminated unexpectedly at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:200:9) at Object.onceWrapper (events.js:313:30) at emitNone (events.js:106:13) at Connection.emit (events.js:208:7) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:76:10) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at TCP._handle.close [as _onclose] (net.js:561:12) ... <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: This socket is closed at Socket._writeGeneric (net.js:733:18) at Socket._write (net.js:787:8) at doWrite (_stream_writable.js:396:12) at writeOrBuffer (_stream_writable.js:382:5) at Socket.Writable.write (_stream_writable.js:290:11) at Socket.write (net.js:711:40) at Connection.end (/opt/explorer/node_modules/pg/lib/connection.js:319:22) at Client.end (/opt/explorer/node_modules/pg/lib/client.js:453:21) at PgService.closeconnection (/opt/explorer/app/persistence/postgreSQL/PgService.js:105:15) at Persist.closeconnection (/opt/explorer/app/persistence/postgreSQL/Persist.js:71:18) db error Error: write after end at writeAfterEnd (_stream_writable.js:236:12) at Socket.Writable.write (_stream_writable.js:287:5) at Socket.write (net.js:711:40) at Connection.end (/opt/explorer/node_modules/pg/lib/connection.js:319:22) at Client.end (/opt/explorer/node_modules/pg/lib/client.js:453:21) at PgService.closeconnection (/opt/explorer/app/persistence/postgreSQL/PgService.js:105:15) at Persist.closeconnection (/opt/explorer/app/persistence/postgreSQL/Persist.js:71:18) at Explorer.close (/opt/explorer/app/Explorer.js:132:21) at server.close (/opt/explorer/main.js:153:12) at Server.close (net.js:1613:9) ```` I've added the patch and seems it works normal now on loosing db connection (crossed fingers) ;) ```` --- app/persistence/postgreSQL/PgService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/persistence/postgreSQL/PgService.js b/app/persistence/postgreSQL/PgService.js index 8b49cae..d08de54 100644 --- a/app/persistence/postgreSQL/PgService.js +++ b/app/persistence/postgreSQL/PgService.js @@ -67,7 +67,7 @@ class PgService { try { this.client.on('error', err => { console.log('db error', err); - if (err.code === 'PROTOCOL_CONNECTION_LOST') { + if (err.code === 'PROTOCOL_CONNECTION_LOST' || err.code === 'EPIPE') { this.handleDisconnect(); } else { throw err; -- ````

periodic (Mon, 01 Jul 2019 12:13:11 GMT):
@vanitas92 Seem you are using scheme of network profile config (https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/connection-profile/first-network.json) instead of fabric platform config (https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/config.json)

nfrunza (Mon, 01 Jul 2019 12:41:14 GMT):
yes, we are using connection profile, with latest gateway of fabric-network

nfrunza (Mon, 01 Jul 2019 12:45:41 GMT):
did you rebuild after $git pull? you can use $main.sh install from the root of the project

nfrunza (Mon, 01 Jul 2019 19:12:08 GMT):
please configure as per instructions , https://github.com/hyperledger/blockchain-explorer#70-configure-hyperledger-fabric----

ooojerryooo (Tue, 02 Jul 2019 06:34:01 GMT):
@nfrunza Does Explorer 0.3.9.4 support etcdraft?

ooojerryooo (Tue, 02 Jul 2019 06:49:51 GMT):
The orderer table in Postgres has no data.

ooojerryooo (Tue, 02 Jul 2019 06:55:53 GMT):

Clipboard - 2019年7月2日下午2点55分

ooojerryooo (Tue, 02 Jul 2019 06:59:06 GMT):

console-2019-07-02.log

ooojerryooo (Tue, 02 Jul 2019 06:59:49 GMT):

app.log

ooojerryooo (Tue, 02 Jul 2019 07:00:50 GMT):
The log keeps refreshing, and after a few hours the service will hang up.

nfrunza (Tue, 02 Jul 2019 11:41:43 GMT):
is it on your PC, maybe the OS is suspending the service?

nfrunza (Tue, 02 Jul 2019 11:50:54 GMT):
no is doesn't

nfrunza (Tue, 02 Jul 2019 11:50:54 GMT):
explorer was not tested with etcdraft, and is not supported

nfrunza (Tue, 02 Jul 2019 11:51:14 GMT):
thank you we will look into this issue.

vanitas92 (Tue, 02 Jul 2019 12:30:26 GMT):
just saw your message that it is not supported Etcdraft as consensus, and i am using it, so maybe not going to work anyway..

delao (Tue, 02 Jul 2019 20:01:33 GMT):
Has joined the channel.

FernandaSartori (Tue, 02 Jul 2019 20:04:37 GMT):
Has joined the channel.

ooojerryooo (Wed, 03 Jul 2019 01:18:23 GMT):
Supported or not?

ooojerryooo (Wed, 03 Jul 2019 01:19:34 GMT):
My English is not very good. I don't understand the meaning of "no is doesn't".

ooojerryooo (Wed, 03 Jul 2019 08:01:43 GMT):
@nfrunza

Abrara (Wed, 03 Jul 2019 08:02:55 GMT):
"is not supported " so, not supported. Does Explorer 0.3.9.4 support etcdraft? -> No

nfrunza (Wed, 03 Jul 2019 11:47:39 GMT):
correct not supported

FernandaSartori (Thu, 04 Jul 2019 12:10:41 GMT):
Hello everyone! Good Morning! I'm used to develop in Hyperledger Fabric, and in the last days, I'm started to read about Hyperledger Explorer and how to connect it to my Fabric application. In the "Getting started", I'm having a problem with ./createdb.sh. I already installed the prerequisites (Nodejs 8.12.0, PostgreSQL 11.3 and jq 1.6). But when I run the createdb.sh, a error is happening when a password is solicited to me for user "my_user" The error is: `psql: FATAL: password authentication failed for user "my_user".` When I run other commands usig "sudo ...", my password authentication works perfectly. Any thoughts about how I should proceed in this case? Thanks!

HLFPOC (Thu, 04 Jul 2019 18:04:29 GMT):
You might need to provide permissions to your db directory. From blockchain-explorer/app/persistence/fabric/postgreSQL run: `chmod -R 775 db/`

Suarez20 (Fri, 05 Jul 2019 10:59:08 GMT):
Has joined the channel.

Suarez20 (Fri, 05 Jul 2019 10:59:10 GMT):
Hello, I've just started with HL Explorer, I have followed the tutorials but I did not managed to get the explorer running. I have a fabric network running (which has been tested and it works smoothly), I have created the database and tables using the `createdb.sh` and I have the connection profile setup correctly following the example fabric_example (connection profile). When I use the ./start script I only see the following:

Suarez20 (Fri, 05 Jul 2019 10:59:23 GMT):
************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ***** Please check the log [logs/console/console-2019-07-05.log] for any error ***** ************************************************************************************

Suarez20 (Fri, 05 Jul 2019 10:59:30 GMT):
which is kind of expected

Suarez20 (Fri, 05 Jul 2019 11:00:01 GMT):
logs are just this two lines false 'ssl-certs' '****/blockchain-explorer/ssl-certs' postgres://**:***@127.0.0.1:38339/fabricexplorer

Suarez20 (Fri, 05 Jul 2019 11:00:05 GMT):
it stops there

Suarez20 (Fri, 05 Jul 2019 11:00:22 GMT):
db.log => [2019-07-05 11:57:34.240] [INFO] PgService - Please set logger.setLevel to DEBUG in ./app/helper.js to log the debugging.

Suarez20 (Fri, 05 Jul 2019 11:01:03 GMT):
DEBUG is already set

Suarez20 (Fri, 05 Jul 2019 11:01:36 GMT):
I have gone through the troubleshooting section but I don't find anything that helps

nekia (Fri, 05 Jul 2019 13:12:02 GMT):
Thank you for using explorer! Unfortunately I have no idea what's happening. Did you try it with fabric-samples/first-network environment to see explorer works correctly? @Suarez20

FernandaSartori (Fri, 05 Jul 2019 18:51:38 GMT):
Thanks!

nfrunza (Mon, 08 Jul 2019 12:50:56 GMT):
@FernandaSartori did it solve your problem?

FernandaSartori (Mon, 08 Jul 2019 13:42:01 GMT):
Yes. That may work. In fact, my problem was referring to the postgres user. I installed postgres separately from the other requirements, and in the installation, a user for postgres was created in root of my computer with a random password. I delete this user that was created, delete the postgres installation and then install postgres using the homebrew.

nfrunza (Mon, 08 Jul 2019 13:48:37 GMT):
glad it worked

nfrunza (Mon, 08 Jul 2019 16:26:55 GMT):
Please describe your environment, OS used, is the fabric network remotely, or on the same PC/laptop? node version, please provide logs/app.log file

FernandaSartori (Mon, 08 Jul 2019 18:41:17 GMT):
ca

fsoares (Tue, 09 Jul 2019 18:43:13 GMT):
Has joined the channel.

fsoares (Tue, 09 Jul 2019 18:43:37 GMT):
Hello, is there a way to change the timezone of the hyperledger explorer when using the docker image?

nfrunza (Wed, 10 Jul 2019 11:45:59 GMT):
@nekia , please help on this

delao (Wed, 10 Jul 2019 14:38:36 GMT):
Good morning everyone, I'm facing a problem trying to run Hyperledger Explorer on a Docker container. I've modified the config.json and the connection profile archives, I'm running the fabric network and its running just fine but the explorer.mynetwork.com container is crashing in about ~20s. I'll put the config.json, my connection profile and the log of the container on the thread, thanks in advance

delao (Wed, 10 Jul 2019 14:39:12 GMT):
config.json: ``` { "network-configs": { "first-network": { "name": "first-network", "profile": "./connection-profile/first-network.json", "enableAuthentication": false } }, "license": "Apache-2.0" } ```

delao (Wed, 10 Jul 2019 14:39:49 GMT):
connection profile: ``` { "name": "first-network", "version": "1.0.0", "client": { "tlsEnable": false, "adminUser": "admin", "adminPassword": "adminpw", "adminPrivateKey": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec_sk", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "orderers": [ "orderer.example.com" ], "peers": { "peer0.org1.example.com": {} } } }, "organizations": { "Org1": { "mspid": "Org1MSP", "peers": [ "peer0.org1.example.com" ], "certificateAuthorities": [ "ca.example.com" ] } }, "peers": { "peer0.org1.example.com": { "url": "grpc://localhost:7051" } }, "orderers": { "orderer.example.com": { "url": "grpc://localhost:7050" } }, "certificateAuthorities": { "ca.example.com": { "url": "http://localhost:7054", "caName": "ca.example.com" } } } ```

delao (Wed, 10 Jul 2019 14:44:43 GMT):
explorer container log: ``` false 'ssl-certs' '/opt/explorer/ssl-certs' postgres://hppoc:password@explorerdb.mynetwork.com:5432/fabricexplorer ******* Initialization started for hyperledger fabric platform ******, { 'first-network': { name: 'first-network', profile: './connection-profile/first-network.json', enableAuthentication: false } } client_configs.name first-network client_configs.profile ./connection-profile/first-network.json FabricUtils.createFabricClient config.client.tlsEnable false FabricConfig, this.config.channels mychannel 2019-07-10T14:43:45.661Z - error: [FabricCAClientService.js]: Failed to enroll admin, error:%o message=Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 127.0.0.1:7054], stack=Error: Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 127.0.0.1:7054] at ClientRequest.request.on (/opt/explorer/node_modules/fabric-ca-client/lib/FabricCAClient.js:487:12) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at Socket.socketErrorListener (_http_client.js:401:9) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at emitErrorNT (internal/streams/destroy.js:66:8) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) 'Error instantiating FabricCAServices ' 2019-07-10T14:43:45.676Z - error: [BaseWallet]: setUserContext: identity 'admin' isn't enrolled, or loaded Error: identity 'admin' isn't enrolled, or loaded at FileSystemWallet.setUserContext (/opt/explorer/node_modules/fabric-network/lib/impl/wallet/basewallet.js:55:10) at ********* call to initializeDetachClient ********** initializeDetachClient --> client_config { name: 'first-network', profile: './connection-profile/first-network.json', enableAuthentication: false } name first-network initializeDetachClient, network config) { name: 'first-network', version: '1.0.0', client: { tlsEnable: false, adminUser: 'admin', adminPassword: 'adminpw', adminPrivateKey: '/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec_sk', enableAuthentication: false, organization: 'Org1', connection: { timeout: [Object] } }, channels: { mychannel: { orderers: [Array], peers: [Object] } }, organizations: { Org1: { mspid: 'Org1MSP', peers: [Array], certificateAuthorities: [Array] } }, peers: { 'peer0.org1.example.com': { url: 'grpc://localhost:7051' } }, orderers: { 'orderer.example.com': { url: 'grpc://localhost:7050' } }, certificateAuthorities: { 'ca.example.com': { url: 'http://localhost:7054', caName: 'ca.example.com' } } } ************************************* initializeDetachClient ************************************************* Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************** initializeDetachClient ************************************************ FabricUtils.createDetachClient Please open web browser to access :http://localhost:8080/ pid is 7 FabricConfig, this.config.channels mychannel <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ```

nekia (Wed, 10 Jul 2019 15:24:55 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=b54oKbrwe7CmgZfHx) @fsoares I think you need to add definition of TZ environment variable to your docker compose file. Ex. TZ='Asia/Kolkata' https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

delao (Wed, 10 Jul 2019 18:52:15 GMT):
FIXED: The problem was in the connection profile, I had to change those `localhost` in the urls to the names , like ca.example.com, peer0.org1.example.com and orderer.example.com

delao (Wed, 10 Jul 2019 18:52:15 GMT):
FIXED: The problem was in the connection profile, I had to change those `localhost` in the urls to the domains like ca.example.com, peer0.org1.example.com and orderer.example.com

nfrunza (Wed, 10 Jul 2019 19:09:52 GMT):
:thumbsup: great catch

ooojerryooo (Fri, 12 Jul 2019 07:49:52 GMT):
@nfrunza Are there any plans to support etcdraft?

nfrunza (Fri, 12 Jul 2019 11:55:38 GMT):
we are low in resources, 1.5 man working now, but if you're willing to contribute and add support for etcdraft would be appreciated

akshay.sood (Sat, 13 Jul 2019 14:44:44 GMT):
Hi Experts Is it possible to protect Hyperledger Explorer access by setting admin password?

sudomann (Sat, 13 Jul 2019 15:29:40 GMT):
Has joined the channel.

sudomann (Sat, 13 Jul 2019 15:30:15 GMT):
Any particular reason why you guys use Gerrit instead of Github?

Javi (Mon, 15 Jul 2019 09:03:14 GMT):
Hello everyone! I'm updated my explorer docker image to the latest version and updated the config json with connection profile

Javi (Mon, 15 Jul 2019 09:03:33 GMT):
but when I start the container in my existing network it crash with the following error

Javi (Mon, 15 Jul 2019 09:03:55 GMT):
``` module.js:550 throw err; ^ Error: Cannot find module '../platform/fabric/models/User' 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. (/opt/explorer/app/passport/local-login.js:13:14) 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) ``` Anyone knows what happens?

Javi (Mon, 15 Jul 2019 09:04:30 GMT):
why the module is not found if I'm using the docker image? Maybe this dependency is not shupped with docker?

Javi (Mon, 15 Jul 2019 09:04:30 GMT):
why the module is not found if I'm using the docker image? Maybe this dependency is not shipped with docker?

umarmw (Mon, 15 Jul 2019 09:42:45 GMT):
Has joined the channel.

umarmw (Mon, 15 Jul 2019 09:42:47 GMT):
do I need to do `10.0 Build Hyperledger Explorer` if I want to use Hyperledger Explorer from docker?

umarmw (Mon, 15 Jul 2019 09:42:47 GMT):
do I need to do step `10.0 Build Hyperledger Explorer` if I want to use Hyperledger Explorer from docker?

umarmw (Mon, 15 Jul 2019 09:43:17 GMT):
from: https://github.com/hyperledger/blockchain-explorer

Javi (Mon, 15 Jul 2019 10:06:31 GMT):
no, you can use the images from docker hub

nfrunza (Mon, 15 Jul 2019 12:41:36 GMT):
We use both gerrit and github, gerrit is for the review, and code approval

nfrunza (Mon, 15 Jul 2019 12:45:37 GMT):
admin user/password is used to connect to fabric-ca server, but if you're not using fabric-ca server, you do not need user/password

delao (Mon, 15 Jul 2019 13:07:09 GMT):
You can set a user/password before the home page of Explorer. This can be set on the connection profile under `client.adminUser` and `client.adminPassword`

nfrunza (Mon, 15 Jul 2019 13:07:49 GMT):
:thumbsup:

nfrunza (Mon, 15 Jul 2019 13:09:43 GMT):
Explorer will need to build a user/roles model for the authentication, there is not yet a design for that, if any of you would like to contribute with a design of such, we welcome you

nfrunza (Mon, 15 Jul 2019 13:23:55 GMT):
@nekia Atsushi can you help Javi?

nekia (Mon, 15 Jul 2019 14:07:06 GMT):
At long as my local environment (fabric v1.4.0 + first-network), explorer ver 0.3.9.4 docker image works fine. Can you share your docker-compose.yaml file? @Javi

umarmw (Mon, 15 Jul 2019 17:13:13 GMT):
what is the default login/pass to access `Grafana` via `docker` `http://localhost:3000/login` ?

umarmw (Mon, 15 Jul 2019 17:14:13 GMT):
I've tried `admin:adminpw`, but doesn't work.

nfrunza (Mon, 15 Jul 2019 20:58:22 GMT):
whatever is default for grafana

umarmw (Tue, 16 Jul 2019 06:49:34 GMT):
where is the default user/pass configured?

Javi (Tue, 16 Jul 2019 07:37:08 GMT):
@nfrunza @nekia This is my docker-compose file: https://pastebin.com/Gdh8GAuq and the config.json looks like this

Javi (Tue, 16 Jul 2019 07:38:36 GMT):
``` { "network-configs": { "sample-network": { "name": "samplenetwork", "profile": "./sample-network.json" } }, "license": "Apache-2.0" } ```

Javi (Tue, 16 Jul 2019 07:39:22 GMT):
and the sample-network json is in the same directory. It looks like this: ``` { "name": "sample-network", "version": "1.0.0", "client": { "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "tlsEnable": true, "organization": "Org1" }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} } } }, "organizations": { "Org1": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" }, "certificateAuthorities": [ "ca.example.com" ], "peers": [ "peer0.org1.example.com" ] } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } }, "certificateAuthorities": { "ca.example.com": { "url": "https://ca.example.com:7054", "httpOptions": { "verify": false }, "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem" }, "caName": "ca.example.com" } } } ```

Javi (Tue, 16 Jul 2019 07:40:23 GMT):
I'm testing with hyperledger fabric 1.4.1 and the latest version of the explorer, v0.3.9.4

Abrara (Tue, 16 Jul 2019 08:12:01 GMT):
Has left the channel.

nekia (Tue, 16 Jul 2019 08:13:52 GMT):
``` volumes: - ./explorer:/opt/explorer/app/platform/fabric/ ```

nekia (Tue, 16 Jul 2019 08:15:05 GMT):
This volume mount will override fabric component in docker image, I think. Can you try again with removing this line?

nekia (Tue, 16 Jul 2019 08:15:53 GMT):
@Javi

Javi (Tue, 16 Jul 2019 08:55:19 GMT):
ok, I will try it

Javi (Tue, 16 Jul 2019 09:43:07 GMT):
@nekia it works!! thanks you :grinning:

Javi (Tue, 16 Jul 2019 13:05:58 GMT):
hi again @nekia I got a new error when I restart the explorer: ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Channel name [%s] already exist in DB , Kindly re-run the DB scripts to proceed', 'mychannel' ] <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Explorer is closing due to channel name [%s] is already exist in DB', 'mychannel' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> ``` Seems that if the database is already created, the explorer is unable to start syncing

nfrunza (Tue, 16 Jul 2019 13:17:03 GMT):
the channel has a different hash, looks like it is a new fabric network, did you restart you fabric network

Javi (Tue, 16 Jul 2019 13:17:54 GMT):
yes, but I'm using persistent volumes in the peers and couch

Javi (Tue, 16 Jul 2019 13:19:20 GMT):
external volumes*

nfrunza (Tue, 16 Jul 2019 13:19:23 GMT):
one instance of explorer per fabric network

Javi (Tue, 16 Jul 2019 13:19:54 GMT):
yes

nfrunza (Tue, 16 Jul 2019 13:20:54 GMT):
you same channel name, different channel hash

nfrunza (Tue, 16 Jul 2019 13:20:54 GMT):
you have same channel name, different channel hash

Javi (Wed, 17 Jul 2019 09:34:47 GMT):
ok thanks I fixed it

afifield (Wed, 17 Jul 2019 17:01:26 GMT):
Has joined the channel.

VaibhavSharma (Thu, 18 Jul 2019 12:22:22 GMT):
Has joined the channel.

VaibhavSharma (Thu, 18 Jul 2019 12:24:04 GMT):
@ooojerryooo I am having the same issue of explorer, it is showing transactions and block but not showing the peers and nodes. Can you tell what was the problem?

VaibhavSharma (Fri, 19 Jul 2019 11:19:59 GMT):
I have a fabric network with 3 org in a channel but hyperledger explorer is showing nodes from 2 org. only. Anyone knows what might be the problem?

nfrunza (Fri, 19 Jul 2019 12:30:56 GMT):
did you enable discovery service?

bereal (Fri, 19 Jul 2019 12:47:39 GMT):
Has joined the channel.

bereal (Fri, 19 Jul 2019 12:47:43 GMT):
Hello! Has anyone deployed explorer to k8s? Are there any ready to use helm charts?

nfrunza (Fri, 19 Jul 2019 13:38:17 GMT):
try this https://github.com/feitnomore/hyperledger-fabric-kubernetes

VaibhavSharma (Sun, 21 Jul 2019 16:09:56 GMT):
yes, discovery service is enabled on every peer, i have 3 organizations with total peer (2 in each) but explorer is showing only 2 org with 4 orgs only

VaibhavSharma (Sun, 21 Jul 2019 16:10:05 GMT):
4 peers*

nekia (Mon, 22 Jul 2019 12:43:15 GMT):
https://jira.hyperledger.org/browse/BE-681 I've created a new JIRA for adding raft support to explorer. Is there any feature you expect to this JIRA? @ooojerryooo

nfrunza (Mon, 22 Jul 2019 12:43:38 GMT):
sure, thank you

nekia (Mon, 22 Jul 2019 12:44:52 GMT):
As long as I'm looking over the current status on my local fabric 1.4.1 raft environment, explorer seems to be working fine without any errors.

nfrunza (Mon, 22 Jul 2019 12:45:27 GMT):
great, so no changes required to support raft?

nekia (Mon, 22 Jul 2019 12:50:25 GMT):
I think, it depends on requirement.

nekia (Mon, 22 Jul 2019 12:51:49 GMT):
Do we need to add all orderer nodes to "NETWORK" view or "peer" list on "DASHBOARD" view?

nekia (Mon, 22 Jul 2019 12:53:36 GMT):
If we don't need any GUI changes, yes, no change seems to be required so far.

nfrunza (Mon, 22 Jul 2019 12:54:00 GMT):
Yes, i believe so, I wouldn't be able to do much on HLExplorer, working on internal project, but i'll answer emails, and question

nfrunza (Mon, 22 Jul 2019 12:54:43 GMT):
I think, just the backend, db query and insert may required

nekia (Mon, 22 Jul 2019 12:55:27 GMT):
https://jira.hyperledger.org/browse/BE-681?focusedCommentId=62003&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-62003

nekia (Mon, 22 Jul 2019 12:56:40 GMT):
Each orderer node information discovered has already been inserted to peer table as we expect.

nfrunza (Mon, 22 Jul 2019 12:57:34 GMT):
as I recall i think the query needs to be change for the retrieval?

nekia (Mon, 22 Jul 2019 13:00:02 GMT):
I'm not sure. We need to look through it more closer.

nfrunza (Mon, 22 Jul 2019 15:36:25 GMT):
sure, thanks

Javi (Wed, 24 Jul 2019 07:55:38 GMT):
@nekia I'm running explorer with a network with 5 etcdraft nodes without any problem

Javi (Wed, 24 Jul 2019 07:55:38 GMT):
@nekia I'm running explorer with a network of 5 etcdraft nodes without any problem

dcasado (Wed, 24 Jul 2019 12:46:13 GMT):
Has joined the channel.

dcasado (Wed, 24 Jul 2019 12:46:14 GMT):
Hello, we re trying to use certificates generated by an external Authority but we are encountering a problem when used with Hyperledger Explorer. `Error: This key implementation only supports keys generated by jsrsasign.KEYUTIL. It must have a "pubKeyHex" property` Does anyone know why explorer throws that error?

nekia (Wed, 24 Jul 2019 14:08:33 GMT):
Good! :thumbsup:

knagware9 (Fri, 26 Jul 2019 08:28:19 GMT):
Is it possible to share explorer config file for the same or it will be good if you have any git repo for the same

nekia (Fri, 26 Jul 2019 12:04:47 GMT):
For etcdraft env described in [BE-681](https://jira.hyperledger.org/browse/BE-681), you can use [this config file](https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/connection-profile/first-network.json) with aligning some path to your environment. FYI @knagware9

nekia (Fri, 26 Jul 2019 12:04:47 GMT):
For etcdraft env described in [BE-681](https://jira.hyperledger.org/browse/BE-681), you can use [this config file](https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/connection-profile/first-network.json). Just only need to align a few paths in the file to your environment. FYI @knagware9

weeaix (Sun, 28 Jul 2019 09:40:11 GMT):
Has joined the channel.

Kypros (Mon, 29 Jul 2019 08:59:36 GMT):
Has joined the channel.

knagware9 (Mon, 29 Jul 2019 10:15:48 GMT):
Okay Thank you...let me try

soumyanayak (Tue, 30 Jul 2019 11:30:13 GMT):
Has joined the channel.

soumyanayak (Tue, 30 Jul 2019 12:19:27 GMT):
Can anybody provide a link or reference for the blockchain explorer set up in case of mutual TLS fabric network.

nekia (Wed, 31 Jul 2019 01:59:40 GMT):
https://jira.hyperledger.org/browse/BE-568?focusedCommentId=59526&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-59526

nekia (Wed, 31 Jul 2019 02:03:56 GMT):
If you have already completed the setup of your fabric network with enabling mutual TLS, you don't need any additional setup on blockchain explorer. fabric-sdk will handle it properly by using identity in your wallet. Before I've tried it on fabric-samples/first-network environment. Please refer the above comment in detail. @soumyanayak

soumyanayak (Wed, 31 Jul 2019 06:56:40 GMT):
Thanks Nekia will try it out

soumyanayak (Wed, 31 Jul 2019 09:09:42 GMT):
Nekia you have any link apart from the official link for doing the set up

soumyanayak (Fri, 02 Aug 2019 12:47:46 GMT):
Hi KristijanGlibo , i followed the steps for the hyperledger explorer but below is the error coming my docker logs and the explorer container is exiting . Can you please help. explorer.mynetwork.com | false 'ssl-certs' '/opt/explorer/ssl-certs' explorer.mynetwork.com | postgres://hppoc:password@explorerdb.mynetwork.com:5432/fabricexplorer explorer.mynetwork.com | error when connecting to db: { Error: getaddrinfo EAI_AGAIN explorerdb.mynetwork.com:5432 explorer.mynetwork.com | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26) explorer.mynetwork.com | errno: 'EAI_AGAIN', explorer.mynetwork.com | code: 'EAI_AGAIN', explorer.mynetwork.com | syscall: 'getaddrinfo', explorer.mynetwork.com | hostname: 'explorerdb.mynetwork.com', explorer.mynetwork.com | host: 'explorerdb.mynetwork.com', explorer.mynetwork.com | port: 5432 } explorer.mynetwork.com | ******* Initialization started for hyperledger fabric platform ******, { 'ldbc-network': explorer.mynetwork.com | { name: 'ldbcnetwork', explorer.mynetwork.com | profile: './connection-profile/ldbc-network.json' } } explorer.mynetwork.com | client_configs.name ldbcnetwork client_configs.profile ./connection-profile/ldbc-network.json explorer.mynetwork.com | FabricUtils.createFabricClient explorer.mynetwork.com | config.client.tlsEnable true explorer.mynetwork.com | FabricConfig, this.config.channels legaldescriptionchannel explorer.mynetwork.com | An identity for the admin user: admin already exists in the wallet explorer.mynetwork.com | error when connecting to db: TypeError: Cannot read property 'on' of undefined explorer.mynetwork.com | at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:68:16) explorer.mynetwork.com | at ontimeout (timers.js:498:11) explorer.mynetwork.com | at tryOnTimeout (timers.js:323:5) explorer.mynetwork.com | at Timer.listOnTimeout (timers.js:290:5) explorer.mynetwork.com | <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | TypeError: "callback" argument must be a function explorer.mynetwork.com | at setTimeout (timers.js:450:11) explorer.mynetwork.com | at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:85:5) explorer.mynetwork.com | at ontimeout (timers.js:498:11) explorer.mynetwork.com | at tryOnTimeout (timers.js:323:5) explorer.mynetwork.com | at Timer.listOnTimeout (timers.js:290:5) explorer.mynetwork.com | initializeChannelFromDiscover legaldescriptionchannel explorer.mynetwork.com | FabricClient.discover_results endpoint { host: '172.23.155.122', port: 7050 } explorer.mynetwork.com | explorer.mynetwork.com | initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://172.23.155.122:7050 explorer.mynetwork.com | explorer.mynetwork.com | FabricClient.discover_results endpoint { host: '172.23.155.119', port: 7050 } explorer.mynetwork.com | explorer.mynetwork.com | initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://172.23.155.119:7050 explorer.mynetwork.com | explorer.mynetwork.com | Channel genesis hash for channel [legaldescriptionchannel] >> f12a2c0a7252ba8c14fbd2250844b031a8944d84a1a2e1768dcb177d3fb4a03e explorer.mynetwork.com | FabricUtils.createDetachClient explorer.mynetwork.com | explorer.mynetwork.com | explorer.mynetwork.com | Please open web browser to access :http://localhost:8080/ explorer.mynetwork.com | explorer.mynetwork.com | explorer.mynetwork.com | pid is 7 explorer.mynetwork.com | explorer.mynetwork.com | explorer.mynetwork.com | postgres://hppoc:password@explorerdb.mynetwork.com:5432/fabricexplorer explorer.mynetwork.com | Received kill signal, shutting down gracefully explorer.mynetwork.com | <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | Closed out connections explorer.mynetwork.com | <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com exited with code 1 Regards, Soumya

nekia (Fri, 02 Aug 2019 13:15:12 GMT):
EAI_AGAIN means [A temporary failure in name resolution occurred](https://docs.microsoft.com/en-au/windows/win32/api/ws2tcpip/nf-ws2tcpip-getaddrinfo#return-value).

nekia (Fri, 02 Aug 2019 13:18:50 GMT):
As mentioned on the article ( and also README.md ), you need to align the network that explorer belongs to the one that fabric network belong.

nekia (Fri, 02 Aug 2019 13:20:15 GMT):
You should be able to see peer containers and explorer containers when inspecting the network ( `docker network inspect {network_name}` ).

soumyanayak (Fri, 02 Aug 2019 13:31:23 GMT):
Hi Nekia, in my fabric network set up the -- network_mode is used as "host". i havent specified any network name in any of the orderer or peer containers

soumyanayak (Fri, 02 Aug 2019 13:39:36 GMT):
so the same network_mode as host , i used in the explorer docker-compose.yaml file

nekia (Fri, 02 Aug 2019 13:54:08 GMT):
I'm not sure host network mode of docker, I guess the hostname is not resolved any more on your environment unless adding ip/hostname definitions on your host OS.

nekia (Fri, 02 Aug 2019 13:56:06 GMT):
For test purpose, if you change these host name to `127.0.0.1`, what's happened?

soumyanayak (Sun, 04 Aug 2019 05:36:25 GMT):
Hi Nekia,

soumyanayak (Sun, 04 Aug 2019 05:36:36 GMT):
Below is my connection.json { "name": "ldbc-network", "description": "A development enviornment setup", "version": "1.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "organizations": { "Org1": { "mspid": "Org1", "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/org1/admin/msp/keystore/key.pem" }, "signedCert": { "path": "/tmp/crypto/org1/admin/msp/signcerts/cert.pem" } } }, "channels": { "legaldescriptionchannel": { "peers": { "peer1": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "peers": { "peer1": { "url": "grpcs://172.23.155.115:7051", "eventUrl": "grpcs://172.23.155.115:7053", "grpcOptions": { "ssl-target-name-override": "172.23.155.115:7051" }, "tlsCACerts": { "path": "/tmp/crypto/org1/peer1/tls-msp/tlscacerts/tls-172-23-155-113-7052.pem" } } } }

soumyanayak (Sun, 04 Aug 2019 05:37:08 GMT):
configured in blockchain-explorer

soumyanayak (Sun, 04 Aug 2019 05:38:33 GMT):
whereas when i am connecting from node sdk Gateway.js with the similar details and configuration in the connection.yaml file i am able to connect and carry out the operations from chaincode installed on peers...

nekia (Sun, 04 Aug 2019 11:08:43 GMT):
Your EAI_AGAIN error occurred on the connection between explorer container and explorer db container. So connection profile has nothing to do with this error.

nekia (Sun, 04 Aug 2019 11:13:49 GMT):
When using host network, both explorer and explorer db containers run as 127.0.0.1:8090( or :5432 ). I have never tried before, but I think you need to specify DB address with 127.0.0.1, not hostname(ex. explorerdb.example.com) in your docker-compose.yaml.

soumyanayak (Mon, 05 Aug 2019 05:33:41 GMT):
ok Nekia will try that and update you

soumyanayak (Mon, 05 Aug 2019 05:44:30 GMT):
Thanks Nekia as you mentioned i modified and it worked.. so let me know if you are able to achieve the mutual TLS thing .. like in which class we have to set up the client certififcates .. for Node SDK i was doing it in gateway.class

nekia (Mon, 05 Aug 2019 07:05:02 GMT):
That's great :thumbsup:

nekia (Mon, 05 Aug 2019 07:05:20 GMT):
https://fabric-sdk-node.github.io/release-1.4/module-fabric-network.Gateway.html#~GatewayOptions

nekia (Mon, 05 Aug 2019 07:06:16 GMT):
all you

nekia (Mon, 05 Aug 2019 07:06:16 GMT):
all you have to do is configuring clientTlsIdentity in

nekia (Mon, 05 Aug 2019 07:06:16 GMT):
all you have to do is configuring clientTlsIdentity in GatewayOptions when

nekia (Mon, 05 Aug 2019 07:06:16 GMT):
all you have to do is configuring clientTlsIdentity in GatewayOptions when calling gateway.connect(), I think.

nekia (Mon, 05 Aug 2019 07:10:32 GMT):
Please ask to fabric-sdk-node folks about the detail.

nekia (Mon, 05 Aug 2019 07:24:37 GMT):
In the current Explorer implementation, same identity is always used for GatewayOptions.identity and GatewayOptions.clientTlsIdentity.

soumyanayak (Mon, 05 Aug 2019 09:20:46 GMT):
ya i had done it from node SDK but in the blockchain explorer folder where this gateway.class is present?

soumyanayak (Mon, 05 Aug 2019 10:26:49 GMT):
if (sslEnabled) { const options = { key: fs.readFileSync(sslPath + '/privatekey.pem').toString(), cert: fs.readFileSync(sslPath + '/certificate.pem').toString() }; server = https.createServer(options, explorer.getApp()); } else { server = http.createServer(explorer.getApp()); }

soumyanayak (Mon, 05 Aug 2019 10:27:22 GMT):
i found the above code in main.js that is invoked.. so is it in the If part we have to give the paths for the private key and certificate

soumyanayak (Mon, 05 Aug 2019 10:27:27 GMT):
for the mutual TLS?

soumyanayak (Mon, 05 Aug 2019 10:28:16 GMT):
and in appconfig.json we have to mention the sslenabled as true . This is what we have to do?

nekia (Mon, 05 Aug 2019 13:57:54 GMT):
That is the configuration of setup for accessing Explorer frontend via https.

nekia (Mon, 05 Aug 2019 14:01:21 GMT):
I'm a little bit confused. I'm not sure what you want to do. Can you issue a JIRA to describe what you want and what is issue?

ilkan8 (Tue, 06 Aug 2019 14:11:10 GMT):
Has joined the channel.

ilkan8 (Tue, 06 Aug 2019 14:11:11 GMT):
Does explorer support fabric 1.4.2 ?

nekia (Wed, 07 Aug 2019 01:05:52 GMT):
We're working

nekia (Wed, 07 Aug 2019 01:09:27 GMT):
We're working on it on [cii-badge branch](https://github.com/hyperledger/blockchain-explorer/tree/cii-badge). Explorer works fine so far without any issues. It'll be included the next release.

soumyanayak (Wed, 07 Aug 2019 05:49:28 GMT):
ikan8 - i had made the explorer work with 1.4.2 only .. as of now i have achieved in one way TLS

soumyanayak (Wed, 07 Aug 2019 05:49:42 GMT):
ia m trying now with mutual TLS once done that will update

heenas06 (Wed, 07 Aug 2019 11:03:48 GMT):
Has joined the channel.

bpoudel (Wed, 07 Aug 2019 19:05:54 GMT):
Has joined the channel.

bpoudel (Wed, 07 Aug 2019 19:05:55 GMT):
Has anyone tried running hyperledger explorer with basic_network inside fabric_samples?

nekia (Thu, 08 Aug 2019 05:08:43 GMT):
I've not ever tried it. But I've done it with first-network, balance-transfer and fabcar examples and they work.

Mozer18 (Sun, 11 Aug 2019 17:07:34 GMT):
Has joined the channel.

divina10 (Mon, 12 Aug 2019 13:22:40 GMT):
Has joined the channel.

divina10 (Mon, 12 Aug 2019 13:22:42 GMT):
@nfrunza I read your message about help to create documentation. I started with installed python3-sphinx. Has anybody started with this task?

ajmeraharsh (Mon, 12 Aug 2019 14:42:04 GMT):
thoughtchimp

nekia (Tue, 13 Aug 2019 01:06:31 GMT):
Thanks, I've heard he's been unavailable for a while. Are you mentioning this JIRA BE-679 ? I think @nfrunza was working on this JIRA. You can see his WIP outcome here https://gerrit.hyperledger.org/r/c/blockchain-explorer/+/32817. Of course you can also do this work to help us, I think :slight_smile: . @divina10

divina10 (Tue, 13 Aug 2019 16:40:49 GMT):
Hi Nekia! That's rigth, it's about tas BE-679. I will start this task in a few days. Thanks!!!

knagware9 (Wed, 14 Aug 2019 12:17:20 GMT):
Postgres db server is not starting when I logged in as root user on ubuntu. Do i need to use normal user to start postgres db for explorer

knagware9 (Wed, 14 Aug 2019 12:17:20 GMT):
Postgres db server is not starting when I logged in as root user on ubuntu. Do i need to use normal user to start postgres db for explorer?

knagware9 (Wed, 14 Aug 2019 12:17:20 GMT):
Just I logged in as normal user and its done

nekia (Thu, 15 Aug 2019 11:10:50 GMT):
That would be great! Thanks.

sanket1211 (Fri, 16 Aug 2019 07:19:45 GMT):
trying to connect explorer with fabric with hostname given as ip address...when i run it on browser its shows invalid user and password...plz revert ASAP!!

sanket1211 (Fri, 16 Aug 2019 07:19:45 GMT):
trying to connect explorer with fabric with hostname given as ip address(server)...when i run it on browser its shows invalid user and password...plz revert ASAP!!

sanket1211 (Fri, 16 Aug 2019 07:59:01 GMT):
error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/home/sanket/Hyperledger_Explorer/app/persistence/postgreSQL/PgService.js:68:16) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at setTimeout (timers.js:390:11) at Timeout.handleDisconnect [as _onTimeout] (/home/sanket/Hyperledger_Explorer/app/persistence/postgreSQL/PgService.js:85:5) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

soumyanayak (Fri, 16 Aug 2019 08:26:48 GMT):
can you please share your configuration - docker-compose.yaml if you are doing with docker

sanket1211 (Fri, 16 Aug 2019 09:07:11 GMT):
not with docker

sanket1211 (Fri, 16 Aug 2019 09:08:23 GMT):
{ "name": "balance-transfer", "version": "1.0.0", "license": "Apache-2.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/home/sanket/Explorer_Setup/Cert_Multihost_Raft_Setup/cert_multihost_Raft/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/3f72321c9954bbbcdc4ef0f28b7c8133000464ef01fb0a60bfebadccc5b4bf8f_sk" }, "signedCert": { "path": "/home/sanket/Explorer_Setup/Cert_Multihost_Raft_Setup/cert_multihost_Raft/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/sanket/Explorer_Setup/Cert_Multihost_Raft_Setup/cert_multihost_Raft/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } }

sanket1211 (Fri, 16 Aug 2019 09:08:51 GMT):
changed localhost to ip address of my server

soumyanayak (Fri, 16 Aug 2019 09:11:21 GMT):
try once with 127.0.0.1 instead of localhost

sanket1211 (Fri, 16 Aug 2019 09:12:57 GMT):
ok

sanket1211 (Fri, 16 Aug 2019 09:32:35 GMT):
thats not working...

soumyanayak (Fri, 16 Aug 2019 09:33:13 GMT):
i tried with the docker and set up and i am able to achieve it

soumyanayak (Fri, 16 Aug 2019 09:33:35 GMT):
https://medium.com/beyondi/understanding-hyperledger-explorer-setup-via-docker-6af845fcb82e

sanket1211 (Fri, 16 Aug 2019 09:33:37 GMT):
i guess il have to replace localhost with my servers ip address coz m running network on server and running explorer on local

soumyanayak (Fri, 16 Aug 2019 09:33:49 GMT):
You can follow the link

sanket1211 (Fri, 16 Aug 2019 09:33:52 GMT):
locally i have run it..

sanket1211 (Fri, 16 Aug 2019 09:34:05 GMT):
i was deploying it on server

soumyanayak (Fri, 16 Aug 2019 09:34:43 GMT):
yeah if they are all different servers then you have to give the IPs

sanket1211 (Fri, 16 Aug 2019 09:35:14 GMT):
yup...it shows login scrren on browser but cant log in

soumyanayak (Fri, 16 Aug 2019 09:35:34 GMT):
login with admin/adminpw

sanket1211 (Fri, 16 Aug 2019 10:04:47 GMT):
its not able to connect to db

nekia (Fri, 16 Aug 2019 13:37:27 GMT):
Can you provide more detail of your environment? Which branch, tag of explorer are you using? Which verion of fabric? You can also create a new JIRA to discuss more closely. @sanket1211

sanket1211 (Mon, 19 Aug 2019 04:39:38 GMT):
@nekia...explorer v0.3.9.4 and fabric 1.4.1

nekia (Mon, 19 Aug 2019 04:50:11 GMT):
https://jira.hyperledger.org/browse/BE-682

sanket1211 (Mon, 19 Aug 2019 04:53:32 GMT):
https://jira.hyperledger.org/browse/BE-691

nekia (Mon, 19 Aug 2019 04:53:52 GMT):
In non-docker environment with master branch, you have the above issue (it's already addressed on cii-badger branch). I'm not sure that this issue do anything with your problem, but applying this change on your environment might change the situation.

nekia (Mon, 19 Aug 2019 04:53:52 GMT):
In non-docker environment with master branch, you have the above issue BE-682 (it's already addressed on cii-badger branch). I'm not sure that this issue do anything with your problem, but applying this change on your environment might change the situation.

sanket1211 (Mon, 19 Aug 2019 04:55:58 GMT):
cool...thank you

nekia (Mon, 19 Aug 2019 04:57:16 GMT):
Can you also provide steps how to reproduce as far as you can share?

Heena078 (Mon, 19 Aug 2019 12:17:05 GMT):
Has joined the channel.

bjcawanglu (Tue, 20 Aug 2019 02:07:01 GMT):
Has joined the channel.

sanket1211 (Thu, 22 Aug 2019 07:15:56 GMT):
hi..i used cii-badge branch still facing the same issue

sanket1211 (Thu, 22 Aug 2019 07:18:07 GMT):
i think its the db issue

sanket1211 (Thu, 22 Aug 2019 07:18:30 GMT):
after \d it doesnt show any tables..

nekia (Thu, 22 Aug 2019 07:18:49 GMT):
Did you run createdb.sh?

sanket1211 (Thu, 22 Aug 2019 07:19:06 GMT):
yes

nekia (Thu, 22 Aug 2019 07:24:42 GMT):
Can you see fabricexplorer database after \l?

sanket1211 (Thu, 22 Aug 2019 07:24:55 GMT):
yes

nekia (Thu, 22 Aug 2019 07:25:41 GMT):
Did you see any errors when running createdb.sh?

nekia (Thu, 22 Aug 2019 07:26:29 GMT):
Please run createdb.sh again.

sanket1211 (Thu, 22 Aug 2019 07:32:55 GMT):

Screenshot from 2019-08-22 13-02-36.png

nekia (Thu, 22 Aug 2019 07:35:48 GMT):
looks good. And then run `sudo -u postgres psql -d fabricexplorer -c '\dt'`

sanket1211 (Thu, 22 Aug 2019 07:39:23 GMT):

Screenshot from 2019-08-22 13-09-06.png

nekia (Thu, 22 Aug 2019 07:45:09 GMT):
Looks good. Now you can see all tables.

sanket1211 (Thu, 22 Aug 2019 07:45:42 GMT):
yes

sanket1211 (Thu, 22 Aug 2019 07:48:38 GMT):
m trying to host from server...

sanket1211 (Thu, 22 Aug 2019 07:49:29 GMT):
i can see the login screen but when i enter credentials..it gives error as invalid user,password

nekia (Thu, 22 Aug 2019 08:40:36 GMT):
Did you set enableAuthentication in your connection profile to `true`? Currently there is no authentication except validating id/password specified in the profile.

sanket1211 (Thu, 22 Aug 2019 09:09:53 GMT):
any other things to be taken care of while doing hosting??

sanket1211 (Thu, 22 Aug 2019 09:46:15 GMT):
enableAuthentication is true

sanket1211 (Thu, 22 Aug 2019 10:19:22 GMT):
still the same error of credentials..

sanket1211 (Thu, 22 Aug 2019 10:22:52 GMT):
after syncstart...it doesnt work..i had to start.sh

sanket1211 (Thu, 22 Aug 2019 10:23:12 GMT):
for log in screen to load

nekia (Thu, 22 Aug 2019 11:48:00 GMT):
:thumbsup:

nekia (Thu, 22 Aug 2019 11:50:26 GMT):
> any other things to be taken care of while doing hosting?? I think it depends on your requirements.

sanket1211 (Thu, 22 Aug 2019 13:16:42 GMT):
when i run npm test -- -u --coverage...1 test fails...that might be the reason??

nekia (Fri, 23 Aug 2019 04:28:37 GMT):
Sorry, I misunderstood that it did work. If you can provide more detail on JIRA BE-691, we'll be able to do more analyze for this issue. Ex. Attaching connection profile you're using. Describing steps to reproduce this issue and the kind of fabric network you use (fabric-samples/first-network? or your own custom network ?) etc.

nekia (Fri, 23 Aug 2019 04:30:48 GMT):
As far as using explorer enabled authentication ( with fabric-samples/first-network, I can login successfully without any errors.

nekia (Fri, 23 Aug 2019 04:30:48 GMT):
As far as using explorer enabled authentication (id/pass = admin/adminpw) with fabric-samples/first-network, I can login successfully without any errors.

sanket1211 (Fri, 23 Aug 2019 12:31:58 GMT):
Blocks › Simulate onClick when a tansaction is clicked the TransactionView modal should exist

sanket1211 (Fri, 23 Aug 2019 12:32:31 GMT):
has this error occurred anytime after npm test -- -u --coverage

tasree (Wed, 28 Aug 2019 14:49:42 GMT):
Has joined the channel.

tasree (Wed, 28 Aug 2019 14:49:42 GMT):
Hi All, need some help in adding new user in Hyperledger explorer

tasree (Wed, 28 Aug 2019 14:50:11 GMT):
my explorer is v0.3.9.4

tasree (Wed, 28 Aug 2019 14:51:00 GMT):
when I try to Register user I get following error "User 'testabc' did not register with CA"

tasree (Wed, 28 Aug 2019 15:02:39 GMT):
Can someone please help me to register new user from explorer

simran (Thu, 29 Aug 2019 05:43:09 GMT):
Has joined the channel.

nekia (Sat, 31 Aug 2019 02:47:13 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AetwTaMMQBc8QnBpd) @tasree Currently fabric CA support is not fully implemented and tested.

sb2407 (Sun, 01 Sep 2019 15:17:12 GMT):
Has joined the channel.

GeorgePaulose (Tue, 03 Sep 2019 10:43:37 GMT):
Has joined the channel.

GeorgePaulose (Tue, 03 Sep 2019 10:43:40 GMT):
i was wondering how the application handles the various api requests? Which file is it in? I understand how it sends the request but how does it communicate with the network to get the required information

tasree (Fri, 06 Sep 2019 14:10:05 GMT):
Thanks @nekia for update.

mastersingh24 (Sun, 08 Sep 2019 12:25:29 GMT):
Has joined the channel.

mastersingh24 (Sun, 08 Sep 2019 12:25:29 GMT):
https://chat.hyperledger.org/channel/fabric?msg=MqqwNkg3CduseWNi5

mastersingh24 (Sun, 08 Sep 2019 12:25:41 GMT):
@rezabojnordi

rezabojnordi (Sun, 08 Sep 2019 12:25:41 GMT):
Has joined the channel.

rezabojnordi (Sun, 08 Sep 2019 14:05:43 GMT):
hi guys. i download explorer hyperleger stable from github. when run accrued error and failed: ************************************* initializeDetachClient ************************************************* Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************** initializeDetachClient ************************************************ FabricUtils.createDetachClient Please open web browser to access :http://localhost:8080/ pid is 24983 FabricConfig, this.config.channels mychannel <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

rezabojnordi (Sun, 08 Sep 2019 14:05:43 GMT):
hi guys. i download explorer hyperleger stable from github. when run accrued error and failed: ************************************* initializeDetachClient ************************************************* Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************** initializeDetachClient ************************************************ FabricUtils.createDetachClient Please open web browser to access :http://localhost:8080/ pid is 24983 FabricConfig, this.config.channels mychannel <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections please help me.

rezabojnordi (Sun, 08 Sep 2019 14:14:20 GMT):
@nekia

nekia (Sun, 08 Sep 2019 23:57:36 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/TROUBLESHOOT.md This troubleshoot might help you. And you should have more log under logs directory. You can share them with us on a JIRA for looking at your issue more close with us. @rezabojnordi

carlosalca (Mon, 09 Sep 2019 11:49:47 GMT):

Clipboard - September 9, 2019 1:49 PM

carlosalca (Mon, 09 Sep 2019 11:50:17 GMT):
Has joined the channel.

carlosalca (Mon, 09 Sep 2019 11:50:18 GMT):
Hi everyone! I have succesfully deployed Explorer and now I want to create a new user with the above questionnaire. Does anyone knows what i have to write on the field "Affiliation" ??

rezabojnordi (Mon, 09 Sep 2019 13:34:14 GMT):
@nekia thank you

rezabojnordi (Mon, 09 Sep 2019 13:52:02 GMT):
I checked the code there is no documen Please let my documen be able to develop it @nekia

nekia (Mon, 09 Sep 2019 15:38:17 GMT):
It means you want to do a contribution around documenting? Of course, you can do any type of contribution.

rezabojnordi (Mon, 09 Sep 2019 16:24:24 GMT):
I would like to have the code documented so that I can participate in project development

rezabojnordi (Mon, 09 Sep 2019 17:20:21 GMT):
Please add me to the project so I can contribute to the development of the NODEJS Coding Section

rezabojnordi (Mon, 09 Sep 2019 17:20:42 GMT):
github id == rezabojnordi

nekia (Tue, 10 Sep 2019 00:00:48 GMT):
That would be great!

nekia (Tue, 10 Sep 2019 00:00:57 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/CONTRIBUTING.md

nekia (Tue, 10 Sep 2019 00:08:07 GMT):
Currently our code base is on gerrit system. You can find how to commit your code to git repository via gerrit review system. You can login the system using LFID. Code base on github is mirrored (read only). It will be changed to use github directly soon, but I'm not sure when it'll happen. @rezabojnordi

nekia (Tue, 10 Sep 2019 00:08:07 GMT):
Currently our code base is on gerrit system. You can find how to commit your code to git repository via gerrit review system in the above document. You can login the system using LFID. Code base on github is mirrored (read only). It will be changed to use github directly soon, but I'm not sure when it'll happen. @rezabojnordi

nekia (Tue, 10 Sep 2019 00:45:49 GMT):
I guess you enabled authentication in your connection profile. It depends on your fabric-ca server configuration. But, unfortunately, as I mentioned [the post](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5afb1af1-e408-490f-bc0b-3bebe6610d11) a few days ago, support of fabric ca is not fully implemented. There is still plenty of room be designed and implemented. Any contribution is welcome :slight_smile:

carlosalca (Tue, 10 Sep 2019 06:54:22 GMT):
Ok! Thanks @nekia !! :)

rezabojnordi (Tue, 10 Sep 2019 07:04:20 GMT):
thanks nekia :)

nekia (Tue, 10 Sep 2019 08:54:55 GMT):
If there is anyone who are interested with CI pipeline implementation, please let us know. We need your help. Recently we need to migrate our CI environment from Jenkins to Azure Pipeline or Gitlab CI.

AlbertCL (Tue, 10 Sep 2019 13:31:00 GMT):
the url in the Gerrit section is this one: https://hyperledger-fabric.readthedocs.io/en/latest/Gerrit/lf-account.html and it's not workin, Should it be this other? https://hyperledger-fabric.readthedocs.io/en/latest/CONTRIBUTING.html

anujhlf (Tue, 10 Sep 2019 13:54:12 GMT):
Has joined the channel.

nekia (Wed, 11 Sep 2019 00:02:39 GMT):
Thanks. That's right. We'll update the link.

rezabojnordi (Wed, 11 Sep 2019 04:30:55 GMT):
not found directory crypto-config in first-network/

rezabojnordi (Wed, 11 Sep 2019 04:31:08 GMT):
~/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore"

rezabojnordi (Wed, 11 Sep 2019 04:31:14 GMT):
why not found?

nekia (Wed, 11 Sep 2019 12:21:16 GMT):
You need to run `byfn.sh up` once.

Sarah_Adams (Mon, 16 Sep 2019 16:42:28 GMT):
Has joined the channel.

Sarah_Adams (Mon, 16 Sep 2019 16:42:30 GMT):
hi! Is it possible to invoke chaincodes from Explorer?

nekia (Tue, 17 Sep 2019 20:54:51 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=76yLHNDtirfKReuZJ) @Sarah_Adams No it isn't.

soumyanayak (Thu, 19 Sep 2019 16:00:32 GMT):
Hi Nekia Any update on the below items https://jira.hyperledger.org/browse/BE-695 -- Showing the Orderer Details Channel Wise https://jira.hyperledger.org/browse/BE-696 -- Partial Synchronization options for blocks https://jira.hyperledger.org/browse/BE-697 -- showing the individual block size

carlosalca (Fri, 20 Sep 2019 08:59:55 GMT):
Hi everyone! I have deployed succesfully Explorer but I can only see one out of two of my peers. Any advise ??

carlosalca (Fri, 20 Sep 2019 09:28:44 GMT):
Is there anywhere to read about how to write a good connection profile for explorer ?

nekia (Mon, 23 Sep 2019 06:27:48 GMT):
Unfortunately,

nekia (Mon, 23 Sep 2019 06:27:48 GMT):
Unfortunately, recent a few weeks, I didn't have much time to do any works for Explorer. But I seem to be able to have some time to handle one of them this coming week!

nekia (Mon, 23 Sep 2019 06:34:36 GMT):
Did you see tREADME.md]

nekia (Mon, 23 Sep 2019 06:34:36 GMT):
Did you see [README.md](https://github.com/hyperledger/blockchain-explorer/blob/master/README.md#60-fabric-network-setup----)? CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNALENDPOINT are important because we're using discovery service to detect peers.

carlosalca (Mon, 23 Sep 2019 11:41:59 GMT):
Yeah I did so, but my Explorer still sees only one peer...

nekia (Mon, 23 Sep 2019 23:52:45 GMT):
What kind of fabric network are you using? fabric-samples/first-network or your own network?

nekia (Mon, 23 Sep 2019 23:54:27 GMT):
Anchor peer settings are also important for gossip (discovery service). If you are using first-network (byfn.sh), it does configure it by default.

carlosalca (Tue, 24 Sep 2019 05:15:04 GMT):
I'm using my own network

nekia (Tue, 24 Sep 2019 06:56:07 GMT):
By using discover cli, you can see whether discovery service is detecting all peers as expected or not. https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-cli.html

madiazp (Tue, 24 Sep 2019 16:29:41 GMT):
Has joined the channel.

madiazp (Tue, 24 Sep 2019 16:37:42 GMT):
Hi, I've got "[ERROR] FabricUtils - Server hostname is not defined default peer [peer0.org1.example.com] in configuration" in the app.log file, what does it means?. I have the release3.8 explorer

nekia (Thu, 26 Sep 2019 09:16:32 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zbuxmFnwZhwm7gbTP) @madiazp I recommend to use the latest version of explorer, v0.3.9.5.

madiazp (Thu, 26 Sep 2019 13:14:08 GMT):
I switched to release-4.0 and now I've got "2019-09-25T12:39:03.067Z - error: [Client.js]: Channel not found for name mychannel" with fabric running. The explorer has deployed but the peers seems to be down and there is no activity, no block, no transaction, no chaincode is shown while my fabric deployment is running.

nekia (Fri, 27 Sep 2019 06:53:55 GMT):
release-4.0 branch is inactive. As I mentioned the last message, v0.3.9.5 (Sep 8, 2019) is the latest version. https://github.com/hyperledger/blockchain-explorer#10-release-notes----

madiazp (Fri, 27 Sep 2019 18:04:36 GMT):
@nekia Thanks. Just for you know.. I've changed to 3.9.5 but I've got the "Error: Failed to connect before the deadline URL:grpcs://localhost:7051"

madiazp (Fri, 27 Sep 2019 18:04:57 GMT):
The problem was the conf file

madiazp (Fri, 27 Sep 2019 18:06:30 GMT):
In the app/platform/fabric/connection-profile/first-network.json that come by default in the peers : {peer0.org1.example.com {}} key

madiazp (Fri, 27 Sep 2019 18:07:11 GMT):
have a "grpcsOptions" instead of "grpcOptions". I've changed it and it works fine.

nekia (Fri, 27 Sep 2019 21:47:43 GMT):
It's weird. There is no such a option for connection profile. https://hyperledger-fabric.readthedocs.io/en/release-1.4/developapps/connectionprofile.html

madiazp (Sat, 28 Sep 2019 00:39:14 GMT):
@nekia Maybe is not explicit documented but you can see it in the sample at L146, L164 and L172

madiazp (Sat, 28 Sep 2019 00:41:47 GMT):
I saw it here https://fabric-sdk-node.github.io/release-1.4/tutorial-grpc-settings.html

KellyCooper (Sun, 29 Sep 2019 18:12:49 GMT):
Has left the channel.

Randyshu2018 (Mon, 30 Sep 2019 09:22:58 GMT):
hi, Any suggestion for finding missing blocks ?

nakulgr13 (Mon, 30 Sep 2019 12:40:33 GMT):
Has joined the channel.

nakulgr13 (Mon, 30 Sep 2019 12:40:35 GMT):
Hi, We are facing below exception while setting up hyperledger Explorer with Fabric 1.4 multimode network setup. Please suggest a way forward Below are the docs we are following for Fabric and Explorer: Fabric: https://medium.com/@kctheservant/demo-of-three-node-two-channel-setup-in-hyperledger-fabric-54ba8a9c461f Explorer: https://medium.com/@thanawitsupinnapong/setting-up-hyperledger-explorer-on-fabric-5f1f7cda73b3 Explorer Error: ========= <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> (We also tried to replace mychannel with our channel name but still getting above exception)

soumyanayak (Mon, 30 Sep 2019 12:54:50 GMT):
https://medium.com/beyondi/understanding-hyperledger-explorer-setup-via-docker-6af845fcb82e

soumyanayak (Mon, 30 Sep 2019 12:55:02 GMT):
try setting up once from this link

soumyanayak (Mon, 30 Sep 2019 12:55:25 GMT):
try the setup from this link once

nakulgr13 (Tue, 01 Oct 2019 07:06:55 GMT):
@soumyanayak : Thanks for the details We tried the steps mentioned in docs but still explorer UI is not accessible. PFB Docker ps command output: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9760038222f7 prom/prometheus:latest "/bin/prometheus --c…" 7 minutes ago Up 7 minutes 0.0.0.0:9090->9090/tcp proms ea6598a03d38 hyperledger/explorer-db:latest "docker-entrypoint.s…" 7 minutes ago Up 7 minutes 5432/tcp explorerdb.mynetwork.com f3e48ef7a483 grafana/grafana:latest "/run.sh" 7 minutes ago Up 7 minutes 0.0.0.0:3000->3000/tcp grafana f5e6cc2b7e9c hyperledger/fabric-tools "/bin/bash" 42 minutes ago Up 42 minutes cli 29517ba7a299 hyperledger/fabric-peer "peer node start" 42 minutes ago Up 42 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp, 0.0.0.0:32769->7051/tcp, 0.0.0.0:32768->7053/tcp peer0.org1.example.com

nakulgr13 (Tue, 01 Oct 2019 07:06:55 GMT):
@soumyanayak : Thanks for the details We tried the steps mentioned in docs but still, explorer UI is not accessible. --> http://Public IP:3000 - (Graphana is accessible) --> http://Public IP:9090 - (Prometheus is accessible) --> http://Public IP:8080- (Explorer UI is not accessible. Even we don't see any error for the same while running the command "docker-compose up -d" ) PFB Docker ps command output: ===================== CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9760038222f7 prom/prometheus:latest "/bin/prometheus --c…" 7 minutes ago Up 7 minutes 0.0.0.0:9090->9090/tcp proms ea6598a03d38 hyperledger/explorer-db:latest "docker-entrypoint.s…" 7 minutes ago Up 7 minutes 5432/tcp explorerdb.mynetwork.com f3e48ef7a483 grafana/grafana:latest "/run.sh" 7 minutes ago Up 7 minutes 0.0.0.0:3000->3000/tcp grafana f5e6cc2b7e9c hyperledger/fabric-tools "/bin/bash" 42 minutes ago Up 42 minutes cli 29517ba7a299 hyperledger/fabric-peer "peer node start" 42 minutes ago Up 42 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp, 0.0.0.0:32769->7051/tcp, 0.0.0.0:32768->7053/tcp peer0.org1.example.com

nakulgr13 (Tue, 01 Oct 2019 10:16:53 GMT):
@soumyanayak soumyanayak : Thanks for the details We tried the steps mentioned in docs but still, explorer UI is not accessible. --> http://Public IP:3000 - (Graphana is accessible) --> http://Public IP:9090 - (Prometheus is accessible) --> http://Public IP:8080- (Explorer UI is not accessible. Even we don't see any error for the same while running the command "docker-compose up -d" ) PFB Docker ps command output: ===================== CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9760038222f7 prom/prometheus:latest "/bin/prometheus --c…" 7 minutes ago Up 7 minutes 0.0.0.0:9090->9090/tcp proms ea6598a03d38 hyperledger/explorer-db:latest "docker-entrypoint.s…" 7 minutes ago Up 7 minutes 5432/tcp explorerdb.mynetwork.com f3e48ef7a483 grafana/grafana:latest "/run.sh" 7 minutes ago Up 7 minutes 0.0.0.0:3000->3000/tcp grafana f5e6cc2b7e9c hyperledger/fabric-tools "/bin/bash" 42 minutes ago Up 42 minutes cli 29517ba7a299 hyperledger/fabric-peer "peer node start" 42 minutes ago Up 42 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp, 0.0.0.0:32769->7051/tcp, 0.0.0.0:32768->7053/tcp peer0.org1.example.com

nakulgr13 (Tue, 01 Oct 2019 10:16:53 GMT):
@soumyanayak : Thanks for the details We tried the steps mentioned in docs but still, explorer UI is not accessible. --> http://Public IP:3000 - (Graphana is accessible) --> http://Public IP:9090 - (Prometheus is accessible) --> http://Public IP:8080- (Explorer UI is not accessible. Even we don't see any error for the same while running the command "docker-compose up -d" ) PFB Docker ps command output: ===================== CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9760038222f7 prom/prometheus:latest "/bin/prometheus --c…" 7 minutes ago Up 7 minutes 0.0.0.0:9090->9090/tcp proms ea6598a03d38 hyperledger/explorer-db:latest "docker-entrypoint.s…" 7 minutes ago Up 7 minutes 5432/tcp explorerdb.mynetwork.com f3e48ef7a483 grafana/grafana:latest "/run.sh" 7 minutes ago Up 7 minutes 0.0.0.0:3000->3000/tcp grafana f5e6cc2b7e9c hyperledger/fabric-tools "/bin/bash" 42 minutes ago Up 42 minutes cli 29517ba7a299 hyperledger/fabric-peer "peer node start" 42 minutes ago Up 42 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp, 0.0.0.0:32769->7051/tcp, 0.0.0.0:32768->7053/tcp peer0.org1.example.com

soumyanayak (Tue, 01 Oct 2019 10:18:05 GMT):
Do you see any errors in the docker logs of the explorer and explorerdb container?

soumyanayak (Tue, 01 Oct 2019 10:19:53 GMT):
i dont see the other container running

soumyanayak (Tue, 01 Oct 2019 10:20:00 GMT):
explorer.mynetwork.com

nakulgr13 (Tue, 01 Oct 2019 10:21:11 GMT):
@soumyanayak There are no errors in docker logs.

soumyanayak (Tue, 01 Oct 2019 10:22:11 GMT):
Can you post me the complete logs of the two containers -- ```explorerdb.mynetwork.com``` and ```explorer.mynetwork.com```

soumyanayak (Tue, 01 Oct 2019 10:23:03 GMT):
both the files you can zip and post here

nakulgr13 (Tue, 01 Oct 2019 10:24:50 GMT):
Ideally, explorer.mynetwork.com container runs with docker-compose.yaml. But in our scenario, it's not running

nakulgr13 (Tue, 01 Oct 2019 10:25:19 GMT):
PFA explorerdb.mynetwork.com logs

nakulgr13 (Tue, 01 Oct 2019 10:25:48 GMT):

explorerdb.mynetwork.com.zip

soumyanayak (Tue, 01 Oct 2019 10:25:59 GMT):
so that container should also run -- explorer.mynetwork.com there is some issue it exited aand that is why youa re not able to see the application

nakulgr13 (Tue, 01 Oct 2019 10:27:22 GMT):

explorer.mynetwork.com.zip

nakulgr13 (Tue, 01 Oct 2019 10:27:54 GMT):
Yes, you are correct it exited 3 hours back. Attached logs for the same

soumyanayak (Tue, 01 Oct 2019 10:28:30 GMT):
Error : Failed to connect client peer, please check the configuration and peer status

soumyanayak (Tue, 01 Oct 2019 10:28:35 GMT):
this is the error

soumyanayak (Tue, 01 Oct 2019 10:29:34 GMT):
please check that its not connecting to the peer -- the configuration JSON or YAMl file

soumyanayak (Tue, 01 Oct 2019 10:29:51 GMT):
and i had tried with one way TLS

nakulgr13 (Tue, 01 Oct 2019 10:34:23 GMT):
@soumyanayak : Do you have any docs for the same?

soumyanayak (Tue, 01 Oct 2019 10:42:53 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=AAWw9iiatczCaYDB4)
Explorer_SetUp.docx

soumyanayak (Tue, 01 Oct 2019 10:44:06 GMT):
try this you can have your own IP addresses/DNS names .

nakulgr13 (Tue, 01 Oct 2019 10:44:50 GMT):
Ok @soumyanayak but in our setup below cert is not generated "/tmp/crypto/org1/peer1/tls-msp/tlscacerts/tls-172-23-155-113-7052.pem"

nakulgr13 (Tue, 01 Oct 2019 10:44:58 GMT):
or similar to this

nakulgr13 (Tue, 01 Oct 2019 10:45:24 GMT):
Even in DOcker logs we saw this error: { Error: ENOENT: no such file or directory, open '/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem'

nakulgr13 (Tue, 01 Oct 2019 10:45:53 GMT):
But Fabric Multi-Node network is running fine

soumyanayak (Tue, 01 Oct 2019 10:46:26 GMT):
you can read my doc i have mentioned about this -- certififcate mapping i have done as per my certififcates folder in the docker compose

nakulgr13 (Tue, 01 Oct 2019 10:46:48 GMT):
Ok... I will check and get back to you Thanks much @soumyanayak

nakulgr13 (Tue, 01 Oct 2019 10:46:48 GMT):
Hi, We are doing Hyperledger Explorer setup with Fabric in a single machine. PFB URL we are following for setup: https://medium.com/@thanawitsupinnapong/setting-up-hyperledger-explorer-on-fabric-5f1f7cda73b3 Fabric Configurations: ====================== ORG1 --> Peer0ORG1 and Peer1ORG1 ORG2 --> Peer0ORG2 and Peer1ORG2 We achive the setup successfully and explorer console is accessible. Even Fabcar chaincode is working fine on it. But we are not able to see transactions updating on all the Organisations and peers via Explorer UI. Could you please suggest is it a Bug in explorer or we need to alter any configurations so all transactions are visible for all the peers.

mfaisaltariq (Tue, 01 Oct 2019 11:11:30 GMT):
Has joined the channel.

Sarah_Adams (Tue, 01 Oct 2019 13:40:22 GMT):
hi! I want to start developing hyperledger explorer functionalities, is it explained how to start a dev environment? because it tries to connect to a network, thanks!

carlosalca (Wed, 02 Oct 2019 07:11:18 GMT):
Hi again @nekia ! I checked for the dicovery service and the peer's environment variables and everything is allrigth. Do you think of something it could be ??

nekia (Wed, 02 Oct 2019 07:35:16 GMT):
Thank you for updating.

nekia (Wed, 02 Oct 2019 07:35:57 GMT):
It means that you could see all peers which is expected to be detected via discover command? @carlosalca

nekia (Wed, 02 Oct 2019 07:37:50 GMT):
You can also raise jira and provide more detail of your environment there to discuss more closer your issue.

lotty02cho (Wed, 02 Oct 2019 09:39:23 GMT):
Hi all, I try to run blockcchain-explorer on my own network(org5, orderer5) but I count this error. I guess low version has a orderer config info in connection-profile/honeybee-network.json. but I can't find on the repository example(first-network.json, fabcar.json) where can I fix this error or how could I solve this error? Thank you in advance. ``` $ node main.js false 'ssl-certs' '/opt/gopath/src/github.com/hyperledger/blockchain-explorer-haccp/ssl-certs' ******* Initialization started for hyperledger fabric platform ******, { 'honeybee-network': { name: 'honeybee-network', profile: './connection-profile/honeybee-network.json' } } client_configs.name honeybee-network client_configs.profile ./connection-profile/honeybee-network.json FabricUtils.createFabricClient config.client.tlsEnable false FabricConfig, this.config.channels smarthaccp FabricConfig, this.config.channels haccp An identity for the admin user: admin already exists in the wallet initializeChannelFromDiscover haccp FabricClient.discover_results endpoint { host: 'orderer.org1.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org1.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org2.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org2.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org3.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org3.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org4.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org4.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org5.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org5.honeybee.com:7050 2019-10-02T09:17:29.717Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://orderer.org1.honeybee.com:7050 initializeChannelFromDiscover smarthaccp FabricClient.discover_results endpoint { host: 'orderer.org1.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org1.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org2.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org2.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org3.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org3.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org4.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org4.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org5.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org5.honeybee.com:7050 2019-10-02T09:17:32.791Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://orderer.org1.honeybee.com:7050 FabricUtils.createDetachClient Please open web browser to access :http://000.00.000.00:3720/ ``` ps. and when I enter the http://000.00.000.00:3720/#/ I saw this sentence ``` Please verify your network configuration, database configuration and try again ```

lotty02cho (Wed, 02 Oct 2019 09:39:23 GMT):
Hi all, I try to run blockcchain-explorer on my own network(org5, orderer5) but I count this error. I guess it will be problem of connection about orderers and low version has a orderer config info in connection-profile/honeybee-network.json. but I can't find on the repository example(first-network.json, fabcar.json) where can I fix this error or how could I solve this error? Thank you in advance. ``` $ node main.js false 'ssl-certs' '/opt/gopath/src/github.com/hyperledger/blockchain-explorer-haccp/ssl-certs' ******* Initialization started for hyperledger fabric platform ******, { 'honeybee-network': { name: 'honeybee-network', profile: './connection-profile/honeybee-network.json' } } client_configs.name honeybee-network client_configs.profile ./connection-profile/honeybee-network.json FabricUtils.createFabricClient config.client.tlsEnable false FabricConfig, this.config.channels smarthaccp FabricConfig, this.config.channels haccp An identity for the admin user: admin already exists in the wallet initializeChannelFromDiscover haccp FabricClient.discover_results endpoint { host: 'orderer.org1.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org1.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org2.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org2.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org3.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org3.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org4.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org4.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org5.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org5.honeybee.com:7050 2019-10-02T09:17:29.717Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://orderer.org1.honeybee.com:7050 initializeChannelFromDiscover smarthaccp FabricClient.discover_results endpoint { host: 'orderer.org1.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org1.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org2.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org2.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org3.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org3.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org4.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org4.honeybee.com:7050 FabricClient.discover_results endpoint { host: 'orderer.org5.honeybee.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpc requesturl grpc://orderer.org5.honeybee.com:7050 2019-10-02T09:17:32.791Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://orderer.org1.honeybee.com:7050 FabricUtils.createDetachClient Please open web browser to access :http://000.00.000.00:3720/ ``` ps. and when I enter the http://000.00.000.00:3720/#/ I saw this sentence ``` Please verify your network configuration, database configuration and try again ```

lotty02cho (Wed, 02 Oct 2019 10:46:54 GMT):
I can't run on first-network either. please let me know how to fix it. T_T ``` $ node main.js false 'ssl-certs' '/opt/gopath/src/github.com/hyperledger/blockchain-explorer/ssl-certs' ******* Initialization started for hyperledger fabric platform ******, { 'first-network': { name: 'first-network', profile: './connection-profile/first-network.json' } } client_configs.name first-network client_configs.profile ./connection-profile/first-network.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels mychannel An identity for the admin user: admin already exists in the wallet initializeChannelFromDiscover mychannel FabricClient.discover_results endpoint { host: 'orderer.example.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer.example.com:7050 2019-10-02T10:41:37.043Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://orderer.example.com:7050 FabricUtils.createDetachClient <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: listen EADDRINUSE :::8080 at Server.setupListenHandle [as _listen2] (net.js:1360:14) at listenInCluster (net.js:1401:12) at Server.listen (net.js:1485:7) at startExplorer (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/main.js:123:9) at at process._tickCallback (internal/process/next_tick.js:189:7) errno: 'EADDRINUSE', code: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 } Sync process is started for the network : [first-network] and client : [first-network] config.client.tlsEnable true FabricConfig, this.config.channels mychannel (node:79033) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead An identity for the admin user: admin already exists in the wallet Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ```

nekia (Thu, 03 Oct 2019 05:32:30 GMT):
I think, it's good option that you try to use explorer on first-network first. You need to check the following * You can see `Error: listen EADDRINUSE :::8080`. Is there any explorer that has already been running? * If first-network is running on the same machine on which you're trying to start explorer, you need to use `start.sh` or define `export DISCOVERY_AS_LOCALHOST=true` for mapping each URL of nodes to localhost. @lotty02cho

sharif2008 (Thu, 03 Oct 2019 06:37:15 GMT):
``` ******* Initialization started for hyperledger fabric platform ******, { 'first-network': { name: 'first-network', profile: './connection-profile/first-network.json' } } client_configs.name first-network client_configs.profile ./connection-profile/first-network.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels mychannel An identity for the admin user: admin already exists in the wallet 2019-10-03T06:36:18.524Z - error: [Channel.js]: Channel:mychannel received discovery error:access denied 2019-10-03T06:36:18.526Z - error: [Channel.js]: Error: Channel:mychannel Discovery error:access denied initializeChannelFromDiscover channelall FabricClient.discover_results endpoint { host: 'orderer.example.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer.example.com:7050 2019-10-03T06:36:21.599Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 2019-10-03T06:36:21.610Z - error: [Channel.js]: Channel:mychannel received discovery error:access denied 2019-10-03T06:36:21.610Z - error: [Channel.js]: Error: Channel:mychannel Discovery error:access denied 2019-10-03T06:36:21.610Z - error: [Channel.js]: refresh - failed:Error: Channel:mychannel Discovery error:access denied ```

sharif2008 (Thu, 03 Oct 2019 06:39:09 GMT):
My orderer is running for in different machine. But it is looking for localhost:7050 . I have tried with export *DISCOVERY_AS_LOCALHOST=false* too . What am I missing for integrating explorer in multi-node environment

sharif2008 (Thu, 03 Oct 2019 07:59:10 GMT):
Failed to get genesis block

sharif2008 (Thu, 03 Oct 2019 08:14:45 GMT):
Please verify your network configuration, database configuration and try again .

sharif2008 (Thu, 03 Oct 2019 08:15:09 GMT):
``` pid is 7234 initializeChannelFromDiscover channelall FabricClient.discover_results endpoint { host: 'orderer.example.com', port: 7050 } initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer.example.com:7050 2019-10-03T08:14:20.414Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7050 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'header' of null at FabricClient.initializeNewChannel (/home/hypuser/blockchain-explorer/app/platform/fabric/FabricClient.js:393:10) at at process._tickCallback (internal/process/next_tick.js:189:7) Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ```

sharif2008 (Thu, 03 Oct 2019 11:38:56 GMT):
for multi-node setup only the one peer node is showing . How can I can show all the peers, orderer and Ca server

nakulgr13 (Fri, 04 Oct 2019 06:31:12 GMT):
Hi, We are doing Hyperledger Explorer setup with Fabric in a single machine. PFB URL we are following for setup: https://medium.com/@thanawitsupinnapong/setting-up-hyperledger-explorer-on-fabric-5f1f7cda73b3 Fabric Configurations: ====================== ORG1 --> Peer0ORG1 and Peer1ORG1 ORG2 --> Peer0ORG2 and Peer1ORG2 We achieveve the setup successfully and explorer console is accessible. Even Fabcar chaincode is working fine on it. But we are not able to see transactions updating on all the Organisations and peers via Explorer UI. Could you please suggest is it a Bug in explorer or we need to alter any configurations so all transactions are visible for all the peers.

nakulgr13 (Fri, 04 Oct 2019 06:31:12 GMT):
Hi, We are doing Hyperledger Explorer setup with Fabric in a single machine. PFB URL we are following for setup: https://medium.com/@thanawitsupinnapong/setting-up-hyperledger-explorer-on-fabric-5f1f7cda73b3 Fabric Configurations: ====================== ORG1 --> Peer0ORG1 and Peer1ORG1 ORG2 --> Peer0ORG2 and Peer1ORG2 We achieve the setup successfully and explorer console is accessible. Even Fabcar chaincode is working fine on it. But we are not able to see transactions updating on all the Organisations and peers via Explorer UI. Could you please suggest is it a Bug in explorer or we need to alter any configurations so all transactions are visible for all the peers.

nakulgr13 (Fri, 04 Oct 2019 06:31:12 GMT):
Hi, We are doing Hyperledger Explorer setup with Fabric in a single machine. PFB URL we are following for setup: https://medium.com/@thanawitsupinnapong/setting-up-hyperledger-explorer-on-fabric-5f1f7cda73b3 Fabric Configurations: ====================== ORG1 --> Peer0ORG1 and Peer1ORG1 ORG2 --> Peer0ORG2 and Peer1ORG2 We achieved the setup successfully and explorer console is accessible. Even Fabcar chaincode is working fine on it. But we are not able to see transactions updating on all the Organisations and peers via Explorer UI. Could you please suggest is it a Bug in explorer or we need to alter any configurations so all transactions are visible for all the peers.

nakulgr13 (Fri, 04 Oct 2019 06:34:32 GMT):

Explorer_config.txt

greg2git (Fri, 04 Oct 2019 11:18:18 GMT):
Has left the channel.

nekia (Sun, 06 Oct 2019 14:10:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=qBnzvTg9fLdWuZ8C7) @sharif2008 I don't know the detail of your environment. But the messages around the following post might be useful for your issue. https://chat.hyperledger.org/channel/hyperledger-explorer?msg=5pC3MDCdvc87LTDTY

nekia (Sun, 06 Oct 2019 14:17:49 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XsrbrK6q6Hkieg3tK) @nakulgr13 We have some sample files of connection profile. The following is the one for fabcar. It might be useful for your issue. https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/connection-profile/fabcar.json

madiazp (Sun, 06 Oct 2019 17:07:25 GMT):
Has left the channel.

nekia (Tue, 08 Oct 2019 06:26:08 GMT):
We've done https://jira.hyperledger.org/browse/BE-695 on cii-badge branch. cii-badger branch is same with v0.3.9.5 release. If you get a chance, please evaluate it. Thanks.

soumyanayak (Wed, 09 Oct 2019 06:20:08 GMT):
Sure Nekia will check the BE-695 and let you know about it

soumyanayak (Wed, 09 Oct 2019 06:41:07 GMT):
Do i have to do any changes in the current configuration file ? or just updating the latest explorer code will help show me the details ? @nekia

nekia (Wed, 09 Oct 2019 06:51:59 GMT):
You don't need any configuration changes. Just updating. Thanks.

simran (Wed, 09 Oct 2019 07:31:25 GMT):

Screenshot from 2019-10-09 11-43-52.png

Shubham-koli (Wed, 09 Oct 2019 08:43:42 GMT):
Has joined the channel.

soumyanayak (Wed, 09 Oct 2019 09:25:52 GMT):
i ran the below command git clone https://github.com/hyperledger/blockchain-explorer.git

soumyanayak (Wed, 09 Oct 2019 09:26:01 GMT):
Will it get me the latest code ?

soumyanayak (Wed, 09 Oct 2019 09:26:14 GMT):
as i could not see orderer details

soumyanayak (Wed, 09 Oct 2019 09:26:14 GMT):
i amde the explorer up but could not see orderer details

soumyanayak (Wed, 09 Oct 2019 09:26:14 GMT):
i made the explorer up but could not see orderer details

soumyanayak (Wed, 09 Oct 2019 09:36:34 GMT):
Please check the path of your certificate path as its clearly throwing the error the directory not found

simran (Wed, 09 Oct 2019 09:45:32 GMT):
yeah me giving the correct directory still me find this error

soumyanayak (Wed, 09 Oct 2019 10:04:50 GMT):
youa re using docker based or native based ?

Shubham-koli (Wed, 09 Oct 2019 10:29:25 GMT):

Screenshot from 2019-10-09 15-55-39.png

simran (Wed, 09 Oct 2019 10:30:56 GMT):
yeah me using docker based

simran (Wed, 09 Oct 2019 12:31:07 GMT):

Screenshot from 2019-10-09 17-42-07.png

soumyanayak (Wed, 09 Oct 2019 12:33:45 GMT):
Can you please post your docker-compose and config.json once here

simran (Wed, 09 Oct 2019 12:35:02 GMT):

docker-compose.yaml.zip

simran (Wed, 09 Oct 2019 12:35:20 GMT):

data.json.zip

simran (Wed, 09 Oct 2019 12:36:25 GMT):

Screenshot from 2019-10-09 18-06-06.png

soumyanayak (Wed, 09 Oct 2019 12:39:50 GMT):
can you tell me whats the content in the path -- *./examples/net1/crypto*

simran (Wed, 09 Oct 2019 12:40:28 GMT):
crytpo file is null here

simran (Wed, 09 Oct 2019 12:40:49 GMT):
in tmp folder i have placed the crytp-config folder

soumyanayak (Wed, 09 Oct 2019 12:41:08 GMT):
because for certifficates mapping i could see the mapping - ./examples/net1/crypto:/tmp/crypto

simran (Wed, 09 Oct 2019 12:41:14 GMT):

Screenshot from 2019-10-09 17-42-07.png

soumyanayak (Wed, 09 Oct 2019 12:42:00 GMT):
under crypto folder in your local the certificates should be there with the folders as peerOrganizations and ordererOrganizations

simran (Wed, 09 Oct 2019 12:42:06 GMT):
yeah in crypto folder there is the

simran (Wed, 09 Oct 2019 12:42:09 GMT):
yeah same

simran (Wed, 09 Oct 2019 12:42:23 GMT):
yeah i have located it

soumyanayak (Wed, 09 Oct 2019 12:43:01 GMT):
what you do is in the keystore folder change that long value _sk to key.pem

soumyanayak (Wed, 09 Oct 2019 12:43:11 GMT):
and map the same in your json file

simran (Wed, 09 Oct 2019 12:43:42 GMT):
but how

simran (Wed, 09 Oct 2019 12:43:51 GMT):
i have to create the key.pem

soumyanayak (Wed, 09 Oct 2019 12:44:00 GMT):
for eg like instead of this path -- /tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/16792f27b4fa8a855fe8bd74be9de3fef0c8b0f70e37344793a7031630b11345_sk -- map it as /tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/key.pem

soumyanayak (Wed, 09 Oct 2019 12:44:08 GMT):
rename that file to key.pem

simran (Wed, 09 Oct 2019 12:44:19 GMT):
okh

simran (Wed, 09 Oct 2019 12:50:03 GMT):

Screenshot from 2019-10-09 18-19-39.png

simran (Wed, 09 Oct 2019 12:50:10 GMT):
yeah

simran (Wed, 09 Oct 2019 12:50:21 GMT):
i renamed the file herer

simran (Wed, 09 Oct 2019 12:51:57 GMT):

Screenshot from 2019-10-09 18-21-28.png

soumyanayak (Wed, 09 Oct 2019 12:52:18 GMT):
expand your crypto folder

simran (Wed, 09 Oct 2019 12:52:34 GMT):
????

soumyanayak (Wed, 09 Oct 2019 12:52:35 GMT):
under the crypto folder its mapped right

simran (Wed, 09 Oct 2019 12:52:47 GMT):
yeah

simran (Wed, 09 Oct 2019 12:52:59 GMT):
i renamed the file there also

soumyanayak (Wed, 09 Oct 2019 12:53:15 GMT):
in your docker compose the mapping that you have done is - *./examples/net1/crypto*:/tmp/crypto

simran (Wed, 09 Oct 2019 12:53:31 GMT):
yeah

soumyanayak (Wed, 09 Oct 2019 12:53:36 GMT):
left side is the path in your local and right is inside your docker conatiner

soumyanayak (Wed, 09 Oct 2019 12:53:55 GMT):
so its not in the local path under temp folder

soumyanayak (Wed, 09 Oct 2019 12:54:14 GMT):
but above the tmp there is a folder crypto

soumyanayak (Wed, 09 Oct 2019 12:54:43 GMT):
inside that folder all your files should be there instead of tmp/crypto

simran (Wed, 09 Oct 2019 12:54:44 GMT):
oh that means in left i have to replace peer order crypto file

simran (Wed, 09 Oct 2019 12:54:57 GMT):
in ./example/net1/crypto

soumyanayak (Wed, 09 Oct 2019 12:55:23 GMT):
yes inside this folder you need to have all the contents which youa re currently having in ./tmp/crypto

simran (Wed, 09 Oct 2019 12:55:52 GMT):
folder means ./example/net1/crypto

simran (Wed, 09 Oct 2019 12:55:58 GMT):
in that folder

simran (Wed, 09 Oct 2019 12:55:59 GMT):
???

soumyanayak (Wed, 09 Oct 2019 12:56:00 GMT):
yes

simran (Wed, 09 Oct 2019 12:56:01 GMT):
right

simran (Wed, 09 Oct 2019 12:56:57 GMT):
no need to change in json file

simran (Wed, 09 Oct 2019 12:56:59 GMT):
???

soumyanayak (Wed, 09 Oct 2019 12:57:19 GMT):
not required

soumyanayak (Wed, 09 Oct 2019 12:58:15 GMT):
because this one is your local path *./example/net1/crypto* what ever you keep in here will be reflected inside the docker conatiner path - */tmp/crypto*

simran (Wed, 09 Oct 2019 12:58:40 GMT):
explorer.mynetwork.com | 2019-10-09T12:57:09.221Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051

simran (Wed, 09 Oct 2019 12:58:48 GMT):
now this error is coming

soumyanayak (Wed, 09 Oct 2019 12:59:05 GMT):
show me the screenshot once

simran (Wed, 09 Oct 2019 12:59:39 GMT):

Screenshot from 2019-10-09 18-29-19.png

simran (Wed, 09 Oct 2019 12:59:56 GMT):

Screenshot from 2019-10-09 18-29-19.png

simran (Wed, 09 Oct 2019 13:00:12 GMT):
pls check both the screenshots

soumyanayak (Wed, 09 Oct 2019 13:00:38 GMT):
first start the DB service - explorerdb.mynetwork.com and after 30 seconds start the explorer.mynetwork.com

soumyanayak (Wed, 09 Oct 2019 13:00:47 GMT):
and post me both the services logs screenshots

simran (Wed, 09 Oct 2019 13:01:09 GMT):
in another terminal

simran (Wed, 09 Oct 2019 13:01:13 GMT):
okh

simran (Wed, 09 Oct 2019 13:06:52 GMT):

Screenshot from 2019-10-09 18-35-40.png

simran (Wed, 09 Oct 2019 13:07:24 GMT):

Screenshot from 2019-10-09 18-36-20.png

soumyanayak (Wed, 09 Oct 2019 13:07:54 GMT):
db logs are fine

simran (Wed, 09 Oct 2019 13:08:01 GMT):
yeah

soumyanayak (Wed, 09 Oct 2019 13:08:02 GMT):
but in explorer logs its not connecting to the DB

simran (Wed, 09 Oct 2019 13:08:20 GMT):
yeah :(

soumyanayak (Wed, 09 Oct 2019 13:08:37 GMT):
in your docker-compose file under the service -- explorer.mynetwork.com

simran (Wed, 09 Oct 2019 13:09:03 GMT):
explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - DISCOVERY_AS_LOCALHOST=true volumes: - ./examples/net1/config.json:/opt/explorer/app/platform/fabric/config.json - ./examples/net1/connection-profile:/opt/explorer/app/platform/fabric/connection-profile - ./examples/net1/crypto:/tmp/crypto - walletstore:/opt/wallet command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - 8090:8080 networks: - mynetwork.com

simran (Wed, 09 Oct 2019 13:09:15 GMT):
i have to changes something here

soumyanayak (Wed, 09 Oct 2019 13:09:22 GMT):
- DATABASE_HOST=127.0.0.1

simran (Wed, 09 Oct 2019 13:09:55 GMT):
i have to add this

simran (Wed, 09 Oct 2019 13:09:57 GMT):
???

soumyanayak (Wed, 09 Oct 2019 13:10:02 GMT):
modify this variable

soumyanayak (Wed, 09 Oct 2019 13:10:22 GMT):
DATABASE_HOST=explorerdb.mynetwork.com to DATABASE_HOST=127.0.0.1

simran (Wed, 09 Oct 2019 13:10:28 GMT):
okh

soumyanayak (Wed, 09 Oct 2019 13:10:54 GMT):
and try again restarting both the services and removing the volumes

simran (Wed, 09 Oct 2019 13:11:03 GMT):
okh

simran (Wed, 09 Oct 2019 13:11:05 GMT):
:)

simran (Wed, 09 Oct 2019 13:18:06 GMT):

Screenshot from 2019-10-09 18-47-45.png

soumyanayak (Wed, 09 Oct 2019 13:24:07 GMT):

docker-compose.txt

soumyanayak (Wed, 09 Oct 2019 13:24:22 GMT):
try with this taking your existing as back up

soumyanayak (Wed, 09 Oct 2019 13:24:39 GMT):
in your blockchain explorer folder run -- sudo docker-compose down -v

soumyanayak (Wed, 09 Oct 2019 13:24:47 GMT):
and then restat the services once

simran (Wed, 09 Oct 2019 13:25:43 GMT):
actually i have installed the postgres in local also

simran (Wed, 09 Oct 2019 13:26:20 GMT):
so locall postgress conflict create the issue here

soumyanayak (Wed, 09 Oct 2019 13:27:56 GMT):
might be so you can make it down the local one for sometime

simran (Wed, 09 Oct 2019 13:28:06 GMT):
yeah i

soumyanayak (Wed, 09 Oct 2019 13:28:07 GMT):
and try once as per the docker-compose i had attached

simran (Wed, 09 Oct 2019 13:28:17 GMT):
okh

simran (Wed, 09 Oct 2019 13:30:27 GMT):

Screenshot from 2019-10-09 18-59-57.png

soumyanayak (Wed, 09 Oct 2019 13:34:47 GMT):

ldbc-network.txt

soumyanayak (Wed, 09 Oct 2019 13:34:56 GMT):
this is my JSON config file

soumyanayak (Wed, 09 Oct 2019 13:35:30 GMT):

docker-compose.txt

soumyanayak (Wed, 09 Oct 2019 13:35:36 GMT):
and this is my docker-compose

simran (Wed, 09 Oct 2019 13:35:45 GMT):
okh

soumyanayak (Wed, 09 Oct 2019 13:35:49 GMT):
and from this i was able to connect and set up the explorer

simran (Wed, 09 Oct 2019 13:35:51 GMT):
ur network is runnig fine

soumyanayak (Wed, 09 Oct 2019 13:35:53 GMT):
yes

simran (Wed, 09 Oct 2019 13:36:00 GMT):
okh

nakulgr13 (Fri, 11 Oct 2019 06:19:15 GMT):
Thanks much @nekia for the link. But our concern is more towards multi-Organisation setup With Single Org along with one peer we already achieved explorer setup . But in muti-org setup transaction are not updating in both organisations simultaneously(We could see only first Organisation is updating i.e. ORG1 instead of ORG2 or ORG3)

nakulgr13 (Fri, 11 Oct 2019 06:21:50 GMT):
Please suggest monitoring tools which supports Hyperledger Fabric framework (Instead of hyperledger Explorer as we are facing issues in multi-org or multi-node setup)

soumyanayak (Fri, 11 Oct 2019 10:56:15 GMT):
What is the issue you are facing @nakulgr13

soumyanayak (Fri, 11 Oct 2019 10:56:40 GMT):
we are able to do the set up using explorer for multi org

nakulgr13 (Fri, 11 Oct 2019 11:13:59 GMT):
We are able to setup Explorer with Multi-org but can't see transaction handling in ORG2 (By Default all request are handling by ORG1 only) Note: We are talking about single Node mult-org setup now instead of multi-node setup with multi-org

carlosalca (Fri, 11 Oct 2019 11:49:29 GMT):
Hi! Both of you are able to see more than one peer ?

soumyanayak (Fri, 11 Oct 2019 14:41:32 GMT):
yes i am able to see all the peers

soumyanayak (Fri, 11 Oct 2019 14:42:16 GMT):
even single node multi org also it should be working . As @simran did it and can help you on that

Psingh (Sat, 12 Oct 2019 07:08:31 GMT):
Has joined the channel.

Psingh (Sat, 12 Oct 2019 07:15:28 GMT):
which node-js version supported by explorer? I'm going through a tutorial and it says `nodejs 8.11.x (Note that v9.x is not yet supported)`

Psingh (Sat, 12 Oct 2019 07:15:52 GMT):
this medium article published on Nov 2018

Psingh (Sun, 13 Oct 2019 10:25:02 GMT):
Hey everyone, I'm trying to setup HLF explorer and ran into below error. Please help ``` alpha@GHOST-RIDER:~/GoWorkspace/src/github.com/hyperledger/blockchain-explorer$ ./start.sh ************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ***** Please check the log [logs/console/console-2019-10-13.log] for any error ***** ************************************************************************************ alpha@GHOST-RIDER:~/GoWorkspace/src/github.com/hyperledger/blockchain-explorer$ cat logs/console/console-2019-10-13.log false 'ssl-certs' '/home/alpha/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/ssl-certs' error when connecting to db: { error: password authentication failed for user "postgres" at Connection.parseE (/home/alpha/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/alpha/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/alpha/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) ```

Psingh (Sun, 13 Oct 2019 10:25:02 GMT):
Hey everyone, I'm trying to setup HLF explorer and ran into below error. Please help ``` alpha@GHOST-RIDER:~/GoWorkspace/src/github.com/hyperledger/blockchain-explorer$ ./start.sh ************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ***** Please check the log [logs/console/console-2019-10-13.log] for any error ***** ************************************************************************************ ``` logs ``` alpha@GHOST-RIDER:~/GoWorkspace/src/github.com/hyperledger/blockchain-explorer$ cat logs/console/console-2019-10-13.log false 'ssl-certs' '/home/alpha/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/ssl-certs' error when connecting to db: { error: password authentication failed for user "postgres" at Connection.parseE (/home/alpha/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:554:11) at Connection.parseMessage (/home/alpha/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:379:19) at Socket. (/home/alpha/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/node_modules/pg/lib/connection.js:119:22) ```

Psingh (Sun, 13 Oct 2019 10:25:53 GMT):
explorerconfig.json file ``` { "persistence": "postgreSQL", "platforms": ["fabric"], "postgreSQL": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "postgres", "passwd": "password" }, "sync": { "type": "local", "platform": "fabric", "blocksSyncTime": "3" }, "jwt": { "secret": "a secret phrase!!", "expiresIn": "2 days" } } ```

Psingh (Sun, 13 Oct 2019 10:28:16 GMT):
postgresql status ``` alpha@GHOST-RIDER:~/GoWorkspace/src/github.com/hyperledger/blockchain-explorer$ service postgresql status 10/main (port 5433): online ```

Psingh (Sun, 13 Oct 2019 11:31:52 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LdsaCLtLD3cTj7A8P) any help??

nakulgr13 (Mon, 14 Oct 2019 08:52:24 GMT):
Hi @simran As suggested by @soumyanayak please assist us to resolve multi-org and multi-node explorer setup issues. We already posted our issues. Please let us know for further details

simran (Mon, 14 Oct 2019 08:53:53 GMT):
i did only siingle org setup me also doing the same thing nakul seeting up a multiorg for multinode in the explorer network

nakulgr13 (Mon, 14 Oct 2019 08:55:30 GMT):
Ok Please let us know once you successfully achieve multi-org or multi-node setup.

nakulgr13 (Mon, 14 Oct 2019 08:55:51 GMT):
with Explorer

simran (Mon, 14 Oct 2019 08:55:54 GMT):
yeah nakul i will let you know @nakulgr13

Shubham-koli (Mon, 14 Oct 2019 08:56:03 GMT):
yeah @simran has expertise in the hyperledger explorer she can help you will all your errors

nakulgr13 (Mon, 14 Oct 2019 09:04:43 GMT):
ok @Shubham-koli

simran (Mon, 14 Oct 2019 09:14:32 GMT):
https://medium.com/@malliksarvepalli/hyperledger-explorer-with-fabric-1-2-running-on-multiple-hosts-89c5af691b7e @nakulgr13

nakulgr13 (Mon, 14 Oct 2019 09:16:56 GMT):
Hi @simran We followed the same link for Fabric 1.2 and 1.4 All steps are executed successfully but somehow at last step explorer is not started. Even we shared issue details and logs in same community chat earlier

nakulgr13 (Mon, 14 Oct 2019 09:16:56 GMT):
Hi @simran We followed the same link for Fabric 1.2 and 1.4 All steps are executed successfully but somehow at last step explorer is not started. Even we shared issue details and logs in same community chat earlier with @soumyanayak

simran (Mon, 14 Oct 2019 09:17:36 GMT):
okh @nakulgr13 me doing this if i completed i will let u know

nakulgr13 (Mon, 14 Oct 2019 09:18:48 GMT):
ok @simran

nakulgr13 (Mon, 14 Oct 2019 09:19:16 GMT):
ok @simran

simran (Mon, 14 Oct 2019 10:58:44 GMT):
Hello Team, has anyone set up the multi node with multi org on the hyperledger explorer

Psingh (Mon, 14 Oct 2019 11:46:57 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=LdsaCLtLD3cTj7A8P) please help

st (Mon, 14 Oct 2019 13:22:44 GMT):
Has joined the channel.

st (Mon, 14 Oct 2019 13:22:46 GMT):
Hi, is the explorer compatible with Sawtooth? I tried to run https://github.com/hyperledger/sawtooth-explorer and I am getting many errors while issuing docker-compose, more specifically I get `ERROR: Service 'ng-server' failed to build: The command '/bin/sh -c npm run build' returned a non-zero code: 1 `

st (Mon, 14 Oct 2019 13:22:46 GMT):
Hi, is the explorer compatible with Sawtooth? I tried to run https://github.com/hyperledger/sawtooth-explorer and I am getting many errors while issuing docker-compose, more specifically I get ```ERROR: Service 'ng-server' failed to build: The command '/bin/sh -c npm run build' returned a non-zero code: 1 ```

soumyanayak (Mon, 14 Oct 2019 13:23:17 GMT):
As you have installed postgres and the db is running fine try to login into the postgres db psql -d fabricexplorer-U postgres-p

soumyanayak (Mon, 14 Oct 2019 13:24:29 GMT):
@nakulgr13 Can you please post or provide the chat link once for the issue you were facing for multi org set up

Psingh (Mon, 14 Oct 2019 15:37:24 GMT):
yes, i have installed it and below is the output: ``` alpha@GHOST-RIDER:/c/Projects/Go/src/github.com/hyperledger/blockchain-explorer$ psql -d fabricexplorer -U postgres -p 5433 psql (10.10 (Ubuntu 10.10-1.pgdg18.04+1)) Type "help" for help. fabricexplorer=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ----------------+----------+----------+---------+---------+----------------------- fabricexplorer | postgres | UTF8 | C.UTF-8 | C.UTF-8 | postgres | postgres | UTF8 | C.UTF-8 | C.UTF-8 | template0 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (4 rows) ```

Psingh (Mon, 14 Oct 2019 15:37:24 GMT):
below is the output: ``` alpha@GHOST-RIDER:/c/Projects/Go/src/github.com/hyperledger/blockchain-explorer$ psql -d fabricexplorer -U postgres -p 5433 psql (10.10 (Ubuntu 10.10-1.pgdg18.04+1)) Type "help" for help. fabricexplorer=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ----------------+----------+----------+---------+---------+----------------------- fabricexplorer | postgres | UTF8 | C.UTF-8 | C.UTF-8 | postgres | postgres | UTF8 | C.UTF-8 | C.UTF-8 | template0 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (4 rows) ```

metadata (Mon, 14 Oct 2019 15:43:23 GMT):
Has joined the channel.

Psingh (Mon, 14 Oct 2019 16:35:06 GMT):
I tried to change the connection string in Pgservices.js to ``` const connectionString = "postgres://postgres:password@localhost:5433/fabricexplorer"; ``` and even it is not workring.

Psingh (Mon, 14 Oct 2019 16:36:55 GMT):
then changed it back to original one.

Psingh (Mon, 14 Oct 2019 17:31:54 GMT):
@soumyanayak finally I fixed it. postgresql is listening on `5433` and In the explorerconfig.json it was `5432`

Psingh (Tue, 15 Oct 2019 10:10:40 GMT):
Hi @soumyanayak , now I'm trying to use docker-compose and facing some issue.

Psingh (Tue, 15 Oct 2019 10:10:40 GMT):
Hi @soumyanayak , now I'm trying to use docker-compose and I'm facing some issue.

Psingh (Tue, 15 Oct 2019 10:10:57 GMT):

Psingh - Tue Oct 15 2019 15:40:49 GMT+0530 (India Standard Time).txt

soumyanayak (Tue, 15 Oct 2019 10:19:04 GMT):
in the error its throwing the below where its not able to find the PEM file -- problem reading the PEM file :: Error: ENOENT: no such file or directory, open '/home/alpha/GoWorkspace/src/github.com/MultiOrgs/networks/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem' explorer.mynetwork.com | { Error: ENOENT: no such file or directory, open '/home/alpha/GoWorkspace/src/github.com/MultiOrgs/networks/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem'

soumyanayak (Tue, 15 Oct 2019 10:19:26 GMT):
Please check the paths mapped in volumes section in docker-compose

soumyanayak (Tue, 15 Oct 2019 10:20:09 GMT):
and also once in the config.json file

Psingh (Tue, 15 Oct 2019 10:22:00 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XnLgBSbes3QwgzQPR) CA path isn't there in the volumes. I thought it's going to fetch every detail from config.json itself.

Psingh (Tue, 15 Oct 2019 10:22:59 GMT):
Do I have to add the CA path in the docker volumes too?

Psingh (Tue, 15 Oct 2019 10:23:53 GMT):
this is the docker config: ``` explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password # - DATABASE_PORT=5433 - DISCOVERY_AS_LOCALHOST=false volumes: - ./examples/net1/config.json:/opt/explorer/app/platform/fabric/config.json - ./examples/net1/connection-profile:/opt/explorer/app/platform/fabric/connection-profile - ./examples/net1/crypto:/tmp/crypto - walletstore:/opt/wallet command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - 8090:8080 networks: - byfn ```

soumyanayak (Tue, 15 Oct 2019 10:26:54 GMT):
./examples/net1/crypto:/tmp/crypto

soumyanayak (Tue, 15 Oct 2019 10:27:00 GMT):
this is the crypto mapping

soumyanayak (Tue, 15 Oct 2019 10:27:50 GMT):
so map this correctly from your local file system the certififcates folder path

soumyanayak (Tue, 15 Oct 2019 10:28:05 GMT):
and also map accordingly in the config json also

Psingh (Tue, 15 Oct 2019 11:05:45 GMT):
fixed the `cert not found` issue and now I'm getting some `BASEWALLET` related issue ``` 2019-10-15T11:02:21.025Z - error: [BaseWallet]: setUserContext: identity 'admin' isn't enrolled, or loaded explorer.mynetwork.com | Error: identity 'admin' isn't enrolled, or loaded explorer.mynetwork.com | at FileSystemWallet.setUserContext (/opt/explorer/node_modules/fabric-network/lib/impl/wallet/basewallet.js:56:10) explorer.mynetwork.com | at ```

Psingh (Tue, 15 Oct 2019 11:06:14 GMT):
where is this `walletstore` created?

soumyanayak (Tue, 15 Oct 2019 11:06:49 GMT):
this walletstore is created a spart of docker volumes managed by docker

soumyanayak (Tue, 15 Oct 2019 11:07:38 GMT):
in the config json you have th client section

soumyanayak (Tue, 15 Oct 2019 11:07:38 GMT):
in the config json you have the client section

soumyanayak (Tue, 15 Oct 2019 11:07:47 GMT):
"client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }

Psingh (Tue, 15 Oct 2019 11:10:27 GMT):
so what am I suppose to do now? explorer docker config is strange when compared to fabric docker

soumyanayak (Tue, 15 Oct 2019 11:10:52 GMT):
please share your config.json file once

Psingh (Tue, 15 Oct 2019 11:10:58 GMT):
ok

soumyanayak (Tue, 15 Oct 2019 11:11:10 GMT):
its simply you have to map the files in docker volumes and that's it

soumyanayak (Tue, 15 Oct 2019 11:12:17 GMT):
https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6orn7HbHSvdjZC8A6 https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CJeHqRaxNuAzRFhgq

soumyanayak (Tue, 15 Oct 2019 11:12:35 GMT):
check this two chat link previously i had attached the docker-compose.txt and the config.json file

Psingh (Tue, 15 Oct 2019 11:12:49 GMT):
sure

Psingh (Tue, 15 Oct 2019 11:19:37 GMT):
config.json file ``` { "name": "multiorgs-network", "version": "1.0.0", "license": "Apache-2.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "orderers": ["orderer.example.com"], "peers": { "peer0.org1.example.com": { "ledgerQuery": true } } } }, "organizations": { "Org1": { "mspid": "Org1MSP", "peers": ["peer0.org1.example.com", "peer1.org1.example.com"], "certificateAuthorities": ["ca.org1.example.com"], "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/6be31ed60c4ed288e954d93f34ea9ba1f384c0490461f7b1b211e577756b846d_sk" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } }, "Org2": { "mspid": "Org2MSP", "peers": ["peer0.org2.example.com", "peer1.org2.example.com"], "certificateAuthorities": ["ca.org2.example.com"], "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/f05646a1b0ed7c525b9e3fc4cdcd8817fcaf47c711b68c85b2de33ee8d7e9ca8_sk" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/Admin@org2.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "url": "grpcs://localhost:7051", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" }, "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem" } }, "peer0.org2.example.com": { "url": "grpcs://localhost:9051", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" }, "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem" } } }, "certificateAuthorities": { "ca.org1.example.com": { "url": "http://localhost:7054", "httpOptions": { "verify": false }, "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem" }, "caName": "ca.org1.example.com" }, "ca.org2.example.com": { "url": "http://localhost:8054", "httpOptions": { "verify": false }, "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem" }, "caName": "ca.org2.example.com" } } } ```

Psingh (Tue, 15 Oct 2019 11:21:09 GMT):

multiorgs-network.txt

carlosalca (Wed, 16 Oct 2019 07:00:34 GMT):
would you share the connection json configuration file ?

soumyanayak (Wed, 16 Oct 2019 07:13:26 GMT):
https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6orn7HbHSvdjZC8A6 https://chat.hyperledger.org/channel/hyperledger-explorer?msg=CJeHqRaxNuAzRFhgq

carlosalca (Wed, 16 Oct 2019 07:15:57 GMT):
thanks!

soumyanayak (Wed, 16 Oct 2019 07:22:47 GMT):

multiorgs-network.txt

soumyanayak (Wed, 16 Oct 2019 07:23:31 GMT):
try with this once

soumyanayak (Wed, 16 Oct 2019 07:24:02 GMT):
Make sure to set the environment variables CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNALENDPOINT for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

soumyanayak (Wed, 16 Oct 2019 07:24:10 GMT):
Make sure to set the environment variables CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNALENDPOINT for each peer in the docker-compose.yaml file. These settings enable the Fabric discovery service, which is used by Hyperledger Explorer to discover the network topology.

soumyanayak (Wed, 16 Oct 2019 07:24:33 GMT):
Put out the complete logs here once in case any issues

Psingh (Wed, 16 Oct 2019 07:24:48 GMT):
ok

carlosalca (Wed, 16 Oct 2019 07:35:09 GMT):
what content should them have ??

soumyanayak (Wed, 16 Oct 2019 07:36:00 GMT):
:

carlosalca (Wed, 16 Oct 2019 07:38:46 GMT):
thanks! I'm gonna try it

Psingh (Wed, 16 Oct 2019 07:45:35 GMT):
Hi @soumyanayak , I'm getting below error now ``` explorer.mynetwork.com | FabricConfig, this.config.channels mychannel explorer.mynetwork.com | 2019-10-16T07:42:02.117Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 explorer.mynetwork.com | 2019-10-16T07:42:02.120Z - error: [Channel.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 explorer.mynetwork.com | 2019-10-16T07:42:05.139Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 ```

Psingh (Wed, 16 Oct 2019 07:58:43 GMT):

logs.txt

Psingh (Wed, 16 Oct 2019 08:00:15 GMT):
env variables ``` - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org1.example.com:8051 - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 ```

Psingh (Wed, 16 Oct 2019 08:10:04 GMT):
its working now, changed `grpcs://localhost:7051` to `grpcs://peer0.org1.example.com:7051`

Psingh (Wed, 16 Oct 2019 08:10:04 GMT):
its working now, changed `grpcs://localhost:7051` to `grpcs://peer0.org1.example.com:7051` in 'multiorgs-network.json' file

Psingh (Wed, 16 Oct 2019 08:10:04 GMT):
its working now, changed `grpcs://localhost:7051` to `grpcs://peer0.org1.example.com:7051` in `multiorgs-network.json` file

Psingh (Wed, 16 Oct 2019 08:11:27 GMT):

Screenshot (54).png

Psingh (Wed, 16 Oct 2019 08:12:26 GMT):
Thanks a lot @soumyanayak for helping me out. :)

Psingh (Wed, 16 Oct 2019 08:19:10 GMT):
I have one more query. Can I setup a separate explorer for each organization? Right now anyone see the the txn of any Organization

Psingh (Wed, 16 Oct 2019 08:19:10 GMT):
I have one more query. Can I setup a separate explorer for each organization? Right now anyone can see the the txn of any Organization

soumyanayak (Wed, 16 Oct 2019 08:20:46 GMT):
@nekia any thoughts on this

nekia (Wed, 16 Oct 2019 23:37:02 GMT):
In the current explorer, you can see only txn related to the organization you specified in the connection profile. The txn generated on a channel which the organization doesn't belong will be invisible.

nekia (Thu, 17 Oct 2019 02:57:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yr8F5doRKiYvrYZeG) @st Unfortunately, no.

nekia (Thu, 17 Oct 2019 02:57:23 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=yr8F5doRKiYvrYZeG) @st Unfortunately, no. Please ask it to #sawtooth

Psingh (Thu, 17 Oct 2019 05:05:24 GMT):
Got it. Thanks @nekia for the info.

durgakishorem (Thu, 17 Oct 2019 07:43:46 GMT):
Has joined the channel.

nekia (Thu, 17 Oct 2019 07:57:59 GMT):
Yes I have.

carlosalca (Thu, 17 Oct 2019 09:05:29 GMT):
Hi everyone! I don't see any channels in the Explorer, anyone knows the reason ?

soumyanayak (Thu, 17 Oct 2019 09:28:39 GMT):
Are you asking about the channel name and channel wise details ?

carlosalca (Thu, 17 Oct 2019 09:29:32 GMT):
about the channel of the menu of the web app

soumyanayak (Thu, 17 Oct 2019 09:31:03 GMT):
its showing to us - can you post your explorer complete logs

soumyanayak (Thu, 17 Oct 2019 09:31:15 GMT):
Did you create any channel

carlosalca (Thu, 17 Oct 2019 09:32:01 GMT):
I have the channel created and I execute tx successfully

soumyanayak (Thu, 17 Oct 2019 09:32:21 GMT):
other tabs are you abel to see the details?

soumyanayak (Thu, 17 Oct 2019 09:32:21 GMT):
other tabs are you able to see the details?

carlosalca (Thu, 17 Oct 2019 09:38:29 GMT):
yeah

soumyanayak (Thu, 17 Oct 2019 10:17:08 GMT):
Please post once your complete explorer logs

carlosalca (Thu, 17 Oct 2019 11:37:45 GMT):
******* Initialization started for hyperledger fabric platform ******, { network: { name: 'network', profile: './connection-profile/connection.json' } } client_configs.name network client_configs.profile ./connection-profile/connection.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels channel1 initializeChannelFromDiscover channel1 FabricClient.discover_results endpoint { host: 'orderer0', port: 31010 } initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer0:31010 FabricClient.discover_results endpoint { host: 'orderer1', port: 31011 } initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer1:31011 FabricClient.discover_results endpoint { host: 'orderer2', port: 31012 } initializeChannelFromDiscover.discoveryProtocol grpcs requesturl grpcs://orderer2:31012 Channel genesis hash for channel [channel1] >> b0a2a1c52629a24527f45d5228274c034a00d53b8af8f352113f6384c8788c14 FabricUtils.createDetachClient Please open web browser to access :http://localhost:8080/ pid is 14

soumyanayak (Thu, 17 Oct 2019 11:38:53 GMT):
Channel Tab is showing completely blank? like no rows?

soumyanayak (Thu, 17 Oct 2019 11:39:37 GMT):
or the channel name is not showing only ?

carlosalca (Thu, 17 Oct 2019 11:39:49 GMT):
It says rows not found

soumyanayak (Thu, 17 Oct 2019 11:40:18 GMT):
can you share me once you config JSON file

soumyanayak (Thu, 17 Oct 2019 11:40:18 GMT):
can you share me once your config JSON file

carlosalca (Thu, 17 Oct 2019 11:45:12 GMT):
the funny thing is that explorer shows me in which channel the blocks are sabed

carlosalca (Thu, 17 Oct 2019 11:45:12 GMT):
the funny thing is that explorer shows me in which channel the blocks are saved

carlosalca (Thu, 17 Oct 2019 11:48:49 GMT):
the funny thing is that explorer shows me in which channel the blocks are saved

TharinduSandaruwan1 (Fri, 18 Oct 2019 06:17:47 GMT):
Has joined the channel.

TharinduSandaruwan1 (Fri, 18 Oct 2019 06:26:23 GMT):
When I try to build hyperledger explorer it gives me this error. can someone give me some clues to reproduce this error.Thank you.

TharinduSandaruwan1 (Fri, 18 Oct 2019 06:26:27 GMT):
false 'ssl-certs' '/home/blockchain-explorer/ssl-certs' ******* Initialization started for hyperledger fabric platform ******, { 'first-network': { name: 'example', profile: './connection-profile/example.json' } } client_configs.name trafficfine client_configs.profile ./connection-profile/example.json FabricUtils.createFabricClient config.client.tlsEnable undefined FabricConfig, this.config.channels example 2019-10-18T05:54:53.510Z - error: [FabricCAClientService.js]: Invalid enroll request, missing enrollmentID 'Error instantiating FabricCAServices ' 2019-10-18T05:54:53.534Z - error: [Channel.js]: Error: No identity has been assigned to this client

dhurkes (Mon, 21 Oct 2019 12:41:05 GMT):
Has joined the channel.

dhurkes (Mon, 21 Oct 2019 12:41:36 GMT):
Dear All,

dhurkes (Mon, 21 Oct 2019 12:43:43 GMT):
Dear All, Need your quick help here.. i follow the below link for hyperledger explorer setup with the fabric... but when i run the command "sudo npm run test" i am getting the error shown below TAP version 13 # Test Results ok 1 DROP USER IF EXISTS testuser; not ok 2 WITH PASSWORD 'password'; --- operator: fail at: (/home/dell2/Documents/blockchain-explorer/app/test/postgrespgtest.js:2:5157) stack: |- Error: WITH PASSWORD 'password'; at Test.assert [as _assert] (/home/dell2/Documents/blockchain-explorer/app/test/node_modules/tape/lib/test.js:226:54) at Test.bound [as _assert] (/home/dell2/Documents/blockchain-explorer/app/test/node_modules/tape/lib/test.js:77:32) at Test.fail (/home/dell2/Documents/blockchain-explorer/app/test/node_modules/tape/lib/test.js:319:10) at Test.bound [as fail] (/home/dell2/Documents/blockchain-explorer/app/test/node_modules/tape/lib/test.js:77:32) at /home/dell2/Documents/blockchain-explorer/app/test/postgrespgtest.js:2:5157 at processTicksAndRejections (internal/process/task_queues.js:93:5) ... Link which i follow: https://developer.ibm.com/recipes/tutorials/building-hyperledger-explorer-for-developing-blockchain-applications/

soumyanayak (Mon, 21 Oct 2019 13:51:32 GMT):
Please try with this link - https://medium.com/beyondi/understanding-hyperledger-explorer-setup-via-docker-6af845fcb82e

nfrunza (Mon, 21 Oct 2019 20:01:56 GMT):
If you want to contribute to HLExplorer, please contact us, we would be glad.

joaosobreira (Tue, 22 Oct 2019 11:25:51 GMT):
Has joined the channel.

joaosobreira (Tue, 22 Oct 2019 11:25:54 GMT):
Hi everyone. I've installed and configured Hyperledger Explorer into a already created Fabric instance with Composer. Right now, when I try to connect to the Hyperledger Explorer client page, the page turns all white and I get this error on the console "TypeError: "t is null"" at operations.js:41:11. I've searched everywhere and here and I can't find anyone with the same error. Can anyone help me with this?

soumyanayak (Tue, 22 Oct 2019 14:25:20 GMT):
Can you post your example.json once here

soumyanayak (Tue, 22 Oct 2019 14:25:50 GMT):
Please try with this link - https://medium.com/beyondi/understanding-hyperledger-explorer-setup-via-docker-6af845fcb82e

Ammu (Tue, 22 Oct 2019 16:13:57 GMT):
Has joined the channel.

joaosobreira (Tue, 22 Oct 2019 16:33:21 GMT):
Ok, so I tried again going through this method. Right now I cant connect to :8090, keep getting "Unable to Connect". I can connect to :9090 where prometheus is hosted, so the containers must be running. How can I debug this issue? Thanks

joaosobreira (Tue, 22 Oct 2019 16:35:04 GMT):
Through netstat I can see that the port is open and the docker-proxy is running there

nekia (Wed, 23 Oct 2019 05:31:21 GMT):
You can see more information via the following command: ``` docker logs explorer.mynetwork.com ``` Note: There is 16sec delay before getting explorer service ready when using docker-compose env.

joaosobreira (Wed, 23 Oct 2019 09:07:37 GMT):
I've managed to get it to work, with a mix of tweaking with docker-compose.yaml e config.js based on info gathered from docker logs. Also, I haven't passed /crypto to examples... Thanks for the help!

saanvijay (Thu, 24 Oct 2019 10:10:06 GMT):
Has joined the channel.

rmscott (Thu, 24 Oct 2019 15:39:32 GMT):
Has joined the channel.

nfrunza (Mon, 28 Oct 2019 15:10:27 GMT):
We would like to get feedback from you on Hyperledger Explorer, anyone using in production? Performance of the Explorer, Mass data load, number of channels used, and any other specifics that you're experiencing. best regards HLExplorer team

sahilgoel (Thu, 31 Oct 2019 06:20:15 GMT):
@nfrunza yeah I am using the Hypelredger Explorer in Production

sahilgoel (Thu, 31 Oct 2019 06:20:29 GMT):
There is issue with the Network tab. it does not load up now

sahilgoel (Thu, 31 Oct 2019 06:20:53 GMT):
My network has around 28 Organisations and 32 peers

selvaraman (Thu, 31 Oct 2019 11:04:33 GMT):
false ssl-certs /home/css/delete/blockchain-explorer/ssl-certs ******* Initialization started for hyperledger fabric platform ******, { 'first-network': { name: 'first-network', profile: './connection-profile/first-network.json' } } client_configs.name first-network client_configs.profile ./connection-profile/first-network.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels mychannel An identity for the admin user: admin already exists in the wallet E1031 16:16:20.528545059 5830 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. E1031 16:16:21.530199995 5830 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. E1031 16:16:23.044350211 5830 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. 2019-10-31T10:46:23.530Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 2019-10-31T10:46:23.532Z - error: [Channel.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 E1031 16:16:26.007693615 5830 ssl_transport_security.cc:1238] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. 2019-10-31T10:46:26.550Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:7051 ********* call to initializeDetachClient ********** initializeDetachClient --> client_config { name: 'first-network', profile: './connection-profile/first-network.json' } name first-network initializeDetachClient, network config) { name: 'first-network', version: '1.0.0', license: 'Apache-2.0', client: { tlsEnable: true, adminUser: 'admin', adminPassword: 'adminpw', enableAuthentication: false, organization: 'Org1', connection: { timeout: [Object] } }, channels: { mychannel: { peers: [Object], connection: [Object] } }, organizations: { Org1MSP: { mspid: 'Org1MSP', fullpath: true, adminPrivateKey: [Object], signedCert: [Object] } }, peers: { 'peer0.org1.example.com': { tlsCACerts: [Object], url: 'grpcs://localhost:7051', eventUrl: 'grpcs://localhost:7053', grpcOptions: [Object] } } } ************************************* initializeDetachClient ************************************************* Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************** initializeDetachClient ************************************************ FabricUtils.createDetachClient Please open web browser to access :http://localhost:8080/ pid is 5830 FabricConfig, this.config.channels mychannel <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

selvaraman (Thu, 31 Oct 2019 11:04:44 GMT):
someone help me to fix this issue

nfrunza (Thu, 31 Oct 2019 11:51:38 GMT):
Thank you for your reply, which hlexplorer version do you use ?

nfrunza (Thu, 31 Oct 2019 12:12:51 GMT):
Please verify your paths in connection-profile, make sure fabric network is up and running

nfrunza (Thu, 31 Oct 2019 12:26:06 GMT):
would you share the company name?, and what type of a business you're in?

selvaraman (Thu, 31 Oct 2019 12:42:06 GMT):
fabric network is running, ➜ blockchain-explorer git:(master) ✗ docker container ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b8f1e3930ca6 dev-peer1.org2.example.com-mycc-1.0-26c2ef32838554aac4f7ad6f100aca865e87959c9a126e86d764c8d01f8346ab "chaincode -peer.add…" 2 hours ago Up 2 hours dev-peer1.org2.example.com-mycc-1.0 ad38a3ac5fe3 dev-peer0.org1.example.com-mycc-1.0-384f11f484b9302df90b453200cfb25174305fce8f53f4e94d45ee3b6cab0ce9 "chaincode -peer.add…" 2 hours ago Up 2 hours dev-peer0.org1.example.com-mycc-1.0 2137d506a02f dev-peer0.org2.example.com-mycc-1.0-15b571b3ce849066b7ec74497da3b27e54e0df1345daff3951b94245ce09c42b "chaincode -peer.add…" 2 hours ago Up 2 hours dev-peer0.org2.example.com-mycc-1.0 8fe4ea221f12 hyperledger/fabric-tools:latest "/bin/bash" 2 hours ago Up 2 hours cli 531fe773a001 hyperledger/fabric-peer:latest "peer node start" 2 hours ago Up 2 hours 0.0.0.0:10051->7051/tcp, 0.0.0.0:10053->7053/tcp peer1.org2.example.com 919b1ce1dc7f hyperledger/fabric-peer:latest "peer node start" 2 hours ago Up 2 hours 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com c0f09ea5665f hyperledger/fabric-peer:latest "peer node start" 2 hours ago Up 2 hours 0.0.0.0:9051->7051/tcp, 0.0.0.0:9053->7053/tcp peer0.org2.example.com a92e87ab2c9f hyperledger/fabric-orderer:latest "orderer" 2 hours ago Up 2 hours 0.0.0.0:7050->7050/tcp orderer.example.com f692e654292c hyperledger/fabric-peer:latest "peer node start" 2 hours ago Up 2 hours 0.0.0.0:8051->7051/tcp, 0.0.0.0:8053->7053/tcp peer1.org1.example.com

selvaraman (Thu, 31 Oct 2019 12:43:04 GMT):
connection profile also perfect, { "name": "first-network", "version": "1.0.0", "license": "Apache-2.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/home/css/delete/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/219122d497d221f4009bb92e157e59beec45bdae067a5b92757258dadcc2e7e5_sk" }, "signedCert": { "path": "/home/css/delete/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/css/delete/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpc://localhost:7051", "eventUrl": "grpc://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } }

nfrunza (Thu, 31 Oct 2019 12:43:56 GMT):
@nekia Atsushi please help selvaraman

nfrunza (Thu, 31 Oct 2019 12:58:57 GMT):
@selvaraman Please follow up https://medium.com/beyondi/understanding-hyperledger-explorer-setup-via-docker-6af845fcb82e

nekia (Thu, 31 Oct 2019 13:08:21 GMT):
Did you enable TLS on your fabric network? If TLS enabled, please try to change `grpc://` to `grpcs://`. @selvaraman

selvaraman (Thu, 31 Oct 2019 13:12:34 GMT):
OK @nfrunza Thank you very much. I will check and update you

nfrunza (Thu, 31 Oct 2019 13:13:32 GMT):
@selvaraman welcome, let know if it worked for you

selvaraman (Thu, 31 Oct 2019 14:44:55 GMT):
@nekia NO I disabled it

PHilArc (Thu, 31 Oct 2019 17:47:07 GMT):
Has joined the channel.

nekia (Thu, 31 Oct 2019 20:09:23 GMT):
You need to set `"tlsEnable": false` in your connection profile. @selvaraman

selvaraman (Fri, 01 Nov 2019 03:07:36 GMT):
@nekia Thanks. That is also checked. After changing, I got the following things in log. false 'ssl-certs' '/home/css/delete/blockchain-explorer/ssl-certs' And I can not reach this http://localhost:8080

Randyshu2018 (Fri, 01 Nov 2019 07:13:47 GMT):
What's the Refresh strategy explorer use ?

selvaraman (Fri, 01 Nov 2019 09:12:59 GMT):
I have added my explorer here https://github.com/guru260/blockchain-explorer I followed this link https://medium.com/@thanawitsupinnapong/setting-up-hyperledger-explorer-on-fabric-5f1f7cda73b3 to set up explorer. This is how I cloned hyperledger fabric. git clone -b master https://github.com/hyperledger/fabric-samples.git cd fabric-samples curl -sSL http://bit.ly/2ysbOFE | bash -s 1.2.1 1.2.1 0.4.10 cd fabric-samples/first-network/ ./byfn.sh -m generate ./byfn.sh -m up Fabric is running, ➜ first-network git:(595fed4) docker container ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5a1ce40874db dev-peer1.org2.example.com-mycc-1.0-26c2ef32838554aac4f7ad6f100aca865e87959c9a126e86d764c8d01f8346ab "chaincode -peer.add…" 27 minutes ago Up 27 minutes dev-peer1.org2.example.com-mycc-1.0 101ba3a97057 dev-peer0.org1.example.com-mycc-1.0-384f11f484b9302df90b453200cfb25174305fce8f53f4e94d45ee3b6cab0ce9 "chaincode -peer.add…" 27 minutes ago Up 27 minutes dev-peer0.org1.example.com-mycc-1.0 c08d034b1139 dev-peer0.org2.example.com-mycc-1.0-15b571b3ce849066b7ec74497da3b27e54e0df1345daff3951b94245ce09c42b "chaincode -peer.add…" 27 minutes ago Up 27 minutes dev-peer0.org2.example.com-mycc-1.0 5bc974d49cc1 hyperledger/fabric-tools:latest "/bin/bash" 28 minutes ago Up 28 minutes cli 363b4697ed40 hyperledger/fabric-peer:latest "peer node start" 28 minutes ago Up 28 minutes 0.0.0.0:8051->7051/tcp, 0.0.0.0:8053->7053/tcp peer1.org1.example.com 2b83ac6c797d hyperledger/fabric-peer:latest "peer node start" 28 minutes ago Up 28 minutes 0.0.0.0:9051->7051/tcp, 0.0.0.0:9053->7053/tcp peer0.org2.example.com 9b3d90afbdea hyperledger/fabric-orderer:latest "orderer" 28 minutes ago Up 28 minutes 0.0.0.0:7050->7050/tcp orderer.example.com dc59c96fcf4b hyperledger/fabric-peer:latest "peer node start" 28 minutes ago Up 28 minutes 0.0.0.0:10051->7051/tcp, 0.0.0.0:10053->7053/tcp peer1.org2.example.com 09cb2139f263 hyperledger/fabric-peer:latest "peer node start" 28 minutes ago Up 28 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com After setting up, I got the following error, false 'ssl-certs' '/home/css/delete/blockchain-explorer/ssl-certs' Can some expert review my explorer here https://github.com/guru260/blockchain-explorer and point out my config mistake?

nekia (Fri, 01 Nov 2019 12:48:57 GMT):
The current explorer doesn't support fabric v1.2.* network. At least, I think you need to upgrade your network to v1.3 or higher version. We recommend you to use fabric v1.4.*. @selvaraman

selvaraman (Fri, 01 Nov 2019 15:01:10 GMT):
ok @nekia Thank you very much

TBigjohn (Tue, 05 Nov 2019 08:54:43 GMT):
Can somebody explain me how the "Register User" function of Hyperledger Explorer works ? Does Affiliation stands for Organization ? Is it designed to create a new user on the network ( including public/priv keys etc ) ? On my side it doesn't work ...

carlosalca (Tue, 05 Nov 2019 09:08:21 GMT):
I asked the same question a few weeks ago, the answer is that the "Register User" function is not implemented yet

carlosalca (Tue, 05 Nov 2019 09:08:21 GMT):
I asked the same question a few weeks ago, the answer is that the "Register User" function is not implemented yet @TBigjohn

TBigjohn (Tue, 05 Nov 2019 09:09:50 GMT):
Thanks

TBigjohn (Tue, 05 Nov 2019 11:55:56 GMT):
Could you tell me what version you are using ? I am a bit confuse because the register button is available and opening a dedicated screen asking for relevant information so ...

carlosalca (Tue, 05 Nov 2019 13:25:16 GMT):
I have the last version available and that also appears on my deployment but I was told it doesn't work

nfrunza (Tue, 05 Nov 2019 20:35:32 GMT):
Register user works with fabric-ca configured network, and it should add the user to the network, try to configure with balance transfer sample to see it working, "Affiliation" can be found in your fabric-ca config, see here https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/serverconfig.html

nfrunza (Tue, 05 Nov 2019 20:37:15 GMT):
And the sad news are, that is is not fully implemented, we are very loa in resources, 1 man, please if you guys what to make any contribution, please do not hesitate to ask.

nfrunza (Tue, 05 Nov 2019 20:37:15 GMT):
And the sad news are, that is is not fully implemented, we are very low in resources, 1 man, please if you guys what to make any contribution, please do not hesitate to ask.

nfrunza (Tue, 05 Nov 2019 20:37:15 GMT):
And the sad news are, that it is not fully implemented, we are very low in resources, 1 man, please if you guys what to make any contribution, please do not hesitate to ask.

tasree (Wed, 06 Nov 2019 12:59:31 GMT):
Can some one please help me with this error in explorer. I could able to access explorer when blocks are less i.e around 300000, but when number of blocks are increasing i.e more than 800000 I am getting this error "Please verify your network configuration, database configuration and try again". I tried to increase explorer db and exlorer memory but still facing same issue.

nfrunza (Wed, 06 Nov 2019 13:03:15 GMT):
is this in a docker environment?

tasree (Wed, 06 Nov 2019 13:03:59 GMT):
yes, it is containerized, using kubernetes to manage containers

tasree (Wed, 06 Nov 2019 13:05:13 GMT):
@nfrunza , thanks for responding, yes, it is in docker, using kubernetes to manage containers

nfrunza (Wed, 06 Nov 2019 13:21:39 GMT):
is there any chance you try in a local environment? this could give you the hints if you need to increase your docker resources

tasree (Wed, 06 Nov 2019 13:42:43 GMT):
@nfrunza , we are facing this issue in production and dev environment, our environment is setup in AWS with Kubernetes on EC2 instances

nfrunza (Wed, 06 Nov 2019 14:38:19 GMT):
how big is a record?

nfrunza (Wed, 06 Nov 2019 14:41:41 GMT):
how big is a record in KB? which version of the explorer do you use in production ?

nfrunza (Wed, 06 Nov 2019 18:37:46 GMT):
what type of data do you store, i mean any images, media etc?

tasree (Thu, 07 Nov 2019 13:28:46 GMT):
In production we are using explore 0.3.9.3v, data is text. I could see transactions in explorer are around 2million

nfrunza (Thu, 07 Nov 2019 13:49:55 GMT):
is it working or you still have problems?

nfrunza (Thu, 07 Nov 2019 13:52:35 GMT):
i would suggest to run sync as standalone job, and you can have more than one sync process read here https://github.com/hyperledger/blockchain-explorer#110-run-hyperledger-explorer----

jumping-dragon (Fri, 08 Nov 2019 07:08:45 GMT):
Has joined the channel.

jumping-dragon (Fri, 08 Nov 2019 07:08:46 GMT):
Does anyone have any references utilizing Hyperledger explorer on a network built using amazon managed blockchain services?

jumping-dragon (Fri, 08 Nov 2019 10:22:59 GMT):
I found one, if someone is looking for it just like me, it is in japanese though so you can only see the pictures but i think it is clear enough: https://qiita.com/kai_kou/items/832cc21d41d0730006fc

nfrunza (Fri, 08 Nov 2019 13:00:12 GMT):
:thumbsup:

rquera (Wed, 13 Nov 2019 15:41:09 GMT):
Has joined the channel.

rquera (Wed, 13 Nov 2019 15:41:10 GMT):
Hi all, I am discovering hyperledger-explorer and have some troubles understanding what it can achieve. Say I have a network with 2 orgs : org1 and org2 which are in a same channel. *I am part of org1*, and so have access to my org1 “adminPrivateKey” only which I put in the hyperledger-explorer connection-profile. If I deploy an hyperledger-explorer dashboard: - will I be able to see my ordering peer without hard-coding it in the connection-profile (I see my two peers thanks to gossiping, but I doesn't seem to exist a similar thing for the ordering peer)? - will I be able to see peers added by org2 ? - will I be able to see a newly created channel in which I’m in without modifying my connection-profile ?

rquera (Wed, 13 Nov 2019 15:41:10 GMT):
Hi all, I am discovering hyperledger-explorer and have some troubles understanding what it can achieve. Say I have a network with 2 orgs : org1 and org2 which are in a same channel. *I am part of org1*, and so have access to my org1 “adminPrivateKey” *only* which I put in the hyperledger-explorer connection-profile. If I deploy an hyperledger-explorer dashboard: - will I be able to see my ordering peer without hard-coding it in the connection-profile (I see my two peers thanks to gossiping, but I doesn't seem to exist a similar thing for the ordering peer)? - will I be able to see peers added by org2 ? - will I be able to see a newly created channel in which I’m in without modifying my connection-profile ?

rquera (Wed, 13 Nov 2019 15:41:10 GMT):
Hi all, I am discovering hyperledger-explorer and have some troubles understanding what it can achieve. Say I have a network with 2 orgs : org1 and org2 which are in a same channel. *I am part of org1*, and so have access to my org1 “adminPrivateKey” *only* (I don't have access to any of org2's keys) which I put in the hyperledger-explorer connection-profile. If I deploy an hyperledger-explorer dashboard: - will I be able to see my ordering peer without hard-coding it in the connection-profile (I see my two peers thanks to gossiping, but I doesn't seem to exist a similar thing for the ordering peer)? - will I be able to see peers added by org2 ? - will I be able to see a newly created channel in which I’m in without modifying my connection-profile ?

nfrunza (Wed, 13 Nov 2019 19:04:03 GMT):
Do you enable discovery service in your network?

tasree (Wed, 13 Nov 2019 19:11:35 GMT):
@nfrunza my explorerconfig.json has this content

tasree (Wed, 13 Nov 2019 19:11:36 GMT):
"persistence": "postgreSQL", "platforms": ["fabric"], "postgreSQL": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "sync": { "type": "local", "platform": "fabric", "blocksSyncTime": "1"

tasree (Wed, 13 Nov 2019 19:17:16 GMT):
do I have to change "type" = "local" to "host"

nfrunza (Wed, 13 Nov 2019 19:17:35 GMT):
if you want to run the sync standalone?

tasree (Wed, 13 Nov 2019 19:17:39 GMT):
Also, creating separate AWS postgreSQL db and providing host information in above "host" value will work? I am trying to understand whether separate external postgreSQL db works or not.

nfrunza (Wed, 13 Nov 2019 19:19:20 GMT):
same configuration when you run standalone and with explorer see https://github.com/hyperledger/blockchain-explorer#110-run-hyperledger-explorer----

nfrunza (Wed, 13 Nov 2019 19:20:01 GMT):
Host (Standalone) Ensure same configuration in Explorer explorerconfig.json if sync process is running from different locations

tasree (Wed, 13 Nov 2019 19:27:02 GMT):
Ok, Thanks I will try it.

nfrunza (Wed, 13 Nov 2019 19:27:51 GMT):
welcome , let me know

Silona (Fri, 15 Nov 2019 17:21:59 GMT):
Has joined the channel.

tasree (Tue, 19 Nov 2019 19:52:52 GMT):
@nfrunza , Hi I tried to change explorerconfig.json as below

tasree (Tue, 19 Nov 2019 19:52:53 GMT):
{ "persistence": "postgreSQL", "platforms": ["fabric"], "postgreSQL": { "host": "fabricexplorer.cfasdfky.eu-west-1.rds.amazonaws.com", "port": "5432", "database": "fabricexplorer", "username": "", "passwd": "" }, "sync": { "type": "host", "platform": "fabric", "blocksSyncTime": "1"

tasree (Tue, 19 Nov 2019 19:53:26 GMT):
in explorer logs, I am getting this error "{ error: column blocks.blksize does not exist at Connection.parseE (/opt/explorer/node_modules/pg/lib/connection.js:604:11)

tasree (Tue, 19 Nov 2019 19:54:22 GMT):
could you please let me know whether explorer works with aws rds postgresql

nekia (Tue, 19 Nov 2019 20:16:44 GMT):
In the latest revision, we added the feature `Added column for block size on BLOCK view page`. It made some db table schema changed. Although your TXs are so huge, but could you please recreate your db? @tasree

nfrunza (Tue, 19 Nov 2019 20:21:33 GMT):
thank you @nekia

gwalsh (Tue, 19 Nov 2019 23:51:31 GMT):
Has joined the channel.

tasree (Wed, 20 Nov 2019 16:03:13 GMT):
Thanks @nekia and @nfrunza I altered blocks table and added blksize and now it looks like working. Thanks for your support :thumbsup:

nfrunza (Wed, 20 Nov 2019 16:04:43 GMT):
@tasree can you disclose the company name ? we just need for reference

Silona (Wed, 20 Nov 2019 16:50:56 GMT):
howdy! We need someone to own the Explorer mailing list. Who would like to be the moderator and be in charge of the Explorer calendar? send me your email please!

nfrunza (Wed, 20 Nov 2019 16:54:52 GMT):
@Silona see in private message

Silona (Wed, 20 Nov 2019 16:54:58 GMT):
thank you!

nfrunza (Wed, 20 Nov 2019 17:02:28 GMT):
you welcome @Silona

sung (Thu, 21 Nov 2019 08:26:53 GMT):
Has joined the channel.

samurai (Fri, 22 Nov 2019 16:36:00 GMT):
Has joined the channel.

samurai (Fri, 22 Nov 2019 16:36:01 GMT):
How do you setup hyperledger explorer to work with hyperledger fabric?

nfrunza (Sun, 24 Nov 2019 19:07:21 GMT):
please read here https://github.com/hyperledger/blockchain-explorer/blob/master/README.md

silveraid (Tue, 26 Nov 2019 13:32:52 GMT):
Has joined the channel.

samurai (Wed, 27 Nov 2019 13:03:12 GMT):

Screenshot at 2019-11-27 13-02-34.png

samurai (Wed, 27 Nov 2019 13:04:45 GMT):
could someone please help me fix the error in the screenshot, "No process name hyperledger-explorer found"

samurai (Wed, 27 Nov 2019 13:05:09 GMT):
And thanks in advance

samurai (Wed, 27 Nov 2019 13:07:55 GMT):
false 'ssl-certs' '/home/samurai/Downloads/blockchain-explorer/ssl-certs' <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Cannot find module 'fabric-network' 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. (/home/samurai/Downloads/blockchain-explorer/app/platform/fabric/service/UserService.js:10:29) 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) code: 'MODULE_NOT_FOUND' } Received kill signal, shutting down gracefully Closed out connections

samurai (Wed, 27 Nov 2019 13:08:13 GMT):
That is from my log files

nekia (Thu, 28 Nov 2019 00:27:01 GMT):
Did you follow the steps in [README 5.0 Database Setup - 11.0 Run Hyperledger Explorer](https://github.com/hyperledger/blockchain-explorer#50-database-setup----)? You seem not to

nekia (Thu, 28 Nov 2019 00:27:01 GMT):
Did you follow the steps in [README 5.0 Database Setup - 11.0 Run Hyperledger Explorer](https://github.com/hyperledger/blockchain-explorer#50-database-setup----)? You seem not to do any `npm install` yet.

nekia (Thu, 28 Nov 2019 00:27:56 GMT):
@samurai

guptasndp10 (Thu, 28 Nov 2019 10:21:25 GMT):
Has joined the channel.

BranimirMalesevic (Thu, 28 Nov 2019 15:54:12 GMT):
Has joined the channel.

samurai (Thu, 28 Nov 2019 19:54:07 GMT):
OK, thank you

samurai (Thu, 28 Nov 2019 19:54:25 GMT):
OK, thank you

skyfan (Fri, 29 Nov 2019 09:45:48 GMT):
Has joined the channel.

skyfan (Fri, 29 Nov 2019 09:45:50 GMT):
Hello there ! I am using HL Explorer in Docker and the log files under `logs/app` are filling very quicly, to the point that the log file of one day is over 5 GB. The log files are actually filled with the same `SyncServices - Block synch in process for >> first-network_mychannel` line, repeated many thousand times per second. I identified it comes from the `app/platform/fabric/sync/SyncService.js` file (here https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/sync/SyncService.js#L350) with a call to logger.info(). As the logging level is not set in the file (using logger.setLevel) I don't think the level can be changed by passing an env variable. So I basically have two questions: - is it normal to have this function called so often that it prints the log many thousand times per second, or is there something wrong on my side? - is there a way to change the logging level, other than building my custom image with a `logger.setLevel` line added to the SyncService.js file? Thank you !

nfrunza (Sat, 30 Nov 2019 16:00:33 GMT):
i think we need to identify the value of the infor that is collected, and added to the logs, second, if that is really needed, maybe we should add within a time interval, let say every 1-3 minute print such info.

nekia (Mon, 02 Dec 2019 02:26:17 GMT):
I'll see if I can reproduce it. I don't think it's normal.

vinton (Mon, 02 Dec 2019 12:31:53 GMT):
Has joined the channel.

vinton (Mon, 02 Dec 2019 12:31:54 GMT):
hi iam using HLF 1.4 network to connect explorer 3.9

vinton (Mon, 02 Dec 2019 12:32:37 GMT):
{ error: column "channel_genesis_hash" does not exist

vinton (Mon, 02 Dec 2019 12:32:52 GMT):
getting this error when i run ./start.sh

nfrunza (Mon, 02 Dec 2019 12:37:33 GMT):
did you run the $blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh script? , please make sure you have follow the steps in https://github.com/hyperledger/blockchain-explorer#Database-Setup

vinton (Mon, 02 Dec 2019 12:38:03 GMT):
yes i did

vinton (Mon, 02 Dec 2019 12:38:24 GMT):
able to see explorer db and with tables

nfrunza (Mon, 02 Dec 2019 12:52:10 GMT):
which branch, tag do you juse?

nfrunza (Mon, 02 Dec 2019 12:53:04 GMT):
can you use the latest tag?

vinton (Mon, 02 Dec 2019 12:53:22 GMT):
its release-3.9

vinton (Mon, 02 Dec 2019 12:53:34 GMT):
yes iam able to use latest tag

nfrunza (Mon, 02 Dec 2019 12:58:00 GMT):
is it working for you now? these are the latest tags v0.3.9.5 v1.0.0-rc1

vinton (Mon, 02 Dec 2019 12:59:53 GMT):
haven't tried with v0.3.9.5 v1.0.0-rc1

vinton (Mon, 02 Dec 2019 13:00:04 GMT):
now using v0.3.9 only

nfrunza (Mon, 02 Dec 2019 13:16:02 GMT):
when switching from one tag to another , you need to rerun /$blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh

vinton (Mon, 02 Dec 2019 13:17:12 GMT):
ok i will try that

nfrunza (Mon, 02 Dec 2019 13:20:55 GMT):
:thumbsup:

giacomo.minighin (Mon, 02 Dec 2019 16:58:33 GMT):
Has joined the channel.

vinton (Tue, 03 Dec 2019 10:09:30 GMT):

explorer.png

vinton (Tue, 03 Dec 2019 10:10:22 GMT):
for remaining 3 Orgs i can see this error in log file: Failed to connect client peer, please check the configuration and peer status

vinton (Tue, 03 Dec 2019 10:11:21 GMT):
worked for me. Thanks

nfrunza (Tue, 03 Dec 2019 12:55:48 GMT):
@vinton did you enable discovery service?

tengc (Wed, 04 Dec 2019 16:27:03 GMT):
Has joined the channel.

tengc (Wed, 04 Dec 2019 18:38:35 GMT):
Is there any documentation on the code for Fabric Explorer's UI?

nfrunza (Wed, 04 Dec 2019 20:39:41 GMT):
@tengc unfortunately we don't have any

metadata (Thu, 05 Dec 2019 04:55:05 GMT):
@nfrunza Is Explorer compatible with HLF v1.4.3?

Paradox-AT (Thu, 05 Dec 2019 11:39:51 GMT):
@metadata Yeah it is

Paradox-AT (Thu, 05 Dec 2019 11:39:57 GMT):
I am running it

Paradox-AT (Thu, 05 Dec 2019 11:40:35 GMT):
There is a basic readme file which is enough to host the UI

metadata (Thu, 05 Dec 2019 11:43:06 GMT):
thanks @Paradox-AT

Paradox-AT (Thu, 05 Dec 2019 12:05:14 GMT):
No problem

nfrunza (Thu, 05 Dec 2019 12:58:52 GMT):
@Paradox-AT @metadata can you contribute to HLExplorer?

tengc (Thu, 05 Dec 2019 19:39:44 GMT):
I see, I was hoping for an explanation on the client code. Thanks for the response.

tengc (Thu, 05 Dec 2019 19:46:18 GMT):
Dumb question, but is there anyway to set names for peer nodes? I've deployed a Fabric network using IP addresses for most the address environmental variables instead of hostnames. In the network tab for the UI, the name of the peers end up being IP addresses. This becomes an issue if multiple peers have the same IP address, but are connected via different ports. Hoping there's parameter I can add to the docker compose files to resolve this.

nfrunza (Thu, 05 Dec 2019 21:38:26 GMT):
@tengc very good point, explorer doesn't have such ability, can you ask in https://chat.hyperledger.org/channel/fabric-questions

metadata (Fri, 06 Dec 2019 04:30:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=6eHA3pAFcGp7Hnvb3) AFAIK u can't if the network is up and running. But if u are building from the scratch then u can add `1.2.3.4 peer0.org1.com ` in the `/etc/hosts` file. In the docker-compose we use `extra_hosts` that will create the same mapping in the container's `/etc/hosts` file. A silly answer is try `peer0.org1.com 1.2.3.4` in the `/etc/hosts` file. I never tried it and even not sure if it is going to work or either we can add this type of mapping in the `/etc/hosts` file.

nfrunza (Fri, 06 Dec 2019 05:44:30 GMT):
@metadata let me kow if it works

Paradox-AT (Mon, 09 Dec 2019 11:13:47 GMT):
Sorry, I am not that good with developing UI

nfrunza (Mon, 09 Dec 2019 13:18:12 GMT):
@Paradox-AT what is your set skills?

Hyperledgerman05 (Mon, 09 Dec 2019 14:32:10 GMT):
Has joined the channel.

Hyperledgerman05 (Mon, 09 Dec 2019 14:32:10 GMT):
Hi everyone, does any of you know if Hyperledger Explorer is compatible with Idemix?

Javi (Mon, 09 Dec 2019 15:57:31 GMT):
hi all! I want to change the explorer log level to `ERROR`, but the documentation is not clear about how to make this change. It is possible to modify it using an environment variable?

nfrunza (Mon, 09 Dec 2019 18:49:20 GMT):
@Javi i created a jira https://jira.hyperledger.org/browse/BE-720

pouya (Tue, 10 Dec 2019 08:45:15 GMT):
Has joined the channel.

Javi (Tue, 10 Dec 2019 09:26:44 GMT):
thanks @nfrunza :grinning:

prakash04 (Tue, 10 Dec 2019 11:56:36 GMT):
Has joined the channel.

nfrunza (Tue, 10 Dec 2019 14:37:41 GMT):
:thumbsup:

herculan0 (Tue, 10 Dec 2019 16:40:16 GMT):
Has joined the channel.

herculan0 (Tue, 10 Dec 2019 16:40:19 GMT):
error when connecting to db: error: Ident authentication failed for user "hppoc" and error when connecting to db: TypeError: Cannot read property 'on' of undefined and <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined

herculan0 (Tue, 10 Dec 2019 16:40:28 GMT):
I'm have these errors when start explorer

herculan0 (Tue, 10 Dec 2019 16:40:41 GMT):
someone know what i'm doing wrong?

herculan0 (Tue, 10 Dec 2019 16:41:09 GMT):
i'm already try to troubleshoot every little piece of it but failed :(

herculan0 (Tue, 10 Dec 2019 16:51:52 GMT):
Is docker better for build a Hyperledger Explorer?

nfrunza (Tue, 10 Dec 2019 18:17:47 GMT):
@herculan0 did you verify the installation of DB? is the DB located remotely ?

nfrunza (Tue, 10 Dec 2019 18:18:20 GMT):
did you follow the https://github.com/hyperledger/blockchain-explorer#Database-Setup ?

herculan0 (Tue, 10 Dec 2019 18:22:05 GMT):
yeah, already setup ...

herculan0 (Tue, 10 Dec 2019 18:22:10 GMT):
List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ----------------+----------+----------+-------------+-------------+----------------------- fabricexplorer | hppoc | UTF8 | en_US.UTF-8 | en_US.UTF-8 | owner | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (5 rows) postgres-# \d List of relations Schema | Name | Type | Owner --------+---------------------------+----------+---------- public | blocks | table | postgres public | blocks_id_seq | sequence | postgres public | chaincodes | table | postgres public | chaincodes_id_seq | sequence | postgres public | channel | table | postgres public | channel_id_seq | sequence | postgres public | orderer | table | postgres public | orderer_id_seq | sequence | postgres public | peer | table | postgres public | peer_id_seq | sequence | postgres public | peer_ref_chaincode | table | postgres public | peer_ref_chaincode_id_seq | sequence | postgres public | peer_ref_channel | table | postgres public | peer_ref_channel_id_seq | sequence | postgres public | transactions | table | postgres public | transactions_id_seq | sequence | postgres public | write_lock | table | postgres public | write_lock_write_lock_seq | sequence | postgres (18 rows)

herculan0 (Tue, 10 Dec 2019 18:22:32 GMT):
and if you take a look at psql db hppoc are already in

nfrunza (Tue, 10 Dec 2019 18:25:28 GMT):
are you trying to run locally or using docker?

herculan0 (Tue, 10 Dec 2019 18:34:48 GMT):
locally

nfrunza (Tue, 10 Dec 2019 18:49:09 GMT):
@herculan0 did you build explorer? you can run from the root directory $./main.sh clean && ./main.sh install

nfrunza (Tue, 10 Dec 2019 18:49:44 GMT):
do you use a fabric sample or your custom fabric blockchain?

nfrunza (Tue, 10 Dec 2019 18:53:30 GMT):
what is you Nodejs version ?

nfrunza (Tue, 10 Dec 2019 18:56:12 GMT):
see here some solution https://github.com/hyperledger/blockchain-explorer/blob/master/TROUBLESHOOT.md#problem-description--db-error--error-ident-authentication-failed-for-user-hppoc

herculan0 (Tue, 10 Dec 2019 19:27:24 GMT):
dude i not think that is a proxy problem =(

nfrunza (Tue, 10 Dec 2019 20:50:32 GMT):
@herculan0 fixed it by following I fix it : https://serverfault.com/questions/406606/postgres-error-message-fatal-ident-authentication-failed-for-user There is no Ident server running on the machine you're trying to connect from. Test this by trying to connect to it on port 113. If that fails, install an Ident server (eg, sudo apt-get install oidentd). Maybe you actually want to connect with a password, not Ident. Edit the pg_hba.conf file host all all 127.0.0.1/32 ident to host all all 127.0.0.1/32 md5 and it works!

nfrunza (Tue, 10 Dec 2019 20:52:10 GMT):
@tengc unfortunately we don't have any

prakash04 (Tue, 10 Dec 2019 22:18:39 GMT):
I have multi-org and each org having 2 peer nodes in fabric setup . After setting up explorer I'm only able to see Org1 nodes not org2 node . Can anyone please help me on this

nfrunza (Tue, 10 Dec 2019 22:24:46 GMT):
you may need to set them as discoverable, please ask here https://chat.hyperledger.org/channel/fabric-questions

prakash04 (Tue, 10 Dec 2019 22:29:58 GMT):
I have set CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNALENDPOINT variables .. My issue is if I am passing "organization": "Org1" in connection-profile getting org1 peer nodes and in case I am passing "organization": "Org2" in connection-profile . getting org2 peer nodes .. But in anyways I am not getting all 4 peer nodes .Please help

nfrunza (Tue, 10 Dec 2019 22:31:18 GMT):
org need to communicate between each other

prakash04 (Tue, 10 Dec 2019 22:32:58 GMT):
the communication b/w orgs are working fine for Node js app connection profile and all transactions are in sync .

prakash04 (Tue, 10 Dec 2019 22:33:30 GMT):
let me send you the snapshot

nfrunza (Tue, 10 Dec 2019 22:34:19 GMT):
you have to add to all nodes the variable CORE_PEER_GOSSIP_BOOTSTRAP and CORE_PEER_GOSSIP_EXTERNALENDPOINT to the default node

prakash04 (Tue, 10 Dec 2019 22:34:40 GMT):

Explorer-1.png

nfrunza (Tue, 10 Dec 2019 22:35:21 GMT):
explorer receives whatever fabric is broadcasting

nfrunza (Tue, 10 Dec 2019 22:35:47 GMT):
please ask in https://chat.hyperledger.org/channel/fabric-questions

prakash04 (Tue, 10 Dec 2019 22:39:35 GMT):
Do you have any sample docker-compose.yaml and connection-profile for multi orgs and multi node setup ?

prakash04 (Tue, 10 Dec 2019 22:39:53 GMT):
I am trying to setup explorer using docker

prakash04 (Tue, 10 Dec 2019 22:49:23 GMT):
can anyone please help me on this issue ?

nekia (Wed, 11 Dec 2019 07:30:25 GMT):
@prakash04 [12.2 Run Hyperledger Explorer Using Docker Compose](https://github.com/hyperledger/blockchain-explorer#122-run-hyperledger-explorer-using-docker-compose----) You can follow the above step to run explorer using docker. [This connection-profile](https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/connection-profile/first-network.json) works with fabric-samples/first-network that is multi orgs and multi node. You can use [this docker-compose.yaml](https://github.com/hyperledger/blockchain-explorer/blob/master/docker-compose.yaml) to run explorer with the first-network environment.

G0D0T (Wed, 11 Dec 2019 16:00:38 GMT):
Has joined the channel.

nfrunza (Wed, 11 Dec 2019 16:38:50 GMT):
:thumbsup:

PremaGulp (Wed, 11 Dec 2019 18:19:08 GMT):
Has joined the channel.

Silona (Wed, 11 Dec 2019 21:46:31 GMT):
Hello everyone - Do you know of a developer event that we would like to get some Hyperledger representation at? Please submit it here. The marketing committee will review them all as we go thru our budget for 2020 Thank you! - Silona

Silona (Wed, 11 Dec 2019 22:01:47 GMT):
https://wiki.hyperledger.org/display/Marketing/Developer+Events

nfrunza (Wed, 11 Dec 2019 23:06:28 GMT):
thank you

tengc (Thu, 12 Dec 2019 19:11:53 GMT):
Is there any way for Explorer to discover new channels on the network or does it automatically do so for channels that involve the currently detected nodes?

joserobleslima (Sun, 15 Dec 2019 13:34:12 GMT):
Has joined the channel.

ThomasRalee (Mon, 16 Dec 2019 11:28:11 GMT):
Has joined the channel.

ThomasRalee (Mon, 16 Dec 2019 11:28:11 GMT):
Hi! I tested the explorer on this network setup: 3 Org (OrgA, OrgB, OrgC) 2 Channel (ChannelAB, ChannelAC) Spinned up an explorer with 2 network-profile: 1. OrgA Peer0 ChannelAC 2. OrgB Peer0 ChannelAB Findings: 1. Login through Org A network profile => I can see both channels (AC, AB) - cool auto discovery through Orderer node 2. Login through Org B network profile => I can see both channels (AC, AB) - Something is wrong, i shouldnt see channel AC

ThomasRalee (Mon, 16 Dec 2019 11:28:30 GMT):
Can someone please tell me if this is a bug or something wrong with my config?

ThomasRalee (Mon, 16 Dec 2019 11:28:36 GMT):
``` { "network-configs": { "organization-one": { "name": "organizationOne", "profile": "./connection-profile/organization-one.json" }, "organization-two": { "name": "organizationTwo", "profile": "./connection-profile/organization-two.json" } }, "license": "Apache-2.0" } ``` ``` { "name": "organization-one", "version": "1.0.0", "client": { "tlsEnable": true, "adminUser": "adminOne", "adminPassword": "adminOne", "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "acchannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/3e523cc7d6413382d0333c6fbeb3bde068434c38cc2a2e6e970ab0d4888bc9c7_sk" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } } ``` ``` { "name": "organization-two-peer-zero", "version": "1.0.0", "client": { "tlsEnable": true, "adminUser": "adminTwo", "adminPassword": "adminTwo", "enableAuthentication": true, "organization": "Org2MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "bcchannel": { "peers": { "peer0.org2.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org2MSP": { "mspid": "Org2MSP", "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/d282a794d7ba067289dcb399c0cc911939332359fab3fc1e6e850e7253015f91_sk" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/Admin@org2.example.com-cert.pem" } } }, "peers": { "peer0.org2.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org2.example.com:9051", "eventUrl": "grpcs://peer0.org2.example.com:9053", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" } } } } ```

ozbek (Mon, 16 Dec 2019 12:03:53 GMT):
Has joined the channel.

easeev (Mon, 16 Dec 2019 12:16:51 GMT):
Has joined the channel.

nfrunza (Mon, 16 Dec 2019 16:25:59 GMT):
One network per instance of explorer

ThomasRalee (Tue, 17 Dec 2019 02:31:06 GMT):
what do you mean?

ThomasRalee (Tue, 17 Dec 2019 02:31:06 GMT):
what do you mean? There is only one network in this scenario

rquera (Tue, 17 Dec 2019 15:17:21 GMT):
Hello everyone, is it mandatory to specify a channel in the connection-profile ? Leaving the `"channels": {}` empty gives me a `Channel not found for name undefined` error.

nfrunza (Tue, 17 Dec 2019 15:29:28 GMT):
i see two connection profiles : "network-configs": { "organization-one": { "name": "organizationOne", "profile": "./connection-profile/organization-one.json" }, "organization-two": { "name": "organizationTwo", "profile": "./connection-profile/organization-two.json" } }, "license": "Apache-2.0" }

nfrunza (Tue, 17 Dec 2019 15:30:56 GMT):
default channel needs to use the discovery service , see https://fabric-sdk-node.github.io/tutorial-discovery.html

nfrunza (Tue, 17 Dec 2019 15:38:12 GMT):
default channel name is a must

rquera (Tue, 17 Dec 2019 15:56:02 GMT):
Actually, I configured the channel with `configtxgen` and created it with `peer channel create`. I am unable to find any reference to a discovery kind-of option in the docs. All I did yet related to the discovery service was to set the `CORE_PEER_GOSSIP_EXTERNALENDPOINT` env variable for my peer.

rquera (Tue, 17 Dec 2019 15:56:09 GMT):
I never used the fabric sdk for nodejs, so I'll give it a look, thanks.

nfrunza (Tue, 17 Dec 2019 15:57:59 GMT):
@rquera , sure, take your time

ThomasRalee (Wed, 18 Dec 2019 02:52:27 GMT):
so one connection profile per explorer?

sanket1211 (Wed, 18 Dec 2019 06:08:35 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: listen EADDRINUSE :::8080 at Server.setupListenHandle [as _listen2] (net.js:1360:14) at listenInCluster (net.js:1401:12) at Server.listen (net.js:1485:7) at startExplorer (/home/ubuntu/fabric_block_explorer/main.js:123:9) at at process._tickCallback (internal/process/next_tick.js:189:7) errno: 'EADDRINUSE', code: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 } error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/home/ubuntu/fabric_block_explorer/app/persistence/postgreSQL/PgService.js:95:16) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: "callback" argument must be a function at setTimeout (timers.js:450:11) at Timeout.handleDisconnect [as _onTimeout] (/home/ubuntu/fabric_block_explorer/app/persistence/postgreSQL/PgService.js:112:5) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) Received kill signal, shutting down gracefully Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

sanket1211 (Wed, 18 Dec 2019 06:16:47 GMT):
i have deployed my network on server and explorer setup on server...when starting the explorer getting aboev error...plz help..

nekia (Wed, 18 Dec 2019 07:02:19 GMT):
`EADDRINUSE :::8080` Is there other explorer process which has already been running on the server? @sanket1211

sanket1211 (Wed, 18 Dec 2019 07:02:38 GMT):
no

sanket1211 (Wed, 18 Dec 2019 07:03:05 GMT):
no

nekia (Wed, 18 Dec 2019 07:03:51 GMT):
Someone has already used 8080 port.

sanket1211 (Wed, 18 Dec 2019 07:06:23 GMT):
ok..where can i change the port?

nekia (Wed, 18 Dec 2019 07:30:01 GMT):
export PORT=8090 or `appconfig.json`

sanket1211 (Wed, 18 Dec 2019 09:38:59 GMT):
error when connecting to db: TypeError: Cannot read property 'on' of undefined

sanket1211 (Wed, 18 Dec 2019 11:09:07 GMT):
@nekia plz look into above error

sanket1211 (Wed, 18 Dec 2019 11:10:06 GMT):
changed host to my servers ip address and port to 8030 in appconfig.json...getting above error

sanket1211 (Wed, 18 Dec 2019 11:10:06 GMT):
Please open web browser to access :http://132.145.70.5:8090/ pid is 25269 error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/home/sanket/Documents/test_explorer_server/blockchain-explorer/app/persistence/postgreSQL/PgService.js:95:16) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: "callback" argument must be a function at setTimeout (timers.js:450:11) at Timeout.handleDisconnect [as _onTimeout] (/home/sanket/Documents/test_explorer_server/blockchain-explorer/app/persistence/postgreSQL/PgService.js:112:5) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

sanket1211 (Wed, 18 Dec 2019 12:06:19 GMT):

Screenshot from 2019-12-18 17-35-56.png

sanket1211 (Wed, 18 Dec 2019 12:54:12 GMT):
Please open web browser to access :http://132.145.70.5:8090/ pid is 25269 error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/home/sanket/Documents/test_explorer_server/blockchain-explorer/app/persistence/postgreSQL/PgService.js:95:16) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: "callback" argument must be a function at setTimeout (timers.js:450:11) at Timeout.handleDisconnect [as _onTimeout] (/home/sanket/Documents/test_explorer_server/blockchain-explorer/app/persistence/postgreSQL/PgService.js:112:5) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

nfrunza (Thu, 19 Dec 2019 00:23:37 GMT):
@sanket1211 this could be the issue with permission to access DB, this could be same, see here https://github.com/hyperledger/blockchain-explorer/pull/70/commits/6a5a298c076dd6eb971db0991b5d97acdd296b81#diff-db78385f3e770be635b024b84f052f68R1029

sanket1211 (Fri, 20 Dec 2019 07:21:51 GMT):
@nekia when running from server ssl should ne tru or false?

sanket1211 (Fri, 20 Dec 2019 07:21:51 GMT):
@nekia when running from server ssl should be true or false?

sanket1211 (Fri, 20 Dec 2019 09:35:27 GMT):

Screenshot from 2019-12-20 15-04-57.png

chaitanya5 (Fri, 20 Dec 2019 13:11:36 GMT):
Has joined the channel.

chaitanya5 (Fri, 20 Dec 2019 13:11:37 GMT):
hello people, new to explorer, can anyone help me how to connect a fabric network(first-network) with explorer using docker . I tried to follow https://medium.com/beyondi/understanding-hyperledger-explorer-setup-via-docker-6af845fcb82e but I don't get (config.json connection profile and keychain folder )which files need to be configured

chaitanya5 (Fri, 20 Dec 2019 13:11:37 GMT):
hello people, new to explorer, can anyone help me how to connect a fabric network(first-network) with explorer using docker . I tried to follow https://medium.com/beyondi/understanding-hyperledger-explorer-setup-via-docker-6af845fcb82e but I don't get (config.json connection profile and keychain folder )which files need to be configured. I don't find any /tmp/crypto folder in my system,may be that's the issue

nfrunza (Fri, 20 Dec 2019 15:55:39 GMT):
@chaitanya5 @nekia should be able to help you

nekia (Sat, 21 Dec 2019 00:16:26 GMT):
It's nothing to do with access to the postgres db. It's for https access of explorer itself.

nekia (Sat, 21 Dec 2019 00:25:02 GMT):
Can you see the database via psql cli? ``` $ sudo -u postgres psql -d fabricexplorer -c '\dt' List of relations Schema | Name | Type | Owner --------+--------------------+-------+------- public | blocks | table | hppoc public | chaincodes | table | hppoc public | channel | table | hppoc public | orderer | table | hppoc public | peer | table | hppoc public | peer_ref_chaincode | table | hppoc public | peer_ref_channel | table | hppoc public | transactions | table | hppoc public | write_lock | table | hppoc ```

nekia (Sat, 21 Dec 2019 00:28:54 GMT):
You need to do the following step. ``` This file contains the certificates and artefacts of the blockchain network that we want to put Hyperldger Explorer. In our case, we copied them from our blockchain network to examples/net1/keychain folder. ```

sanket1211 (Sat, 21 Dec 2019 09:05:26 GMT):
yes i can see

nekia (Sat, 21 Dec 2019 11:52:17 GMT):
Do you mean that you can see fabricexplorer database from the machine where you are trying to launch explorer to 132.145.70.5+5432 ?

nekia (Sat, 21 Dec 2019 11:52:17 GMT):
Do you mean that you can see fabricexplorer database from the machine where you are trying to launch explorer to 132.145.70.5:5432 ?

sanket1211 (Sat, 21 Dec 2019 11:53:00 GMT):
Yes

nekia (Sat, 21 Dec 2019 12:35:27 GMT):
Are you running postgreSQL DB on the machine where explorer is running? If so, please change postgreSQL host address to `127.0.0.1` in `app/explorerconfig.json`.

nekia (Sat, 21 Dec 2019 12:37:25 GMT):
@sanket1211

selvaraman (Mon, 23 Dec 2019 10:16:37 GMT):
Can we use hyperledger explorer for burrow?

ChaoLiu (Mon, 23 Dec 2019 10:49:12 GMT):
Has joined the channel.

nfrunza (Tue, 24 Dec 2019 03:03:00 GMT):
@selvaraman HLExplorer supports for now only HLFabric blockchain platform

sanket1211 (Tue, 24 Dec 2019 05:41:18 GMT):

Screenshot from 2019-12-24 11-10-49.png

sanket1211 (Tue, 24 Dec 2019 05:41:36 GMT):
whats the ssl error?

chaitanya5 (Tue, 24 Dec 2019 11:08:29 GMT):
I have this error `Expected directory: node-v64-darwin-x64-unknown Found: [node-v57-darwin-x64-unknown] I get that it is not a explorer error but can use a little help. This is my complete log file `false 'ssl-certs' '/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/ssl-certs' <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: node-v64-darwin-x64-unknown Found: [node-v57-darwin-x64-unknown] This problem can often be fixed by running "npm rebuild" on the current system Original error: Cannot find module '/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node' at Object. (/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/grpc_extension.js:53:17) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:144:12) at Module._compile (internal/modules/cjs/loader.js:778:30) code: 'MODULE_NOT_FOUND' } Received kill signal, shutting down gracefully Closed out connections `

chaitanya5 (Tue, 24 Dec 2019 11:08:29 GMT):
I have this error `Expected directory: node-v64-darwin-x64-unknown Found: [node-v57-darwin-x64-unknown]I get that it is not a explorer error but can use a little help. This is my complete log file `false 'ssl-certs' '/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/ssl-certs' <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: node-v64-darwin-x64-unknown Found: [node-v57-darwin-x64-unknown] This problem can often be fixed by running "npm rebuild" on the current system Original error: Cannot find module '/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node' at Object. (/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/grpc_extension.js:53:17) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:144:12) at Module._compile (internal/modules/cjs/loader.js:778:30) code: 'MODULE_NOT_FOUND' } Received kill signal, shutting down gracefully Closed out connections `

chaitanya5 (Tue, 24 Dec 2019 11:08:29 GMT):
I have this error ``` ``` `Expected directory: node-v64-darwin-x64-unknown Found: [node-v57-darwin-x64-unknown]``` ``` I get that it is not a explorer error but can use a little help. This is my complete log file``` ``` `false 'ssl-certs' '/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/ssl-certs' <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> { Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: node-v64-darwin-x64-unknown Found: [node-v57-darwin-x64-unknown] This problem can often be fixed by running "npm rebuild" on the current system Original error: Cannot find module '/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node' at Object. (/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/grpc_extension.js:53:17) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/Users/navtech/Documents/test/realestate-ledger/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:144:12) at Module._compile (internal/modules/cjs/loader.js:778:30) code: 'MODULE_NOT_FOUND' } Received kill signal, shutting down gracefully Closed out connections `

nfrunza (Tue, 24 Dec 2019 13:01:58 GMT):
@chaitanya5 , follow the suggestion "This problem can often be fixed by running "npm rebuild" on the current system" , just run from command line $npm rebuild

selvaraman (Tue, 24 Dec 2019 14:10:35 GMT):
thanks. Can you please suggest something for burrow

nfrunza (Tue, 24 Dec 2019 16:47:26 GMT):
@chaitanya5 Unfortunately, i can not.

geni (Wed, 25 Dec 2019 04:45:31 GMT):
Has joined the channel.

geni (Wed, 25 Dec 2019 04:45:32 GMT):
hi All

geni (Wed, 25 Dec 2019 04:45:32 GMT):
hi All I am trying to follow https://github.com/hyperledger/blockchain-explorer When i run command sudo -u postgres ./createdb.sh

geni (Wed, 25 Dec 2019 04:49:42 GMT):

Clipboard - December 25, 2019 9:49 AM

geni (Wed, 25 Dec 2019 04:49:42 GMT):

Clipboard - December 25, 2019 9:49 AM

konda.kalyan (Thu, 26 Dec 2019 06:02:08 GMT):
Has joined the channel.

geni (Thu, 26 Dec 2019 08:21:57 GMT):

error explorer.PNG

nakulgr13 (Thu, 26 Dec 2019 09:02:08 GMT):
Please share the link to setup hyperledger explorer on ubuntu 16.04. I am facing below exception while following link: https://medium.com/@thanawitsupinnapong/setting-up-hyperledger-explorer-on-fabric-5f1f7cda73b3 Error: ==== ************************************* initializeDetachClient ************************************************* Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************** initializeDetachClient ************************************************ FabricUtils.createDetachClient initializeListener, client_name, client first-network { name: 'first-network', profile: './connection-profile/first-network.json' } Please open web browser to access :http://localhost:8080/ pid is 16238 <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error: Connection terminated unexpectedly at Connection.con.once (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/client.js:252:9) at Object.onceWrapper (events.js:313:30) at emitNone (events.js:106:13) at Connection.emit (events.js:208:7) at Socket. (/home/ubuntu/blockchain-explorer/node_modules/pg/lib/connection.js:131:10) at emitNone (events.js:111:20) at Socket.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/home/ubuntu/blockchain-explorer/app/persistence/postgreSQL/PgService.js:95:16) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: "callback" argument must be a function at setTimeout (timers.js:450:11) at Timeout.handleDisconnect [as _onTimeout] (/home/ubuntu/blockchain-explorer/app/persistence/postgreSQL/PgService.js:112:5) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections

touchingsoil (Thu, 26 Dec 2019 10:36:54 GMT):
I use blockchain-explorer v3.5.1 with fabric 1.1. and faced with the problems: 1, the explorer deployed with five peers in one machine, then i found, the web browser often can't open the dashboard via ip:port it often shows"Please verify your network configuration, database configuration and try again". sometimes it is ok,but it is very slow. if the dashboard web can be reached, the data is also ok 2,how the backend push the block and tx data, from the order or the peer? will the dashboard be reached only the data sync finished? the dashboard showes the data only from the database, will it get data from fabric for show? 3,so how to determine the problem, i changed the loglevel and checked the log, but got no clue

nfrunza (Fri, 27 Dec 2019 18:29:19 GMT):
did you build, ./main.sh clean && ./main.sh install ?

nfrunza (Fri, 27 Dec 2019 18:49:24 GMT):
please follow up https://github.com/hyperledger/blockchain-explorer/blob/master/README.md , we did not publish that article

Paradox-AT (Sun, 29 Dec 2019 09:06:56 GMT):
I'm sorry for the late reply I am good with go, javascript, java I sure can contribute small things even on the UI but I prefer to work on the backend

nfrunza (Sun, 29 Dec 2019 21:01:59 GMT):
@Paradox-AT great, thank you for the reply, please take a look at our jira's .https://jira.hyperledger.org/secure/RapidBoard.jspa?rapidView=155&projectKey=BE&view=planning&selectedIssue=BE-720 and see what you want to work on, we use github, also see how to contribute, https://github.com/hyperledger/blockchain-explorer/blob/master/CONTRIBUTING.md#code-contribution-and-submitting-your-fix

sanket1211 (Thu, 02 Jan 2020 10:15:56 GMT):
Error : [ 'Channel name [%s] already exist in DB , Kindly re-run the DB scripts to proceed

sanket1211 (Thu, 02 Jan 2020 10:16:26 GMT):
when i run explorer using docker..

Aniket.1 (Thu, 02 Jan 2020 10:58:01 GMT):
I get this on setup: ``` ```

Aniket.1 (Thu, 02 Jan 2020 10:58:01 GMT):
I get this on setup: ``` $ sudo -u postgres ./createdb.sh Copying ENV variables into temp file... internal/modules/cjs/loader.js:670 throw err; ^ Error: Cannot find module '/home/appinventiv/projects/aniket/blockchain-explorer/app/persistence/fabric/postgreSQL/db/processenv.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:668:15) at Function.Module._load (internal/modules/cjs/loader.js:591:27) at Function.Module.runMain (internal/modules/cjs/loader.js:877:12) at internal/main/run_main_module.js:21:11 jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 7: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 12: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 17: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory USER= DATABASE= PASSWD= Executing SQL scripts, OS=linux-gnu could not change directory to "/home/appinventiv/blockchain-explorer/app/persistence/fabric/postgreSQL/db": Permission denied ./explorerpg.sql: No such file or directory could not change directory to "/home/appinventiv/blockchain-explorer/app/persistence/fabric/postgreSQL/db": Permission denied ./updatepg.sql: No such file or directory ```

Aniket.1 (Thu, 02 Jan 2020 10:58:01 GMT):
I get this on setup: ``` $ sudo -u postgres ./createdb.sh Copying ENV variables into temp file... internal/modules/cjs/loader.js:670 throw err; ^ Error: Cannot find module '/home/appinventiv/projects/aniket/blockchain-explorer/app/persistence/fabric/postgreSQL/db/processenv.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:668:15) at Function.Module._load (internal/modules/cjs/loader.js:591:27) at Function.Module.runMain (internal/modules/cjs/loader.js:877:12) at internal/main/run_main_module.js:21:11 jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 7: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 12: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 17: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory USER= DATABASE= PASSWD= Executing SQL scripts, OS=linux-gnu could not change directory to "/home/appinventiv/blockchain-explorer/app/persistence/fabric/postgreSQL/db": Permission denied ./explorerpg.sql: No such file or directory could not change directory to "/home/appinventiv/blockchain-explorer/app/persistence/fabric/postgreSQL/db": Permission denied ./updatepg.sql: No such file or directory \ ```

Aniket.1 (Thu, 02 Jan 2020 10:59:17 GMT):
I get error on setup:

Aniket.1 (Thu, 02 Jan 2020 11:00:18 GMT):
``` $ sudo -u postgres ./createdb.sh Copying ENV variables into temp file... internal/modules/cjs/loader.js:670 throw err; ^ Error: Cannot find module 'blockchain-explorer/app/persistence/fabric/postgreSQL/db/processenv.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:668:15) at Function.Module._load (internal/modules/cjs/loader.js:591:27) at Function.Module.runMain (internal/modules/cjs/loader.js:877:12) at internal/main/run_main_module.js:21:11 jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 7: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 12: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory jq: error: Could not open file /tmp/process.env.json: No such file or directory ./createdb.sh: line 17: [: ==: unary operator expected jq: error: Could not open file /tmp/process.env.json: No such file or directory USER= DATABASE= PASSWD= Executing SQL scripts, OS=linux-gnu could not change directory to "blockchain-explorer/app/persistence/fabric/postgreSQL/db": Permission denied ./explorerpg.sql: No such file or directory could not change directory to "blockchain-explorer/app/persistence/fabric/postgreSQL/db": Permission denied ./updatepg.sql: No such file or directory ```

nfrunza (Thu, 02 Jan 2020 15:05:25 GMT):
@Aniket.1 see at https://github.com/hyperledger/blockchain-explorer/blob/master/README.md#50-database-setup---- "(in some case you may need to apply permission to db/ directory, from blockchain-explorer/app/persistence/fabric/postgreSQL run: chmod -R 775 db/"

roclee (Mon, 06 Jan 2020 03:03:01 GMT):
Has joined the channel.

ThomasRalee (Mon, 06 Jan 2020 04:49:06 GMT):
Hi guys, i've tried disabling authentication to the explorer. But it doesn't work, have anyone successfully configured so that you can disable login?

nfrunza (Mon, 06 Jan 2020 13:30:45 GMT):
@ThomasRalee did you try to clear your cache ?

sanket1211 (Tue, 07 Jan 2020 05:51:56 GMT):
@nfrunza ...[2020-01-07T05:48:40.079] [ERROR] Sync - Error : [ 'Channel name [%s] already exist in DB , Kindly re-run the DB scripts to proceed', explorer.mynetwork.com | 'mychannel' ]

sanket1211 (Tue, 07 Jan 2020 05:52:18 GMT):
could u plz look into it?

nfrunza (Tue, 07 Jan 2020 12:44:53 GMT):
@sanket1211 did you restart your network? could be same channel name and different channel hash

sanket1211 (Tue, 07 Jan 2020 13:10:20 GMT):
its resolved...it was issue with db

nfrunza (Tue, 07 Jan 2020 13:57:27 GMT):
:thumbsup:

geni (Tue, 07 Jan 2020 19:36:41 GMT):
Hi all, i am trying to run explorer following the github explorer guide. i am getting the error. When i run ./main.sh test

geni (Tue, 07 Jan 2020 19:37:53 GMT):

Clipboard - January 7, 2020 2:37 PM

geni (Tue, 07 Jan 2020 19:37:53 GMT):

Clipboard - January 7, 2020 2:37 PM

geni (Tue, 07 Jan 2020 19:46:59 GMT):

2020-01-07T19_33_52_505Z-debug.log

nfrunza (Tue, 07 Jan 2020 21:29:06 GMT):
@geni did you run ./main.sh clean && ./main.sh install ?

geni (Wed, 08 Jan 2020 04:53:34 GMT):
Hey @nfrunza yes id did

geni (Wed, 08 Jan 2020 04:54:30 GMT):

fail.PNG

nfrunza (Wed, 08 Jan 2020 14:50:48 GMT):
@geni the message says that node_module is missing for nyc, can you check if you have 'blockchain-explorer/app/test/node_modules/nyc' dir after the ./main.sh install ?

ZainabM (Thu, 09 Jan 2020 11:48:23 GMT):
Has joined the channel.

sanket1211 (Thu, 09 Jan 2020 12:43:31 GMT):

Screenshot from 2020-01-09 18-12-33.png

sanket1211 (Thu, 09 Jan 2020 12:43:37 GMT):
@nfrunza

nfrunza (Thu, 09 Jan 2020 12:50:49 GMT):
@sanket1211 hard clean your cache

sanket1211 (Thu, 09 Jan 2020 12:54:46 GMT):
@nfrunza ..cleared cache from browser..doesnt work

Silona (Thu, 09 Jan 2020 20:18:36 GMT):
Last chance! The Linux Foundation worked with Hyperledger Fabric Developer subject matter expert volunteers to identify the core domains and competencies for the Certified Hyperledger Fabric Developer (CHFD) exam, scheduled to launch in March 2020. Are you interested in participating in the Beta and receiving an early peek? The CHFD Beta is FREE for the first 100 who take the exam. Complete the CHFD Beta Sign-up Form by January 15, 2020 for your chance. If you pass you will be CHFD Certified!

CarstenStahlschmidt (Fri, 10 Jan 2020 09:52:28 GMT):
Has joined the channel.

CarstenStahlschmidt (Fri, 10 Jan 2020 09:52:32 GMT):
Hi @nfrunza, I've got a general question on hyperledger explorer. After following the installation routine (prometheus, grafana etc.) I discovered the subfolder "client". Installed all that and configured it to match my needs. No I've got a question: do I need the prometheus-grafana installation procedure for the client or is the client independent from all that? Sorry for this question: I searched the readme's but wasn't able to find this info

nfrunza (Fri, 10 Jan 2020 12:50:22 GMT):
@CarstenStahlschmidt "prometheus-grafana " both are independent, i belive you refer to the HLExplorer as the client ? if yes , you do not need it in order to run prometheus-grafana

tennenjl (Mon, 13 Jan 2020 19:43:35 GMT):
Has joined the channel.

tennenjl (Mon, 13 Jan 2020 19:43:39 GMT):
Hi, First-timer working with Explorer. I started the Explorer backend and it appears to be connected to my "first network" implementation. When I start up the client component, running the `serve -s build` command, I don't see any errors. When I start up my browser and point to the endpoint `localhost:5000`, it appears to flash the login screen for less than a second and then I get a blank screen. If I look at the chrome console I see the following: `Refused to load the font '' because it violates the following Content Security Policy directive: "font-src 'self' ". operations.js:41 TypeError: Cannot read property 'networkList' of null at operations.js:35` . Thanks for any pointers or tips on what I may be doing wrong.

tennenjl (Mon, 13 Jan 2020 19:43:39 GMT):
Hi, First-timer working with Explorer. I started the Explorer backend and it appears to be connected to my "first network" implementation. When I start up the client component, running the `serve -s build` command, I don't see any errors. When I start up my browser and point to the endpoint `localhost:5000`, it appears to flash the login screen for less than a second and then I get a blank screen. If I look at the chrome console I see the following: Refused to load the font '' because it violates the following Content Security Policy directive: "font-src 'self' ". operations.js:41 TypeError: Cannot read property 'networkList' of null at operations.js:35 . Thanks for any pointers or tips on what I may be doing wrong.

tennenjl (Mon, 13 Jan 2020 19:43:39 GMT):
Hi, First-timer working with Explorer. I started the Explorer backend and it appears to be connected to my "first network" implementation. When I start up the client component, running the `serve -s build` command, I don't see any errors. When I start up my browser and point to the endpoint `localhost:5000`, it appears to flash the login screen for less than a second and then I get a blank screen. If I look at the chrome console I see the following: operations.js:41 TypeError: Cannot read property 'networkList' of null at operations.js:35 . Thanks for any pointers or tips on what I may be doing wrong. and ` react-dom.production.min.js:4408 Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=TypeError%3A%20Cannot%20read%20property%20'networkList'%20of%20null&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:943583 at i (http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:943686) at zr (http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:990580) at l (http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:992218) at d (http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:993326) at http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:995307 at Wa (http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:1002304) at Ta (http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:1010742) at Ui (http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:1034225) at Ki (http://localhost:5000/static/js/2.36fd6a3e.chunk.js:1:1034609) `

YashShukla (Tue, 14 Jan 2020 06:30:16 GMT):
Has joined the channel.

CarstenStahlschmidt (Tue, 14 Jan 2020 07:28:45 GMT):
@nfrunza thanks for your reply. Indeed I meant HLExplorer with it's subfolder "client" where the dashboard is located. And if I understand correctly I can also use this client without having to install prometheus-grafana, right?

Diegoescalonaro (Tue, 14 Jan 2020 10:00:03 GMT):
Has joined the channel.

Diegoescalonaro (Tue, 14 Jan 2020 10:00:05 GMT):
Hi guys! Is there any CONFIG VARIABLE to serve the static files of the explorer in a relative path?

Silona (Tue, 14 Jan 2020 16:50:04 GMT):
Help Us Help you! Attend the Developer Relationship Meeting with Myself and our Marketing Dept. tomorrow at 9:00am Pacific Time. For the agenda and Dial in info https://wiki.hyperledger.org/display/Marketing/2020-01-15+Meeting+notes

Silona (Tue, 14 Jan 2020 17:04:50 GMT):
Calling all Projects, SIG, and WG!!! We will have a Video recording Studio setup at HGF (Hyperledger Global Forum). We are asking that all projects and groups help us create a 5 minute video about your group so that we can promote it afterward. Sign up Here! https://wiki.hyperledger.org/display/HGF/Video+Recording+Schedule

easeev (Fri, 17 Jan 2020 03:39:42 GMT):
Hi! What is the best practice to run Explorer in production in multi-org setting? Is it possible to have one Explorer per network or it is required to run an Explorer per participant for segregation purposes?

selvaraman (Sat, 18 Jan 2020 03:10:47 GMT):
I am working on sawtooth explorer. I am getting the following cors error. Access to XMLHttpRequest at 'http://localhost:8080/transactions?limit=10' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Can someone please tell me how to disable this cors policy

selvaraman (Sat, 18 Jan 2020 03:10:47 GMT):
I am working on sawtooth explorer. I am getting the following cors error. Access to XMLHttpRequest at 'http://localhost:8080/transactions?limit=10' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Can someone please help me how to disable this cors policy

Arrow 9 (Tue, 21 Jan 2020 07:21:30 GMT):
Has joined the channel.

Arrow 9 (Tue, 21 Jan 2020 07:21:30 GMT):
@selvaraman as per security u cannot request from localhost ports. To do this u need to change few things in sawtooth explorer find server file where Express is initialized and add new package cors and use it ur problem will be solved

dineshthemacho1 (Wed, 22 Jan 2020 06:05:00 GMT):
Has joined the channel.

sanket1211 (Wed, 22 Jan 2020 11:00:14 GMT):
PgService - error when connecting to db: { Error: connect ECONNREFUSED 10.200.1.69:5432

sanket1211 (Wed, 22 Jan 2020 11:00:33 GMT):
could anyone tell me solution for above error?

Sandraks94 (Fri, 24 Jan 2020 11:18:01 GMT):
Has joined the channel.

Sandraks94 (Fri, 24 Jan 2020 11:18:04 GMT):
Hi I was successful in setting up hyperledger explorer. I wanted to make some changes in UI part. Is ther any documentation available on hyperledger explorere UI?

nekia (Mon, 27 Jan 2020 03:52:58 GMT):
I think there is no documentation about UI part, unfortunately. But we always welcome your contribution. :slight_smile: @Sandraks94

nekia (Mon, 27 Jan 2020 03:55:06 GMT):
You have another option that is issuing a JIRA of those changes, too.

Silona (Mon, 27 Jan 2020 22:26:39 GMT):
The Linux Foundation’s CommunityBridge engineers are working on a tool to measure the health of critical open source projects and one of the key areas identified is QA Testing. They request that our communities provide honest and detailed information on testing tools and methodologies you use in your projects for us to come up with a detailed analysis, which they will share with all respondents and projects. https://www.surveymonkey.com/r/9H5G2GV. It’s only 5 questions long.

SimonOberzan (Tue, 28 Jan 2020 19:11:58 GMT):
Has joined the channel.

SimonOberzan (Tue, 28 Jan 2020 19:51:57 GMT):
Hi! I am experiencing a strange behaviour. I have set the enableAuthentication to false in my connection-profile but the login page is still displayed. The weird thing is that no matter what credentials I enter I am successfully logged in as the server part knows to skip authentication but the client side is still displaying the login page... Does anyone know what might be the issue here?

SimonOberzan (Wed, 29 Jan 2020 18:21:01 GMT):
I have looked at the code and to me it seems that enableAuthenitcation: false is not really doing what I would expect it to. I can see that all /api/* routes are protected with the auth-check middleware which requires that the request have a valid JWT token, which is generated at login. Also if there is no token in the localStorage, the client will automatically redirect itself to /login. So am I missing something here or doesn't "enableAuthenitcation: false" work? If it works what is its functionality if not skipping the whole authenication process?

nekia (Thu, 30 Jan 2020 00:33:34 GMT):
@SimonOberzan Thank you for raising an issue. I could reproduce the issue on my local, too. I create a new JIRA https://jira.hyperledger.org/browse/BE-729

nekia (Thu, 30 Jan 2020 00:35:05 GMT):
Always welcome your contribution. :thumbsup:

jona-sc (Thu, 30 Jan 2020 06:03:35 GMT):
Has joined the channel.

jona-sc (Thu, 30 Jan 2020 06:04:06 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=YDjGdLHS6Q2MavJ5z) I also have this question. Any advice?

Diegoescalonaro (Thu, 30 Jan 2020 11:38:33 GMT):
Me too

Diegoescalonaro (Thu, 30 Jan 2020 11:38:33 GMT):
Me too. Anyone could help with this?

nekia (Fri, 31 Jan 2020 11:46:26 GMT):
Unfortunately, explorer doesn't support multi-org in one instance.

easeev (Mon, 03 Feb 2020 08:20:22 GMT):
Any plans to support multi-org?

nekia (Mon, 03 Feb 2020 10:58:25 GMT):
Now I'm looking at how much work is needed to support it.

sigma67 (Wed, 05 Feb 2020 14:05:44 GMT):
Has joined the channel.

Manzik (Mon, 10 Feb 2020 06:18:36 GMT):
Has joined the channel.

LWIH (Tue, 11 Feb 2020 18:27:16 GMT):
Has joined the channel.

xhens (Wed, 12 Feb 2020 09:56:23 GMT):
Has joined the channel.

Silona (Thu, 13 Feb 2020 18:24:25 GMT):
Howdy Contributors and Maintainers! Are you wondering about tapping into Developer marketing for your group or project? Do you have a blog post idea? An awesome announcement? Please attend our Contributor/marketing meeting! https://wiki.hyperledger.org/display/Marketing/2020-02-19+Meeting+notes

Javi (Fri, 14 Feb 2020 11:14:01 GMT):
Hi all! I'm trying to run explorer in k8s but I always get this error: ``` Error: Cannot find module '../platform/fabric/models/User' 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. (/opt/explorer/app/passport/local-login.js:13:14) 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) ```

Javi (Fri, 14 Feb 2020 11:14:33 GMT):
I have a PVC in /opt/logs to write logs

Javi (Fri, 14 Feb 2020 11:14:59 GMT):
anyone know how to solve this?

Javi (Fri, 14 Feb 2020 11:41:40 GMT):
I think I'm overwriting all files inside the platform/fabric folder because only the explorer network.json exists...

Javi (Fri, 14 Feb 2020 13:59:21 GMT):
fixed

BrettLogan (Sun, 16 Feb 2020 03:48:16 GMT):
Has joined the channel.

woodyjon (Mon, 17 Feb 2020 16:05:45 GMT):
Has joined the channel.

woodyjon (Mon, 17 Feb 2020 16:05:45 GMT):
Do you know if the explorer is compatible with Fabric 2.0? Here https://github.com/hyperledger/blockchain-explorer they say it is compatible up to 1.4.4. Has anyone tried? Do you know when will it be compatible? Thanks a lot.

Silona (Mon, 17 Feb 2020 22:18:27 GMT):
Are you wondering about tapping into Developer marketing for your group or project? Do you have a blog post idea? An awesome announcement? Please attend TOMORROW! https://wiki.hyperledger.org/display/Marketing/2020-02-19+Meeting+notes

nekia (Tue, 18 Feb 2020 04:02:56 GMT):
Explorer does not support Fabric v2.0 yet.

nekia (Tue, 18 Feb 2020 04:18:08 GMT):
I've not tried yet. Just created a new JIRA for that. https://jira.hyperledger.org/browse/BE-732

jona-sc (Tue, 18 Feb 2020 04:21:41 GMT):
In our testing it has worked well so far. We can connect to the network, see peers of my org (if they have external endpoint), see channels, see some stats and transactions etc.

nekia (Tue, 18 Feb 2020 04:35:41 GMT):
Great! Thank you for sharing

woodyjon (Tue, 18 Feb 2020 08:38:24 GMT):
Thank you!

woodyjon (Tue, 18 Feb 2020 08:38:36 GMT):
I will also make some tests. Today or tomorrow.

woodyjon (Tue, 18 Feb 2020 08:40:47 GMT):
@jona-sc for confirmation: you did not make any change related to 2.0 and the current version of explorer worked out of the box on a fabric 2.0 network?

jona-sc (Tue, 18 Feb 2020 08:47:51 GMT):
Yes that's right. On a fresh 2.0 network (i.e. I haven't tested a 1.4.x network that has had been upgraded to 2.0).

jona-sc (Tue, 18 Feb 2020 08:47:51 GMT):
Yes that's right. On a fresh 2.0 network (i.e. I haven't tested a 1.4.x network that has been upgraded to 2.0).

woodyjon (Tue, 18 Feb 2020 09:04:39 GMT):
thanks!

Javi (Tue, 18 Feb 2020 14:49:16 GMT):

Clipboard - February 18, 2020 3:49 PM

Javi (Tue, 18 Feb 2020 14:49:22 GMT):
hi all! what means high and low in explorer ledger height section?

nekia (Wed, 19 Feb 2020 09:45:15 GMT):
That means upper 32bit and lower 32bit of block height.

samurai (Sat, 22 Feb 2020 21:12:46 GMT):

Screenshot at 2020-02-22 21-11-00.png

samurai (Sat, 22 Feb 2020 21:12:47 GMT):

Screenshot at 2020-02-22 21-11-15.png

samurai (Sat, 22 Feb 2020 21:13:24 GMT):
No process name hyperledger-explorer found

samurai (Sat, 22 Feb 2020 21:14:02 GMT):
Could someone please help me with the above error and thanks in advance

samurai (Sat, 22 Feb 2020 21:14:02 GMT):
Could someone please help me with the above error and thanks in advance.

samurai (Sat, 22 Feb 2020 21:14:02 GMT):
Could someone please help me with the above error and thanks in advance, see screenshots above

nekia (Sun, 23 Feb 2020 22:56:34 GMT):
You don't need to do any steps for client separately. Just run `./start.sh`. If you still have same message (`No process name...`), that means you have some issue in bootup of explorer.

nekia (Sun, 23 Feb 2020 22:56:39 GMT):
@samurai

nekia (Sun, 23 Feb 2020 23:03:09 GMT):
Please check `logs/console/console.log' when you have an error.

nekia (Sun, 23 Feb 2020 23:03:09 GMT):
Please check `logs/console/console.log` when you have an error.

woodyjon (Mon, 24 Feb 2020 13:36:59 GMT):
Hello. I am trying to install the explorer on a kubernetes cluster where I have a fabric v2 test networ running. For the connection config file of the explorer, here they say that the adminUser and adminPasswords are those of the Fabric CA: https://github.com/hyperledger/blockchain-explorer#70-configure-hyperledger-fabric . But I am using cryptogen and I don't think I have admin user and password for my network. Can you advise what to put in those adminUser and adminPasswords fields?

woodyjon (Mon, 24 Feb 2020 13:37:41 GMT):
for info, my kubernetes pod fails with following logs:

woodyjon (Mon, 24 Feb 2020 13:37:51 GMT):
` false 'ssl-certs' '/opt/explorer/ssl-certs' D0224 13:31:32.106648498 10 env_linux.cc:71] Warning: insecure environment read function 'getenv' used D0224 13:31:32.610761272 10 env_linux.cc:71] Warning: insecure environment read function 'getenv' used ******* Initialization started for hyperledger fabric platform ******, { 'test-network': { name: 'test-network', profile: './test-network.json', enableAuthentication: false } } client_configs.name test-network client_configs.profile ./test-network.json FabricUtils.createFabricClient ********* call to initializeDetachClient ********** initializeDetachClient --> client_config { name: 'test-network', profile: './test-network.json', enableAuthentication: false } name test-network FabricUtils.createDetachClient initializeListener, client_name, client test-network { name: 'test-network', profile: './test-network.json', enableAuthentication: false } <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'adminUser' of undefined at FabricConfig.getAdminUser (/opt/explorer/app/platform/fabric/FabricConfig.js:85:29) at FabricClient.initializeDetachClient (/opt/explorer/app/platform/fabric/FabricClient.js:200:32) at FabricClient.initialize (/opt/explorer/app/platform/fabric/FabricClient.js:176:9) at at process._tickCallback (internal/process/next_tick.js:189:7) Please open web browser to access :http://localhost:8080/ pid is 10 Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections`

woodyjon (Mon, 24 Feb 2020 13:38:38 GMT):
``` false 'ssl-certs' '/opt/explorer/ssl-certs' D0224 13:31:32.106648498 10 env_linux.cc:71] Warning: insecure environment read function 'getenv' used D0224 13:31:32.610761272 10 env_linux.cc:71] Warning: insecure environment read function 'getenv' used ******* Initialization started for hyperledger fabric platform ******, { 'test-network': { name: 'test-network', profile: './test-network.json', enableAuthentication: false } } client_configs.name test-network client_configs.profile ./test-network.json FabricUtils.createFabricClient ********* call to initializeDetachClient ********** initializeDetachClient --> client_config { name: 'test-network', profile: './test-network.json', enableAuthentication: false } name test-network FabricUtils.createDetachClient initializeListener, client_name, client test-network { name: 'test-network', profile: './test-network.json', enableAuthentication: false } <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: Cannot read property 'adminUser' of undefined at FabricConfig.getAdminUser (/opt/explorer/app/platform/fabric/FabricConfig.js:85:29) at FabricClient.initializeDetachClient (/opt/explorer/app/platform/fabric/FabricClient.js:200:32) at FabricClient.initialize (/opt/explorer/app/platform/fabric/FabricClient.js:176:9) at at process._tickCallback (internal/process/next_tick.js:189:7) Please open web browser to access :http://localhost:8080/ pid is 10 Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ```

samurai (Mon, 24 Feb 2020 20:16:33 GMT):
Thanks a lot

saikumar3349 (Tue, 25 Feb 2020 05:06:40 GMT):
Has left the channel.

woodyjon (Tue, 25 Feb 2020 07:56:39 GMT):
Hello, I am trying to install the explorer on kubernetes on a fabric v2.0 test-network. When deploying the explorer app, the pod stops and I have the following logs. Do you have an idea what it could be? It seems to be a connection problem with the peer.

woodyjon (Tue, 25 Feb 2020 07:57:02 GMT):
``` false 'ssl-certs' '/opt/explorer/ssl-certs' D0225 07:53:05.497821394 9 env_linux.cc:71] Warning: insecure environment read function 'getenv' used D0225 07:53:05.947101932 9 env_linux.cc:71] Warning: insecure environment read function 'getenv' used ******* Initialization started for hyperledger fabric platform ******, { 'test-network': { name: 'test-network', profile: './test-network.json' } } client_configs.name test-network client_configs.profile ./test-network.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels mychannel E0225 07:53:06.302022963 9 ssl_transport_security.cc:683] Invalid private key. E0225 07:53:06.302106957 9 ssl_security_connector.cc:113] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0225 07:53:06.302129086 9 secure_channel_create.cc:152] Failed to create secure subchannel for secure name 'peer0-org1-example-com:7051' E0225 07:53:06.302150533 9 secure_channel_create.cc:50] Failed to create channel args during subchannel creation. 2020-02-25T07:53:09.306Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://peer0-org1-example-com:7051 2020-02-25T07:53:09.308Z - error: [Channel.js]: Error: Failed to connect before the deadline URL:grpcs://peer0-org1-example-com:7051 E0225 07:53:09.326608849 9 ssl_transport_security.cc:683] Invalid private key. E0225 07:53:09.326655893 9 ssl_security_connector.cc:113] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0225 07:53:09.326674286 9 secure_channel_create.cc:152] Failed to create secure subchannel for secure name 'peer0-org1-example-com:7051' E0225 07:53:09.326690591 9 secure_channel_create.cc:50] Failed to create channel args during subchannel creation. 2020-02-25T07:53:12.327Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://peer0-org1-example-com:7051 ********* call to initializeDetachClient ********** initializeDetachClient --> client_config { name: 'test-network', profile: './test-network.json' } name test-network initializeDetachClient, network config) { name: 'test-network', version: '1.0', client: { tlsEnable: true, adminUser: 'adminUser', adminPassword: 'adminPassword', enableAuthentication: false, organization: 'Org1MSP', connection: { timeout: [Object] } }, channels: { mychannel: { peers: [Object], orderers: [Object], connection: [Object] } }, organizations: { Org1MSP: { mspid: 'Org1MSP', fullpath: true, adminPrivateKey: [Object], signedCert: [Object] }, Org2MSP: { mspid: 'Org2MSP', fullpath: true, adminPrivateKey: [Object], signedCert: [Object] }, OrdererMSP: { mspid: 'OrdererMSP', fullpath: true, adminPrivateKey: [Object] } }, peers: { 'peer0-org1-example-com': { tlsCACerts: [Object], url: 'grpcs://peer0-org1-example-com:7051', eventUrl: 'grpcs://peer0-org1-example-com:7053', grpcOptions: [Object] }, 'peer0-org2-example-com': { tlsCACerts: [Object], url: 'grpcs://peer0-org2-example-com:7051', eventUrl: 'grpcs://peer0-org2-example-com:7053', grpcOptions: [Object] } }, orderers: { 'orderer-example-com': { tlsCACerts: [Object], url: 'grpcs://orderer-example-com:7050', eventUrl: 'grpcs://orderer-example-com:7050', grpcOptions: [Object] } } } ************************************* initializeDetachClient ************************************************* Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ************************************** initializeDetachClient ************************************************ FabricUtils.createDetachClient initializeListener, client_name, client test-network { name: 'test-network', profile: './test-network.json' } Please open web browser to access :http://localhost:8080/ pid is 9 FabricConfig, this.config.channels mychannel <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default client peer is down and no channel details available database' ] Received kill signal, shutting down gracefully <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> Closed out connections ```

vanitas92 (Tue, 25 Feb 2020 09:07:17 GMT):
Hi @woodyjon , as far as i know, blockchain explorer does not support latest version and yoiu migh get this errors due to incompatibility of their app. The latest release supports until 1.4.4 as stated in their release section: https://github.com/hyperledger/blockchain-explorer/releases

woodyjon (Tue, 25 Feb 2020 09:12:49 GMT):
@vanitas92 on the Feb 18th, in this chat, someone said they installed it without any issue on a 2.0 network. That's why I thought it would be ok. But maybe I have another issue.

vanitas92 (Tue, 25 Feb 2020 09:15:35 GMT):
i wasn't aware of that, however, i would wait the developers to officially support it, as that user might have it working on a setting that you may not have and does not support.

woodyjon (Tue, 25 Feb 2020 09:16:01 GMT):
I don't fully understand the "tlsEnable" and use of "grpcs" in the explorer config file. My network uses TLS as I use raft orderer, but my peers have tls enable (CORE_PEER_TLS_ENABLED=true) but client tls disabled (CORE_PEER_TLS_CLIENTAUTHREQUIRED=false). So do I need to put "tlsEnable" at true in the explorer config, and go I need to use grpcs instead of grpc?

woodyjon (Tue, 25 Feb 2020 09:17:21 GMT):
yes you might be right about 2.0 support

BrettLogan (Wed, 26 Feb 2020 02:31:50 GMT):
Has left the channel.

selvaraman (Wed, 26 Feb 2020 14:57:20 GMT):
Hi ! I am running sawtooth-explorer (https://github.com/hyperledger/sawtooth-explorer) with sawtooth-seth. The explorer shows some different character for payload. like the following, Óä€afdaaf79fca57d1685f3f31a0966807a90f400b2e23ea3c61ff06c3048a6ad1a6f408e5ce806006d0B03a2b36abfe6ca0751bbd3f3086a91b906e0641568b3069b3e3badc2ed33eab"€6d50d258b0299eb4866e5676228d1c3dd42175fba0bbd94bb5c1b070c6b511e5408cd4e7109ee4b853fa32e2d599d885f5296136f619ea(ŠŽÙò Can you please help me to remove those characters ?

nekia (Wed, 26 Feb 2020 22:41:57 GMT):
Yes, in that case, you need to set `true` to `tlsEnable` in your explorer configuration. But you don't need to take care about grpc prefix at peer URL. That should be adjusted automatically. @woodyjon

nekia (Wed, 26 Feb 2020 22:49:41 GMT):
In [hyperledger explorer](https://github.com/hyperledger/blockchain-explorer), fabric is supported (now we're working to support of iroha). I think you might be able to get some information at #sawtooth channel. @selvaraman

samurai (Thu, 27 Feb 2020 02:26:31 GMT):
Could someone please help me solve the problem of not been able to connect hyperledger explorer to hyperledger fabric via http:/localhost:8080 and i have attached the screenshots of my log files, thanks in advance

samurai (Thu, 27 Feb 2020 02:26:31 GMT):
Could someone please help me solve the problem of not been able to connect hyperledger explorer to hyperledger fabric via http:/localhost:8080 and i have attached the screenshots of my log files below, thanks in advance

samurai (Thu, 27 Feb 2020 02:26:51 GMT):

Screenshot at 2020-02-27 02-21-28.png

samurai (Thu, 27 Feb 2020 02:26:52 GMT):

Screenshot at 2020-02-27 02-25-37.png

samurai (Thu, 27 Feb 2020 02:26:52 GMT):

Screenshot at 2020-02-27 02-21-38.png

woodyjon (Thu, 27 Feb 2020 08:40:02 GMT):
thanks @nekia . I'm still not able to connect the explorer to the peer, I'm not sure what is my issue, but I put this aside for now, waiting that you confirm the support for 2.0

nekia (Thu, 27 Feb 2020 14:20:19 GMT):
Can you share the following information? * Fabric version * Explore version * Using docker or launch from your local source tree * About your fabric network (first-network, test-network) * Your config,Jason & connection profile @samurai

samurai (Thu, 27 Feb 2020 17:18:55 GMT):
I am using all the tools, software and configuration files, that were used in the example demonstrated on the website below:- https://medium.com/coinmonks/hyperledger-explorer-quick-start-50a49c6d7957

metadata (Thu, 27 Feb 2020 18:53:49 GMT):
hello @nekia for running the explorer in production what are the necessary changes in terms of config and security perspective that one should make to the explorer?

nekia (Thu, 27 Feb 2020 23:17:25 GMT):
OK, these steps are partially out of date.

nekia (Thu, 27 Feb 2020 23:19:55 GMT):
In `App Config`, you need to follow the current syntax that you can see in the original [config.json](https://github.com/hyperledger/blockchain-explorer/blob/v1.0.0-rc2/app/platform/fabric/config.json) and [connection profile](https://github.com/hyperledger/blockchain-explorer/blob/v1.0.0-rc2/app/platform/fabric/connection-profile/first-network.json).

nekia (Thu, 27 Feb 2020 23:22:06 GMT):
And you don't need the step `serve -s build`.

samurai (Fri, 28 Feb 2020 00:28:03 GMT):
ok and thanks a lot

metadata (Fri, 28 Feb 2020 11:22:50 GMT):
Hi all, I'm getting below error when trying to start the explorer. ``` explorer_explorer.1.ucvvrxicrl4f@gcloud1 | false 'ssl-certs' '/opt/explorer/ssl-certs' explorer_explorer.1.ucvvrxicrl4f@gcloud1 | D0228 09:03:03.931807426 7 env_linux.cc:71] Warning: insecure environment read function 'getenv' used explorer_explorer.1.ucvvrxicrl4f@gcloud1 | D0228 09:03:05.957626832 7 env_linux.cc:71] Warning: insecure environment read function 'getenv' used explorer_explorer.1.ucvvrxicrl4f@gcloud1 | ******* Initialization started for hyperledger fabric platform ******, { 'testchain-network': explorer_explorer.1.ucvvrxicrl4f@gcloud1 | { name: 'testchain-network', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | profile: './connection-profile/testchain-network.json' } } explorer_explorer.1.ucvvrxicrl4f@gcloud1 | client_configs.name testchain-network client_configs.profile ./connection-profile/testchain-network.json explorer_explorer.1.ucvvrxicrl4f@gcloud1 | FabricUtils.createFabricClient explorer_explorer.1.ucvvrxicrl4f@gcloud1 | config.client.tlsEnable true explorer_explorer.1.ucvvrxicrl4f@gcloud1 | FabricConfig, this.config.channels mychannel explorer_explorer.1.ucvvrxicrl4f@gcloud1 | { Error: ENOENT: no such file or directory, open '/home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config/peerOrganizations/org2.examle.com/users/Admin@org2.examle.com/msp/signcerts/Admin@org2.examle.com-cert.pem' explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at Object.fs.openSync (fs.js:646:18) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at Object.fs.readFileSync (fs.js:551:33) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at FabricGateway._enrollUserIdentity (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:187:19) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:116:28) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at explorer_explorer.1.ucvvrxicrl4f@gcloud1 | errno: -2, explorer_explorer.1.ucvvrxicrl4f@gcloud1 | code: 'ENOENT', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | syscall: 'open', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | path: '/home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config/peerOrganizations/org2.examle.com/users/Admin@org2.examle.com/msp/signcerts/Admin@org2.examle.com-cert.pem' } ``` It is showing file directory issue but the directory exists.

metadata (Fri, 28 Feb 2020 11:22:50 GMT):
Hi all, I'm getting below error when trying to start the explorer. ``` explorer_explorer.1.ucvvrxicrl4f@gcloud1 | false 'ssl-certs' '/opt/explorer/ssl-certs' explorer_explorer.1.ucvvrxicrl4f@gcloud1 | D0228 09:03:03.931807426 7 env_linux.cc:71] Warning: insecure environment read function 'getenv' used explorer_explorer.1.ucvvrxicrl4f@gcloud1 | D0228 09:03:05.957626832 7 env_linux.cc:71] Warning: insecure environment read function 'getenv' used explorer_explorer.1.ucvvrxicrl4f@gcloud1 | ******* Initialization started for hyperledger fabric platform ******, { 'testchain-network': explorer_explorer.1.ucvvrxicrl4f@gcloud1 | { name: 'testchain-network', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | profile: './connection-profile/testchain-network.json' } } explorer_explorer.1.ucvvrxicrl4f@gcloud1 | client_configs.name testchain-network client_configs.profile ./connection-profile/testchain-network.json explorer_explorer.1.ucvvrxicrl4f@gcloud1 | FabricUtils.createFabricClient explorer_explorer.1.ucvvrxicrl4f@gcloud1 | config.client.tlsEnable true explorer_explorer.1.ucvvrxicrl4f@gcloud1 | FabricConfig, this.config.channels mychannel explorer_explorer.1.ucvvrxicrl4f@gcloud1 | { Error: ENOENT: no such file or directory, open '/home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config/peerOrganizations/org2.examle.com/users/Admin@org2.examle.com/msp/signcerts/Admin@org2.examle.com-cert.pem' explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at Object.fs.openSync (fs.js:646:18) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at Object.fs.readFileSync (fs.js:551:33) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at FabricGateway._enrollUserIdentity (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:187:19) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:116:28) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at explorer_explorer.1.ucvvrxicrl4f@gcloud1 | errno: -2, explorer_explorer.1.ucvvrxicrl4f@gcloud1 | code: 'ENOENT', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | syscall: 'open', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | path: '/home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config/peerOrganizations/org2.examle.com/users/Admin@org2.examle.com/msp/signcerts/Admin@org2.examle.com-cert.pem' } ``` It is showing file directory issue but the directory exists. Using `fabric:v1.4.4` and `explorer:1.0.0-rc2`

metadata (Fri, 28 Feb 2020 11:22:50 GMT):
Hi all, I'm getting below error when trying to start the explorer. ``` explorer_explorer.1.ucvvrxicrl4f@gcloud1 | false 'ssl-certs' '/opt/explorer/ssl-certs' explorer_explorer.1.ucvvrxicrl4f@gcloud1 | D0228 09:03:03.931807426 7 env_linux.cc:71] Warning: insecure environment read function 'getenv' used explorer_explorer.1.ucvvrxicrl4f@gcloud1 | D0228 09:03:05.957626832 7 env_linux.cc:71] Warning: insecure environment read function 'getenv' used explorer_explorer.1.ucvvrxicrl4f@gcloud1 | ******* Initialization started for hyperledger fabric platform ******, { 'testchain-network': explorer_explorer.1.ucvvrxicrl4f@gcloud1 | { name: 'testchain-network', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | profile: './connection-profile/testchain-network.json' } } explorer_explorer.1.ucvvrxicrl4f@gcloud1 | client_configs.name testchain-network client_configs.profile ./connection-profile/testchain-network.json explorer_explorer.1.ucvvrxicrl4f@gcloud1 | FabricUtils.createFabricClient explorer_explorer.1.ucvvrxicrl4f@gcloud1 | config.client.tlsEnable true explorer_explorer.1.ucvvrxicrl4f@gcloud1 | FabricConfig, this.config.channels mychannel explorer_explorer.1.ucvvrxicrl4f@gcloud1 | { Error: ENOENT: no such file or directory, open '/home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config/peerOrganizations/org2.examle.com/users/Admin@org2.examle.com/msp/signcerts/Admin@org2.examle.com-cert.pem' explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at Object.fs.openSync (fs.js:646:18) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at Object.fs.readFileSync (fs.js:551:33) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at FabricGateway._enrollUserIdentity (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:187:19) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:116:28) explorer_explorer.1.ucvvrxicrl4f@gcloud1 | at explorer_explorer.1.ucvvrxicrl4f@gcloud1 | errno: -2, explorer_explorer.1.ucvvrxicrl4f@gcloud1 | code: 'ENOENT', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | syscall: 'open', explorer_explorer.1.ucvvrxicrl4f@gcloud1 | path: '/home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config/peerOrganizations/org2.examle.com/users/Admin@org2.examle.com/msp/signcerts/Admin@org2.examle.com-cert.pem' } ``` It is showing file directory issue but the directory exists. Using `fabric:v1.4.4` and `explorer:1.0.0-rc2` Using multi-node network(2 Orgs, 4 peers, 3 orderer nodes) running on 3 Ubuntu 18.04 GCP instance.

nekia (Sat, 29 Feb 2020 00:09:00 GMT):
It looks like to me that you are running Explorer in docker container. But the crypto files are still placed on your local file system. I think you need to mount these files on docker volume. @metadata

nekia (Sat, 29 Feb 2020 00:10:18 GMT):
I think it depends on your requirement in your service.

metadata (Sat, 29 Feb 2020 05:33:43 GMT):
@nekia I'm mounting the `crypto` dir. ``` volumes: - /home/delta/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/config.json:/opt/explorer/app/platform/fabric/config.json:ro - /home/delta/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/connection-profile:/opt/explorer/app/platform/fabric/connection-profile:ro - /home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config:/tmp/crypto:ro - walletstore:/opt/wallet ``` In `app/platform/fabric/connection-profile/mynetwork.json` file I've mentioned the local file system path. Is it correct?

metadata (Sat, 29 Feb 2020 07:01:18 GMT):
got it.

metadata (Sat, 29 Feb 2020 13:12:20 GMT):
Now, I'm getiing different error: ``` explorer_explorer.1.qk21nk6nbpxh@gcloud1 | false 'ssl-certs' '/opt/explorer/ssl-certs' explorer_explorer.1.qk21nk6nbpxh@gcloud1 | D0229 08:17:16.209780805 7 env_linux.cc:71] Warning: insecure environment read function 'getenv' used explorer_explorer.1.qk21nk6nbpxh@gcloud1 | D0229 08:17:18.765969779 7 env_linux.cc:71] Warning: insecure environment read function 'getenv' used explorer_explorer.1.qk21nk6nbpxh@gcloud1 | ******* Initialization started for hyperledger fabric platform ******, { 'testchain-network': explorer_explorer.1.qk21nk6nbpxh@gcloud1 | { name: 'testchain-network', explorer_explorer.1.qk21nk6nbpxh@gcloud1 | profile: './connection-profile/testchain-network.json' } } explorer_explorer.1.qk21nk6nbpxh@gcloud1 | client_configs.name testchain-network client_configs.profile ./connection-profile/testchain-network.json explorer_explorer.1.qk21nk6nbpxh@gcloud1 | FabricUtils.createFabricClient explorer_explorer.1.qk21nk6nbpxh@gcloud1 | config.client.tlsEnable true explorer_explorer.1.qk21nk6nbpxh@gcloud1 | FabricConfig, this.config.channels mychannel explorer_explorer.1.qk21nk6nbpxh@gcloud1 | Killed ```

metadata (Sat, 29 Feb 2020 13:26:47 GMT):
@nekia **docker-compose.yaml** ``` version: '3.7' volumes: pgdata: walletstore: networks: testchain-network: external: true name: testchain-network services: explorerdb: deploy: replicas: 1 restart_policy: condition: on-failure delay: 5s max_attempts: 5 placement: constraints: - node.hostname == gcloud1 resources: limits: cpus: '0.50' memory: 100M reservations: cpus: '0.25' memory: 50M image: hyperledger/explorer-db:1.0.0-rc2 hostname: explorerdb environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - /home/delta/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh:/docker-entrypoint-initdb.d/createdb.sh - pgdata:/var/lib/postgresql/data networks: testchain-network: aliases: - explorerdb explorer: deploy: replicas: 1 restart_policy: condition: on-failure delay: 5s max_attempts: 5 placement: constraints: - node.hostname == gcloud1 resources: limits: cpus: '0.50' memory: 100M reservations: cpus: '0.25' memory: 50M image: hyperledger/explorer:1.0.0-rc2 hostname: explorer environment: - DATABASE_HOST=explorerdb - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password # - DATABASE_PORT=5433 - DISCOVERY_AS_LOCALHOST=false volumes: - /home/delta/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/config.json:/opt/explorer/app/platform/fabric/config.json - /home/delta/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/connection-profile:/opt/explorer/app/platform/fabric/connection-profile - /home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config:/tmp/crypto - walletstore:/opt/wallet command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - published: 8090 target: 8080 mode: host networks: testchain-network: aliases: - explorer depends_on: - explorerdb ```

metadata (Sat, 29 Feb 2020 13:26:47 GMT):
@nekia I'm running a multi-org network on 3 GCP instances using docker swarm **docker-compose.yaml** ``` version: '3.7' volumes: pgdata: walletstore: networks: testchain-network: external: true name: testchain-network services: explorerdb: deploy: replicas: 1 restart_policy: condition: on-failure delay: 5s max_attempts: 5 placement: constraints: - node.hostname == gcloud1 resources: limits: cpus: '0.50' memory: 100M reservations: cpus: '0.25' memory: 50M image: hyperledger/explorer-db:1.0.0-rc2 hostname: explorerdb environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - /home/delta/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/app/persistence/fabric/postgreSQL/db/createdb.sh:/docker-entrypoint-initdb.d/createdb.sh - pgdata:/var/lib/postgresql/data networks: testchain-network: aliases: - explorerdb explorer: deploy: replicas: 1 restart_policy: condition: on-failure delay: 5s max_attempts: 5 placement: constraints: - node.hostname == gcloud1 resources: limits: cpus: '0.50' memory: 100M reservations: cpus: '0.25' memory: 50M image: hyperledger/explorer:1.0.0-rc2 hostname: explorer environment: - DATABASE_HOST=explorerdb - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password # - DATABASE_PORT=5433 - DISCOVERY_AS_LOCALHOST=false volumes: - /home/delta/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/config.json:/opt/explorer/app/platform/fabric/config.json - /home/delta/GoWorkspace/src/github.com/hyperledger/blockchain-explorer/app/platform/fabric/connection-profile:/opt/explorer/app/platform/fabric/connection-profile - /home/delta/GoWorkspace/src/github.com/testchain/networks/crypto-config:/tmp/crypto - walletstore:/opt/wallet command: sh -c "sleep 16&& node /opt/explorer/main.js && tail -f /dev/null" ports: - published: 8090 target: 8080 mode: host networks: testchain-network: aliases: - explorer depends_on: - explorerdb ```

metadata (Sat, 29 Feb 2020 13:27:23 GMT):
config.json ``` { "name": "testchain-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/affcdce42ffd95cb613407f2a89a5fcd59215c74452c24e2030d4edfcd6f2d4b_sk" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } } ```

metadata (Sat, 29 Feb 2020 13:27:23 GMT):
**config.json** ``` { "name": "testchain-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/affcdce42ffd95cb613407f2a89a5fcd59215c74452c24e2030d4edfcd6f2d4b_sk" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } } ```

metadata (Sat, 29 Feb 2020 13:27:23 GMT):
**connection.json** ``` { "name": "testchain-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/affcdce42ffd95cb613407f2a89a5fcd59215c74452c24e2030d4edfcd6f2d4b_sk" }, "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } } ```

metadata (Sat, 29 Feb 2020 13:31:28 GMT):
**config.json** ``` { "network-configs": { "testchain-network": { "name": "testchain-network", "profile": "./connection-profile/connection.json" } }, "license": "Apache-2.0" } ```

nekia (Sat, 29 Feb 2020 14:31:25 GMT):
I guess it might be because of OOM https://docs.docker.com/compose/compose-file/#out-of-memory-exceptions-oome Your resource constraint is too strict, I think. @metadata

metadata (Sat, 29 Feb 2020 18:05:55 GMT):
Not working even after removing the resource limit. throwing same error

metadata (Sat, 29 Feb 2020 20:22:41 GMT):
How to enable debug mode in compose file?

metadata (Sat, 29 Feb 2020 20:22:41 GMT):
How to enable debug mode(explorer logs to debug mode) in compose file?

silliman (Sat, 29 Feb 2020 20:23:05 GMT):
Has left the channel.

metadata (Sun, 01 Mar 2020 15:06:39 GMT):
@nekia fixed it. Yes it was a resource management issue. Actually after your suggestion I removed the restriction from `explorerdb` but forgot to remove it from `explorer`. Thanks @nekia for helping me out. :)

metadata (Sun, 01 Mar 2020 15:31:16 GMT):
@nekia explorer memory requirement. ``` CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 126c7bdc4e53 explorer_explorer.1.dh26orr5us2fvofqk1lqw20q2 0.00% 120.4MiB / 2.929GiB 4.01% 3.28MB / 647kB 0B / 0B 26 274d0ffa3b38 explorer_explorerdb.1.yveiwo30enofc8ltil0blmh9q 0.01% 12.41MiB / 2.929GiB 0.41% 226kB / 234kB 69.6kB / 52.1MB 9 ```

metadata (Sun, 01 Mar 2020 15:31:16 GMT):
@nekia explorer memory requirement. ``` CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 126c7bdc4e53 explorer_explorer.1.dh26orr5us2fvofqk1lqw20q2 0.00% 120.4MiB / 2.929GiB 4.01% 3.28MB / 647kB 0B / 0B 26 274d0ffa3b38 explorer_explorerdb.1.yveiwo30enofc8ltil0blmh9q 0.01% 12.41MiB / 2.929GiB 0.41% 226kB / 234kB 69.6kB / 52.1MB 9 ```

metadata (Sun, 01 Mar 2020 15:31:16 GMT):
@nekia explorer memory requirement. ``` CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 126c7bdc4e53 explorer_explorer.1.dh26orr5us2fvofqk1lqw20q2 0.00% 120.4MiB / 2.929GiB 4.01% 3.28MB / 647kB 0B / 0B 26 274d0ffa3b38 explorer_explorerdb.1.yveiwo30enofc8ltil0blmh9q 0.01% 12.41MiB / 2.929GiB 0.41% 226kB / 234kB 69.6kB / 52.1MB 9 ```

metadata (Sun, 01 Mar 2020 15:31:16 GMT):
@nekia explorer minimum memory requirement. ``` CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 126c7bdc4e53 explorer_explorer.1.dh26orr5us2fvofqk1lqw20q2 0.00% 120.4MiB / 2.929GiB 4.01% 3.28MB / 647kB 0B / 0B 26 274d0ffa3b38 explorer_explorerdb.1.yveiwo30enofc8ltil0blmh9q 0.01% 12.41MiB / 2.929GiB 0.41% 226kB / 234kB 69.6kB / 52.1MB 9 ```

metadata (Sun, 01 Mar 2020 16:02:25 GMT):
@nekia I'm trying to set log levels to `OFF` like below in docker-compose.yaml file ``` environment: - LOG_LEVEL_APP=OFF - LOG_LEVEL_CONSOLE=OFF ``` But inside container I'm getting ``` [2020-03-01 15:49:50.341] [DEBUG] FabricClient ```

metadata (Sun, 01 Mar 2020 16:02:25 GMT):
@nekia I'm trying to set log levels to `OFF` like below in docker-compose.yaml file ``` environment: - LOG_LEVEL_APP=OFF - LOG_LEVEL_CONSOLE=OFF ``` But inside container I'm getting ``` [2020-03-01 15:49:50.341] [DEBUG] FabricClient ``` log level still set to DEBUG mode

nekia (Sun, 01 Mar 2020 23:10:37 GMT):
:thumbsup:

nekia (Sun, 01 Mar 2020 23:48:12 GMT):
Which explorer images are you using? 1.0.0-rc2 on docker hub or your own image built from the latest master? The previous one doesn't have function to control logging via env variable yet.

metadata (Mon, 02 Mar 2020 05:27:48 GMT):
I'm using `1.0.0-rc2`.

metadata (Mon, 02 Mar 2020 06:07:38 GMT):
Any previous version that supports log level control?

nekia (Mon, 02 Mar 2020 07:14:13 GMT):
No, unfortunately. Wait for the next release, or you can use `build_docker_image.sh` to build your own container image. If you push it to your docker hub repo, you'll be able to refer it from your swarm environment on gcp.

metadata (Mon, 02 Mar 2020 07:52:26 GMT):
ok. Thanks @nekia

samurai (Mon, 02 Mar 2020 18:10:26 GMT):
Still having problems with getting hyperledger explorer to connect to hyperledger fabric. I have added screenshots of my log file and my config.json file

samurai (Mon, 02 Mar 2020 18:10:26 GMT):
Still having problems with getting hyperledger explorer to connect to hyperledger fabric. I have added screenshots of my log file and my config.json file

samurai (Mon, 02 Mar 2020 18:10:26 GMT):
Please still having problems with getting hyperledger explorer to connect to hyperledger fabric. I have added screenshots of my log file and my config.json file. Thanks in advance for your help.

samurai (Mon, 02 Mar 2020 18:10:26 GMT):
Please still having problems with getting hyperledger explorer to connect to hyperledger fabric. I have added screenshots below, of my log files and my config.json file. Thanks in advance for your help.

samurai (Mon, 02 Mar 2020 18:11:43 GMT):

Screenshot at 2020-03-02 17-59-58.png

samurai (Mon, 02 Mar 2020 18:11:43 GMT):

Screenshot at 2020-03-02 18-00-19.png

samurai (Mon, 02 Mar 2020 18:11:43 GMT):

Screenshot at 2020-03-02 18-00-31.png

samurai (Mon, 02 Mar 2020 18:13:16 GMT):
{ "network-config": { "org1": { "name": "peerOrg1", "mspid": "Org1MSP", "peer1": { "requests": "grpcs://127.0.0.1:7051", "events": "grpcs://127.0.0.1:7053", "server-hostname": "peer0.org1.example.com", "tls_cacerts": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:8051", "events": "grpcs://127.0.0.1:8053", "server-hostname": "peer1.org1.example.com", "tls_cacerts": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt" }, "admin": { "key": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore", "cert": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } }, "org2": { "name": "peerOrg2", "mspid": "Org2MSP", "peer1": { "requests": "grpcs://127.0.0.1:9051", "events": "grpcs://127.0.0.1:9053", "server-hostname": "peer0.org2.example.com", "tls_cacerts": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt" }, "peer2": { "requests": "grpcs://127.0.0.1:10051", "events": "grpcs://127.0.0.1:10053", "server-hostname": "peer1.org2.example.com", "tls_cacerts": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt" }, "admin": { "key": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore", "cert": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts" } } }, "channel": "mychannel", "orderers": [ { "mspid": "OrdererMSP", "server-hostname": "orderer.example.com", "requests": "grpcs://127.0.0.1:7050", "tls_cacerts": "/home/samurai/Downloads/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt" } ], "keyValueStore": "/tmp/fabric-client-kvs", "configtxgenToolPath": "/home/samurai/Downloads/fabric-samples/bin", "SYNC_START_DATE_FORMAT": "YYYY/MM/DD", "syncStartDate": "2020/01/01", "eventWaitTime": "30000", "license": "Apache-2.0", "version": "1.1" }

nekia (Tue, 03 Mar 2020 09:57:16 GMT):
The format of your `config.json` is incorrect. Please refer the following link: https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ibR4cEfQmY3xALLAn

nekia (Tue, 03 Mar 2020 09:57:50 GMT):
@samurai

sigma67 (Tue, 03 Mar 2020 12:20:58 GMT):
Is there any timeline for 2.0 support or an issue tracking this?

sigma67 (Tue, 03 Mar 2020 12:23:26 GMT):
On the Github Network tab I saw a related commit from someone at Fujitsu two days ago: https://github.com/nekia/blockchain-explorer/commit/3ee056a0f34bd85612883d5f219464e559e2716e

sigma67 (Tue, 03 Mar 2020 12:24:29 GMT):
The JIRA issue seems to be here: https://jira.hyperledger.org/browse/BE-732

nekia (Tue, 03 Mar 2020 13:54:12 GMT):
I prepared that change. Unfortunately, this project currently has less resource and approval process of PR is pending.

sigma67 (Tue, 03 Mar 2020 13:55:20 GMT):
Thanks for the reply. Is the linked commit working for you with Fabric 2.0?

nekia (Tue, 03 Mar 2020 13:57:38 GMT):
Yes, as far as running our test scenarios, it seems to be fine.

nekia (Tue, 03 Mar 2020 13:59:12 GMT):
If some contributor get joined this project, we could have a progress.

samurai (Tue, 03 Mar 2020 16:08:51 GMT):
Thanks a lot :)

ZainabM (Wed, 04 Mar 2020 05:23:45 GMT):
If I run hyperledger explorer using docker compose, I get below error:error when connecting to db: { Error: connect ECONNREFUSED 172.24.0.8:5432 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '172.24.0.8', port: 5432 }

ZainabM (Wed, 04 Mar 2020 05:23:45 GMT):
If I run hyperledger explorer using docker compose, I get below error: error when connecting to db: { Error: connect ECONNREFUSED 172.24.0.8:5432 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '172.24.0.8', port: 5432 }

ZainabM (Wed, 04 Mar 2020 05:26:45 GMT):
But after I restart explorer docker using 'docker restart explorer.example.com' it works. What could be the reason and what could be the solution. I guess the reason might be that when explorer try to connect to db, the db was not ready.

ZainabM (Wed, 04 Mar 2020 05:27:24 GMT):
Please help me to find the solution.

ZainabM (Wed, 04 Mar 2020 05:27:24 GMT):
Please help me to find the solution so that I don not have to restart the explorer everytime. It starts working the first time.

jeevasang (Wed, 04 Mar 2020 10:00:14 GMT):
Has joined the channel.

nekia (Wed, 04 Mar 2020 12:54:42 GMT):
The current workaround is putting some delay before launching explorer in command of docker-compose.yaml https://github.com/hyperledger/blockchain-explorer/blob/master/docker-compose.yaml#L50 @ZainabM

ZainabM (Thu, 05 Mar 2020 05:11:10 GMT):
@nekia If the changes requested in https://github.com/hyperledger/blockchain-explorer/pull/84 is accepted, then the sleep won't be required.

nekia (Thu, 05 Mar 2020 08:11:39 GMT):
👍

jeevasang (Thu, 05 Mar 2020 08:36:26 GMT):
Atsushi Neki

samurai (Thu, 05 Mar 2020 21:31:45 GMT):
Attached log files below, i still can't get hyperledger explorer to connect to hyperledger fabric, any help is much appreciated and thanks in advance

samurai (Thu, 05 Mar 2020 21:32:29 GMT):

samurai - Thu Mar 05 2020 21:32:25 GMT+0000 (Greenwich Mean Time).txt

samurai (Thu, 05 Mar 2020 21:33:05 GMT):
[2020-03-05T19:43:32.536] [INFO] Platform - client_configs.name first-network client_configs.profile ./connection-profile/first-network.json [2020-03-05T19:43:32.536] [INFO] Platform - FabricUtils.createFabricClient [2020-03-05T19:43:32.538] [INFO] FabricConfig - config.client.tlsEnable false [2020-03-05T19:43:32.538] [INFO] FabricGateway - peer0.org1.example.com [2020-03-05T19:43:32.538] [INFO] FabricGateway - /home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem adminPrivateKeyPath /home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/1bebc656f198efb4b5bed08ef42cf3b2d89ac86f0a6b928e7a172fd823df0a48_sk [2020-03-05T19:43:32.538] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-03-05T19:43:32.540] [ERROR] FabricGateway - Error: ENOENT: no such file or directory, open '/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/1bebc656f198efb4b5bed08ef42cf3b2d89ac86f0a6b928e7a172fd823df0a48_sk' [2020-03-05T19:43:32.540] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/home/samurai/Downloads/blockchain-explorer/app/platform/fabric/gateway/FabricGateway.js:146:10) at name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } [2020-03-05T19:43:32.540] [ERROR] FabricClient - TypeError: Cannot read property 'queryChannels' of null at FabricClient.initialize (/home/samurai/Downloads/blockchain-explorer/app/platform/fabric/FabricClient.js:121:37) at [2020-03-05T19:43:32.541] [INFO] FabricClient - ********* call to initializeDetachClient ********** [2020-03-05T19:43:32.541] [INFO] FabricClient - initializeDetachClient, network config) { name: 'first-network', version: '1.0.0', license: 'Apache-2.0', client: { tlsEnable: false, adminUser: 'admin', adminPassword: 'adminpw', enableAuthentication: false, organization: 'Org1', connection: { timeout: [Object] } }, channels: { mychannel: { peers: [Object], connection: [Object] } }, organizations: { Org1MSP: { mspid: 'Org1MSP', fullpath: true, adminPrivateKey: [Object], signedCert: [Object] } }, peers: { 'peer0.org1.example.com': { tlsCACerts: [Object], url: 'grpcs://192.168.0.11:7051', eventUrl: 'grpcs://192.168.0.11:7053', grpcOptions: [Object] } } } [2020-03-05T19:43:32.541] [INFO] FabricClient - ************************************* initializeDetachClient ************************************************* [2020-03-05T19:43:32.542] [INFO] FabricClient - Error : Failed to connect client peer, please check the configuration and peer status [2020-03-05T19:43:32.542] [INFO] FabricClient - Info : Explorer will continue working with only DB data [2020-03-05T19:43:32.542] [INFO] FabricClient - ************************************** initializeDetachClient ************************************************ [2020-03-05T19:43:32.543] [INFO] Platform - FabricUtils.createDetachClient [2020-03-05T19:43:32.544] [INFO] Platform - initializeListener, client_name, client first-network { name: 'first-network', profile: './connection-profile/first-network.json' } [2020-03-05T19:43:32.545] [INFO] main - Please open web browser to access :http://localhost:8080/ [2020-03-05T19:43:32.545] [INFO] main - pid is 17262 [2020-03-05T19:43:32.553] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-03-05T19:43:32.553] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-03-05T19:43:32.554] [ERROR] main - Error : [ 'Default client peer is down and no channel details available database' ]

samurai (Thu, 05 Mar 2020 21:33:25 GMT):
[2020-03-05T19:43:31.323] [INFO] PgService - SSL to Postgresql disabled [2020-03-05T19:43:32.547] [DEBUG] PgService - the getRowsBySQlNoCondition select c.id as id,c.name as channelName,c.blocks as blocks ,c.channel_genesis_hash as channel_genesis_hash,c.trans as transactions,c.createdt as createdat,c.channel_hash as channel_hash from channel c, peer_ref_channel pc where c.channel_genesis_hash = pc.channelid and pc.peerid='peer0.org1.example.com' group by c.id ,c.name ,c.blocks ,c.trans ,c.createdt ,c.channel_hash,c.channel_genesis_hash order by c.name [2020-03-05T19:43:31.324] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@127.0.0.1:5432/fabricexplorer [2020-03-05T20:09:15.306] [INFO] PgService - SSL to Postgresql disabled [2020-03-05T20:09:15.307] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@127.0.0.1:5432/fabricexplorer [2020-03-05T20:09:16.121] [DEBUG] PgService - the getRowsBySQlNoCondition select c.id as id,c.name as channelName,c.blocks as blocks ,c.channel_genesis_hash as channel_genesis_hash,c.trans as transactions,c.createdt as createdat,c.channel_hash as channel_hash from channel c,

nekia (Thu, 05 Mar 2020 23:23:13 GMT):
> [2020-03-05T19:43:32.540] [ERROR] FabricGateway - Error: ENOENT: no such file or directory, open '/home/samurai/Downloads/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/1bebc656f198efb4b5bed08ef42cf3b2d89ac86f0a6b928e7a172fd823df0a48_sk'

nekia (Thu, 05 Mar 2020 23:25:51 GMT):
You need to change the path to secret key to your own one in the connection profile.

nekia (Thu, 05 Mar 2020 23:25:56 GMT):
@samurai

ZainabM (Fri, 06 Mar 2020 12:56:50 GMT):
:slight_smile:

samurai (Fri, 06 Mar 2020 18:38:59 GMT):
Thanks you so much

Suarez 3 (Sat, 07 Mar 2020 16:55:22 GMT):
Has joined the channel.

Suarez 3 (Sat, 07 Mar 2020 16:55:26 GMT):
Hello, I am trying to setup explorer for a network running with Fabric. The configuration of the network is quite simple as it only has an org and a peer. The network is running normally, and the explorer starts but it gives me the following error on the command line:

Suarez 3 (Sat, 07 Mar 2020 16:56:00 GMT):
``error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._receiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:211:8)\n at Object.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1306:15)\n at InterceptingListener._callNext (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:568:42)\n at InterceptingListener.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:618:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1123:18" (node:14406) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2020-03-07T16:36:16.634Z - error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._receiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:211:8)\n at Object.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1306:15)\n at InterceptingListener._callNext (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:568:42)\n at InterceptingListener.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:618:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1123:18" 2020-03-07T16:36:16.654Z - error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._readsDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:199:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:683:15" `

Suarez 3 (Sat, 07 Mar 2020 16:56:00 GMT):
`error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._receiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:211:8)\n at Object.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1306:15)\n at InterceptingListener._callNext (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:568:42)\n at InterceptingListener.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:618:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1123:18" (node:14406) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2020-03-07T16:36:16.634Z - error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._receiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:211:8)\n at Object.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1306:15)\n at InterceptingListener._callNext (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:568:42)\n at InterceptingListener.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:618:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1123:18" 2020-03-07T16:36:16.654Z - error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._readsDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:199:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:683:15" `

Suarez 3 (Sat, 07 Mar 2020 16:56:00 GMT):
```error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._receiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:211:8)\n at Object.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1306:15)\n at InterceptingListener._callNext (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:568:42)\n at InterceptingListener.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:618:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1123:18" (node:14406) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead 2020-03-07T16:36:16.634Z - error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._receiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:211:8)\n at Object.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1306:15)\n at InterceptingListener._callNext (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:568:42)\n at InterceptingListener.onReceiveStatus (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:618:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:1123:18" 2020-03-07T16:36:16.654Z - error: [Orderer.js]: sendDeliver - on error code 14: "Error: 14 UNAVAILABLE: failed to connect to all addresses\n at Object.exports.createStatusError (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/common.js:91:15)\n at ClientDuplexStream._emitStatusIfDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:233:26)\n at ClientDuplexStream._readsDone (/home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client.js:199:8)\n at /home/andrew/Coding/blockchain-explorer/node_modules/fabric-network/node_modules/grpc/src/client_interceptors.js:683:15" `

Suarez 3 (Sat, 07 Mar 2020 16:57:44 GMT):
the console.log reports the following error:

Suarez 3 (Sat, 07 Mar 2020 16:57:51 GMT):
```[2020-03-07T16:36:15.279] [ERROR] FabricClient - Failed to initialize new channel: mychannel```

Suarez 3 (Sat, 07 Mar 2020 16:57:51 GMT):
```[2020-03-07T16:36:15.279] [ERROR] FabricClient - Failed to initialize new channel: mychannel [2020-03-07T16:36:15.289] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-03-07T16:36:15.289] [ERROR] main - { Error: listen EADDRINUSE :::8080 at Object._errnoException (util.js:1022:11) at _exceptionWithHostPort (util.js:1044:20) at Server.setupListenHandle [as _listen2] (net.js:1367:14) at listenInCluster (net.js:1408:12) at Server.listen (net.js:1492:7) at startExplorer (~/blockchain-explorer/main.js:120:9) at at process._tickCallback (internal/process/next_tick.js:188:7) code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 }

Suarez 3 (Sat, 07 Mar 2020 16:57:51 GMT):
```[2020-03-07T16:36:15.279] [ERROR] FabricClient - Failed to initialize new channel: mychannel [2020-03-07T16:36:15.289] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-03-07T16:36:15.289] [ERROR] main - { Error: listen EADDRINUSE :::8080 at Object._errnoException (util.js:1022:11) at _exceptionWithHostPort (util.js:1044:20) at Server.setupListenHandle [as _listen2] (net.js:1367:14) at listenInCluster (net.js:1408:12) at Server.listen (net.js:1492:7) at startExplorer (~/blockchain-explorer/main.js:120:9) at at process._tickCallback (internal/process/next_tick.js:188:7) code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 } [2020-03-07T16:36:16.654] [ERROR] FabricClient - 172.20.0.10:7050 [2020-03-07T16:36:16.655] [ERROR] FabricClient - Failed to get genesis block [2020-03-07T16:36:16.655] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2020-03-07T16:36:16.655] [ERROR] Sync - TypeError: Cannot read property 'header' of null at SyncServices.synchNetworkConfigToDB (./blockchain-explorer/app/platform/fabric/sync/SyncService.js:87:11) at at process._tickCallback (internal/process/next_tick.js:188:7)

Suarez 3 (Sat, 07 Mar 2020 17:00:34 GMT):
any idea about what could be the problem?

nekia (Sun, 08 Mar 2020 03:17:11 GMT):
``` [2020-03-07T16:36:15.289] [ERROR] main - { Error: listen EADDRINUSE :::8080 ``` 8080 port seems to be in use. I think you need to make sure that any explorers have not been executed by ruuning `./stop.sh` or `lsof -i :8080` @Suarez 3

nekia (Sun, 08 Mar 2020 03:17:11 GMT):
``` [2020-03-07T16:36:15.289] [ERROR] main - { Error: listen EADDRINUSE :::8080 ``` 8080 port seems to be in use. I think you need to make sure that any explorers have not been executed by ruuning `./stop.sh` or `lsof -i :8080` @Suarez 3

Suarez 3 (Sun, 08 Mar 2020 11:17:48 GMT):
Yeah, that was one of the problems but there is still something going on.

PraveenKumar1984 (Tue, 10 Mar 2020 13:44:51 GMT):
Has joined the channel.

PraveenKumar1984 (Tue, 10 Mar 2020 13:44:53 GMT):
Hi

PraveenKumar1984 (Tue, 10 Mar 2020 13:44:56 GMT):
Team

PraveenKumar1984 (Tue, 10 Mar 2020 13:45:10 GMT):
Error: Error trying invoke business network with transaction id fea39fce21be80ea6106a788f326b664acb38b250e0d1afa6ab92819bc5b6f6f. Error: No valid responses from any peers. Response from attempted peer comms was an error: Error: transaction returned with failure:

PraveenKumar1984 (Tue, 10 Mar 2020 13:45:17 GMT):
I am facing the above

PraveenKumar1984 (Tue, 10 Mar 2020 13:45:21 GMT):
error

PraveenKumar1984 (Tue, 10 Mar 2020 13:45:27 GMT):
any one can help me on this

nekia (Tue, 10 Mar 2020 23:40:08 GMT):
You seems not to be in appropriate channel for your issue. @PraveenKumar1984 Are you talking about composer?

javapriyan (Wed, 11 Mar 2020 07:18:04 GMT):
I am running explorer via docker-compose and works like a charm. But it doesn't list the installed chaincodes. I am running the latest HL image and underlaying 2.0 network

metadata (Wed, 11 Mar 2020 07:44:10 GMT):
I think `2.0` is still not supported by `explorer`. As per the docs, till `1.4.4` is supported. Also, the `digest(sha256 hash)` of `explorer:1.0.0-rc2` and `explorer:latest` images is same. hence both the images are same.

javapriyan (Wed, 11 Mar 2020 07:46:02 GMT):
Oh. The beauty is it supports rest of the page/features. Just that unable to display the installed chaincode.

javapriyan (Wed, 11 Mar 2020 07:46:24 GMT):
Does this uses the node SDK to fetch the information ?

metadata (Wed, 11 Mar 2020 07:48:53 GMT):
1. I guess it is because the major change between `1.4.4` and `2.0` is in the chaincode part only. 2. I don't think explorer depends on any sdk because I'm using `sdk-go` and `sdk-node` is not even installed on my machine.

javapriyan (Wed, 11 Mar 2020 07:52:49 GMT):
Thanks, Any idea on how to debug this scenario then ?

javapriyan (Wed, 11 Mar 2020 07:52:49 GMT):
Thanks, Any idea on how to debug this scenario?

metadata (Wed, 11 Mar 2020 08:00:28 GMT):
I think the only solution u have is to downgrade the fabric to 1.4.4 OR wait for new release. u can share the explorer logs here, I hope someone would help.

jona-sc (Wed, 11 Mar 2020 08:14:04 GMT):
Yes, everything of the explorer will work with a `2.0` network except listing available chaincode. I'm also interested to know when there will be an update to work with the new chaincode lifecycle. Should require a small change.

jona-sc (Wed, 11 Mar 2020 08:14:04 GMT):
Yes, everything on the explorer will work with a `2.0` network except listing available chaincode. I'm also interested to know when there will be an update to work with the new chaincode lifecycle. Should require a small change.

jona-sc (Wed, 11 Mar 2020 08:14:04 GMT):
Yes, everything on the explorer will work with a `2.0` network except listing available chaincode. I'm also interested to know when there will be an update to work with the new chaincode lifecycle.

Abhishekkishor (Wed, 11 Mar 2020 15:59:07 GMT):
Has joined the channel.

cybero (Thu, 12 Mar 2020 15:15:12 GMT):
Has joined the channel.

cybero (Thu, 12 Mar 2020 15:15:12 GMT):
hi

cybero (Thu, 12 Mar 2020 15:15:37 GMT):
it is imposssible for me to install Hyperledger Explorer, anyone can help me please?????

cybero (Thu, 12 Mar 2020 15:17:00 GMT):
it is imposssible for me to install Hyperledger Explorer, anyone can help me please?????

cybero (Thu, 12 Mar 2020 15:17:09 GMT):
[2020-03-12T14:29:14.984] [INFO] PgService - SSL to Postgresql disabled [2020-03-12T14:29:14.985] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@127.0.0.1:5432/fabricexplorer [2020-03-12T14:29:16.423] [INFO] Platform - client_configs.name first-network client_configs.profile ./connection-profile/first-network.json [2020-03-12T14:29:16.424] [INFO] Platform - FabricUtils.createFabricClient [2020-03-12T14:29:16.425] [ERROR] FabricClient - SyntaxError: Unexpected token : in JSON at position 15 at JSON.parse () at FabricConfig.initialize (/home/salva/blockchain-explorer/app/platform/fabric/FabricConfig.js:34:22) at FabricGateway.initialize (/home/salva/blockchain-explorer/app/platform/fabric/gateway/FabricGateway.js:48:21) at FabricClient.initialize (/home/salva/blockchain-explorer/app/platform/fabric/FabricClient.js:80:29) at Object.createFabricClient (/home/salva/blockchain-explorer/app/platform/fabric/utils/FabricUtils.js:27:16) at Platform.buildClients (/home/salva/blockchain-explorer/app/platform/fabric/Platform.js:139:32) at at process._tickCallback (internal/process/next_tick.js:189:7) [2020-03-12T14:29:16.426] [ERROR] FabricClient - TypeError: Cannot read property 'queryChannels' of null at FabricClient.initialize (/home/salva/blockchain-explorer/app/platform/fabric/FabricClient.js:121:37) at at process._tickCallback (internal/process/next_tick.js:189:7)

nekia (Thu, 12 Mar 2020 23:22:32 GMT):
That is an error of JSON parsing. Is your `connection-profile/first-network.json` correct in JSON syntax? @cybero

Psingh (Fri, 13 Mar 2020 10:58:03 GMT):
Hello all, I need some help regarding explorer. whenever I'm opening explorer for it ask for username/password(login page). I can write any username/password and it works. I want to restrict it to single username/password. I tried to enable `authentication` in config.json file but it is not working. I'm using docker-compose

Psingh (Fri, 13 Mar 2020 10:58:03 GMT):
Hello all, I need some help regarding explorer. whenever I'm opening explorer,it ask for username/password(login page). I can write any username/password and it works. I want to restrict it to single username/password. I tried to enable `authentication` in config.json file but it is not working. I'm using docker-compose

Psingh (Fri, 13 Mar 2020 10:58:03 GMT):
Hello all, I need some help regarding explorer. whenever I'm opening explorer,it ask for username/password(login page). I can write any username/password and it works. I want to restrict it to single username/password. I tried to enable `authentication` in config.json file but it is not working. I'm using docker-compose **config.json** ``` { "network-configs": { "testchain-network": { "name": "testchain-network", "profile": "./connection-profile/testchain-network.json", "enableAuthentication": true } }, "license": "Apache-2.0" } ``` **explorerconfig.json** ``` { "persistence": "postgreSQL", "platforms": ["fabric"], "postgreSQL": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "sync": { "type": "local", "platform": "fabric", "blocksSyncTime": "1" }, "jwt": { "secret": "a secret string", "expiresIn": "2 days" } }```

Psingh (Fri, 13 Mar 2020 10:58:03 GMT):
Hello all, I need some help regarding explorer. whenever I'm opening explorer,it ask for username/password(login page). I can write any username/password and it works. I want to restrict it to single username/password. I tried to enable `authentication` in config.json file but it is not working. I'm using docker-compose and I'm not using CA with my network setup. **config.json** ``` { "network-configs": { "testchain-network": { "name": "testchain-network", "profile": "./connection-profile/testchain-network.json", "enableAuthentication": true } }, "license": "Apache-2.0" } ``` **explorerconfig.json** ``` { "persistence": "postgreSQL", "platforms": ["fabric"], "postgreSQL": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "sync": { "type": "local", "platform": "fabric", "blocksSyncTime": "1" }, "jwt": { "secret": "a secret string", "expiresIn": "2 days" } }```

Psingh (Fri, 13 Mar 2020 10:58:03 GMT):
Hello @nekia , I need some help regarding explorer. whenever I'm opening explorer,it ask for username/password(login page). I can write any username/password and it works. I want to restrict it to single username/password. I tried to enable `authentication` in config.json file but it is not working. I'm using docker-compose and I'm not using CA with my network setup. **config.json** ``` { "network-configs": { "testchain-network": { "name": "testchain-network", "profile": "./connection-profile/testchain-network.json", "enableAuthentication": true } }, "license": "Apache-2.0" } ``` **explorerconfig.json** ``` { "persistence": "postgreSQL", "platforms": ["fabric"], "postgreSQL": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "sync": { "type": "local", "platform": "fabric", "blocksSyncTime": "1" }, "jwt": { "secret": "a secret string", "expiresIn": "2 days" } }```

Psingh (Fri, 13 Mar 2020 10:58:03 GMT):
Hello @nekia , I need some help regarding explorer. whenever I'm opening explorer in browser using `http://localhost:8090`, it ask for username/password(login page). I can write any username/password and it works. I want to restrict it to single username/password. I tried to enable `authentication` in config.json file but it is not working. I'm using docker-compose and I'm not using CA with my network setup. **config.json** ``` { "network-configs": { "testchain-network": { "name": "testchain-network", "profile": "./connection-profile/testchain-network.json", "enableAuthentication": true } }, "license": "Apache-2.0" } ``` **explorerconfig.json** ``` { "persistence": "postgreSQL", "platforms": ["fabric"], "postgreSQL": { "host": "127.0.0.1", "port": "5432", "database": "fabricexplorer", "username": "hppoc", "passwd": "password" }, "sync": { "type": "local", "platform": "fabric", "blocksSyncTime": "1" }, "jwt": { "secret": "a secret string", "expiresIn": "2 days" } }```

nekia (Fri, 13 Mar 2020 11:46:36 GMT):
You need to set `true` to `enableAuthentication` in `testchain-network.json`, not config.json @Psingh

Psingh (Fri, 13 Mar 2020 11:48:15 GMT):
OK. I'll try and ping u.

Psingh (Fri, 13 Mar 2020 11:48:15 GMT):
OK. I'll try and ping u back.

Psingh (Fri, 13 Mar 2020 12:04:41 GMT):
Thanks a lot @nekia it's working fine :)

nekia (Fri, 13 Mar 2020 12:11:13 GMT):
:thumbsup:

metadata (Sat, 14 Mar 2020 13:18:52 GMT):
hello @nekia I'm getting below error in `docker explorer` logs if the explorer is running for more than 24 hours ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | Error: write after end explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at writeAfterEnd (_stream_writable.js:236:12) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Socket.Writable.write (_stream_writable.js:287:5) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Socket.write (net.js:711:40) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Connection.end (/opt/explorer/node_modules/pg/lib/connection.js:341:22) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Client.end (/opt/explorer/node_modules/pg/lib/client.js:546:21) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at PgService.closeconnection (/opt/explorer/app/persistence/postgreSQL/PgService.js:132:15) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Persist.closeconnection (/opt/explorer/app/persistence/postgreSQL/Persist.js:71:18) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Explorer.close (/opt/explorer/app/Explorer.js:147:21) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at server.close (/opt/explorer/main.js:153:12) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Server.close (net.js:1613:9) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | db error Error: write after end explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at writeAfterEnd (_stream_writable.js:236:12) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Socket.Writable.write (_stream_writable.js:287:5) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Socket.write (net.js:711:40) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Connection.end (/opt/explorer/node_modules/pg/lib/connection.js:341:22) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Client.end (/opt/explorer/node_modules/pg/lib/client.js:546:21) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at PgService.closeconnection (/opt/explorer/app/persistence/postgreSQL/PgService.js:132:15) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Persist.closeconnection (/opt/explorer/app/persistence/postgreSQL/Persist.js:71:18) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Explorer.close (/opt/explorer/app/Explorer.js:147:21) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at server.close (/opt/explorer/main.js:153:12) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Server.close (net.js:1613:9) ```

metadata (Sat, 14 Mar 2020 13:18:52 GMT):
hello @nekia I'm getting below error in `docker explorer` logs if the explorer is running for more than 24 hours. Because of this I'm not able to access `explorer` using browser ``` <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | Error: write after end explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at writeAfterEnd (_stream_writable.js:236:12) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Socket.Writable.write (_stream_writable.js:287:5) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Socket.write (net.js:711:40) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Connection.end (/opt/explorer/node_modules/pg/lib/connection.js:341:22) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Client.end (/opt/explorer/node_modules/pg/lib/client.js:546:21) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at PgService.closeconnection (/opt/explorer/app/persistence/postgreSQL/PgService.js:132:15) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Persist.closeconnection (/opt/explorer/app/persistence/postgreSQL/Persist.js:71:18) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Explorer.close (/opt/explorer/app/Explorer.js:147:21) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at server.close (/opt/explorer/main.js:153:12) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Server.close (net.js:1613:9) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | db error Error: write after end explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at writeAfterEnd (_stream_writable.js:236:12) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Socket.Writable.write (_stream_writable.js:287:5) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Socket.write (net.js:711:40) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Connection.end (/opt/explorer/node_modules/pg/lib/connection.js:341:22) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Client.end (/opt/explorer/node_modules/pg/lib/client.js:546:21) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at PgService.closeconnection (/opt/explorer/app/persistence/postgreSQL/PgService.js:132:15) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Persist.closeconnection (/opt/explorer/app/persistence/postgreSQL/Persist.js:71:18) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Explorer.close (/opt/explorer/app/Explorer.js:147:21) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at server.close (/opt/explorer/main.js:153:12) explorer_explorer.1.n17q2j12yvmo@vs1.delta.cloud | at Server.close (net.js:1613:9) ```

nekia (Sun, 15 Mar 2020 10:43:47 GMT):
Explorer seems to receive a signal (SIGTERM or SIGINT) from outside of app. Do you have more detail (console log of explorer or event info/log of the instance on your cloud)? @metadata

metadata (Sun, 15 Mar 2020 10:52:35 GMT):
Let me check it again. Actually I have restarted the explorer again. Since this is re-occurring issue so I hope I can provide the logs again.

metadata (Sun, 15 Mar 2020 11:15:45 GMT):
Hello @nekia Only app logs are available.I'm using docker-compose hence i checked inside container and only found app logs . no console logs are available. **app logs ** ``` /opt # cat logs/app/app.log [2020-03-15 11:05:05.106] [INFO] NetworkService - [ [ 'test-network', Map { 'test-network' => [Object] } ] ] [2020-03-15 11:05:05.110] [DEBUG] Proxy - networkList >> test-network,[object Map] [2020-03-15 11:05:24.568] [INFO] NetworkService - [ [ 'test-network', Map { 'test-network' => [Object] } ] ] [2020-03-15 11:05:24.568] [DEBUG] Proxy - networkList >> test-network,[object Map] [2020-03-15 11:05:38.535] [INFO] FabricGateway - user = admin [2020-03-15 11:05:38.535] [INFO] FabricGateway - user = admin [2020-03-15 11:05:38.535] [INFO] FabricGateway - password = adminpwd [2020-03-15 11:05:38.535] [INFO] FabricGateway - password = adminpwd [2020-03-15 11:05:38.536] [INFO] FabricGateway - network = test-network [2020-03-15 11:05:38.536] [INFO] FabricGateway - network = test-network [2020-03-15 11:05:38.536] [INFO] UserService - test-network [2020-03-15 11:05:38.537] [INFO] UserService - [2020-03-15 11:05:38.537] [DEBUG] Proxy - login >> [object Object] [2020-03-15 11:05:38.867] [DEBUG] Proxy - getCurrentChannel >> {"currentChannel":"f4abfaab5bdd7ffcad2ab997ff3932e7f0a2af14d19da759664ca24ec2ae54bf"} [2020-03-15 11:05:39.213] [DEBUG] CRUDService - getBlockAndTxList.byOrgs false [2020-03-15 11:05:39.219] [ERROR] MetricService - Error: Client has encountered a connection error and is not queryable at process.nextTick (/opt/explorer/node_modules/pg/lib/client.js:521:25) at _combinedTickCallback (internal/process/next_tick.js:132:7) at process._tickCallback (internal/process/next_tick.js:181:9) [2020-03-15 11:05:39.231] [ERROR] MetricService - Error: Client has encountered a connection error and is not queryable at process.nextTick (/opt/explorer/node_modules/pg/lib/client.js:521:25) at _combinedTickCallback (internal/process/next_tick.js:132:7) at process._tickCallback (internal/process/next_tick.js:181:9) [2020-03-15 11:05:39.234] [DEBUG] CRUDService - getTxList.byOrgs false [2020-03-15 11:05:39.240] [ERROR] MetricService - Error: Client has encountered a connection error and is not queryable at process.nextTick (/opt/explorer/node_modules/pg/lib/client.js:521:25) at _combinedTickCallback (internal/process/next_tick.js:132:7) at process._tickCallback (internal/process/next_tick.js:181:9) ```

nekia (Mon, 16 Mar 2020 05:32:55 GMT):
Explorer uses `sdk-node` to access fabric network. Currently we are waiting for the official release of `sdk-node` for HLF 2.0.

metadata (Mon, 16 Mar 2020 06:24:27 GMT):
@nekia I got it why explorer is closing. ``` CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 2a768cdf3e8c explorer_explorer.1.smsifbhr0q0mg4zs30eaw29hm 125.64% 2.452GiB / 7.784GiB 31.50% 193MB / 38.7MB 0B / 0B 26 ```

metadata (Mon, 16 Mar 2020 06:24:27 GMT):
@nekia I got it why explorer is closing. CPU usage is very high ``` CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 2a768cdf3e8c explorer_explorer.1.smsifbhr0q0mg4zs30eaw29hm 125.64% 2.452GiB / 7.784GiB 31.50% 193MB / 38.7MB 0B / 0B 26 ```

metadata (Mon, 16 Mar 2020 06:30:23 GMT):
@nekia Please suggest any solution?

nekia (Mon, 16 Mar 2020 07:05:29 GMT):
During the intense CPU usage, can you get log from explorer containers? `docker cp explorer_explorer.1.smsifbhr0q0mg4zs30eaw29hm:/opt/logs .`

metadata (Tue, 17 Mar 2020 05:13:59 GMT):
hello @nekia I used the same command but still `console` dir is not present in `logs` dir.

nekia (Tue, 17 Mar 2020 07:27:25 GMT):
That's fine. Console log is redirected to stdout. So console dir is not generated in docker environment.

metadata (Tue, 17 Mar 2020 07:32:07 GMT):
What I observed is once the explorer got SIGNTERM or SIGINT then from at this point, the CPU utilization start increasing.

vikramsharma13 (Tue, 24 Mar 2020 09:35:26 GMT):
Has joined the channel.

nekia (Thu, 02 Apr 2020 01:00:10 GMT):
:information_source: *v1.0.0-rc3 has been released* * Support for multiple network profiles * Add logout feature * Improve logging control * Support for HLFabric v1.4.6 https://github.com/hyperledger/blockchain-explorer/releases/tag/v1.0.0-rc3 https://hub.docker.com/r/hyperledger/explorer/tags 1.0.0-rc3 https://hub.docker.com/r/hyperledger/explorer-db/tags 1.0.0-rc3 If you have any feature requests or any interests for contribution, please feel free to reach us. We would be glad. :slight_smile: Thanks

nileshv (Thu, 02 Apr 2020 06:14:43 GMT):
Has joined the channel.

japidei (Thu, 02 Apr 2020 16:51:47 GMT):
Has joined the channel.

PatrikStas (Fri, 03 Apr 2020 08:24:49 GMT):
Has left the channel.

nekia (Tue, 07 Apr 2020 10:24:12 GMT):
@jona-sc @Diegoescalonaro @easeev In v1.0.0-rc3, the multi-org feature got supported. If you still have any interests with the feature in your use cases, it might be useful for you. And we would be happy if you give us any feedbacks.

jona-sc (Wed, 08 Apr 2020 03:22:09 GMT):
@nekia That's great to hear. Do you have a short summary of how the feature works?

nekia (Wed, 08 Apr 2020 03:46:58 GMT):
Thanks for your response. We don't have any document yet, but it's straightforward. Please prepare config.json as below and connection profile for each org.

nekia (Wed, 08 Apr 2020 03:47:20 GMT):
```json { "network-configs": { "org1-network": { "name": "org1-network", "profile": "./connection-profile/org1-network.json" }, "org2-network": { "name": "org2-network", "profile": "./connection-profile/org2-network.json" } }, "license": "Apache-2.0" } ```

nekia (Wed, 08 Apr 2020 03:48:25 GMT):
We'll add a short steps how to use the multi-org feature in Explorer document.

nekia (Wed, 08 Apr 2020 03:49:26 GMT):
@jona-sc

jona-sc (Wed, 08 Apr 2020 03:54:22 GMT):
Thanks

ravinayag (Sun, 12 Apr 2020 12:05:36 GMT):

Clipboard - April 12, 2020 5:36 PM

ravinayag (Sun, 12 Apr 2020 12:12:12 GMT):
Has joined the channel.

Mozer18 (Mon, 13 Apr 2020 00:23:41 GMT):
Hi, The affiliation details is defined in your Fabric-Ca configuration

sudomann (Tue, 14 Apr 2020 19:17:21 GMT):
I am looking into integrating Explorer into my application backend. My application uses Iroha, I'm curious how relevant/important it is to explorer developers for Iroha integration?

jaraujo (Wed, 15 Apr 2020 16:56:21 GMT):
Has joined the channel.

jaraujo (Wed, 15 Apr 2020 16:57:53 GMT):
Hi everyone! I have 4 different servers running some instances of Fabric and I have the 5th one where I'm trying to install the Hyperledger Explorer. Does anyone already did the installation on a different server? I tried many times but maybe I'm missing something

ricardoruano (Wed, 15 Apr 2020 22:24:58 GMT):
Has joined the channel.

ricardoruano (Wed, 15 Apr 2020 22:25:00 GMT):
Hi

ravinayag (Thu, 16 Apr 2020 08:17:08 GMT):
Any ref link to start with..

Iheanyi1 (Thu, 16 Apr 2020 11:01:42 GMT):
Has joined the channel.

nekia (Fri, 17 Apr 2020 09:07:24 GMT):
https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/users-guide.html

nekia (Fri, 17 Apr 2020 09:11:46 GMT):
https://github.com/hyperledger/fabric-samples/tree/master/fabcar

nekia (Fri, 17 Apr 2020 09:13:01 GMT):
The above information might be useful to start learning how to use fabric-ca environment. @ravinayag

nekia (Fri, 17 Apr 2020 09:16:09 GMT):
Explorer should work in the environment you have. What kind of errors do you have? You can find logs under logs directory. @jaraujo

nekia (Fri, 17 Apr 2020 09:29:53 GMT):
Iroha integration just started in the last couple of months and we're really excited about the expansion of support for platform in Explorer. But that's also true that we haven't have enough resources for moving further the implementation at this moment. So we are always welcoming a new contribution.

sudomann (Fri, 17 Apr 2020 12:00:41 GMT):
Ugh, I'd love to work on this myself if I didn't have my hands full already :(

ravinayag (Sun, 19 Apr 2020 18:01:46 GMT):
the official docs has many information, but not friendly.. anyway, i do my exploration. Thanks @nekia for sharing..

uallknowmatt (Fri, 24 Apr 2020 18:56:34 GMT):
Has joined the channel.

uallknowmatt (Fri, 24 Apr 2020 18:56:35 GMT):
does hyperledger explorer work with fabric 2.0

uallknowmatt (Fri, 24 Apr 2020 18:56:59 GMT):
which version of explorer will work with fabric 2.0

nekia (Mon, 27 Apr 2020 02:27:20 GMT):
We've not supported fabric 2.x yet. The work item is currently pending until official releas of fabric-sdk-node which explorer is depending on. But even after the release we may not be able to provide support of fabric 2.x quickly because most of administrative API (such as querying of channel, chaincode, etc.) in fabric-sdk-node have been obsoleted in the latest version. @uallknowmatt

SuneetBendre (Wed, 29 Apr 2020 11:50:04 GMT):
Has joined the channel.

sigma67 (Wed, 29 Apr 2020 13:15:57 GMT):
You can run it and connect it with Fabric 2.0 just fine, just the chaincode view won't show any chaincodes

DimpleKanwar (Mon, 04 May 2020 11:00:57 GMT):
Has joined the channel.

DimpleKanwar (Mon, 04 May 2020 11:00:58 GMT):
Hello,

DimpleKanwar (Mon, 04 May 2020 11:01:16 GMT):
I am trying to setup hyperledger explorer for fabric 1.4 version

DimpleKanwar (Mon, 04 May 2020 11:01:33 GMT):
I have 6 orgs and 1 peer per orgs network

DimpleKanwar (Mon, 04 May 2020 11:02:05 GMT):
but after setting the explorer I am getting only one node and 1 peer. I should get all the nodes and peers in the dashboard.

DimpleKanwar (Mon, 04 May 2020 11:02:25 GMT):
But I am not getting that. Can anyone tell me how to fix this?

nekia (Tue, 05 May 2020 12:08:43 GMT):
Explorer is using service discovery to detect peers. Each peer you want to see on the dashboard need to be configured with EXTERNAL_ENDPOINT setting https://hyperledger-fabric.readthedocs.io/en/release-2.0/discovery-overview.html#how-service-discovery-works-in-fabric

nekia (Tue, 05 May 2020 12:09:21 GMT):
Do you have this kind of setting on each peer? @DimpleKanwar

SharedMocha (Thu, 07 May 2020 19:59:18 GMT):
Has joined the channel.

SharedMocha (Thu, 07 May 2020 19:59:30 GMT):
Hi - is it possible to create channels, deploy go, js chain codes, and instantiate from explorer on 1.4? As per this defect, I don't think it is possible, but wanted to confirm -https://jira.hyperledger.org/projects/BE/issues/BE-268?filter=allopenissues

SharedMocha (Thu, 07 May 2020 19:59:30 GMT):
Hi - is it possible to create channels, deploy go, js chain codes, and instantiate from explorer on 1.4? As per this defect, I don't think it is possible but wanted to confirm -https://jira.hyperledger.org/projects/BE/issues/BE-268?filter=allopenissues. If not possible are there any plans to add it in the future?

DarkTron (Fri, 08 May 2020 10:29:48 GMT):
Has joined the channel.

DarkTron (Fri, 08 May 2020 10:29:50 GMT):
Hi! I'm trying to install Explorer to monitor my Fabric Network. I'm at section 8 in the README https://github.com/hyperledger/blockchain-explorer. It tells me to install HP Composer. But on the Composer Site it says Composer is deprecated https://hyperledger.github.io/composer/latest/installing/development-tools

DarkTron (Fri, 08 May 2020 11:11:03 GMT):
Is the Composer an optional part for explorer, or must I install it?

jeevasang (Fri, 08 May 2020 11:57:18 GMT):
@DarkTron if you are using fabric network . please follow the https://github.com/hyperledger/blockchain-explorer#Fabric-Network-Setup.

jeevasang (Fri, 08 May 2020 11:58:33 GMT):
It's not need for fabric network

DarkTron (Fri, 08 May 2020 12:42:57 GMT):
ok thank you

nekia (Mon, 11 May 2020 01:45:49 GMT):
@SharedMocha No it's not possible and we don't have any plan to support this kind of feature so far.

BancuStefan (Mon, 11 May 2020 11:38:34 GMT):
Has joined the channel.

BancuStefan (Mon, 11 May 2020 11:38:37 GMT):
Hi, I run a docker network with many services under a single domain (example.net). each of the service is exposed through a proxy pass by an nginx server (example.net/service1 -> upsteam service1:port). I am trying to expose the hyperledger explorer to a subdomain (example.net/fabric-explorer) but the resources (styles, js, etc...) are loading from. basepath (exampl.net/static/css...). I am tried to find a way to specify in a config but couldn't find a way, did I miss it or the explorer simply doesn't support subpaths ?

SharedMocha (Tue, 12 May 2020 15:44:49 GMT):
Thank @nekia for your reply

SharedMocha (Tue, 12 May 2020 18:57:42 GMT):
HI- Can anyone point me to the process or code that fetches apps/db/console logs in the GitHub repo? I tried looking into below settings but wasn't sure how explorer is fetching logs from peers/nodes ```LOG_LEVEL_APP=debug - LOG_LEVEL_DB=debug - LOG_LEVEL_CONSOLE=debug - LOG_CONSOLE_STDOUT=true```

SharedMocha (Tue, 12 May 2020 18:57:42 GMT):
HI- Can anyone point me to the process or code that fetches apps/db/console logs in the GitHub repo? I tried looking into below settings but wasn't sure how explorer is fetching logs from peers/nodes ```LOG_LEVEL_APP=debug - LOG_LEVEL_DB=debug - LOG_LEVEL_CONSOLE=debug - LOG_CONSOLE_STDOUT=true```

achrinza (Wed, 13 May 2020 06:52:30 GMT):
Has joined the channel.

Vgkmanju (Fri, 15 May 2020 06:35:54 GMT):
Has joined the channel.

AbdullahJoyia (Fri, 15 May 2020 21:52:46 GMT):
Has joined the channel.

nekia (Sun, 17 May 2020 02:23:40 GMT):
Hi @BancuStefan I could recreate your issue on my local, too. The following info might be useful for the issue. In my local, although still I see an error message regarding websocket in console on browser, explorer dashboard has been shown with using a subdomain.

nekia (Sun, 17 May 2020 02:23:55 GMT):
https://stackoverflow.com/questions/47017142/reverse-proxy-nginx-no-such-file-or-directory

nekia (Sun, 17 May 2020 02:57:42 GMT):
Explorer isn't fetch any log from fabric peers. It's just collecting logs of the node.js middleware itself. https://github.com/hyperledger/blockchain-explorer/blob/master/app/common/helper.js

garunkumar450 (Sun, 17 May 2020 20:06:13 GMT):
[2020-05-18T01:32:08.677] [INFO] FabricClient - ************************************* initializeDetachClient ************************************************* [2020-05-18T01:32:08.680] [INFO] FabricClient - Error : Failed to connect client peer, please check the configuration and peer status [2020-05-18T01:32:08.680] [INFO] FabricClient - Info : Explorer will continue working with only DB data [2020-05-18T01:32:08.680] [INFO] FabricClient - ************************************** initializeDetachClient ************************************************ [2020-05-18T01:32:08.727] [INFO] Platform - initializeListener, client_name, client first-network { name: 'first-network', profile: '/home/gak450/blockchain-networks/blockchain-explorer/app/platform/fabric/connection-profile/first-network.json' } [2020-05-18T01:32:08.734] [INFO] main - Please open web browser to access :http://localhost:8080/ [2020-05-18T01:32:08.735] [INFO] main - pid is 19671 [2020-05-18T01:32:08.740] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-05-18T01:32:08.741] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-05-18T01:32:08.741] [ERROR] main - Error : [ 'Default client peer is down and no channel details available database' ]

BancuStefan (Mon, 18 May 2020 07:27:30 GMT):
@nekia : I didn't see the subdomain example other than subdomain.domain.com. I need a domain.com/subdomain. I was just wondering if there is a config option where you could specify a folder under which your project is deployed so it makes the front-end retrieve files from that path (domain.com/subdomain/static/javascriptfile.js) and also the rest API from domain.com/subdomain/login ...)

nekia (Tue, 19 May 2020 02:34:19 GMT):
Explorer doesn't have that kind of config option. nginx will be able to handle the use case without any changes to Explorer, I think.

Glen (Thu, 21 May 2020 04:07:33 GMT):
Has joined the channel.

Glen (Thu, 21 May 2020 04:09:55 GMT):
```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:26770) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead E0521 12:05:12.495636553 26770 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. E0521 12:05:12.496376013 26770 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ```

Glen (Thu, 21 May 2020 04:09:55 GMT):
anybody know why? I run the e2d_cli exampl network and launch the exploer

Glen (Thu, 21 May 2020 04:09:55 GMT):
```postgres://hppoc:password@127.0.0.1:5432/fabricexplorer (node:26770) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead E0521 12:05:12.495636553 26770 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. E0521 12:05:12.496376013 26770 ssl_transport_security.cc:1245] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed. ************************************************************************************** Error : Failed to connect client peer, please check the configuration and peer status Info : Explorer will continue working with only DB data ``` anybody know why? I run the e2d_cli exampl network and launch the exploer

Glen (Thu, 21 May 2020 04:09:55 GMT):
```<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default defined channel %s is not found for the client %s peer', 'mychannel', 'client-1' ] ``` Has anybody met this issue, what's wrong?

Glen (Thu, 21 May 2020 04:09:55 GMT):
```<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> Error : [ 'Default defined channel %s is not found for the client %s peer', 'mychannel', 'client-1' ] ``` Got this in logs/console/console.log. Has anybody met this issue, what's wrong?

Glen (Fri, 22 May 2020 02:56:37 GMT):
@nekia

Glen (Fri, 22 May 2020 02:56:37 GMT):
@nekia please help check, thanks!

Glen (Fri, 22 May 2020 03:05:52 GMT):
``` 5,222,223,189,187,62,249,1,2,32,40,197,239,218,126,192,52,189,55,19,195,36,234,173,196,44,184,133,6,207,137,61,242,53,80,227,72,8,241,128,99,69]}}}}}]},"metadata":{"metadata":[{"value":"","signatures":[]},{"value":{"index":"0"},"signatures":[]},[]]}} [2020-05-22 10:41:13.415] [DEBUG] FabricClient - Channel genesis hash for channel [mychannel] >> b8d30b6a18d834de8f9dc7044eae80820cd900eb48a815ee7ae7305bfe02a831 [2020-05-22 10:41:13.415] [DEBUG] FabricClient - Initialized channel >> mychannel [2020-05-22 10:41:13.416] [DEBUG] FabricClient - Channel Discovery >> [object Object] ``` got this in logs/app/app.log

Glen (Fri, 22 May 2020 03:06:20 GMT):
I'm using blockchian-explorer 3.7 for fabric-1.2

Glen (Fri, 22 May 2020 03:06:20 GMT):
I'm using blockchian-explorer 3.7 for fabric-1.2, can this run for now?

Glen (Fri, 22 May 2020 03:06:20 GMT):
I'm using blockchian-explorer 3.7 for fabric-1.2, can this still run for now?

nekia (Fri, 22 May 2020 03:30:38 GMT):
We recommend to use the latest Explorer (v1.0.0) because it includes a lot of bugfix. But we've not test it with fabric-v1.2

nekia (Fri, 22 May 2020 03:30:53 GMT):
@Glen

Glen (Fri, 22 May 2020 03:46:29 GMT):
ok, I will try fabric 1.4 and exploerer1.0.0

Glen (Fri, 22 May 2020 08:12:53 GMT):

Clipboard - May 22, 2020 4:12 PM

ravinayag (Fri, 22 May 2020 10:36:08 GMT):
Hi, docker-compose -f explorer-docker-compose.yaml up explorer.example.com explorerdb.example.com is up-to-date Starting explorer.example.com ... done Attaching to explorer.example.com explorer.example.com | [2020-05-22T10:34:38.063] [INFO] PgService - SSL to Postgresql disabled explorer.example.com | [2020-05-22T10:34:38.064] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@explorerdb.example.com:5432/fabricexplorer explorer.example.com | Segmentation fault (core dumped) explorer.example.com exited with code 139

ravinayag (Fri, 22 May 2020 10:36:23 GMT):
Did anyone faced this problem.. ?

nekia (Sat, 23 May 2020 02:06:50 GMT):
@ravinayag In some architectures, there seem to be a segmentation fault issue in the latest v1.0.0 container image. We've already fixed it on the latest master branch, but not released it on Docker Hub yet. Please build Explorer container image by yourself by using [build_docker_image.sh](https://github.com/hyperledger/blockchain-explorer/blob/update-v2/build_docker_image.sh) on your local at the moment.

nekia (Sat, 23 May 2020 02:06:50 GMT):
@ravinayag In some architectures, there seem to be [a segmentation fault issue](https://github.com/hyperledger/blockchain-explorer/commit/84f6b82a97c58c6b853652316529470a65754da8) in the latest v1.0.0 container image. We've already fixed it on the latest master branch, but not released it on Docker Hub yet. Please build Explorer container image by yourself by using [build_docker_image.sh](https://github.com/hyperledger/blockchain-explorer/blob/update-v2/build_docker_image.sh) on your local at the moment.

ravinayag (Mon, 25 May 2020 18:07:54 GMT):
@nekia thankyou , that solved my segmentation issues.

ravinayag (Mon, 25 May 2020 18:10:11 GMT):
Im facing new problem- ca admin issue when starting my explorer docker image, Note : my firstnetwork-connection.json file is same where i use for manual start.sh and Docker image. The explorer was running without any issue from manual .start.sh script (non docker container) but i get error when i run docker image. log for reference.

ravinayag (Mon, 25 May 2020 18:11:15 GMT):
[2020-05-25T17:27:31.711] [INFO] PgService - SSL to Postgresql disabled [2020-05-25T17:27:31.711] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@explorerdb.example.com:5432/fabricexplorer [2020-05-25T17:27:32.508] [INFO] Platform - client_configs.name first-network client_configs.profile ./connection-profile/first-network.json [2020-05-25T17:27:32.508] [INFO] Platform - FabricUtils.createFabricClient [2020-05-25T17:27:32.510] [INFO] FabricConfig - config.client.tlsEnable true [2020-05-25T17:27:32.510] [INFO] FabricGateway - peer0.org1.example.com [2020-05-25T17:27:32.511] [INFO] FabricGateway - /tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem adminPrivateKeyPath /tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/128a53abcce3dcf5bae35e36584dd05b8e1814567eee972e00eccd5f8a340e17_sk [2020-05-25T17:27:32.511] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-05-25T17:27:32.552] [INFO] FabricGateway - true ' caURL[0] ' [ 'https://localhost:7054' ] 2020-05-25T17:27:32.849Z - error: [FabricCAClientService.js]: Failed to enroll admin, error:%o message=Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 127.0.0.1:7054], stack=Error: Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 127.0.0.1:7054] at ClientRequest.request.on (/opt/explorer/node_modules/fabric-ca-client/lib/FabricCAClient.js:487:12) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at TLSSocket.socketErrorListener (_http_client.js:401:9) at emitOne (events.js:116:13) at TLSSocket.emit (events.js:211:7) at emitErrorNT (internal/streams/destroy.js:66:8) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) [2020-05-25T17:27:32.850] [ERROR] FabricGateway - Error instantiating FabricCAServices Error: Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 127.0.0.1:7054] at ClientRequest.request.on (/opt/explorer/node_modules/fabric-ca-client/lib/FabricCAClient.js:487:12) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at TLSSocket.socketErrorListener (_http_client.js:401:9) at emitOne (events.js:116:13) at TLSSocket.emit (events.js:211:7) at emitErrorNT (internal/streams/destroy.js:66:8) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) 2020-05-25T17:27:32.861Z - error: [BaseWallet]: setUserContext: identity 'admin' isn't enrolled, or loaded [2020-05-25T17:27:32.862] [ERROR] FabricGateway - Error: identity 'admin' isn't enrolled, or loaded [2020-05-25T17:27:32.862] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:146:10) at name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } [2020-05-25T17:27:32.862] [ERROR] FabricClient - TypeError: Cannot read property 'queryChannels' of null at FabricClient.initialize (/opt/explorer/app/platform/fabric/FabricClient.js:122:37) at [2020-05-25T17:27:32.862] [INFO] FabricClient - ********* call to initializeDetachClient ********** [2020-05-25T17:27:32.863] [INFO] FabricClient - initializeDetachClient, network config) { name: 'first-network',

ravinayag (Mon, 25 May 2020 18:12:30 GMT):

explorer-errlog.txt

nekia (Tue, 26 May 2020 09:40:15 GMT):
> message=Calling enrollment endpoint failed with error [Error: connect ECONNREFUSED 127.0.0.1:7054],

nekia (Tue, 26 May 2020 09:44:08 GMT):
I guess you are running both fabric network and explorer on same machine. You need to make explorer container join to same network with fabric network. You can specify the network in your docker-compose.yaml. https://github.com/hyperledger/blockchain-explorer/blob/master/docker-compose.yaml#L14

nekia (Tue, 26 May 2020 09:45:32 GMT):
And also you need to rephrase all URLs in your connection profile from localhost:* to actual hostname which valid within the docker network. @ravinayag

ravinayag (Tue, 26 May 2020 15:17:50 GMT):
What kind of dump i.....:( . Didnt realize this name conversion mistake, thats the good catch.

ravinayag (Tue, 26 May 2020 15:38:13 GMT):
After changing hostname (fqdn) docker image was able run with no errors. @nekia Thank you for your help. ( Happy to share Thank you points)

cryptopatrick (Tue, 26 May 2020 19:56:30 GMT):
Has joined the channel.

AbdullahJoyia (Wed, 27 May 2020 19:07:52 GMT):
Has left the channel.

javapriyan (Thu, 28 May 2020 04:29:25 GMT):
How to change the default login credentials. Running a docker version of the explorer

javapriyan (Thu, 28 May 2020 04:29:25 GMT):
How to change the default login credentials ? Running a docker version of the explorer ?

javapriyan (Thu, 28 May 2020 04:54:47 GMT):
Anyone has done that ?

ravinayag (Thu, 28 May 2020 09:08:11 GMT):
@javapriyan, if you mean admin credentials, then you can do at your connection file. under example/net1/connection/first-network.json for docker image mapping

ravinayag (Thu, 28 May 2020 09:58:10 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/connection-profile/first-network.json

ravinayag (Thu, 28 May 2020 09:58:10 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/connection-profile/first-network.json "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1MSP",

ravinayag (Thu, 28 May 2020 10:01:43 GMT):
I have other query to all, according to the readme link @ https://github.com/hyperledger/blockchain-explorer/tree/master/examples/net1 *Example file* *A complete configuration example file is shown below for 2 ORG Blockchain in where all containers have ports mapped and access is done via localhost/127.0.0.1: * { "network-configs": { "network-1": { "version": "1.0", "clients": { "client-1": { "tlsEnable": true, "organization": "Org1MSP", "channel": "mychannel", * "credentialStore": { "path": "./tmp/credentialStore_Org1/credential", "cryptoStore": { "path": "./tmp/credentialStore_Org1/crypto" * } } } },

ravinayag (Thu, 28 May 2020 10:23:03 GMT):
Could anyone help me to understand this CredentialStore and CryptoStore.. structure.... 1, Can i map the folder structure with pub & priv keys here.. ?

javapriyan (Fri, 29 May 2020 04:21:11 GMT):
I did try this. This is not reflecting. May be there is some issue with the volume mapping. Let me check. Thanks though

nekia (Fri, 29 May 2020 06:32:03 GMT):
Sorry, this information is out of date. Explorer is not using these format anymore, using a wallet instead.

BharathiSundar (Fri, 29 May 2020 07:49:18 GMT):
Has joined the channel.

ravinayag (Fri, 29 May 2020 10:41:03 GMT):
Can we point out a wallet folder ? if yes. Then what i suppose to do i connection file.

ravinayag (Fri, 29 May 2020 10:41:03 GMT):
Can we point out a wallet folder ? if yes. Then what i suppose to do i connection file so i allow other users to login for Explorer view.

chbtt (Sat, 30 May 2020 12:51:57 GMT):
Has joined the channel.

rohitroyrr8 (Sat, 30 May 2020 14:37:17 GMT):
Has joined the channel.

bh4rtp (Sun, 31 May 2020 02:59:55 GMT):
hi, i am using fabric release v2.1, and explorer is ok except chaincode, i.e. displays 0 chaincodes.

chbtt (Sun, 31 May 2020 10:34:41 GMT):
I think they are working on v2.1 support right now -> https://jira.hyperledger.org/projects/BE/issues/BE-732

bh4rtp (Sun, 31 May 2020 12:50:13 GMT):
that's three month ago. good news!

bh4rtp (Sun, 31 May 2020 12:50:13 GMT):
that's three months ago. good news!

nekia (Tue, 02 Jun 2020 05:46:34 GMT):
Currently you can't specify flexibly any locations where your credentials are stored. Explorer is referring hard coded location ( `./wallet` ) when loading admin identity in bootup of middle layer. And the function for multiple users to login to dashboard has been incomplete yet.

ZRK (Tue, 02 Jun 2020 15:35:42 GMT):
Has joined the channel.

ZRK (Tue, 02 Jun 2020 15:35:43 GMT):
Hi all, can anyone help me with a new setup of the explorer? I need to create a new tab called "Security" in the explorer and add some new charts e.g. a map with blinking points at MSP addresses or else. I've already tried to read the code for the Header 'HeaderView.js' and included a new link {to: '/security', label: SECURITY} but it didn´t work. Do I miss something in another file? Would be so great if someone could help. Need this for my college seminar. Thanks in advance

nekia (Wed, 03 Jun 2020 12:22:19 GMT):
I think you also need to add your own view and route. https://github.com/hyperledger/blockchain-explorer/blob/master/client/src/components/Main.js#L126 https://github.com/hyperledger/blockchain-explorer/tree/master/client/src/components/View

sigma67 (Fri, 05 Jun 2020 16:02:00 GMT):
Hey, we are working together on this project. The main issue now is setting up a development environment with hot reloads for the client app. I tried running `npm start` from the `client` folder, but the app doesnt work properly that way. Any suggestions on how to set up a dev environment? What is your setup?

nekia (Sat, 06 Jun 2020 03:19:28 GMT):
Please follow the steps in readme https://github.com/hyperledger/blockchain-explorer/blob/master/README.md#110-run-hyperledger-explorer---- After doing the required steps, just run `./start.sg`

nimmerjahn (Tue, 09 Jun 2020 11:33:14 GMT):
Has joined the channel.

ravinayag (Wed, 10 Jun 2020 10:30:43 GMT):
Okay, Thank you for update @nekia

ravinayag (Wed, 10 Jun 2020 10:30:43 GMT):
Okay, Thank you for update @nekia, i was scratching my head for this from long time.

sam94 (Wed, 10 Jun 2020 12:36:05 GMT):
Has joined the channel.

sam94 (Wed, 10 Jun 2020 12:36:06 GMT):
Hi everyone, can someone explain me how to link hyperledger explorer with mutual TLS in fabric please?

sam94 (Wed, 10 Jun 2020 12:37:52 GMT):
I managed to use it without mutual TLS but then i can't manage to do it (i have an error "failed to verify client's certificate: unknown authority server but i don't know how to specify it in the JSON)

nekia (Fri, 12 Jun 2020 14:39:25 GMT):
@sam94 Which version of explorer are you using? We tested connectivity of Explorer with mutual TLS before and it worked at that time.

nekia (Fri, 12 Jun 2020 14:43:57 GMT):
Log of the test is below https://jira.hyperledger.org/browse/BE-568 > The important configuration is adding not only msp/tlscacerts but also ca cert which is referred by fabric-ca (org*.example.com/ca/ca.org*.example.com-cert.pem) to TLS_CLIENTROOTCAS_FILES. We didn't need any changes to Explorer, you only need to setup your fabric network appropriately for mutual TLS

sam94 (Mon, 15 Jun 2020 15:15:36 GMT):
I am using the branch master, since I updated with your commit from 12th june, it works but the block event has an issue, it is trying to contact the peer without providing a certificate (error from peer logs : TLS handshake failed with error tls: client didn't provide a certificate server=PeerServer)

sam94 (Mon, 15 Jun 2020 15:22:18 GMT):
Also, to make it works I used this post: https://stackoverflow.com/questions/56774550/how-to-configure-mutual-tls-in-hyperledger-fabric (added the call of setTlsClientCertAndKey in FabricGateway/getDiscoveryResult)

sam94 (Mon, 15 Jun 2020 16:14:39 GMT):
UPDATE: it works correctly using your last commit and adding the certs in the FabricGateway/getDiscoveryResult setTlsClientCertAndKey call

selvaraman (Tue, 16 Jun 2020 17:04:33 GMT):
peer1.org1.example.com peer1.org2.example.com peer0.org1.example.com peer0.org2.example.com ca_peerOrg2 ca_peerOrg1 orderer.example.com This is what my network setup. After instantiation of my chaincode, I am getting transaction count as 0 in chaincode's tab. But It is 4 in dashboard and channel's tab. What is the reason? Can someone please explain?

nekia (Wed, 17 Jun 2020 13:23:49 GMT):
Thank you for sharing your work. We'll fix this issue based on the information you shared. Of course, always welcome your contribution as well :slight_smile:

nekia (Wed, 17 Jun 2020 13:24:02 GMT):
@sam94

nekia (Wed, 17 Jun 2020 13:28:50 GMT):
Probably gateway class of fabric-sdk-node is in charge of calling setTlsClientCertAndKey(). So user of SDK might only need to set clientTlsIdentity to option when connecting gateway.

nekia (Wed, 17 Jun 2020 13:29:06 GMT):
https://github.com/hyperledger/fabric-sdk-node/blob/b8cc3a8f6ccca55589c60efd98b011a71eab0ea0/fabric-network/src/gateway.ts#L309

nekia (Wed, 17 Jun 2020 13:37:02 GMT):
In chaincode tab, the transaction count submitted to each chaincode are displayed. In dashboard and channel tab, not only these count, but also count of other transaction such as configuration change are displayed with added. @selvaraman

Vedika (Sun, 21 Jun 2020 13:53:02 GMT):
Has joined the channel.

dachrillz (Wed, 24 Jun 2020 09:36:06 GMT):
Has joined the channel.

pouya (Thu, 25 Jun 2020 07:25:51 GMT):
hi, can some body please help me setting up Explorer?

jeevasang (Thu, 25 Jun 2020 10:55:59 GMT):
Please follow the README instructions (https://github.com/hyperledger/blockchain-explorer/blob/master/README.md) . Let us know if you face any issues

A1kartikey (Fri, 26 Jun 2020 11:20:12 GMT):
Has joined the channel.

pouya (Sat, 27 Jun 2020 05:57:43 GMT):
thank you, this is the end of explorer container logs:

pouya (Sat, 27 Jun 2020 05:57:51 GMT):
```[2020-06-25T12:23:54.100] [INFO] main - Please open web browser to access :http://localhost:8080/ [2020-06-25T12:23:54.100] [INFO] main - pid is 7 [2020-06-25T12:23:54.106] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-06-25T12:23:54.107] [ERROR] main - Error : [ 'Default client peer is down and no channel details available database' ] [2020-06-25T12:23:56.110] [INFO] main - Received kill signal, shutting down gracefully [2020-06-25T12:23:56.114] [INFO] Platform - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> [2020-06-25T12:23:56.115] [INFO] main - Closed out connections ```

pouya (Sat, 27 Jun 2020 05:59:47 GMT):
although both of them are in the same network and explorer can ping the peer! (before it receives kill signal)

jeevasang (Sat, 27 Jun 2020 15:21:45 GMT):
Has left the channel.

jeevasang (Sat, 27 Jun 2020 15:22:08 GMT):
Has joined the channel.

nekia (Sun, 28 Jun 2020 05:12:55 GMT):
After you using ./start.sh to start Explorer? @pouya There are some environment variable you need to define for Docker environment.

pouya (Sun, 28 Jun 2020 05:15:41 GMT):
thank you, I could fix the problem by adding "channel" section to the connection profile.

nekia (Sun, 28 Jun 2020 05:16:40 GMT):
👍

pouya (Sun, 28 Jun 2020 05:18:57 GMT):
do you know how I can add username/password for accessing its web UI?

ZRK (Mon, 29 Jun 2020 09:26:22 GMT):
I created a new tab called security and now I want to implement some charts, a map and a blockchain visualization with links to the last blocks in the chain. 1. I dont know how to implement the metric 'inter-block time (min)', so the time passing by between to blocks created. I already created a sql data operation in the MetricService.js file but there are a few other files I have to update, I know. I'm not sure if my way to do it, is right. You have any ideas concerning this problem? 2. I want to display some blocks as my blockchain and like to implement a link on each of them which links to details of the last, the penultimate, the last but two and so on... block of the blockchain in the database/fabric. There is a details view already in the hyperledger explorer and a link on it in the timestream component, but i just want to have the blocks with the links and no further information in this view. Can I implement it somehow like this: link = BlockDetails(max(blocknum)? 3. Can I add a 24h-average-line in the charts? If so, how? 4. I cant find the file .env.local. When I want to create one, it says there is already a file with this name but searching for it does not show any file. Just one hidden file, but I cant find it/open it/localise it. In the .gitignore file the .env.local file is linked.

nekia (Mon, 29 Jun 2020 12:37:52 GMT):
We've not supported multiple accounts yet.

pouya (Mon, 29 Jun 2020 12:38:31 GMT):
ok, thanks.

nekia (Tue, 30 Jun 2020 14:46:20 GMT):
I think you can calculate 'inter-block time (min)' from timestamp that block was created as you mentioned.

nekia (Tue, 30 Jun 2020 14:51:05 GMT):
2nd question is difficult to answer because it's completely nothing to do with Explorer. I think you can do as you want.

nekia (Tue, 30 Jun 2020 14:51:59 GMT):
We are using recharts so you'll be able to use the following to draw constant line in the chart. http://recharts.org/en-US/api/ReferenceLine

nekia (Tue, 30 Jun 2020 14:57:55 GMT):
The last one seems to be your local specific issue, so I have no idea. Thanks

ZRK (Wed, 01 Jul 2020 12:11:04 GMT):
thank you very much!

solit1 (Wed, 01 Jul 2020 14:03:21 GMT):
Has joined the channel.

solit1 (Wed, 01 Jul 2020 14:03:22 GMT):
Hi, could someone help me with this:

solit1 (Wed, 01 Jul 2020 14:12:37 GMT):
Hi there, I'm trying to set up Explorer on HL Fabric v2.1 and 've got this log, could someone please help me with this. Thank you in advance!

solit1 (Wed, 01 Jul 2020 14:15:13 GMT):

console.txt

nekia (Wed, 01 Jul 2020 15:19:40 GMT):
Please add Peers array for organisation in your connection profile as follow https://github.com/hyperledger/blockchain-explorer/blob/8600c891c53b1ffb72c8f296827b4276669fa954/app/platform/fabric/connection-profile/first-network.json#L42 @solit1

nekia (Wed, 01 Jul 2020 15:37:42 GMT):
:information_source: *v1.1.0 has been released* * Support for Hyperledger Fabric v2.1.1 ** Support for Hyperledger Fabric v1.4.6 as well in same codebase https://github.com/hyperledger/blockchain-explorer/releases/tag/v1.1.0 https://hub.docker.com/r/hyperledger/explorer/tags 1.1.0 https://hub.docker.com/r/hyperledger/explorer-db/tags 1.1.0 If you have any feature requests or any interests for contribution, please feel free to reach us. We would be glad. :slight_smile: Thanks

ashoksiri (Wed, 01 Jul 2020 17:38:07 GMT):
Has joined the channel.

A1kartikey (Wed, 01 Jul 2020 17:38:42 GMT):
Hello folks

ashoksiri (Wed, 01 Jul 2020 17:39:07 GMT):

image.png

ashoksiri (Wed, 01 Jul 2020 17:39:51 GMT):

explorer.txt

ashoksiri (Wed, 01 Jul 2020 17:39:52 GMT):

explorer_db.txt

ashoksiri (Wed, 01 Jul 2020 17:40:00 GMT):
these are the log files.

ashoksiri (Wed, 01 Jul 2020 17:40:55 GMT):
https://jsonblob.com/fcc4f61d-bbc1-11ea-a6d3-dba765550b62

ashoksiri (Wed, 01 Jul 2020 17:41:17 GMT):
this is fabric-network.json

trbs (Wed, 01 Jul 2020 19:40:20 GMT):
Has left the channel.

nekia (Thu, 02 Jul 2020 02:44:01 GMT):
@ashoksiri Which version of fabric and explorer are you using? if possible, please update Explorer to the latest v1.1.0 to see if you still have same issue. And I found one thing in your connection profile. It seems that grpcOption is not correct, but you should have some errors in that case. ``` "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" } ```

ashoksiri (Thu, 02 Jul 2020 04:39:13 GMT):
@nekia i have tried this. but this seems same as previous. not any getting any channel info.

nekia (Thu, 02 Jul 2020 05:25:48 GMT):
ok, Which version of fabric and explorer are you using? @ashoksiri

ashoksiri (Thu, 02 Jul 2020 05:31:42 GMT):
v1.1.0

ashoksiri (Thu, 02 Jul 2020 05:33:07 GMT):
fabric network with 1.4.6

nekia (Thu, 02 Jul 2020 06:34:33 GMT):
Thanks. Can you share log captured in your Explorer v1.1.0 env again?

ashoksiri (Thu, 02 Jul 2020 08:21:50 GMT):
https://chat.hyperledger.org/channel/hyperledger-explorer?msg=FdJ2mA6diAQsJ5YfX

ashoksiri (Thu, 02 Jul 2020 08:22:02 GMT):
https://chat.hyperledger.org/channel/hyperledger-explorer?msg=wApK9gFv6NtcouoPb

ashoksiri (Thu, 02 Jul 2020 08:22:11 GMT):
these are the logs with that only.

nekia (Thu, 02 Jul 2020 08:34:37 GMT):
As long as looking at the log, Explorer you are using is not v1.1.0

A1kartikey (Thu, 02 Jul 2020 11:15:32 GMT):
@nekia which version you recommend ?

VineethBoppudi (Thu, 02 Jul 2020 11:17:07 GMT):
Has joined the channel.

nekia (Thu, 02 Jul 2020 13:33:14 GMT):
I'll recommend the latest version, v1.1.0 @A1kartikey

ashoksiri (Thu, 02 Jul 2020 17:53:54 GMT):

explorer (1).txt

ashoksiri (Thu, 02 Jul 2020 17:54:10 GMT):
@nekia could you please check once.

pleyades (Thu, 02 Jul 2020 18:12:33 GMT):
Has joined the channel.

pleyades (Thu, 02 Jul 2020 18:14:45 GMT):
Hello team! Anyone can point me how to add users in Explorer except "admin" which define in config? When try add them via web interface - see an error: "User 'user' ror: Cannot read property 'client' of undefined"

nekia (Fri, 03 Jul 2020 00:18:57 GMT):
Thanks @ashoksiri I can see an error in log `[EventService]: on.data [peer1org1,peer0org1] - #1- unexpected deliverResponse status received - 404`

nekia (Fri, 03 Jul 2020 00:25:14 GMT):
This error message comes from fabric-sdk-node. Can you check log of each peer to see if there is any errors?

nekia (Fri, 03 Jul 2020 03:43:59 GMT):
I noticed that you make TLS disabled in your fabric network according to the connection profile you shared. Could you try to change peer URL from `grpcs://` to `grpc://`?

nekia (Fri, 03 Jul 2020 03:51:46 GMT):
@pleyades We just started working on adding multiple user management as next work item. https://jira.hyperledger.org/browse/BE-767

nekia (Fri, 03 Jul 2020 03:51:46 GMT):
@pleyades Unfortunately, it's not supported yet. We just started working on adding multiple user management as next work item. https://jira.hyperledger.org/browse/BE-767

pleyades (Fri, 03 Jul 2020 06:05:35 GMT):
Got it, thank you for clarification!

pleyades (Fri, 03 Jul 2020 06:05:35 GMT):
Got it, thank you for clarification! We will wait)

ashoksiri (Fri, 03 Jul 2020 06:10:02 GMT):
in this case we have to disable the TLS ?

ashoksiri (Fri, 03 Jul 2020 06:10:17 GMT):
@nekia

nekia (Fri, 03 Jul 2020 06:37:51 GMT):
It depends on your fabric network. If you disable TLS on your network, you have to set `false` to `enableTLS` and use `grpc://` in peer url instead, in the connection profile. @ashoksiri

solit (Fri, 03 Jul 2020 10:17:19 GMT):
Has joined the channel.

solit (Fri, 03 Jul 2020 10:17:19 GMT):
Many thanks!

solit (Fri, 03 Jul 2020 10:18:02 GMT):
Many thanks!

selvaraman (Tue, 07 Jul 2020 11:08:20 GMT):
Anyone set up hyperledger fabric explorer for Hyperledger Fabric consortium on Azure Kubernetes Service (AKS). I set up hyperledger fabric on Hyperledger Fabric consortium on Azure Kubernetes Service (AKS). I do not konow how configure connection profile.

selvaraman (Tue, 07 Jul 2020 11:11:28 GMT):
This is what my connection profile got from azure. { "certificateAuthorities": { "org1CA": { "caName": "ca.org1", "tlsCACerts": { "pem": "pem" }, "url": "https://ca.x.eastus.aksapp.io:443" } }, "client": { "connection": { "timeout": { "orderer": "300", "peer": { "endorser": "300" } } }, "organization": "org1" }, "name": "org1", "organizations": { "org1": { "certificateAuthorities": [ "org1CA" ], "mspid": "org1", "peers": [ "peer1.org1", "peer2.org1" ] } }, "peers": { "peer1.org1": { "grpcOptions": { "hostnameOverride": "peer1.x.eastus.aksapp.io", "ssl-target-name-override": "peer1.x.eastus.aksapp.io" }, "tlsCACerts": { "pem": "pem" }, "url": "grpcs://peer1.x.eastus.aksapp.io:443" }, "peer2.org1": { "grpcOptions": { "hostnameOverride": "peer2.x.eastus.aksapp.io", "ssl-target-name-override": "peer2.x.eastus.aksapp.io" }, "tlsCACerts": { "pem": "" }, "url": "grpcs://peer2.x.eastus.aksapp.io:443" } }, "version": "1.0.0", "wallet": "org1" }

nekia (Wed, 08 Jul 2020 08:01:27 GMT):
@selvaraman You can refer the following sample for connection profile. https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/connection-profile/first-network.json

selvaraman (Wed, 08 Jul 2020 08:14:03 GMT):
@nekia Thank you very much for responding. I set up this way already in location machine. Worked properly. My problem is I have deployed my smart contract in Hyperledger Fabric consortium on Azure Kubernetes Service (AKS). Keys are different format and it is not stored in file as in first_network.json. So I have edited the config file like the above. But It gives the following error, 2020-07-08T08:02:02.509Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:443 2020-07-08T08:02:05.862Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:443

selvaraman (Wed, 08 Jul 2020 08:14:03 GMT):
@nekia Thank you very much for responding. I set up this way already in location machine. Worked properly. My problem is I have deployed my chaincode in Hyperledger Fabric consortium on Azure Kubernetes Service (AKS). Keys are different format and it is not stored in file as in first_network.json. So I have edited the config file like the above. But It gives the following error, 2020-07-08T08:02:02.509Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:443 2020-07-08T08:02:05.862Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpcs://localhost:443

nekia (Wed, 08 Jul 2020 08:21:07 GMT):
Ok, I see. You are using PEM string instead of path to the PEM file, right? We need to do some work to support this format.

ReggieLiu (Wed, 08 Jul 2020 10:00:33 GMT):
Has joined the channel.

ReggieLiu (Wed, 08 Jul 2020 10:27:13 GMT):
Hello team!When I run `npm test` in the `blockchain-explorer/app/test` directory, I get following message

ReggieLiu (Wed, 08 Jul 2020 10:27:45 GMT):
`npm ERR! code ELIFECYCLE`

ReggieLiu (Wed, 08 Jul 2020 10:28:19 GMT):
`npm ERR! errno 1`

ReggieLiu (Wed, 08 Jul 2020 10:29:24 GMT):
Does anyone know how to solve this problem?

nekia (Wed, 08 Jul 2020 13:01:02 GMT):
I guess you're not running postgresql in your local yet. The test requires to access postgres db. But you can skip this step. @ReggieLiu

ReggieLiu (Thu, 09 Jul 2020 03:21:13 GMT):
Handsome! Thank you very much!

Uday1 (Thu, 09 Jul 2020 13:58:39 GMT):
Has joined the channel.

Uday1 (Thu, 09 Jul 2020 14:15:07 GMT):
HI All, I am working on customising Hyperledger Explorer. I am getting Peer Status as "DOWN" for all peers and orderer. I have tried changing the url for peers in /connection-profile/balance-transfer.json, that didnt change the status for peers and the orderer. Can someone help me figure out , how to get the peer status as "UP" in peerList .

Uday1 (Thu, 09 Jul 2020 14:15:07 GMT):
HI All, I am working on customising Hyperledger Explorer. I am getting Peer Status as "DOWN" for all peers and orderer. I have tried changing the url for peers in /connection-profile/balance-transfer.json, that didnt change the status for peers and the orderer. Can someone help me figure out , how to get the peer status as "UP" in peerList . Thanks in Advance.

Vgkmanju (Fri, 10 Jul 2020 11:05:05 GMT):
Hi All, I am working on Hyperledger explorer in kubernetes cluster. I have created two pods 1) postgresql and 2) explorer. My fabric network has two org with 2 peers each, 3 orderer and ca for each org. All are deployed in kubernetes cluster. Now i want to monitor my network. For that I created these two pods. I got error in explorer pod. When I see the explorer pod log, it shows the following error, false 'ssl-certs' '/opt/explorer/ssl-certs' error when connecting to db: RangeError: "port" option should be >= 0 and < 65536: NaN at lookupAndConnect (net.js:1052:13) at Socket.connect (net.js:1025:5) at Connection.connect (/opt/explorer/node_modules/pg/lib/connection.js:54:17) at Client._connect (/opt/explorer/node_modules/pg/lib/client.js:99:9) at _Promise (/opt/explorer/node_modules/pg/lib/client.js:289:10) at new Promise () at Client.connect (/opt/explorer/node_modules/pg/lib/client.js:288:10) at PgService.handleDisconnect (/opt/explorer/app/persistence/postgreSQL/PgService.js:103:22) at Function.create (/opt/explorer/app/persistence/PersistenceFactory.js:28:37) at Explorer.initialize (/opt/explorer/app/Explorer.js:96:47) D0710 10:53:25.275081114 11 env_linux.cc:71] Warning: insecure environment read function 'getenv' used D0710 10:53:25.966656528 11 env_linux.cc:71] Warning: insecure environment read function 'getenv' used ******* Initialization started for hyperledger fabric platform ******, { 'wsfs-network': { name: 'wsfsnetwork', profile: './connection-profile/wsfs-network.json' } } client_configs.name wsfsnetwork client_configs.profile ./connection-profile/wsfs-network.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels wsfschannel error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:95:16) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: "callback" argument must be a function at setTimeout (timers.js:450:11) at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:112:5) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) Received kill signal, shutting down gracefully Closed out connections Does anyone know how to solve this problem? Thanks in Advance.......

Vgkmanju (Fri, 10 Jul 2020 11:05:05 GMT):
Hi All, I am working on Hyperledger explorer in kubernetes cluster. I have created two pods 1) postgresql and 2) explorer. My fabric network has two org with 2 peers each, 3 orderer and ca for each org. All are deployed in kubernetes cluster. Now i want to monitor my network. For that I created these two pods. I got error in explorer pod. When I see the explorer pod log, it shows the following error, false 'ssl-certs' '/opt/explorer/ssl-certs' error when connecting to db: RangeError: "port" option should be >= 0 and < 65536: NaN at lookupAndConnect (net.js:1052:13) at Socket.connect (net.js:1025:5) at Connection.connect (/opt/explorer/node_modules/pg/lib/connection.js:54:17) at Client._connect (/opt/explorer/node_modules/pg/lib/client.js:99:9) at _Promise (/opt/explorer/node_modules/pg/lib/client.js:289:10) at new Promise () at Client.connect (/opt/explorer/node_modules/pg/lib/client.js:288:10) at PgService.handleDisconnect (/opt/explorer/app/persistence/postgreSQL/PgService.js:103:22) at Function.create (/opt/explorer/app/persistence/PersistenceFactory.js:28:37) at Explorer.initialize (/opt/explorer/app/Explorer.js:96:47) D0710 10:53:25.275081114 11 env_linux.cc:71] Warning: insecure environment read function 'getenv' used D0710 10:53:25.966656528 11 env_linux.cc:71] Warning: insecure environment read function 'getenv' used ******* Initialization started for hyperledger fabric platform ******, { 'wsfs-network': { name: 'wsfsnetwork', profile: './connection-profile/wsfs-network.json' } } client_configs.name wsfsnetwork client_configs.profile ./connection-profile/wsfs-network.json FabricUtils.createFabricClient config.client.tlsEnable true FabricConfig, this.config.channels wsfschannel error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:95:16) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> TypeError: "callback" argument must be a function at setTimeout (timers.js:450:11) at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:112:5) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5) Received kill signal, shutting down gracefully Closed out connections I am using, fabric version - v1.4.2 postgresql image - 10 alpine Does anyone know how to solve this problem? Thanks in Advance.......

Javi (Fri, 10 Jul 2020 12:50:14 GMT):
>error when connecting to db: RangeError: "port" option should be >= 0 and < 65536: NaN check the database port that you are using

Javi (Fri, 10 Jul 2020 12:51:18 GMT):
I updated to the latest version of the explorer today (v1.1.0) but anythinf is not working when in the previous version it is (v0.3.9.5). I see in the logs the following

Javi (Fri, 10 Jul 2020 12:53:15 GMT):
``` error: [DiscoveryService]: _buildPeer[be discovery service] - Unable to connect to the discovered peer peer1.org2.example.com:10051 due to Error: Failed to connect before the deadline on Endorser- name: peer1.org2.example.com:10051, url:grpcs://localhost:10051, connected:false, connectAttempted:tru e [2020-07-10T11:56:03.310] [INFO] FabricClient - Discovered Org1MSP [ { mspid: 'Org1MSP', endpoint: 'peer0.org1.example.com:7051', name: 'peer0.org1.example.com:7051', ledgerHeight: Long { low: 9, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2020-07-10T11:56:03.312] [INFO] FabricClient - Discovered Org3MSP [ { mspid: 'Org3MSP', endpoint: 'peer1.org3.example.com:12051', name: 'peer1.org3.example.com:12051', ledgerHeight: Long { low: 9, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2020-07-10T11:56:03.312] [INFO] FabricClient - Discovered Org2MSP [ { mspid: 'Org2MSP', endpoint: 'peer1.org2.example.com:10051', name: 'peer1.org2.example.com:10051', ledgerHeight: Long { low: 9, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] ```

Javi (Fri, 10 Jul 2020 12:54:13 GMT):
I'm using docker and it fails because explorer container can't reach peer container on url:grpcs://localhost:10051, but I don't know why it tries to connect to localhost when the discovery finds the correct endpoint....

Javi (Fri, 10 Jul 2020 12:54:17 GMT):
any info on this?

Apple (Fri, 10 Jul 2020 12:57:13 GMT):
Has joined the channel.

nekia (Mon, 13 Jul 2020 01:38:24 GMT):
Explorer used to be listing peer nodes and its status. But after adding orderers to the list, it got deleted the status from the list, because Explorer couldn't know about status of orderers dynamically.

nekia (Mon, 13 Jul 2020 01:42:18 GMT):
The followings might be help for you [PeersHealth.js](https://github.com/hyperledger/blockchain-explorer/blob/ed4fc5b3bfdeeacfb329a884dc7d76971440c93c/client/src/components/Lists/PeersHealth.js#L31) and [Proxy.js](https://github.com/hyperledger/blockchain-explorer/blob/2e57b03558a8c3e7e0c2d8f921a840d5746292a6/app/platform/fabric/Proxy.js#L125)

nekia (Mon, 13 Jul 2020 01:43:44 GMT):
@Uday1 And if you are happy to share your customization to the community, that would be great, too :slight_smile:

nekia (Mon, 13 Jul 2020 01:55:50 GMT):
Can you make sure that the environment variable `DISCOVERY_AS_LOCALHOST` is set to false?

nekia (Mon, 13 Jul 2020 01:56:25 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/8cccc2c403a796ec7a4623abcdcfea94d3af5f9f/docker-compose.yaml#L47

nekia (Mon, 13 Jul 2020 01:56:25 GMT):
e.g. [docker-compose.yaml](https://github.com/hyperledger/blockchain-explorer/blob/8cccc2c403a796ec7a4623abcdcfea94d3af5f9f/docker-compose.yaml#L47)

Javi (Mon, 13 Jul 2020 13:55:06 GMT):
yes, it is false

Javi (Mon, 13 Jul 2020 13:56:56 GMT):
Hi again, I have another question/issue with the latest version of the explorer. Seems that the login page does not work as expected because I'm able to login with fake users when enableAuthentication is set to true

Javi (Mon, 13 Jul 2020 13:59:03 GMT):
I have: ``` { "network-configs": { "first-network": { "name": "firstnetwork", "profile": "./connection-profile/first-network.json", "enableAuthentication": true } }, "license": "Apache-2.0" } ```

Javi (Mon, 13 Jul 2020 13:59:22 GMT):
and inside first-network.json I set the user and password

nekia (Mon, 13 Jul 2020 14:24:44 GMT):
https://github.com/hyperledger/blockchain-explorer/pull/ We're updating README now for adding more detail of each configuration. You can see its preview in the above PR. You need to configure `enableAuthentication` in your connection profile (`first-network.json`). @javiJavi

nekia (Mon, 13 Jul 2020 14:24:44 GMT):
https://github.com/hyperledger/blockchain-explorer/pull/139 We're updating README now for adding more detail of each configuration. You can see its preview in the above PR. You need to configure `enableAuthentication` in your connection profile (`first-network.json`). @javiJavi

Javi (Mon, 13 Jul 2020 14:30:30 GMT):
ok thanks @nekia then if I undestood correctly I need to change my configuration from this: ``` "client": { "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": true, "tlsEnable": true, "organization": "Org1" }, ``` to the format specified in the new configuration

nekia (Mon, 13 Jul 2020 14:34:55 GMT):
Correct.

Javi (Mon, 13 Jul 2020 14:43:32 GMT):
seems that with the new info is not working. I updated my config to: ``` client: { caCredential: { id: 'admin', password: 'adminpw' }, enableAuthentication: true, tlsEnable: true, organization: 'Org3' }, channels: { mychannel: { orderers: [Array], peers: [Object] } }, organizations: { Org3: { mspid: 'Org3MSP', fullpath: true, adminPrivateKey: [Object], signedCert: [Object], peers: [Array] } }, ``` But I got an error in the logs: ``` [2020-07-13T14:41:02.848] [INFO] FabricConfig - config.client.tlsEnable true [2020-07-13T14:41:02.849] [INFO] FabricGateway - peer0.org3.example.com [2020-07-13T14:41:02.849] [INFO] FabricGateway - Org3MSP signedCertPath : /tmp/crypto/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/signcerts/Admin@org3.example.com-cert.pem adminPrivateKeyPath /tmp/crypto/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/keystore/private_sk [2020-07-13T14:41:02.851] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-07-13T14:41:02.911] [INFO] FabricGateway - undefined 2020-07-13T14:41:02.914Z - error: [Gateway]: connect - An identity must be assigned to a Gateway instance [2020-07-13T14:41:02.915] [ERROR] FabricGateway - Error: An identity must be assigned to a Gateway instance [2020-07-13T14:41:02.915] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:136:10) name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } [2020-07-13T14:41:02.916] [ERROR] FabricClient - Error: Gateway is not connected at Gateway.getIdentity (/opt/explorer/node_modules/fabric-network/lib/gateway.js:289:19) at new EventServiceManager (/opt/explorer/node_modules/fabric-network/lib/impl/event/eventservicemanager.js:15:43) at new NetworkImpl (/opt/explorer/node_modules/fabric-network/lib/network.js:165:36) at Gateway.getNetwork (/opt/explorer/node_modules/fabric-network/lib/gateway.js:329:28) at FabricGateway.queryChannels (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:255:38) at FabricClient.initialize (/opt/explorer/app/platform/fabric/FabricClient.js:73:40) ```

Javi (Mon, 13 Jul 2020 14:44:18 GMT):
I double checked the files for the privatekey and signed cert paths

nekia (Mon, 13 Jul 2020 14:44:37 GMT):
We added the support of PEM string format in the recent commit. We've not released new container image including this change yet (we'll do within this week unless we have a big issue with the current codebase), but you can evaluate it if need.

nekia (Mon, 13 Jul 2020 15:11:35 GMT):
@Javi sorry, I misread. You're using v1.1.0 Docker image, right? In this case, you need to use old format of connection profile. ``` "client": { "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": true, "tlsEnable": true, "organization": "Org1" }, ```

Javi (Mon, 13 Jul 2020 15:18:07 GMT):
yes @nekia I'm trying to use 1.1.0 but is not working, I'm able to login with any user using the snippet code you sent

nekia (Tue, 14 Jul 2020 06:47:05 GMT):
Thanks, we could reproduce the issue you shared. It's fixed on my local and we're now working on testing it. We'll update you shortly.

sigma67 (Tue, 14 Jul 2020 15:32:32 GMT):
Thank you for the great release 1.1, working perfectly for me! The README-CONFIG was quite helpful in figuring out the needed changes to the config file

nekia (Wed, 15 Jul 2020 00:54:27 GMT):
FYI. As you might already know. https://github.com/hyperledger/blockchain-explorer/pull/142

nekia (Wed, 15 Jul 2020 00:55:35 GMT):
it'll be included in the next release planned this week.

admiral99 (Wed, 15 Jul 2020 11:30:53 GMT):
Has joined the channel.

admiral99 (Wed, 15 Jul 2020 11:30:55 GMT):
Hi, I have some trouble reading/interpreting information on explorer, might be something wrong with my fabric network but thought i'd ask here. (using fabric 2.1, explorer 1.1, couchdb as statedb, pdc's) 1) What could be the cause of that previous hash does not correspond to the block hash of previous block? (in "BLOCKS" view) 3) What does "Validation Code: ENDORSEMENT_POLICY_FAILURE" in transaction details imply? (I can query the ledger and get the transaction data by GetState() so I thought everything was fine until i checked explorer, I see no errors in docker or elsewhere)

Javi (Thu, 16 Jul 2020 10:11:02 GMT):
perfect @nekia thanks for the info

admiral99 (Fri, 17 Jul 2020 09:13:00 GMT):
Hi, was just wondering if explorer supports pdc? Or might usage of pdc be the cause of differences in previous hash and block hash's?

nekia (Fri, 17 Jul 2020 13:16:12 GMT):
pdc means `private data collection`?

nekia (Fri, 17 Jul 2020 13:17:11 GMT):
explorer doesn't support pdc.

nekia (Fri, 17 Jul 2020 13:18:09 GMT):
That's because of bug that was fixed today's release.

nekia (Fri, 17 Jul 2020 13:18:20 GMT):
https://github.com/hyperledger/blockchain-explorer/pull/141

nekia (Fri, 17 Jul 2020 13:22:04 GMT):
:information_source: *v1.1.1 has been released* ## New Features * Publish new simple landing page on Github * Add another README for detail of each configuration * Add configuration for mutual TLS support * Add PEM string format support for connection profile * Add Fabric CA support to retrieve credential for admin access to fabric network ## Bug Fixes and Updates * Fix an issue of authentication * Fix an issue the targets of discovery service are always mapped to localhost * Fix calculation of block hash https://github.com/hyperledger/blockchain-explorer/releases/tag/v1.1.1 https://hub.docker.com/r/hyperledger/explorer/tags 1.1.1 https://hub.docker.com/r/hyperledger/explorer-db/tags 1.1.1 If you have any feature requests or any interests for contribution, please feel free to reach us. We would be glad. :slight_smile: Cheers

sanket1211 (Mon, 20 Jul 2020 08:07:01 GMT):

Screenshot from 2020-07-20 13-35-59.png

sanket1211 (Mon, 20 Jul 2020 08:07:30 GMT):
could someone help me out with above error plz?

sanket1211 (Mon, 20 Jul 2020 10:47:43 GMT):
@nekia ..could u plz look into it?..the setupsis all fine..

saanvijay (Mon, 20 Jul 2020 11:06:23 GMT):
Make sure your Client part looks like below... "client": { "tlsEnable": true, "caCredential": { "id": "admin", "password": "adminpw" }, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" }, "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } },

saanvijay (Mon, 20 Jul 2020 11:07:20 GMT):
Both CaCredential and adminCredential has "id" field

sanket1211 (Mon, 20 Jul 2020 11:08:01 GMT):
alright..i will try this..thanx for the reply.

saanvijay (Mon, 20 Jul 2020 11:08:43 GMT):
take reference from https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/connection-profile/first-network.json

admiral99 (Mon, 20 Jul 2020 11:26:45 GMT):
Alright thanks! Working :)

nekia (Mon, 20 Jul 2020 12:00:09 GMT):
👍

sanket1211 (Mon, 20 Jul 2020 12:01:19 GMT):
so i am using master branch of explorer and fabric 1.4.7 and trying to connect balance transfer network..should work right?

saanvijay (Mon, 20 Jul 2020 12:02:32 GMT):
yes, it should work

saanvijay (Mon, 20 Jul 2020 12:03:48 GMT):
Hyperledger Explorer Version v1.1.1 should support Fabric Version v1.4.0 to v2.1.1

sanket1211 (Mon, 20 Jul 2020 14:50:50 GMT):

Screenshot from 2020-07-20 20-20-24.png

sanket1211 (Mon, 20 Jul 2020 14:51:22 GMT):
have a look at above error and plz let me know what u think about it

nekia (Mon, 20 Jul 2020 16:08:46 GMT):
Peer url is mapped to `localhost`. I guess you're getting Explorer started as container service. The mapping shouldn't be happened in that case.

nekia (Mon, 20 Jul 2020 16:11:08 GMT):
Please make sure `DISCOVERY_AS_LOCALHOST` is defined on Explorer container service. The detail is as follow. https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#run-hyperledger-explorer-using-docker-compose

nekia (Mon, 20 Jul 2020 16:11:08 GMT):
Please make sure `DISCOVERY_AS_LOCALHOST` is set to `false` on Explorer container service. The detail is as follow. https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#run-hyperledger-explorer-using-docker-compose

saanvijay (Tue, 21 Jul 2020 05:05:17 GMT):
Hyperledger Explorer sync -- I am able to bring-up Hyperledger explorer using docker-compose.yaml but sync is not happening. we have syncstart.sh in case if I use full source code of explorer. But in case of docker-compose.yaml, how to sync ledger data with explorer ?

saanvijay (Tue, 21 Jul 2020 05:06:34 GMT):
@nekia could you please help ?

sanket1211 (Tue, 21 Jul 2020 05:18:45 GMT):
this DISCOVERY_AS_LOCALHOST is set to false is being used..getting the same error

saanvijay (Tue, 21 Jul 2020 05:24:09 GMT):
In url, use "grpc://peer0.org1.example.com:7051"

sanket1211 (Tue, 21 Jul 2020 06:12:11 GMT):

Screenshot from 2020-07-21 11-41-50.png

sanket1211 (Tue, 21 Jul 2020 06:12:34 GMT):
m thinking its a database issue..

saanvijay (Tue, 21 Jul 2020 06:14:14 GMT):
Are you using container service or you download full explorer source code and trying it?

sanket1211 (Tue, 21 Jul 2020 06:17:20 GMT):
trying to run in container

saanvijay (Tue, 21 Jul 2020 06:17:51 GMT):
ok then bring down your containers and bring it up again

saanvijay (Tue, 21 Jul 2020 06:18:05 GMT):
docker-compose down -v

saanvijay (Tue, 21 Jul 2020 06:18:12 GMT):
docker-compose up -d

saanvijay (Tue, 21 Jul 2020 06:19:18 GMT):
in ca-org1, also change localhost

saanvijay (Tue, 21 Jul 2020 06:20:28 GMT):
change this : https://localhost:7054 --> as you did for peers

sanket1211 (Tue, 21 Jul 2020 06:20:41 GMT):
alright

sanket1211 (Tue, 21 Jul 2020 06:29:16 GMT):
same error..

sanket1211 (Tue, 21 Jul 2020 06:29:28 GMT):
let me try the non docker setup

sanket1211 (Tue, 21 Jul 2020 06:46:14 GMT):

Screenshot from 2020-07-21 12-15-59.png

sanket1211 (Tue, 21 Jul 2020 06:46:40 GMT):
looks like node package error..is it something to do with node version?

saanvijay (Tue, 21 Jul 2020 06:48:38 GMT):
please check https://github.com/hyperledger/blockchain-explorer; release notes

saanvijay (Tue, 21 Jul 2020 06:48:56 GMT):
check node version for your fabric version

nekia (Tue, 21 Jul 2020 07:39:34 GMT):
I've not tried that using docker-compose yet. I think we probably need to override `explorerconfig.json` and compose command-line.

saanvijay (Tue, 21 Jul 2020 08:39:03 GMT):
Thanks for your response, let me try with explorerconfig.json and bring-up docker-compose.yaml

nekia (Tue, 21 Jul 2020 09:01:13 GMT):
Thanks

sanket1211 (Fri, 24 Jul 2020 12:32:11 GMT):

Screenshot from 2020-07-24 18-01-51.png

sanket1211 (Fri, 24 Jul 2020 12:32:33 GMT):
path is correct...what could be the issue??

nekia (Fri, 24 Jul 2020 15:00:06 GMT):
You seem to specify the location of credential with host path. You need the absolute path on container like `/tmp/crypto/peerOrganizations/...`. You should specify the volume to mount the credential artifacts in your docker compose like [this entry](https://github.com/hyperledger/blockchain-explorer/blob/master/docker-compose.yaml#L51).

nekia (Fri, 24 Jul 2020 15:00:24 GMT):
Please refer the following in detail

nekia (Fri, 24 Jul 2020 15:00:48 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#run-hyperledger-explorer-using-docker-compose

ravinayag (Tue, 28 Jul 2020 05:22:57 GMT):
Does the 5th feature provide access to Fabric CA users(non admin users) ? If not, I request can this feature be added to the releases ?

ravinayag (Tue, 28 Jul 2020 05:23:15 GMT):
Does the 5th feature provide access to Fabric CA users(non admin users) ? If not, I request can this feature be added to the releases ?

ashoksiri (Tue, 28 Jul 2020 13:17:19 GMT):

Clipboard - July 28, 2020 6:46 PM

ashoksiri (Tue, 28 Jul 2020 13:17:19 GMT):

Clipboard - July 28, 2020 6:46 PM

jrasm91 (Tue, 28 Jul 2020 23:45:33 GMT):
Has joined the channel.

jrasm91 (Tue, 28 Jul 2020 23:45:34 GMT):
Hello. I'm using the latest version of explorer with fabric and I'm seeing the transaction _values_ of the read/write sets as a buffer. Is this expected, or am I doing something wrong? With the node-sdk, using `channel.queryTransaction(txId)` from `fabric-client 1.4.8` I see the read/write set showing up as a string, as I would expect. I'm not sure why I am seeing a different result with explorer.

jrasm91 (Tue, 28 Jul 2020 23:46:18 GMT):

Clipboard - July 28, 2020 4:45 PM

nekia (Wed, 29 Jul 2020 08:28:06 GMT):
No, fabric CA user which you need to set in connection profile for Explorer must have `admin` attribute in `hf.Registrar.Roles`.

nekia (Wed, 29 Jul 2020 08:31:14 GMT):
Because Explorer need `admin` when accessing chaincode information on Fabric network (although it basically depends on the configuration of Fabric network).

nekia (Wed, 29 Jul 2020 08:34:54 GMT):
Could you provide more detail of your issue? The version of Explorer/Fabric you're using, the steps to reproduce the issue, etc.

nekia (Wed, 29 Jul 2020 08:38:18 GMT):
Thank you for sharing the issue. We'll see if the issue is recreated our side.

nekia (Wed, 29 Jul 2020 08:41:19 GMT):
In the latest fabric Node.js sdk, work of data unmarshalling of the result returned from API are left to user, not SDK. It might be causing the issue.

nekia (Wed, 29 Jul 2020 08:41:19 GMT):
In the latest fabric Node.js sdk (fabric-network), work of data unmarshalling of the result returned from API are left to user, not SDK. It might be causing the issue.

nekia (Wed, 29 Jul 2020 08:51:32 GMT):
https://jira.hyperledger.org/browse/BE-790

touchingsoil (Thu, 30 Jul 2020 02:06:17 GMT):
I am using blockchain explorer with version 0.3.5.1, I try to call the api such as "/api/channels/info", but it offen shows "waiting for available sockets" in the web explorer(at this time, using curl to call the api at the server running the blockchain explorer backend, also blocked) , when the blockchain explorer web console explored in the web explorer. When the blockchain explorer web console closed ,the called api returns normally. It seems the the blockchain explorer web console occupy too many sockets. So is there any config to make more sockets useful in blockchain explorer?Or any other workable suggestion?

nekia (Thu, 30 Jul 2020 02:29:04 GMT):
I strongly recommend to use the latest Explorer `v1.1.1`. `v0.3.5.1` has been out of date.

touchingsoil (Thu, 30 Jul 2020 02:33:07 GMT):
Yes, I know 0.3.5.1 is out of date, but it is the highest version supporting fabric 1.1( for some reason ,this fabric version can't be upgraded)@nekia

touchingsoil (Thu, 30 Jul 2020 02:33:26 GMT):
Yes, I know 0.3.5.1 is out of date, but it is the highest version supporting fabric 1.1( for some reason ,this fabric version can't be upgraded)@nekia

nekia (Thu, 30 Jul 2020 03:44:00 GMT):
Ok I see.

nekia (Thu, 30 Jul 2020 04:12:17 GMT):
There is not any good suggestion for that. sorry

HLFPOC (Thu, 30 Jul 2020 04:49:51 GMT):
Can we leverage explorer REST APIs and pull the network information to show in a custom UI? If yes, what would be the approach to do the same ?

touchingsoil (Thu, 30 Jul 2020 07:53:53 GMT):
Thank you all the same.

nekia (Thu, 30 Jul 2020 12:15:01 GMT):
Yes, I think, you can. You can try it out on `http://localhost:8080/api-docs`.

nekia (Fri, 31 Jul 2020 14:16:46 GMT):
https://chat.hyperledger.org/channel/fabric-sdk-node?msg=acq5JimKYGYmSPWGd

nekia (Fri, 31 Jul 2020 14:22:24 GMT):
It's based on the specification of fabric-sdk-node. Please refer the above link for detail. We're considering if we should add a new option to leave choices to Explorer users for switching the represent format of read/write set value among 'Buffer array(default)', 'String value.toString('utf-8')' or 'Hex value.toString('hex')'.

jrasm91 (Fri, 31 Jul 2020 14:30:44 GMT):
Thanks for following up. That makes sense. I'd guess a lot of people store text (even json) and would benefit from it being shown as a string in explorer, but that's just my opinion.

manishkgiri (Mon, 03 Aug 2020 18:12:34 GMT):
Has joined the channel.

carlosalca (Tue, 04 Aug 2020 11:05:24 GMT):
Hi @nekia ! I have successfully deployed a Hyperledger Explorer in a Kubernetes cluster with the latest version and a Hyperledger Fabric 2.2 network. But I found a problem with the code of the Explorer when getting the admin ID and password. The config is looking for a field y the connection-profile which doesn't exist unless you add it. So or the connection-profile example is not updated or the code has a bug I think

carlosalca (Tue, 04 Aug 2020 11:09:05 GMT):
And I have another question, Is there any way to set a base path for the front-end ?? When I expose the explorer in a path like /explorer I can't see the app

nekia (Tue, 04 Aug 2020 15:09:53 GMT):
Thanks @AlbertoCarmona Do you mean the following field? https://github.com/hyperledger/blockchain-explorer/blob/864b622a7b7782c540fa68ef63f85bec63d50cd0/app/platform/fabric/connection-profile/first-network.json#L11

nekia (Tue, 04 Aug 2020 15:12:36 GMT):
If so, as you say, the connection profile example ( [example/net1/connection-profile/first-network.json](https://github.com/hyperledger/blockchain-explorer/blob/8cccc2c403a796ec7a4623abcdcfea94d3af5f9f/examples/net1/connection-profile/first-network.json) is needed some updates.

nekia (Tue, 04 Aug 2020 15:12:36 GMT):
If so, as you say, the connection profile example ( [example/net1/connection-profile/first-network.json](https://github.com/hyperledger/blockchain-explorer/blob/8cccc2c403a796ec7a4623abcdcfea94d3af5f9f/examples/net1/connection-profile/first-network.json) ) is needed some updates.

nekia (Tue, 04 Aug 2020 15:12:36 GMT):
If so, as you say, the connection profile example ( [example/net1/connection-profile/first-network.json](https://github.com/hyperledger/blockchain-explorer/blob/8cccc2c403a796ec7a4623abcdcfea94d3af5f9f/examples/net1/connection-profile/first-network.json) ) is needed some updates, right.

nekia (Tue, 04 Aug 2020 15:16:02 GMT):
The following thread might help you.

nekia (Tue, 04 Aug 2020 15:16:47 GMT):
https://chat.hyperledger.org/channel/hyperledger-explorer?msg=pjQcKqokoXS6suWpP

davidwboswell (Tue, 04 Aug 2020 17:45:37 GMT):
Has joined the channel.

AshutoshKumar7 (Wed, 05 Aug 2020 14:52:48 GMT):
Has joined the channel.

AshutoshKumar7 (Thu, 06 Aug 2020 12:19:08 GMT):
I am facing issues in setting up explorer. My network is running on Kubernetes . Version is 2.2.0 . While running docker-compose up I get error

AshutoshKumar7 (Thu, 06 Aug 2020 12:19:12 GMT):
[ERROR] FabricClient - TypeError: Cannot read property 'id' of undefined at FabricConfig.getAdminUser (/opt/explorer/app/platform/fabric/FabricConfig.js:113:45)

nekia (Thu, 06 Aug 2020 12:45:17 GMT):
I guess you probably need to update your connection profile to the latest syntax

nekia (Thu, 06 Aug 2020 12:46:00 GMT):
I guess you probably need to update your connection profile to the latest syntax

nekia (Thu, 06 Aug 2020 12:47:32 GMT):
[blockchain-explorer/app/platform/fabric/connection-profile/first-network.json ](https://github.com/hyperledger/blockchain-explorer/blob/864b622a7b7782c540fa68ef63f85bec63d50cd0/app/platform/fabric/connection-profile/first-network.json#L11)

nekia (Thu, 06 Aug 2020 12:48:43 GMT):
Please refer [README-CONFIG.md](https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md) for detail of configuration

AshutoshKumar7 (Thu, 06 Aug 2020 13:32:11 GMT):
Thanks. Now not getting that error . But still it says failed to connect. Though it is able to discover chaincodes.

AshutoshKumar7 (Thu, 06 Aug 2020 13:32:13 GMT):
derer0.groeifabriek.nl:7050 due to Error: Failed to connect before the deadline on Committer- name: orderer0.groeifabriek.nl:7050, url:grpcs://orderer0.groeifabriek.nl:7050, connected:false, connectAttempted:true explorer.mynetwork.com | 2020-08-06T13:31:08.638Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Endorser- name: peer0.aptalkarga.tr:7051, url:grpcs://peer0.aptalkarga.tr:7051, connected:false, connectAttempted:true explorer.mynetwork.com | 2020-08-06T13:31:08.639Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server peer0.aptalkarga.tr:7051 url:grpcs://peer0.aptalkarga.tr:7051 timeout:3000

nekia (Thu, 06 Aug 2020 13:35:31 GMT):
Which version of Explorer are you using? This error should be fixed in v1.1.1 release with the following change https://github.com/hyperledger/blockchain-explorer/commit/d635e39758fbde01b537d5042052cb1d8552d612

AshutoshKumar7 (Thu, 06 Aug 2020 13:42:27 GMT):
I referred latest documentation at git-hub . Version mentioned in docker-compose file is 2.1 and it refers to hyperledger/explorer:latest image

nekia (Thu, 06 Aug 2020 13:45:27 GMT):
Please ensure `latest` tag is pointing `1.1.1` by running `docker pull hyperleger/explorer:1.1.1` once.

AshutoshKumar7 (Thu, 06 Aug 2020 14:09:06 GMT):
I changed version in docker-compose to 1.1.1 but still same error

nekia (Thu, 06 Aug 2020 14:14:46 GMT):
Sorry I misread error message. Can you see peers and explorer containers within same network? `docker network inspect [your network name]` as mentioned in [README-CONFIG](https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#run-hyperledger-explorer-using-docker-compose)

AshutoshKumar7 (Thu, 06 Aug 2020 14:20:19 GMT):
But my peers are running on Azure AKS . Where as docker is running locally. So I dont think both will be on same network.

nekia (Thu, 06 Aug 2020 14:25:04 GMT):
I see. Each peer is required to be reachable from Explorer by using the above hostname.

AshutoshKumar7 (Thu, 06 Aug 2020 14:35:59 GMT):
Peers are reachable. Exposed through ingress. I am able to invoke a chaincode using sdk . Exploerer is also discovering but after that not able to connect

AshutoshKumar7 (Thu, 06 Aug 2020 14:36:00 GMT):
explorer.mynetwork.com | endpoint: 'peer0.aptalkarga.tr:7051', explorer.mynetwork.com | name: 'peer0.aptalkarga.tr:7051', explorer.mynetwork.com | ledgerHeight: Long { low: 15, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] } ] explorer.mynetwork.com | [2020-08-06T14:14:33.167] [INFO] FabricClient - Discovered AtlantisMSP [ { mspid: 'AtlantisMSP', explorer.mynetwork.com | endpoint: 'peer0.atlantis.com:7051', explorer.mynetwork.com | name: 'peer0.atlantis.com:7051', explorer.mynetwork.com | ledgerHeight: Long { low: 15, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] } ] explorer.mynetwork.com | [2020-08-06T14:14:33.167] [INFO] FabricClient - Discovered NevergreenMSP [ { mspid: 'NevergreenMSP', explorer.mynetwork.com | endpoint: 'peer0.nevergreen.nl:7051', explorer.mynetwork.com | name: 'peer0.nevergreen.nl:7051', explorer.mynetwork.com | ledgerHeight: Long { low: 15, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] } ] explorer.mynetwork.com | [2020-08-06T14:14:33.177] [INFO] FabricGateway - queryInstantiatedChaincodes common explorer.mynetwork.com | [2020-08-06T14:14:33.246] [INFO] FabricGateway - 1: InstalledChaincode { explorer.mynetwork.com | references: { common: References { chaincodes: [Array] } }, explorer.mynetwork.com | package_id: explorer.mynetwork.com | 'cp_0:026ce2cfa80a8bad471c2fd299a98e970d0994d8620c8ff9eff18b2d2947d31e', explorer.mynetwork.com | label: 'cp_0' }

nekia (Thu, 06 Aug 2020 14:51:34 GMT):
Can you share entire log of Explorer ?

AshutoshKumar7 (Thu, 06 Aug 2020 15:00:50 GMT):

log.txt

carlosalca (Fri, 07 Aug 2020 06:52:12 GMT):
Yes, I mean that field. In the example does't appear

carlosalca (Fri, 07 Aug 2020 06:55:01 GMT):
Thanks! This could be useful but sadly I'm not using Nginx. I'm using Red Hat's API Gateway

carlosalca (Fri, 07 Aug 2020 06:55:46 GMT):
By the way, is the register functionality currently working ?

nekia (Fri, 07 Aug 2020 07:40:12 GMT):
Ok, thanks. We'll update the example

nekia (Fri, 07 Aug 2020 07:44:05 GMT):
In case starting Explorer using the latest codebase, it should work. We are about to complete adding user management support soon. The next release v1.1.2 including this feature will coming soon (around early next week, I think).

nekia (Fri, 07 Aug 2020 07:44:33 GMT):
https://jira.hyperledger.org/browse/BE-767

nekia (Fri, 07 Aug 2020 07:48:48 GMT):
thanks

nekia (Fri, 07 Aug 2020 09:07:20 GMT):
``` "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "..." }, "url": "grpcs://peer0.org1.example.com:7051", "grpcOptions": { "ssl-target-name-override": 5000 } } }, ```

nekia (Fri, 07 Aug 2020 09:07:20 GMT):
``` "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "..." }, "url": "grpcs://peer0.org1.example.com:7051", "grpcOptions": { "grpc-wait-for-ready-timeout": 5000 } } }, ```

nekia (Fri, 07 Aug 2020 09:10:38 GMT):
Can I ask you to see if it works when getting timeout bigger (e.g. 5000ms) as above in connection profile?

nekia (Fri, 07 Aug 2020 09:18:41 GMT):
And when this error is occurring, can you see any issues/errors in log on each peer?

AshutoshKumar7 (Fri, 07 Aug 2020 11:33:36 GMT):
I will try and let you know.

AshutoshKumar7 (Sun, 09 Aug 2020 09:48:25 GMT):
Today I am able to explorer up with both versions of images . Howevr there is one access denied error

AshutoshKumar7 (Sun, 09 Aug 2020 09:48:25 GMT):
Today I am able to get explorer up with both versions of images. However there is one access denied error

AshutoshKumar7 (Sun, 09 Aug 2020 09:48:29 GMT):
explorer.mynetwork.com | 2020-08-09T09:44:47.929Z - error: [DiscoveryService]: send[common] - Channel:common received discovery error:access denied explorer.mynetwork.com | [2020-08-09T09:44:47.930] [ERROR] FabricClient - Error: DiscoveryService: common error: access denied

AshutoshKumar7 (Sun, 09 Aug 2020 09:49:23 GMT):

Clipboard - August 9, 2020 3:19 PM

AshutoshKumar7 (Sun, 09 Aug 2020 09:49:36 GMT):
and network link does not work

nekia (Mon, 10 Aug 2020 05:46:50 GMT):
Great! What was the cause of your previous issue?

nekia (Mon, 10 Aug 2020 05:52:58 GMT):
Please try it again after delete all volumes mounted to Explorer container. Explorer stores credentials you configured in connection profile into a wallet on its local file system. If Explorer is still referring old stored credential even after Fabric network restarted, this `access denied` error can be happened.

nekia (Mon, 10 Aug 2020 05:54:16 GMT):
What does `network link does not work` mean?

nekia (Mon, 10 Aug 2020 06:04:26 GMT):
Thank you for update. We'll consider adding a new configuration to customize base route path to Explorer.

nekia (Mon, 10 Aug 2020 06:24:25 GMT):
https://jira.hyperledger.org/browse/BE-801

bassemmkh (Mon, 10 Aug 2020 13:35:00 GMT):
Has joined the channel.

bassemmkh (Mon, 10 Aug 2020 13:35:00 GMT):
hey guys, is hyperledger explorer supported in fabric 2.2 ? will it work if i install it ?

carlosalca (Tue, 11 Aug 2020 05:59:34 GMT):
Thanks a lot! :smile:

carlosalca (Tue, 11 Aug 2020 06:00:30 GMT):
Thanks a lot! I'm looking forward for it!

carlosalca (Tue, 11 Aug 2020 06:02:28 GMT):
Is this new athentication supporting ACL to the network ? I mean If all users can see everything in the network or only their stuff?

nekia (Wed, 12 Aug 2020 08:55:30 GMT):
Yes, explorer should work with fabric 2.2

nekia (Wed, 12 Aug 2020 13:20:25 GMT):
No it's not supporting ACL. Each user can see all data within the organisation the user belongs.

nekia (Thu, 13 Aug 2020 11:36:21 GMT):
:information_source: *v1.1.2 has been released* # New Features * Add user management feature/API. Please refer [README-CONFIG.md](https://github.com/hyperledger/blockchain-explorer/blob/4bc2a9ed2145b299b44c3efb4467de5ac116aa8f/README-CONFIG.md#user-management) for detail * Reduce container image size (942MB -> 174MB) * Add fabric 1.4.8 / 2.2.0 support * Change default encode of value in TX details. Please refer [README-CONFIG.md](https://github.com/hyperledger/blockchain-explorer/blob/4bc2a9ed2145b299b44c3efb4467de5ac116aa8f/README-CONFIG.md#value-encoding-in-transaction-details) for detail * Update example of connection profile for docker setup # Bug Fixes and Updates * Fix typos in "SyncService" * Fix typo in "Transaction Details" view * Correct index to get validation code from metadata https://github.com/hyperledger/blockchain-explorer/releases/tag/v1.1.2 https://hub.docker.com/r/hyperledger/explorer/tags 1.1.2 https://hub.docker.com/r/hyperledger/explorer-db/tags 1.1.2 If you have any feature requests or any interests for contribution, please feel free to reach us. We would be glad. :slight_smile: Cheers

carlosalca (Fri, 14 Aug 2020 07:05:56 GMT):
Hi @nekia ! I'm trying the new release now, do you have a connetion-profile example with the CA configuration ? I'm getting some errors with the configuration

carlosalca (Fri, 14 Aug 2020 07:05:56 GMT):
[RESOLVED] Hi nekia ! I'm trying the new release now, do you have a connetion-profile example with the CA configuration ? I'm getting some errors with the configuration

carlosalca (Fri, 14 Aug 2020 07:13:02 GMT):
I'm getting this error: ``` [ERROR] FabricGateway - Error: Missing url parameter [2020-08-14T07:12:06.631] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } ```

carlosalca (Fri, 14 Aug 2020 07:14:52 GMT):
But in the connection-profile I'm setting the url for the CA: ``` "certificateAuthorities": { "org1ca": { "url": "https://org1ca:7054", "httpOptions": { "verify": true }, "tlsCACerts": { "path": "/opt/explorer/app/platform/fabric/crypto-config/peerOrganizations/org1.domain.com/ca/org1ca-cert.pem" }, "caName": "org1ca" } } ```

jeevasang (Fri, 14 Aug 2020 07:39:58 GMT):
@carlosalca i have verified with CA in that new release . It's working . can you refer this CA configuration also please check your configuration and verify your file path in that location is there or not

jeevasang (Fri, 14 Aug 2020 07:41:42 GMT):

first-network copy.json.txt

carlosalca (Fri, 14 Aug 2020 07:43:02 GMT):
Thanks! I just realized that I was writting the CA config inside the peer config, my mistake :sweat_smile: Sorry!

nekia (Fri, 14 Aug 2020 12:01:24 GMT):
:thumbsup:

nfrunza (Fri, 14 Aug 2020 12:28:29 GMT):

rjones (Fri, 14 Aug 2020 16:37:55 GMT):
jeevasang

saanvijay (Sat, 15 Aug 2020 16:56:37 GMT):
@nekia : https://github.com/saanvijay/hyperledger-explorer-made-easy I have automated all the configuration files (config.json, docker-composer.yaml, connection-profile/network-name.json), user just has to pass json args. It may be helpful for someone who is looking for quick setup in explorer.

nekia (Sun, 16 Aug 2020 02:33:40 GMT):
Great contribution :thumbsup: Thanks @saanvijay I'll try using it.

ravinayag (Sun, 16 Aug 2020 18:11:28 GMT):
i too face same problem, but didnt configure the CA, does it mandatory ?

ravinayag (Sun, 16 Aug 2020 18:11:32 GMT):

Clipboard - August 16, 2020 11:41 PM

nekia (Sun, 16 Aug 2020 23:40:42 GMT):
You need to specify at least 1 peer in the organizations.

jeevasang (Mon, 17 Aug 2020 06:19:27 GMT):
Explorer v1.1.2 has been released!

ravinayag (Mon, 17 Aug 2020 06:44:27 GMT):
great, it solved my error, i dont how it missed. anyway thanks nekia..

ravinayag (Mon, 17 Aug 2020 06:44:47 GMT):
I'll start exploring the new feature of user managment

nekia (Mon, 17 Aug 2020 06:57:08 GMT):
:thumbsup:

jeevasang (Mon, 17 Aug 2020 07:12:16 GMT):
Explorer v1.1.2 has been released . It supports v1.4.0 to v2.2.0 fabric version

ravinayag (Mon, 17 Aug 2020 07:29:53 GMT):
How to confirm my docker image is latest v1.1.2 ?

pouya (Mon, 17 Aug 2020 07:36:19 GMT):
you can run `docker image ls` to see all your image tags

pouya (Mon, 17 Aug 2020 07:36:19 GMT):
you can run `docker image ls` to see all your images and tags.

ravinayag (Mon, 17 Aug 2020 07:37:56 GMT):
i get only the 'latest' name tag, it doesnt say Version number

ravinayag (Mon, 17 Aug 2020 07:37:57 GMT):
explorer$ docker image ls | grep expl hyperledger/explorer-db latest 5217ac66f395 3 days ago 97.7MB hyperledger/explorer latest 3f61c0231202 3 days ago 174MB

pouya (Mon, 17 Aug 2020 07:39:48 GMT):
because you are grepping for the latest tag. just run `docker image ls` and check the tags

ravinayag (Mon, 17 Aug 2020 07:40:38 GMT):
no, you can check command, i grepping with 'expl'

ravinayag (Mon, 17 Aug 2020 07:42:06 GMT):

Clipboard - August 17, 2020 1:12 PM

pouya (Mon, 17 Aug 2020 07:42:51 GMT):
let me check

pouya (Mon, 17 Aug 2020 07:49:56 GMT):
:man_shrugging:

carlosalca (Mon, 17 Aug 2020 07:53:41 GMT):
Hi @nekia I has been playing with the new users feature. I wondered about the persistance if theese new user and looked into the code. I don't know exactly if I'm righ but the new users are intended to be stored in the PostgreSQL database. I found a JS file (app/sequelize/sequelize.js) were the connection to the DB is defined but the address might be hardcoded: ``` /** * SPDX-License-Identifier: Apache-2.0 */ const Sequelize = require('sequelize'); const sequelize = new Sequelize( 'postgres://postgres:postgres@localhost:5432/fabricexplorer', { logging: false } ); module.exports = sequelize; ``` If this is true, users are not being stored correctly, could you confirm, please, if I'm right ? Thanks a lot!

carlosalca (Mon, 17 Aug 2020 07:53:41 GMT):
Hi @nekia I has been playing with the new users feature. I wondered about the persistance if theese new user and looked into the code. I don't know exactly if I'm righ but the new users are intended to be stored in the PostgreSQL database. I found a JS file (app/sequelize/sequelize.js) were the connection to the DB is defined but the address might be hardcoded: ``` /** * SPDX-License-Identifier: Apache-2.0 */ const Sequelize = require('sequelize'); const sequelize = new Sequelize( 'postgres://postgres:postgres@localhost:5432/fabricexplorer', { logging: false } ); module.exports = sequelize; ``` If this is true, users are not being stored correctly. Could you confirm, please, if I'm right ? Thanks a lot!

ravinayag (Mon, 17 Aug 2020 07:54:15 GMT):
if this is not added yet,can we add this ?, so we come to know by logging to docker image and run version command ?

ravinayag (Mon, 17 Aug 2020 07:54:15 GMT):
if this is not added yet,can we add this ?, so we come to know by logging to docker image and run version command to know build

pouya (Mon, 17 Aug 2020 07:55:47 GMT):
you can run `docker run --rm hyperledger/explorer:latest explorer version` but I don't know whether it works or not.

ravinayag (Mon, 17 Aug 2020 08:01:47 GMT):
it doesnt work out.

ravinayag (Mon, 17 Aug 2020 08:02:10 GMT):

Clipboard - August 17, 2020 1:32 PM

ravinayag (Mon, 17 Aug 2020 08:02:57 GMT):
i have other option to check the package.json file version after login to docker image.

pouya (Mon, 17 Aug 2020 08:08:20 GMT):
just try pulling again, if the status was: `Status: Image is up to date for hyperledger/explorer:latest` it means your image is V.1.1.2. if not, let it download the latest!

pouya (Mon, 17 Aug 2020 08:08:20 GMT):
just try pulling again, if the status was: `Status: Image is up to date for hyperledger/explorer:latest` it means your image is V.1.1.2. if not, let it downloads the latest!

ravinayag (Mon, 17 Aug 2020 08:09:16 GMT):
My image is latest and I pulled last night.

ravinayag (Mon, 17 Aug 2020 08:09:56 GMT):
So my Q, how do i confirm image version..

ravinayag (Mon, 17 Aug 2020 08:10:23 GMT):
Anyway i confirmed with package.json file. that gives version details..

ravinayag (Mon, 17 Aug 2020 08:10:39 GMT):
I added this two lines in main.js file

ravinayag (Mon, 17 Aug 2020 08:10:40 GMT):
var expbuildver = require('./package.json'); console.log("Explorer Build version : ", expbuildver.version);

pouya (Mon, 17 Aug 2020 08:11:25 GMT):
:thumbsup:

ravinayag (Mon, 17 Aug 2020 08:11:34 GMT):

Clipboard - August 17, 2020 1:41 PM

ravinayag (Mon, 17 Aug 2020 08:17:16 GMT):
can i open a RFE for this .?

pouya (Mon, 17 Aug 2020 08:18:58 GMT):
I don't know. I guess it is a problem with Docker and they should think about it.

nekia (Mon, 17 Aug 2020 10:29:45 GMT):
Sorry for making you confused. That file (I guess, `sequelize/sequelize.js`) is not used any more.

nekia (Mon, 17 Aug 2020 10:29:45 GMT):
Sorry for making you confused. That file is not used any more.

nekia (Mon, 17 Aug 2020 10:31:11 GMT):
You can see the logic to persist user info to db in [app/persistence/postgreSQL/PgService.js](https://github.com/hyperledger/blockchain-explorer/blob/v1.1.2/app/persistence/postgreSQL/PgService.js)

nekia (Mon, 17 Aug 2020 10:35:41 GMT):
https://docs.docker.com/engine/reference/commandline/images/#list-image-digests

nekia (Mon, 17 Aug 2020 10:37:25 GMT):
Another option is comparing digest between the image on your local and the one on [docker hub](https://hub.docker.com/layers/hyperledger/explorer/1.1.2/images/sha256-051fd64c09f72bd9f8bb8e8d4375243f09b31d235639d6aab9e64b44d8aaef31?context=explore)

ravinayag (Mon, 17 Aug 2020 12:57:22 GMT):
yeah, thats another option but its hard to chase version locally if its not matched.

carlosalca (Tue, 18 Aug 2020 06:48:48 GMT):
Thanks! I'll have a look

tongli (Tue, 18 Aug 2020 15:33:28 GMT):
Has joined the channel.

tongli (Tue, 18 Aug 2020 15:33:53 GMT):
not really sure what is missing. Can anyone give me some ideas what might have gone wrong?

tongli (Tue, 18 Aug 2020 15:34:44 GMT):
here is the error msg ```[2020-08-18T15:31:02.404] [ERROR] FabricGateway - Error instantiating FabricCAServices TypeError: Cannot read property 'id' of undefined at FabricConfig.getCaAdminUser (/opt/explorer/app/platform/fabric/FabricConfig.js:159:42) at FabricGateway.enrollCaIdentity (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:197:37) at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:79:27) [2020-08-18T15:31:02.406] [ERROR] FabricGateway - Error: Identity not found in wallet: admin [2020-08-18T15:31:02.406] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' }```

tongli (Tue, 18 Aug 2020 15:36:16 GMT):
which file should this be getting from `this.config.client.caCredential.id`?

saanvijay (Tue, 18 Aug 2020 17:31:20 GMT):
which version of explorer you are using? Does your config file contains the following "caCredential": { "id": "admin", "password": "adminpw" }, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" },

saanvijay (Tue, 18 Aug 2020 17:32:37 GMT):
you can use opensource explorer automation tool to generate all your config files and it will bring up explorer https://github.com/saanvijay/hyperledger-explorer-made-easy

tongli (Tue, 18 Aug 2020 19:08:38 GMT):
@saanvijay using the latest docker image.

tongli (Tue, 18 Aug 2020 19:08:54 GMT):
yes, I added that to the profile.

tongli (Tue, 18 Aug 2020 19:40:53 GMT):
@saanvijay I really want to be able to get the explorer working with minifabric, but even following your example, things just simply not working. keep getting all sort of error.

tongli (Tue, 18 Aug 2020 19:40:56 GMT):
errors

tongli (Tue, 18 Aug 2020 19:41:19 GMT):
BTW, @saanvijay your example profile missing caCredential element.

tongli (Tue, 18 Aug 2020 19:41:49 GMT):
and even after I added the caCredential file, still getting errors like this.

tongli (Tue, 18 Aug 2020 19:41:54 GMT):
```[2020-08-18T19:39:09.152] [INFO] FabricGateway - CA enabled [2020-08-18T19:39:09.421] [INFO] FabricGateway - >>>>>>>>>>>>>>>>>>>>>>>>> enrollment : ca admin [2020-08-18T19:39:09.443] [ERROR] FabricGateway - Error instantiating FabricCAServices { Error: fabric-ca request register failed with errors [[ { code: 0, message: 'Registration of \'exploreradmin\' failed: Identity \'exploreradmin\' is already registered' } ]] at IncomingMessage.response.on (/opt/explorer/node_modules/fabric-ca-client/lib/FabricCAClient.js:298:19) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) result: '', errors: [ { code: 0, message: 'Registration of \'exploreradmin\' failed: Identity \'exploreradmin\' is already registered' } ], messages: [], success: false } [2020-08-18T19:39:09.444] [ERROR] FabricGateway - Error: Identity not found in wallet: exploreradmin [2020-08-18T19:39:09.445] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } [2020-08-18T19:39:09.445] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-08-18T19:39:09.445] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] [2020-08-18T19:39:11.448] [INFO] main - Received kill signal, shutting down gracefully [2020-08-18T19:39:11.449] [INFO] main - Closed out connections```

tongli (Tue, 18 Aug 2020 19:42:37 GMT):
it seems to me that it was trying to work with the ca node. and already registered exploreradmin userid. but it will still keep trying to do that.

tongli (Tue, 18 Aug 2020 19:42:54 GMT):
also the error failed to create wallet.

tongli (Tue, 18 Aug 2020 19:43:20 GMT):
@saanvijay any help will be appreciated.

tongli (Tue, 18 Aug 2020 20:11:13 GMT):
holy cow, after reading some the source code, I finally got this thing going.

tongli (Tue, 18 Aug 2020 20:12:15 GMT):

Screen Shot 2020-08-18 at 4.11.42 PM.png

bh4rtp (Wed, 19 Aug 2020 00:11:49 GMT):
i updated to the 1.1.2 version. when network is up, explorer will be closed with errors: ```[2020-08-19T00:09:13.771] [ERROR] FabricConfig - client.adminCredential.id is undefined [2020-08-19T00:09:13.771] [ERROR] FabricGateway - Failed to get admin ID from configuration file [2020-08-19T00:09:13.772] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ]```

bh4rtp (Wed, 19 Aug 2020 00:12:49 GMT):
i am using 1.1.2 docker image.

nekia (Wed, 19 Aug 2020 00:50:04 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#authorization

nekia (Wed, 19 Aug 2020 00:50:45 GMT):
You probably need to add `adminCredential` to your connection profile.

tongli (Wed, 19 Aug 2020 01:21:43 GMT):
guys, I've added Explorer to minifabric, now if you are using minifabric stand up your fabric network, boot up Explorer against that network will be simply a command like this `minifab explorerup`

tongli (Wed, 19 Aug 2020 01:22:30 GMT):
the result of that command will show you a url which you can use to access explorer user interface.

tongli (Wed, 19 Aug 2020 01:22:35 GMT):
quick and easy.

tongli (Wed, 19 Aug 2020 01:24:25 GMT):
try minifabric and find it here https://github.com/litong01/minifabric

tongli (Wed, 19 Aug 2020 01:25:27 GMT):
got it all working. and added explorer to minifabric.

bh4rtp (Wed, 19 Aug 2020 02:59:05 GMT):
@nekia thanks. client.adminCredential is fixed. but wallet creation failure remains. ```[2020-08-19T02:55:22.435] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ]```

nekia (Wed, 19 Aug 2020 03:35:23 GMT):
If you can share more detail of the error, we can help you. Another option is to try using the following utility tool. https://github.com/saanvijay/hyperledger-explorer-made-easy

ravinayag (Wed, 19 Aug 2020 13:12:47 GMT):
you can try this answer, https://chat.hyperledger.org/channel/hyperledger-explorer?msg=aWSE2f5NNfFs38iDf

jcldnatv (Sat, 22 Aug 2020 17:25:03 GMT):
Has joined the channel.

tongli (Sun, 23 Aug 2020 00:13:53 GMT):
Guys, minifabric made setup a network and integrate explorer so easy. Two commands you are ready to hit the user interface. Got it a try , and get everything going within less than 5 minutes.

fmoca (Mon, 24 Aug 2020 12:29:23 GMT):
Has joined the channel.

RobinKlemens (Tue, 25 Aug 2020 11:33:04 GMT):
Has joined the channel.

RobinKlemens (Tue, 25 Aug 2020 11:33:04 GMT):
Hi everyone. Is there a way to run hyperledger-explorer without the private key of org admin? Hyperledger-explorer provides the feature of `Monitoring multiple organizations`(https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#monitoring-multiple-organizations). If the connection profiles of every org require the adminPrivateKeys all admin credential would be stored at a single place which I want to avoid. How do you asses the security risk of the overall hyperledger fabric network when running hyperledger-explorer with multiple organizations?

RobinKlemens (Tue, 25 Aug 2020 11:33:04 GMT):
Hi everyone. Is there a way to run hyperledger-explorer without private key of org admin?

tongli (Tue, 25 Aug 2020 11:40:51 GMT):
@RobinKlemens take a look at minifabric which sets up everything easily including using explorer.

tongli (Tue, 25 Aug 2020 11:43:07 GMT):
The idea is that each org manages their own nodes. In a real production env, I do not think two orgs will share one machine for things and will share their admin/private keys. Each org will hold their own keys. Explorer user from one org should only be able to use their own admin key to see what is on the network.

tongli (Tue, 25 Aug 2020 11:45:31 GMT):
You see the cases that multiple orgs have keys on the single machine due to these setups are all test env or dev env. Real production env would not have multiple org peers or orderers running on one machine, these keys will not be altogether neither.

RobinKlemens (Tue, 25 Aug 2020 13:45:22 GMT):
Thanks for your response @tongli . Alright, I agree to the point that in production env every org would host there own infrastructure. For sure the peers and orderer and hyperledger-explorer instances as well. Still, the private key of an admin is required. As far as I understand hyperledger-explorer it uses service discovery to retrieve information of the network. But wouldn't a private key of a client be enough (e.g. explorer client with affiliations such as org1.explorer)? I don't want to store the private key of the admin in the explorer container.

tongli (Tue, 25 Aug 2020 15:33:22 GMT):
@RobinKlemens I am not an explorer expert, but when I added explorer to minifabric, I remember you just need to configure the container to use the private key. Do not think explorer expose the private key any where, but in any case, since explorer use the key in theory, you will have to secure the explorer itself.

RobinKlemens (Tue, 25 Aug 2020 15:42:41 GMT):
@tongli I don't think explorer exposes the private key. And yes, the explorer container needs extra security as long as the private key of the admin is required. I'd love to get some additional information about this from the maintainers. Best Robin

nekia (Wed, 26 Aug 2020 01:36:30 GMT):
We're using a wallet to store an identity (certificate and private key) on a machine where Explorer is running.

nekia (Wed, 26 Aug 2020 01:39:27 GMT):
If using HSM wallet and providing a pin to access the HSM from a secret artifactory, it might be more secure.

nekia (Wed, 26 Aug 2020 01:43:26 GMT):
In this case we also need using Fabric-CA to retrieve an admin identity for avoiding to pass a plain private key to Explorer.

bh4rtp (Mon, 31 Aug 2020 08:35:59 GMT):
i still get troubles in building explorer with identity error: ```explorer.example.com | [2020-08-31T08:33:05.611] [INFO] FabricConfig - FabricConfig, this.config.channels salech explorer.example.com | [2020-08-31T08:33:05.613] [INFO] FabricGateway - CA enabled explorer.example.com | [2020-08-31T08:33:05.889] [INFO] FabricGateway - >>>>>>>>>>>>>>>>>>>>>>>>> enrollment : ca admin explorer.example.com | [2020-08-31T08:33:05.919] [INFO] FabricGateway - client TLS enabled explorer.example.com | [2020-08-31T08:33:05.920] [ERROR] FabricGateway - ExplorerError: [ 'Not found Identity allen in your wallet' ] explorer.example.com | [2020-08-31T08:33:05.920] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] explorer.example.com | at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) explorer.example.com | name: 'ExplorerError', explorer.example.com | message: explorer.example.com | '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' }```

bh4rtp (Mon, 31 Aug 2020 08:36:36 GMT):
what is the file paths for create wallet?

bh4rtp (Mon, 31 Aug 2020 08:37:31 GMT):
i configured it to be `./walletstore:/opt/wallet` in the docker-compose.yaml file.

bh4rtp (Tue, 01 Sep 2020 02:51:53 GMT):
@nekia i think you can help me:) i removed ca from my connection profile. and now logs output many grpc errors: ```explorer.example.com | 2020-09-01T02:47:33.592Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Endorser- name: peer1.org2.example.com, url:grpcs://localhost:38051, connected:false, connectAttempted:true explorer.example.com | 2020-09-01T02:47:33.592Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server peer1.org2.example.com url:grpcs://localhost:18051 timeout:3000 explorer.example.com | 2020-09-01T02:47:33.593Z - error: [NetworkConfig]: buildPeer - Unable to connect to the endorser peer1.org2.example.com due to Error: Failed to connect before the deadline on Endorser- name: peer1.org2.example.com, url:grpcs://localhost:38051, connected:false, connectAttempted:true explorer.example.com | [2020-09-01T02:47:33.599] [ERROR] FabricGateway - Error: Endorser must be connected explorer.example.com | [2020-09-01T02:47:33.601] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] explorer.example.com | at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) explorer.example.com | at process._tickCallback (internal/process/next_tick.js:68:7) explorer.example.com | name: 'ExplorerError', explorer.example.com | message: explorer.example.com | '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } explorer.example.com | [2020-09-01T02:47:33.603] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer.example.com | [2020-09-01T02:47:33.603] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] explorer.example.com | [2020-09-01T02:47:35.605] [INFO] main - Received kill signal, shutting down gracefully explorer.example.com | [2020-09-01T02:47:35.607] [INFO] main - Closed out connections explorer.example.com exited with code 1```

bh4rtp (Tue, 01 Sep 2020 02:53:38 GMT):
i noticed that explorer using discovery enabled = true, so how to fix these errors.

nekia (Tue, 01 Sep 2020 03:10:21 GMT):
Which version of Explorer are you using ?

nekia (Tue, 01 Sep 2020 03:13:16 GMT):
The url of each peer seems to be mapped to localhost. Please have a look at the following configuration (`- DISCOVERY_AS_LOCALHOST=false`)in your `docker-compose.yml` https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#run-hyperledger-explorer-using-docker-compose

nekia (Tue, 01 Sep 2020 03:13:36 GMT):
@bh4rtp

bh4rtp (Tue, 01 Sep 2020 03:20:38 GMT):
@nekia i am using 1.1.2 release. and my network is built locally by docker containers.

bh4rtp (Tue, 01 Sep 2020 03:21:24 GMT):
should i set DISCOVERY_AS_LOCALHOST=true?

bh4rtp (Tue, 01 Sep 2020 03:23:19 GMT):
and i suggest that the discovery service should be disabled or can be configured, i.e. discovery: { enabled: false}, in the explorer.

nekia (Tue, 01 Sep 2020 03:38:55 GMT):
You should set `DISCOVERY_AS_LOCALHOST=false`. And please make sure peer url in your connection profile is configured correctly, that means the url should be kinda hostname valid within your docker network instead of localhost.

bh4rtp (Wed, 02 Sep 2020 02:42:29 GMT):
@nekia solved. i configured the error network for `explorer` and `explorer-db`, mistook '-' as '.'.:grinning:

bh4rtp (Wed, 02 Sep 2020 02:42:29 GMT):
@nekia discovery problems solved.

bh4rtp (Wed, 02 Sep 2020 03:35:10 GMT):
in the docker-compose.yaml, i comment the command line for `explorer`, why does the explorer still start to run when docker-compose up?

bh4rtp (Wed, 02 Sep 2020 04:37:57 GMT):
@nekia discovery problems are solved. but there comes a new problem: ```explorer.example.com | [2020-09-02T04:33:30.891] [ERROR] FabricGateway - Error: Committer must be connected ``` what does this mean? previous `Error: Endorser must be connected` does not occur.

bh4rtp (Wed, 02 Sep 2020 06:29:00 GMT):
finally get the explorer running. but login failed. which user and password should i use to login the explorer?

bh4rtp (Wed, 02 Sep 2020 06:54:37 GMT):
my client configurations: ```"client": { "tlsEnable": true, "caCredential": { "id": "admin", "password": "adminpw" }, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" }, "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" }, "orderer": "6000" } } }```

bh4rtp (Wed, 02 Sep 2020 06:55:25 GMT):
exploreradmin/exploreradminpw can not login the explorer.

bh4rtp (Wed, 02 Sep 2020 07:09:42 GMT):
there still has an error: ```Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]``` the explorer only displays the nodes of the network, all other things, i.e. blocks, transactions and chaincodes, are zeros.

nekia (Thu, 03 Sep 2020 07:41:25 GMT):
@bh4rtp As described in [README-CONFIG | Uing Fabric CA](https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#using-fabric-ca), you need to specify affiliation to be used for Admin credential, too

bh4rtp (Thu, 03 Sep 2020 08:55:24 GMT):
@nekia yes. i specified an affiliation, i.e. org1.department1. but i don't know where org1.department1 is set to be an admin in the ca-server configuration yaml.

bh4rtp (Thu, 03 Sep 2020 14:48:15 GMT):
@nekia my network is created by `cryptogen` tool. should i use certificates and not ca authorities for configuration of connection profile?

nekia (Thu, 03 Sep 2020 14:58:08 GMT):
Yes, you should because it's easier for configuration to use generated credentials. Once you can see Explorer is working fine, then you can try using fabric CA again.

nekia (Thu, 03 Sep 2020 15:03:06 GMT):
Caveat: if you make any mistake on fabric CA once, you need to delete your wallet and restart your fabric CA server because incorrect identity has already been registered to the server and stored in your wallet. @bh4rtp

bh4rtp (Fri, 04 Sep 2020 01:03:51 GMT):
@nekia successfully got the explorer running now. thanks.

bh4rtp (Fri, 04 Sep 2020 01:05:34 GMT):
if i set `"enableAuthentication": true`, should i login in the explorer using exploreradmin/exploreradminpwd?

nekia (Fri, 04 Sep 2020 02:46:54 GMT):
Yes, you can use id/password you specify in the connection profile. You can also register a new user which is used for login, via GUI/API.

bh4rtp (Fri, 04 Sep 2020 03:36:36 GMT):
i cannot login. it tells invalid user or password. so i set enableAuthentication = false.

nekia (Fri, 04 Sep 2020 05:32:03 GMT):
In example of README, password for admin is `exploreradminpw`, not `exploreradminpwd`. Please make sure that for just in case you're using incorrect password.

jorgeRodriguez (Sun, 06 Sep 2020 07:33:32 GMT):
Has joined the channel.

aditya520 (Tue, 08 Sep 2020 11:29:29 GMT):
Has joined the channel.

aditya520 (Tue, 08 Sep 2020 11:31:13 GMT):
I am trying to connect explorer to a fabric network hosted on Oracle Blockchain Service. It runs and retrieves some blocks for some channels, but it is discovering a different orderer. I have specified the orderer in my connection profile, but it is getting time out by searching some other orderer.

aditya520 (Tue, 08 Sep 2020 11:31:13 GMT):
I am trying to connect explorer to a fabric network hosted on Oracle Blockchain Service. It runs and retrieves some blocks for some channels, but it is discovering a different orderer. I have specified the orderer in my connection profile, but it is getting timed out by searching some other orderer. `2020-09-08T09:30:58.038Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Committer- name: 93CD25******************-private.blockchain.ocp.oraclecloud.com:7301, url:grpcs://93CD25******************-private.blockchain.ocp.oraclecloud.com:7301, connected:false, connectAttempted:true 2020-09-08T09:30:58.039Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server 93CD25******************-private.blockchain.ocp.oraclecloud.com:7301 url:grpcs://93CD25******************-private.blockchain.ocp.oraclecloud.com:7301 timeout:3000 2020-09-08T09:30:58.039Z - error: [DiscoveryService]: _buildOrderer[be discovery service] - Unable to connect to the discovered orderer 93CD25******************-private.blockchain.ocp.oraclecloud.com:7301 due to Error: Failed to connect before the deadline on Committer- name:93CD25******************-private.blockchain.ocp.oraclecloud.com:7301, url:grpcs://93CD25******************-private.blockchain.ocp.oraclecloud.com:7301, connected:false, connectAttempted:true`

aditya520 (Tue, 08 Sep 2020 11:31:13 GMT):
I am trying to connect explorer to a fabric network hosted on Oracle Blockchain Service. It runs and retrieves some blocks for some channels, but it is discovering a different orderer. I have specified the orderer in my connection profile, but it is getting timed out by searching some other orderer. ```2020-09-08T09:30:58.038Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Committer- name: 93CD25******************-private.blockchain.ocp.oraclecloud.com:7301, url:grpcs://93CD25******************-private.blockchain.ocp.oraclecloud.com:7301, connected:false, connectAttempted:true 2020-09-08T09:30:58.039Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server 93CD25******************-private.blockchain.ocp.oraclecloud.com:7301 url:grpcs://93CD25******************-private.blockchain.ocp.oraclecloud.com:7301 timeout:3000 2020-09-08T09:30:58.039Z - error: [DiscoveryService]: _buildOrderer[be discovery service] - Unable to connect to the discovered orderer 93CD25******************-private.blockchain.ocp.oraclecloud.com:7301 due to Error: Failed to connect before the deadline on Committer- name:93CD25******************-private.blockchain.ocp.oraclecloud.com:7301, url:grpcs://93CD25******************-private.blockchain.ocp.oraclecloud.com:7301, connected:false, connectAttempted:true```

nekia (Wed, 09 Sep 2020 01:39:35 GMT):
Orderer need not to be specified in your connection profile. It's retrieved via Service Discovery. Could you provide more detail about `different orderer`?

aditya520 (Wed, 09 Sep 2020 05:17:26 GMT):
Can I override the settings and tell explorer to read the orderer from the connection profile. I don't which orderer it is reading, maybe old one.

aditya520 (Wed, 09 Sep 2020 05:17:26 GMT):
Can I override the settings and tell explorer to read the orderer from the connection profile. I don't know which orderer it is discovering, maybe an old one.

Amanullah68 (Wed, 09 Sep 2020 05:22:25 GMT):
Has joined the channel.

Amanullah68 (Wed, 09 Sep 2020 05:28:16 GMT):

Screenshot from 2020-09-09 10-28-00.png

Amanullah68 (Wed, 09 Sep 2020 05:28:37 GMT):
Hi, I'm not setting up explorer properly

Amanullah68 (Wed, 09 Sep 2020 05:28:53 GMT):
I've spend almost a week but still not run it

Amanullah68 (Wed, 09 Sep 2020 05:29:00 GMT):
help me please

Amanullah68 (Wed, 09 Sep 2020 05:29:22 GMT):
I've tried it from both way's but still getting error

aditya520 (Wed, 09 Sep 2020 05:29:43 GMT):
Can you show us the logs? From the meta error, it seems you have not specified correct certificate path!

Amanullah68 (Wed, 09 Sep 2020 05:29:50 GMT):
version: '2' volumes: pgdata: null walletstore: null networks: my-network_byfn: external: name: my-network_byfn services: explorerdb.triterras.com: image: hyperledger/explorer-db container_name: explorerdb.triterras.com hostname: explorerdb.triterras.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - 'pgdata:/var/lib/postgresql/data' networks: - my-network_byfn explorer.triterras.com: image: hyperledger/explorer container_name: explorer.triterras.com hostname: explorer.triterras.com environment: - DATABASE_HOST=explorerdb.triterras.com - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - LOG_LEVEL_APP=debug - LOG_LEVEL_DB=debug - LOG_LEVEL_CONSOLE=info - LOG_CONSOLE_STDOUT=true - DISCOVERY_AS_LOCALHOST=false volumes: - './config1.json:/opt/explorer/app/platform/fabric/config.json' - >- ./connection-profile:/opt/explorer/app/platform/fabric/connection-profile/ - './crypto-config:/tmp/crypto' command: sh -c "node /opt/explorer/main.js && tail -f /dev/null" ports: - '8081:8081' depends_on: - explorerdb.triterras.com networks: - my-network_byfn

Amanullah68 (Wed, 09 Sep 2020 05:30:08 GMT):
version: '2' volumes: pgdata: null walletstore: null networks: my-network_byfn: external: name: my-network_byfn services: explorerdb.triterras.com: image: hyperledger/explorer-db container_name: explorerdb.triterras.com hostname: explorerdb.triterras.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password volumes: - 'pgdata:/var/lib/postgresql/data' networks: - my-network_byfn explorer.triterras.com: image: hyperledger/explorer container_name: explorer.triterras.com hostname: explorer.triterras.com environment: - DATABASE_HOST=explorerdb.triterras.com - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - LOG_LEVEL_APP=debug - LOG_LEVEL_DB=debug - LOG_LEVEL_CONSOLE=info - LOG_CONSOLE_STDOUT=true - DISCOVERY_AS_LOCALHOST=false volumes: - './config1.json:/opt/explorer/app/platform/fabric/config.json' - >- ./connection-profile:/opt/explorer/app/platform/fabric/connection-profile/ - './crypto-config:/tmp/crypto' command: sh -c "node /opt/explorer/main.js && tail -f /dev/null" ports: - '8081:8081' depends_on: - explorerdb.triterras.com networks: - my-network_byfn

Amanullah68 (Wed, 09 Sep 2020 05:30:44 GMT):
root@mwan-Inspiron-5558:~# docker logs 5c1de65d200d [2020-09-09T05:25:13.700] [INFO] PgService - SSL to Postgresql disabled [2020-09-09T05:25:13.701] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@explorerdb.triterras.com:5432/fabricexplorer [2020-09-09T05:25:14.816] [INFO] Platform - client_configs.name my-network_byfn client_configs.profile ./connection-profile/triterras.json [2020-09-09T05:25:14.817] [INFO] Platform - Disabled authentication [2020-09-09T05:25:14.819] [INFO] FabricConfig - config.client.tlsEnable true [2020-09-09T05:25:14.819] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-09-09T05:25:14.822] [ERROR] FabricConfig - Not found signedCert configuration [2020-09-09T05:25:14.822] [ERROR] FabricGateway - ExplorerError: [ 'Invalid network configuration, Please check the log' ] [2020-09-09T05:25:14.822] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } [2020-09-09T05:25:14.823] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-09-09T05:25:14.823] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] [2020-09-09T05:25:16.826] [INFO] main - Received kill signal, shutting down gracefully [2020-09-09T05:25:16.827] [INFO] main - Closed out connections

Amanullah68 (Wed, 09 Sep 2020 05:31:01 GMT):
root@mwan-Inspiron-5558:~# docker logs 5c1de65d200d [2020-09-09T05:25:13.700] [INFO] PgService - SSL to Postgresql disabled [2020-09-09T05:25:13.701] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@explorerdb.triterras.com:5432/fabricexplorer [2020-09-09T05:25:14.816] [INFO] Platform - client_configs.name my-network_byfn client_configs.profile ./connection-profile/triterras.json [2020-09-09T05:25:14.817] [INFO] Platform - Disabled authentication [2020-09-09T05:25:14.819] [INFO] FabricConfig - config.client.tlsEnable true [2020-09-09T05:25:14.819] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-09-09T05:25:14.822] [ERROR] FabricConfig - Not found signedCert configuration [2020-09-09T05:25:14.822] [ERROR] FabricGateway - ExplorerError: [ 'Invalid network configuration, Please check the log' ] [2020-09-09T05:25:14.822] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } [2020-09-09T05:25:14.823] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-09-09T05:25:14.823] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] [2020-09-09T05:25:16.826] [INFO] main - Received kill signal, shutting down gracefully [2020-09-09T05:25:16.827] [INFO] main - Closed out connections

aditya520 (Wed, 09 Sep 2020 05:31:26 GMT):
These are not logs, the logs will be there in logs folder if you are running locally, or change the LOG_LEVEL_CONSOLE to debug to see all logs

Amanullah68 (Wed, 09 Sep 2020 05:34:41 GMT):
[2020-09-09T05:33:45.567] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2020-09-09T05:33:45.568] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******, { 'my-network_byfn': { name: 'my-network_byfn', profile: './connection-profile/triterras.json', enableAuthentication: false } } [2020-09-09T05:33:45.569] [DEBUG] Platform - Setting admin organization enrolment files [2020-09-09T05:33:45.569] [INFO] Platform - client_configs.name my-network_byfn client_configs.profile ./connection-profile/triterras.json [2020-09-09T05:33:45.569] [DEBUG] Platform - Creating client [my-network_byfn] >> { name: 'my-network_byfn', profile: './connection-profile/triterras.json', enableAuthentication: false } [2020-09-09T05:33:45.570] [INFO] Platform - Disabled authentication [2020-09-09T05:33:45.571] [DEBUG] FabricUtils - ************ Initializing fabric client for [my-network_byfn]************ [2020-09-09T05:33:45.571] [DEBUG] FabricClient - Client configuration [my-network_byfn] ... this.client_config { name: 'my-network_byfn', profile: './connection-profile/triterras.json', enableAuthentication: false } [2020-09-09T05:33:45.573] [INFO] FabricConfig - config.client.tlsEnable true [2020-09-09T05:33:45.573] [DEBUG] FabricGateway - LOADING CONFIGURATION [OBJECT OBJECT] [2020-09-09T05:33:45.573] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-09-09T05:33:45.586] [ERROR] FabricConfig - Not found signedCert configuration [2020-09-09T05:33:45.587] [ERROR] FabricGateway - ExplorerError: [ 'Invalid network configuration, Please check the log' ] [2020-09-09T05:33:45.587] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } [2020-09-09T05:33:45.588] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-09-09T05:33:45.588] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] [2020-09-09T05:33:46.083] [ERROR] PgService - error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:108:16) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) [2020-09-09T05:33:46.084] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-09-09T05:33:46.084] [ERROR] main - TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at setTimeout (timers.js:390:11) at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:125:5) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) [2020-09-09T05:33:47.588] [INFO] main - Received kill signal, shutting down gracefully [2020-09-09T05:33:47.590] [INFO] main - Closed out connections

Amanullah68 (Wed, 09 Sep 2020 05:35:33 GMT):
[2020-09-09T05:33:45.567] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2020-09-09T05:33:45.568] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******, { 'my-network_byfn': { name: 'my-network_byfn', profile: './connection-profile/triterras.json', enableAuthentication: false } } [2020-09-09T05:33:45.569] [DEBUG] Platform - Setting admin organization enrolment files [2020-09-09T05:33:45.569] [INFO] Platform - client_configs.name my-network_byfn client_configs.profile ./connection-profile/triterras.json [2020-09-09T05:33:45.569] [DEBUG] Platform - Creating client [my-network_byfn] >> { name: 'my-network_byfn', profile: './connection-profile/triterras.json', enableAuthentication: false } [2020-09-09T05:33:45.570] [INFO] Platform - Disabled authentication [2020-09-09T05:33:45.571] [DEBUG] FabricUtils - ************ Initializing fabric client for [my-network_byfn]************ [2020-09-09T05:33:45.571] [DEBUG] FabricClient - Client configuration [my-network_byfn] ... this.client_config { name: 'my-network_byfn', profile: './connection-profile/triterras.json', enableAuthentication: false } [2020-09-09T05:33:45.573] [INFO] FabricConfig - config.client.tlsEnable true [2020-09-09T05:33:45.573] [DEBUG] FabricGateway - LOADING CONFIGURATION [OBJECT OBJECT] [2020-09-09T05:33:45.573] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel [2020-09-09T05:33:45.586] [ERROR] FabricConfig - Not found signedCert configuration [2020-09-09T05:33:45.587] [ERROR] FabricGateway - ExplorerError: [ 'Invalid network configuration, Please check the log' ] [2020-09-09T05:33:45.587] [ERROR] FabricClient - { ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) name: 'ExplorerError', message: '[ \'Failed to create wallet, please check the configuration, and valid file paths\' ]' } [2020-09-09T05:33:45.588] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-09-09T05:33:45.588] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] [2020-09-09T05:33:46.083] [ERROR] PgService - error when connecting to db: TypeError: Cannot read property 'on' of undefined at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:108:16) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) [2020-09-09T05:33:46.084] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-09-09T05:33:46.084] [ERROR] main - TypeError [ERR_INVALID_CALLBACK]: Callback must be a function at setTimeout (timers.js:390:11) at Timeout.handleDisconnect [as _onTimeout] (/opt/explorer/app/persistence/postgreSQL/PgService.js:125:5) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) [2020-09-09T05:33:47.588] [INFO] main - Received kill signal, shutting down gracefully [2020-09-09T05:33:47.590] [INFO] main - Closed out connections

Amanullah68 (Wed, 09 Sep 2020 05:36:06 GMT):

Screenshot from 2020-09-09 10-35-54.png

aditya520 (Wed, 09 Sep 2020 05:36:17 GMT):
*[2020-09-09T05:25:14.822] [ERROR] FabricConfig - Not found signedCert configuration* Can you doule check this?

Amanullah68 (Wed, 09 Sep 2020 05:36:36 GMT):
yes

Amanullah68 (Wed, 09 Sep 2020 05:38:10 GMT):
tried from every possible way but failed

aditya520 (Wed, 09 Sep 2020 05:39:28 GMT):
Can you share your masked connection profile?

Amanullah68 (Wed, 09 Sep 2020 05:45:00 GMT):

tt.txt

aditya520 (Wed, 09 Sep 2020 05:48:19 GMT):
I don't see any *signcerts* in organization section? Please refer to https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/connection-profile/first-network.json#L45

Amanullah68 (Wed, 09 Sep 2020 05:50:50 GMT):

Screenshot from 2020-09-09 10-50-29.png

Amanullah68 (Wed, 09 Sep 2020 05:51:04 GMT):

tt1.txt

Amanullah68 (Wed, 09 Sep 2020 05:51:29 GMT):
I've tried with signcerts as well but still faled

aditya520 (Wed, 09 Sep 2020 05:55:38 GMT):
The certificate authority mentioned in the orgs is not present in the connection profile. Moreover the paths you provided should not direct to your local filesystem, it should direct to docker mounted volumes. I highly recommend you to go through this https://github.com/hyperledger/blockchain-explorer/blob/master/README.md

aditya520 (Wed, 09 Sep 2020 05:55:38 GMT):
The certificate authority mentioned in the orgs is not present in the connection profile. Moreover the paths you provided should not direct to your local filesystem, it should direct to docker mounted volumes. I highly recommend you to go through this https://github.com/hyperledger/blockchain-explorer/blob/master/README.md :grinning:

Amanullah68 (Wed, 09 Sep 2020 06:38:09 GMT):

Screenshot from 2020-09-09 11-37-45.png

Amanullah68 (Wed, 09 Sep 2020 06:38:11 GMT):

Screenshot from 2020-09-09 11-37-45.png

Amanullah68 (Wed, 09 Sep 2020 06:38:19 GMT):
still facing this issue

Amanullah68 (Wed, 09 Sep 2020 06:39:08 GMT):
still facing

saanvijay (Wed, 09 Sep 2020 06:52:15 GMT):
@Amanullah68 Can you try this utility tool? https://github.com/saanvijay/hyperledger-explorer-made-easy

Amanullah68 (Wed, 09 Sep 2020 07:02:31 GMT):

Screenshot from 2020-09-09 12-01-54.png

Amanullah68 (Wed, 09 Sep 2020 07:10:35 GMT):
now got this

aditya520 (Wed, 09 Sep 2020 07:56:02 GMT):
@nekia Q2. Can I increase the discovery timeout which is by default 3000 from config file?

Amanullah68 (Wed, 09 Sep 2020 08:13:32 GMT):

Screenshot from 2020-09-09 13-13-13.png

Amanullah68 (Wed, 09 Sep 2020 08:13:44 GMT):

Screenshot from 2020-09-09 13-13-13.png

nekia (Wed, 09 Sep 2020 14:24:04 GMT):
Q1 No you can't. The list on Explorer completely depends on the result from service discovery. You can see the result by executing discover CLI by yourself.

nekia (Wed, 09 Sep 2020 14:24:06 GMT):
https://hyperledger-fabric.readthedocs.io/en/release-2.2/discovery-cli.html

nekia (Wed, 09 Sep 2020 14:36:43 GMT):
Q2 No you can't. If you're mentioning the timeout on your log, I think it depends on the settings of grpc. You might be able to override it by connection profile. ``` "peers": { "peer0.org1.example.com": { "url": "grpcs://localhost:7051", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } ```

nekia (Wed, 09 Sep 2020 14:36:43 GMT):
Q2 No you can't. If you're mentioning the timeout on your log, I think it depends on the settings of grpc. You might be able to override it by connection profile. ``` "peers": { "peer0.org1.example.com": { ... "url": "grpcs://localhost:7051", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com", "grpc-wait-for-ready-timeout": 3000 <<<< } ```

nekia (Wed, 09 Sep 2020 14:36:43 GMT):
Q2 No you can't. If you're mentioning the timeout on your log, I think it depends on the settings of grpc. You might be able to override it by connection profile, but I've never tried it. ``` "peers": { "peer0.org1.example.com": { ... "url": "grpcs://localhost:7051", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com", "grpc-wait-for-ready-timeout": 3000 <<<< } ```

Amanullah68 (Wed, 09 Sep 2020 18:56:24 GMT):

Screenshot from 2020-09-09 23-56-01.png

Amanullah68 (Wed, 09 Sep 2020 18:57:07 GMT):
running perfectly with old version but when trying to run same with latest one through containers, I got error

nekia (Thu, 10 Sep 2020 06:04:35 GMT):
It seems that your connection profile is incorrect. You're specifying cert file with path of host side, not one of container.

Amanullah68 (Thu, 10 Sep 2020 09:51:52 GMT):

Screenshot from 2020-09-10 14-51-26.png

Amanullah68 (Thu, 10 Sep 2020 09:52:05 GMT):
Now got this error

Amanullah68 (Thu, 10 Sep 2020 10:44:04 GMT):

Screenshot from 2020-09-10 15-43-51.png

Amanullah68 (Thu, 10 Sep 2020 10:44:08 GMT):
now got this error

Amanullah68 (Thu, 10 Sep 2020 10:51:36 GMT):
help me please

nekia (Thu, 10 Sep 2020 11:50:29 GMT):
In the last snapshot, I can see `localhost` in url of `peer0.shippe...`. It's incorrect. You need to specify a hostname which is valid in your docker network (it's probably `my-network_byfn`, I guess). It's worthwhile to use the utility @saanvijay suggestes https://chat.hyperledger.org/channel/hyperledger-explorer?msg=My2oPd9RoJa7RJwNF

Amanullah68 (Thu, 10 Sep 2020 12:20:06 GMT):

Screenshot from 2020-09-10 17-19-50.png

Amanullah68 (Thu, 10 Sep 2020 12:44:42 GMT):

Screenshot from 2020-09-10 17-44-30.png

Amanullah68 (Thu, 10 Sep 2020 12:44:46 GMT):
now this

nekia (Fri, 11 Sep 2020 02:08:14 GMT):
Please check log and make sure Explorer container belongs to the same docker network with your fabric network `docker network inspect [your network]`

Amanullah68 (Fri, 11 Sep 2020 04:42:46 GMT):
Thanks, I solve the issue

Amanullah68 (Fri, 11 Sep 2020 04:43:24 GMT):
I think there is some issue with newer versions, so I go for 1.0.0

Amanullah68 (Fri, 11 Sep 2020 04:43:41 GMT):
It works fine in both ways

nekia (Fri, 11 Sep 2020 05:59:47 GMT):
Great, Is it possible to share what kind of issue you have with which version?

Amanullah68 (Fri, 11 Sep 2020 07:45:03 GMT):
I faced wallet path issues with all versions greater then 1.1.0 but works perfectly same paths in 1.0.0

nekia (Fri, 11 Sep 2020 08:06:18 GMT):
I see, if you have already had existing wallet generated by the previous Explorer, you need to migrate it to new format as mentioned below. https://hyperledger.github.io/fabric-sdk-node/release-2.2/tutorial-migration.html

nekia (Fri, 11 Sep 2020 08:06:18 GMT):
I see, if you have already had existing wallet generated by the previous Explorer (v1.0.0 or older), you need to migrate it to new format as mentioned below. https://hyperledger.github.io/fabric-sdk-node/release-2.2/tutorial-migration.html

Amanullah68 (Fri, 11 Sep 2020 10:11:37 GMT):
will look into it but I'm using container which means every version has it's own image and new container created everytime. The path I'm assigned is same as mentioned in documentation

Amanullah68 (Fri, 11 Sep 2020 10:11:49 GMT):
I'm using fabric 1.4.4

hanumankumar (Mon, 14 Sep 2020 14:45:55 GMT):
Hi All, Do we have any fab token example using Java SDK?if we have please can you share with me. Cheers, Hanu

bh4rtp (Tue, 15 Sep 2020 01:01:32 GMT):
@nekia hi, need i configure the `tlsCACerts` with `path`? i configured with `pem`, and it prompted an error: ```[2020-09-15T00:57:52.801] [ERROR] FabricGateway - Error instantiating FabricCAServices TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined explorer.example.com | at Object.openSync (fs.js:435:3) explorer.example.com | at Object.readFileSync (fs.js:343:35) explorer.example.com | at FabricGateway.enrollCaIdentity (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:189:25) explorer.example.com | at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:79:27)```

bh4rtp (Tue, 15 Sep 2020 01:01:50 GMT):
i am using block-explorer with ca.

hanumankumar (Tue, 15 Sep 2020 12:27:44 GMT):
Hi All, Can we design a utility token using hyperledger fabric without fab token? If we can do please can you share me the existing ways to do. Cheers, Hanu

sigma67 (Tue, 15 Sep 2020 13:07:11 GMT):
So I'm not sure of the best way to communicate this, but I've found an oddity with the transaction timestamps in the code of SyncService.js. It seems that the timestamp of the first transaction in the block is assigned to **all** transactions in that block. In l.486 the block timestamp is defined as the timestamp of the first tx in the block, and thereafter this variable is reused for **every tx** in the for loop starting in l. 503. It is finally committed to the database in l.631. However, each transaction actually has a unique timestamp that differs based on when it was created. See the following example for block 177 in my test blockchain, which was created by adding some logging output to SyncService.js: `` 177 2020-09-15T12:22:28.863Z 2020-09-15T12:22:28.935Z 2020-09-15T12:22:29.000Z 2020-09-15T12:22:29.069Z 2020-09-15T12:22:29.631Z 2020-09-15T12:22:29.708Z 2020-09-15T12:22:29.796Z 2020-09-15T12:22:29.873Z 2020-09-15T12:22:29.948Z 2020-09-15T12:22:30.023Z

sigma67 (Tue, 15 Sep 2020 13:07:11 GMT):
So I'm not sure of the best way to communicate this, but I've found an oddity with the transaction timestamps in the code of SyncService.js. It seems that the timestamp of the first transaction in the block is assigned to **all** transactions in that block. In l.486 the block timestamp is defined as the timestamp of the first tx in the block, and thereafter this variable is reused for **every tx** in the for loop starting in l. 503. It is finally committed to the database in l.631. However, each transaction actually has a unique timestamp that differs based on when it was created. See the following example for block 177 in my test blockchain, which was created by adding some logging output to SyncService.js: ``` 177 2020-09-15T12:22:28.863Z 2020-09-15T12:22:28.935Z 2020-09-15T12:22:29.000Z 2020-09-15T12:22:29.069Z 2020-09-15T12:22:29.631Z 2020-09-15T12:22:29.708Z 2020-09-15T12:22:29.796Z 2020-09-15T12:22:29.873Z 2020-09-15T12:22:29.948Z 2020-09-15T12:22:30.023Z ```

sigma67 (Tue, 15 Sep 2020 13:07:11 GMT):
So I'm not sure of the best way to communicate this, but I've found an oddity with the transaction timestamps in the code of SyncService.js. It seems that the timestamp of the first transaction in the block is assigned to **all** transactions in that block. In l.486 the block timestamp is defined as the timestamp of the first tx in the block, and thereafter this variable is reused for **every tx** in the for loop starting in l. 503. It is finally committed to the database in l.631. However, each transaction actually has a unique timestamp that differs based on when it was created. See the following example for block 177 in my test blockchain, which was created by adding some logging output to SyncService.js after modifying it to include the correct timestamps - previously the timestamps would all be equal to the first: ``` 177 2020-09-15T12:22:28.863Z 2020-09-15T12:22:28.935Z 2020-09-15T12:22:29.000Z 2020-09-15T12:22:29.069Z 2020-09-15T12:22:29.631Z 2020-09-15T12:22:29.708Z 2020-09-15T12:22:29.796Z 2020-09-15T12:22:29.873Z 2020-09-15T12:22:29.948Z 2020-09-15T12:22:30.023Z ```

sigma67 (Tue, 15 Sep 2020 13:12:47 GMT):
If someone can confirm that this is not intentional I could open an issue on JIRA and submit a PR?

jeevasang (Wed, 16 Sep 2020 05:30:27 GMT):
Please create Jira and submit a PR

jeevasang (Wed, 16 Sep 2020 05:53:11 GMT):

first-network copy.json.txt

jeevasang (Wed, 16 Sep 2020 05:53:11 GMT):

first-network copy.json.txt

jeevasang (Wed, 16 Sep 2020 05:55:30 GMT):
@bh4rtp Attached connection-profile example with the CA configuration. Please follow the same configurations.

bh4rtp (Wed, 16 Sep 2020 08:44:21 GMT):
@jeevasang appreciate your example.

tongli (Wed, 16 Sep 2020 13:16:20 GMT):
it seems to me explorer count nodes only by IP address or hostname, it wont care about the ports, that results in containers running on same host to be counted as one node.

tongli (Wed, 16 Sep 2020 13:16:35 GMT):
where can I file a bug?

sigma67 (Wed, 16 Sep 2020 13:17:10 GMT):
https://jira.hyperledger.org/

sigma67 (Wed, 16 Sep 2020 13:17:29 GMT):
What are the URLs of your nodes? For me it's working fine using a local test network set up with Docker

tongli (Wed, 16 Sep 2020 13:20:27 GMT):
@sigma67 just a second. let me pull the profile file and paste it here.

tongli (Wed, 16 Sep 2020 13:23:45 GMT):
here is the profile

tongli (Wed, 16 Sep 2020 13:25:24 GMT):
```grpcs://192.168.56.32:7004 ```

tongli (Wed, 16 Sep 2020 13:25:33 GMT):
the file is too big for rocket chat

tongli (Wed, 16 Sep 2020 13:25:41 GMT):
that is just one of the peer node.

tongli (Wed, 16 Sep 2020 13:25:52 GMT):
others look similar, the only difference is the port.

tongli (Wed, 16 Sep 2020 13:26:50 GMT):
``` "peer2.org0.example.com": { "url": "grpcs://192.168.56.32:7003", "grpcOptions": { "ssl-target-name-override": "peer2.org0.example.com" }, "tlsCACerts": { "pem": "-----BEGIN CERTIFICATE-----\nMIICgTCCAiegAwIBAgIUFk2PDKoOb7lVEnWVJ3ECRvi9sX8wCgYIKoZIzj0EAwIw\ndTELMAkGA1UEBhMCVVMxFzAVBgNVBAgMDk5vcnRoIENhcm9saW5hMRAwDgYDVQQH\nDAdSYWxlaWdoMRkwFwYDVQQKDBBvcmcwLmV4YW1wbGUuY29tMSAwHgYDVQQDDBd0\nbHNjYTEub3JnMC5leGFtcGxlLmNvbTAeFw0yMDA5MTYxMzIwMTRaFw0zMDA5MTQx\nMzIwMTRaMHUxCzAJBgNVBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEQ\nMA4GA1UEBwwHUmFsZWlnaDEZMBcGA1UECgwQb3JnMC5leGFtcGxlLmNvbTEgMB4G\nA1UEAwwXdGxzY2ExLm9yZzAuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjO\nPQMBBwNCAARr4hzKePR0sHVyYaJz+IcV483mLKzY/4w8EcbcB6lKYG6sh6YPlyC6\nyXSBRiwUHcxohsRVnOyXK9GLtuUUvRbgo4GUMIGRMB0GA1UdDgQWBBScVG3qZVLe\nRtilbK4NujeeCaFs6zAfBgNVHSMEGDAWgBScVG3qZVLeRtilbK4NujeeCaFs6zAP\nBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEF\nBQcDAQYIKwYBBQUHAwIwDwYDVR0RBAgwBocEwKg4IDAKBggqhkjOPQQDAgNIADBF\nAiASFVodgIkI1tmDGW4WYz28b9mWqJr+2b5yUXnNDQANWAIhAOdzpR4XqyP7FBzc\nHbqPaV5GuzqJmTGO7LiYb9l7IDvi\n-----END CERTIFICATE-----" } }, "peer1.org1.example.com": { "url": "grpcs://192.168.56.32:7004", "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com" }, "tlsCACerts": { "pem": "-----BEGIN CERTIFICATE-----\nMIICgTCCAiegAwIBAgIUZMfNNtSksTEFBdQ7eIRMINbGctQwCgYIKoZIzj0EAwIw\ndTELMAkGA1UEBhMCVVMxFzAVBgNVBAgMDk5vcnRoIENhcm9saW5hMRAwDgYDVQQH\nDAdSYWxlaWdoMRkwFwYDVQQKDBBvcmcxLmV4YW1wbGUuY29tMSAwHgYDVQQDDBd0\nbHNjYTEub3JnMS5leGFtcGxlLmNvbTAeFw0yMDA5MTYxMzIwMjdaFw0zMDA5MTQx\nMzIwMjdaMHUxCzAJBgNVBAYTAlVTMRcwFQYDVQQIDA5Ob3J0aCBDYXJvbGluYTEQ\nMA4GA1UEBwwHUmFsZWlnaDEZMBcGA1UECgwQb3JnMS5leGFtcGxlLmNvbTEgMB4G\nA1UEAwwXdGxzY2ExLm9yZzEuZXhhbXBsZS5jb20wWTATBgcqhkjOPQIBBggqhkjO\nPQMBBwNCAAT4aVuvrk34l7sqWzF5z0x9AawYf8++y6L6/IwzpLlC5h6RHp8Ma0J0\n6/OD4NYzJ8NQHAze7HErk0HYDMuKmqgao4GUMIGRMB0GA1UdDgQWBBS/FqRjLUgK\nrnXWF4DsvltjBHFbyDAfBgNVHSMEGDAWgBS/FqRjLUgKrnXWF4DsvltjBHFbyDAP\nBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBpjAdBgNVHSUEFjAUBggrBgEF\nBQcDAQYIKwYBBQUHAwIwDwYDVR0RBAgwBocEwKg4IDAKBggqhkjOPQQDAgNIADBF\nAiA0WF5rvmSrgK2PiueMl+/BRaChanP4AxjAobULOFo+zAIhAKBd3d4yS6/+MEMA\nnr252T+P8T57tetdwVfIfiokdArb\n-----END CERTIFICATE-----" } },```

tongli (Wed, 16 Sep 2020 13:28:14 GMT):
everything still works but on the dashboard, it should have been 4 nodes, but shows just 1 node with the IP address.

tongli (Wed, 16 Sep 2020 18:39:11 GMT):
create an issue in jira against Explorer. see the issue here. https://jira.hyperledger.org/browse/BE-829?filter=-2

nekia (Thu, 17 Sep 2020 01:48:11 GMT):
Thank you for reporting issue @tongli

nekia (Thu, 17 Sep 2020 01:55:22 GMT):
Explorer assumes that all peers are running as container on guest OS when `DISCOVERY_AS_LOCALHOST` is set to `true` and `localhost` is assigned across all peers.

nekia (Thu, 17 Sep 2020 01:55:22 GMT):
Explorer assumes that all peers are running as container on local Docker host when `DISCOVERY_AS_LOCALHOST` is set to `true` and `localhost` is assigned across all peers.

nekia (Thu, 17 Sep 2020 01:55:22 GMT):
Explorer assumes that all peers are running as container on local Docker host when `DISCOVERY_AS_LOCALHOST` is set to `true` and `localhost` is assigned across all peers as `fabric-samples/test-network` is.

bh4rtp (Thu, 17 Sep 2020 01:57:31 GMT):
it seems that explorer only accepts path configuration of tlsCACerts.

nekia (Thu, 17 Sep 2020 02:00:00 GMT):
Otherwise, Explorer will count all peers which have different port with same IP address (except 127.0.0.1, localhost) as a single peer.

nekia (Thu, 17 Sep 2020 02:02:20 GMT):
pem format is also supported by Explorer in v1.1.1 or later. FYI

bh4rtp (Thu, 17 Sep 2020 02:05:59 GMT):
i just changed all pem to path for ca profile, otherwise it reports path not configured.

bh4rtp (Thu, 17 Sep 2020 02:06:29 GMT):
1.1.2 is used.

bh4rtp (Thu, 17 Sep 2020 02:09:42 GMT):
@nekia is there an example of connection profile for fabric-ca? i still can not get explorer running for ca.

nekia (Thu, 17 Sep 2020 02:17:44 GMT):
This conversion happens inside fabric-sdk-node. [fabric-network gateway.connect DiscoveryOption settings](https://hyperledger.github.io/fabric-sdk-node/release-2.2/tutorial-discovery-fabric-network.html)

nekia (Thu, 17 Sep 2020 02:17:44 GMT):
This address mapping between localhost:port and each url happens inside fabric-sdk-node. [fabric-network gateway.connect DiscoveryOption settings](https://hyperledger.github.io/fabric-sdk-node/release-2.2/tutorial-discovery-fabric-network.html)

nekia (Thu, 17 Sep 2020 02:20:25 GMT):
We don't have example for that in our tutorial yet

nekia (Thu, 17 Sep 2020 02:21:26 GMT):
But there are some connection profiles used for our end-to-end test environment https://github.com/hyperledger/blockchain-explorer/blob/master/app/platform/fabric/e2e-test/configs/connection-profile/org1-network.json

nekia (Thu, 17 Sep 2020 02:22:42 GMT):
We might need more examples for fabric CA enabled fabric network.

nekia (Thu, 17 Sep 2020 02:27:57 GMT):
https://jira.hyperledger.org/browse/BE-830

vioking (Fri, 18 Sep 2020 16:51:16 GMT):
Has joined the channel.

tongli (Mon, 21 Sep 2020 12:26:31 GMT):
@nekia, hooked up with explorer works only when I do not use ca. When ca is configured, it won’t work. Any idea what is significant configuration parameter to watch to make explorer also work with ca node so that user management function can work?

yashumunsharma (Wed, 23 Sep 2020 12:16:29 GMT):
Has joined the channel.

yashumunsharma (Wed, 23 Sep 2020 12:16:31 GMT):
Kubernetes

yashumunsharma (Wed, 23 Sep 2020 12:36:21 GMT):
*Explorer Block syncing Issue with Kubernetes setup* *Current Configuration: * We are using latest version of explorer and version of fabric is 1.4.2 with private data collection. In network configuration, We have 3 channel network setup with 4 organization in each channel and some of them are common among them. We have created one explorer profile of an organization which is part of all the channels. *Issue:* Explorer works fine for few hours of its deployment in Kubernetes but after some time dashboard, blocks and transactions are not getting updated with the blockchain network. We have also observed that in network page ledger height is getting updated all the time but other than this nothing is getting updated. But redeploying the pods of explorer help us getting everything into sync again for some time.

nekia (Thu, 24 Sep 2020 00:14:07 GMT):
@tongli User management function doesn't require fabric ca configuration. Identities for additional users except admin have been managed with ID/PASSWORD manner.

nekia (Thu, 24 Sep 2020 00:16:32 GMT):
The configurations mentioned in the following page are mandatory to make use of fabric ca in Explorer. https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#using-fabric-ca

tongli (Thu, 24 Sep 2020 13:08:00 GMT):
@nekia so the user registration function of explorer is really just a function to register a user to use Explorer, these users have nothing to do with Fabric network itself or any CA node, is that correct?

tongli (Thu, 24 Sep 2020 13:17:55 GMT):
this bug has been filed for awhile, no activity at all.

tongli (Thu, 24 Sep 2020 13:17:57 GMT):
https://jira.hyperledger.org/browse/BE-829?filter=-2

tongli (Thu, 24 Sep 2020 13:18:04 GMT):
can someone please take a look at this?

sigma67 (Thu, 24 Sep 2020 13:20:07 GMT):
I don't think Explorer is meant to manage fabric-ca users, that's probably more within the scope of the Cello project (monitoring vs. managing/operating)

sigma67 (Thu, 24 Sep 2020 13:20:39 GMT):
Ofc it would be great to have both in one app, but right now they're two distinct projects with different goals

sigma67 (Thu, 24 Sep 2020 13:27:25 GMT):
It seems it's actually part of the project, but still in design phase: https://github.com/hyperledger/cello/issues/118 -> #cello

nekia (Thu, 24 Sep 2020 13:49:55 GMT):
Yes, that's correct.

nekia (Thu, 24 Sep 2020 13:53:36 GMT):
I left a comment, Explorer expects that peer has been assigned 127.0.0.1 in such an environment each peer is running as a container on the same host machine with Explorer.

nekia (Thu, 24 Sep 2020 13:54:02 GMT):
Is it acceptable for you to change IP address?

tongli (Thu, 24 Sep 2020 14:29:22 GMT):
@nekia, not really. It could be a multi host env.

tongli (Thu, 24 Sep 2020 14:30:12 GMT):
For example, some nodes run on one machine and some run on other machines. Ports are important part of running app, explorer should not make assumption like that.

nekia (Thu, 24 Sep 2020 22:49:53 GMT):
OK, I understand. We'll look into it.

RafaelAPB (Fri, 25 Sep 2020 15:15:14 GMT):
Has joined the channel.

RafaelAPB (Fri, 25 Sep 2020 15:15:15 GMT):
Hello all!

RafaelAPB (Fri, 25 Sep 2020 15:16:35 GMT):
Can explorer manage the different views of different users, if they are using different private data collections? In other words, can I choose between users from different orgs and see the blocks from the different channels that organization has access to?

RafaelAPB (Fri, 25 Sep 2020 15:16:35 GMT):
Can explorer manage the different views of different users, if they are using different private data collections? In other words, can I choose between users from different orgs and see the blocks from the different channels that organization has access to? @nekia perhaps you could clarify me?

nekia (Sun, 27 Sep 2020 01:45:02 GMT):
Thank you for sharing the issue. How

nekia (Sun, 27 Sep 2020 01:45:02 GMT):
Thank you for sharing the issue. How much of block height do you have in your fabric network?

nekia (Sun, 27 Sep 2020 01:45:02 GMT):
Thank you for sharing the issue. How much of blocks do you have in your fabric network?

nekia (Sun, 27 Sep 2020 06:13:56 GMT):
Explorer doesn't support private data collections.

nekia (Sun, 27 Sep 2020 06:13:56 GMT):
No, Explorer can't do that. Explorer doesn't support private data collections.

nekia (Sun, 27 Sep 2020 06:14:36 GMT):
Explorer has own user management which is nothing to do with user identity on fabric network.

nekia (Sun, 27 Sep 2020 06:17:20 GMT):
But we're working on adding ACL to our user management based on the configuration of network.

nekia (Sun, 27 Sep 2020 06:17:20 GMT):
But we're working on adding access control list which is based on the configuration of network to our user management.

nekia (Sun, 27 Sep 2020 06:17:20 GMT):
We're working on adding access control list which is based on the configuration of network to our user management.

yashumunsharma (Mon, 28 Sep 2020 08:03:19 GMT):
Hi @nekia , I have 567 blocks in my system and also on further analyzing this I have observed that sync.js process stops running after few hours of fabric network being in idle state.

yashumunsharma (Tue, 29 Sep 2020 05:26:22 GMT):

ExplorerError.txt

nekia (Tue, 29 Sep 2020 05:52:38 GMT):
Thanks

nekia (Tue, 29 Sep 2020 05:53:30 GMT):
I can't recreate the issue on my local fabric network where has 5000+ blocks.

nekia (Tue, 29 Sep 2020 05:55:32 GMT):
I'll do an evaluation on k8s environment too

Amanullah68 (Tue, 29 Sep 2020 09:34:31 GMT):

Screenshot from 2020-09-29 14-34-14.png

Amanullah68 (Tue, 29 Sep 2020 09:36:47 GMT):
How to register new user in hyperledger explorer?

Amanullah68 (Tue, 29 Sep 2020 09:36:57 GMT):

Screenshot from 2020-09-29 14-36-17.png

Amanullah68 (Tue, 29 Sep 2020 09:37:15 GMT):
Why it shows 1 peer multiples times?

RafaelAPB (Tue, 29 Sep 2020 17:42:15 GMT):
Thanks :)

bh4rtp (Wed, 30 Sep 2020 00:13:50 GMT):
i cannot register new user either.

nekia (Wed, 30 Sep 2020 07:16:35 GMT):
You seem to be using old version of Explorer. You need to use the latest version which enabled user management feature.

nekia (Wed, 30 Sep 2020 07:17:11 GMT):
Which version of Explorer are you using?

yashumunsharma (Wed, 30 Sep 2020 07:22:52 GMT):
Hi @nekia , On further investigation, I have observed that the issue is when I have memory crunch. Previously, my observation was that it was occurring after some idle time but its happening when I am left with lesser RAM(100MB-200MB).

jeevasang (Wed, 30 Sep 2020 09:55:32 GMT):

jeevasang (Wed, 30 Sep 2020 09:55:32 GMT):
Explorer v1.1.3 has been released!

Amanullah68 (Thu, 01 Oct 2020 05:24:14 GMT):
I'm using version 1.0.0

Amanullah68 (Thu, 01 Oct 2020 05:24:20 GMT):
of Explorer

benmarwen (Thu, 01 Oct 2020 17:05:22 GMT):
Has joined the channel.

benmarwen (Thu, 01 Oct 2020 17:05:23 GMT):
hey folks , im getting this error when 'npm run start' TypeError: Cannot read property 'charAt' of undefined

benmarwen (Thu, 01 Oct 2020 17:06:27 GMT):
im using it with iroha (iroha-integration branch)

dgt1nsty (Fri, 02 Oct 2020 14:23:40 GMT):
Has joined the channel.

maniankara (Sun, 04 Oct 2020 19:25:15 GMT):
Has joined the channel.

sigma67 (Mon, 05 Oct 2020 09:18:44 GMT):
Two comments regarding the typescript migration: 1) typescript is not yet a dependency and 2) it seems the "npm run build" needs to be added to the main.sh install script, so it runs the necessary Typescript compilation After I did those 2 steps it worked for me :)

sigma67 (Mon, 05 Oct 2020 09:18:44 GMT):
One small comment regarding the typescript migration. It seems the "npm run build" needs to be added to the main.sh install script, so it runs the necessary Typescript compilation. After I did that it worked for me :)

nekia (Tue, 06 Oct 2020 07:16:38 GMT):
You're right. Thanks. We'll update it later on. Currently user needs to do like that or do command like `npm run start`.

bh4rtp (Thu, 08 Oct 2020 23:39:10 GMT):
i am using 1.1.2.

bh4rtp (Mon, 12 Oct 2020 14:30:16 GMT):
@nekia 1.1.3 is updated. and the ui looks better than 1.1.2, i.e. multi-lines orgs display.

bh4rtp (Tue, 13 Oct 2020 00:26:12 GMT):
I am using 1.1.3, it still reports ACL error when query instantiated chaincodes: ```explorer.example.com | [2020-10-13T00:19:26.922] [INFO] FabricGateway - queryInstantiatedChaincodes salech explorer.example.com | [2020-10-13T00:19:26.952] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> explorer.example.com | [2020-10-13T00:19:26.952] [ERROR] Sync - Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]```

bh4rtp (Tue, 13 Oct 2020 00:26:12 GMT):
I am using 1.1.3, it still reports ACL error when query instantiated chaincodes: ```explorer.example.com | [2020-10-13T00:19:26.922] [INFO] FabricGateway - queryInstantiatedChaincodes mychannel explorer.example.com | [2020-10-13T00:19:26.952] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> explorer.example.com | [2020-10-13T00:19:26.952] [ERROR] Sync - Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]```

bh4rtp (Tue, 13 Oct 2020 00:27:41 GMT):
@nekia I configured the explorer with ca.

BabuGali (Tue, 13 Oct 2020 05:52:53 GMT):
Has joined the channel.

BabuGali (Tue, 13 Oct 2020 05:52:53 GMT):
Hi, hyperledger-explorer support fabric 2.0

pouya (Tue, 13 Oct 2020 08:44:16 GMT):
hi every one. I am using Explorer v1.1.3 containerized with Fabric 1.4.7 and it is my view: 1- users need to have the ability to change their passwords. 2- sometimes Explorer doesn't work properly although has no error log. (it only shows peer nodes and need to restart the container multiple times to works properly) 3- explorer should works without having channel section in its connection.json and should collects channel information by itself. 4- the chaincode section is not working properly. (chaincode instantiated on channel "a" also is shown in channel "b") @nekia

pouya (Tue, 13 Oct 2020 08:44:16 GMT):
hi every one. I am using Explorer v1.1.3 containerized with Fabric 1.4.7 and it is my view: 1- users need to have the ability to change their passwords. 2- sometimes Explorer doesn't work properly in the starting time, although has no error log. (it only shows peer nodes and need to restart the container multiple times to works properly) 3- explorer should works without having channel section in its connection.json and should collects channel information by itself. 4- the chaincode section is not working properly. (chaincode instantiated on channel "a" also is shown in channel "b") @nekia

sigma67 (Tue, 13 Oct 2020 16:19:44 GMT):
Regarding 2), there are definitely error logs available in the `logs` folder

VincentMa 2 (Wed, 14 Oct 2020 04:50:48 GMT):

1061602646726_.pic_hd.jpg

VincentMa 2 (Wed, 14 Oct 2020 04:51:17 GMT):

1071602646727_.pic_hd.jpg

pouya (Thu, 15 Oct 2020 09:28:22 GMT):
the only error I see is: ```error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Committer- name: org1.orderer:7050, url:grpcs://org1.orderer:7050, connected:false, connectAttempted:true``` that means it can't connect to the orderer; I ping the orderer from the explorer container and it is ok! do you have any idea how I can fix it?

dustinle2309 (Thu, 15 Oct 2020 09:57:20 GMT):

Clipboard - October 15, 2020 4:57 PM

dustinle2309 (Thu, 15 Oct 2020 09:57:22 GMT):
Has joined the channel.

dustinle2309 (Thu, 15 Oct 2020 09:57:22 GMT):
Hi, This is my fault project. I use hyperledger v1.4.4 and explorer is v.1.1.2

skulos (Thu, 15 Oct 2020 10:16:13 GMT):
Has joined the channel.

nekia (Fri, 16 Oct 2020 05:40:21 GMT):
This error does not always cause crash of Explorer. I can see this log when Explorer is working fine.

nekia (Fri, 16 Oct 2020 05:41:21 GMT):
Of course, we need to look into this issue.

nekia (Fri, 16 Oct 2020 05:42:00 GMT):
At the same time, I'm expecting this error will get fixed by the following JIRA.

nekia (Fri, 16 Oct 2020 05:42:00 GMT):
At the same time, I'm a little bit expecting this error will get fixed by the following fabric-sdk-node JIRA.

nekia (Fri, 16 Oct 2020 05:42:03 GMT):
https://jira.hyperledger.org/browse/FABN-1646

nekia (Fri, 16 Oct 2020 05:48:51 GMT):
Please refer the following comment https://chat.hyperledger.org/channel/hyperledger-explorer?msg=GWSfSmEXjB6McrkrC

nekia (Fri, 16 Oct 2020 10:57:35 GMT):
it's type of channel header in transaction.

nekia (Fri, 16 Oct 2020 11:00:09 GMT):
Thanks. Created a new JIRA for 1).

nekia (Fri, 16 Oct 2020 11:00:11 GMT):
https://jira.hyperledger.org/browse/BE-841

nekia (Fri, 16 Oct 2020 11:04:12 GMT):
3) I believe fabric-sdk-node which explorer deeply depends on has a requirement specifying at least 1 channel in connection profile.

nekia (Fri, 16 Oct 2020 11:09:37 GMT):
4) are you using different chaincode for each channel?

nekia (Fri, 16 Oct 2020 11:13:28 GMT):
Do you configure all 4 required settings, in particular affiliation, in your connection profile?

nekia (Fri, 16 Oct 2020 11:13:28 GMT):
Do you appropriately configure all 4 required settings, in particular affiliation, in your connection profile?

RafaelAPB (Fri, 16 Oct 2020 19:11:49 GMT):
Has left the channel.

bh4rtp (Sat, 17 Oct 2020 08:59:27 GMT):
@nekia now it is ok. i think it is because of wrong setting of crypto.

narendranathreddy (Sat, 17 Oct 2020 19:50:28 GMT):
Has joined the channel.

narendranathreddy (Sat, 17 Oct 2020 20:27:35 GMT):
Hey I have been experiencing some weird issues with hyperledger fabric explorer

narendranathreddy (Sat, 17 Oct 2020 20:27:47 GMT):
the peer is configured with mTLS

narendranathreddy (Sat, 17 Oct 2020 20:28:49 GMT):
explorer side iam able to configure mTLS setting and for initial 10 requests seems ok peer is responding for discovery calls and endorser calls

narendranathreddy (Sat, 17 Oct 2020 20:29:09 GMT):
suddenly after sometime TLS handshake issues are popping up

narendranathreddy (Sat, 17 Oct 2020 20:29:30 GMT):
seems like mTLS functionality is not implemented properly in the explorer side

narendranathreddy (Sat, 17 Oct 2020 20:29:47 GMT):
Any explorer maintainers here ?

narendranathreddy (Sun, 18 Oct 2020 04:20:29 GMT):
I found this https://github.com/hyperledger/blockchain-explorer/pull/197

narendranathreddy (Sun, 18 Oct 2020 04:20:36 GMT):
seems like this is the fix

lcxlcxlcx5800 (Sun, 18 Oct 2020 08:20:30 GMT):
Has joined the channel.

dustinle2309 (Sun, 18 Oct 2020 11:15:22 GMT):

Clipboard - October 18, 2020 6:15 PM

dustinle2309 (Sun, 18 Oct 2020 11:16:14 GMT):
Hi every body, I have this bug when I am running blockchain-explorer. How to fix this bug? Pls, help me.

skulos (Sun, 18 Oct 2020 12:48:12 GMT):
Think it's in your network configs

pouya (Sun, 18 Oct 2020 13:06:23 GMT):
hi please send your `firs-network.json` file

pouya (Sun, 18 Oct 2020 13:06:23 GMT):
hi please send your `firsف-network.json` file

pouya (Sun, 18 Oct 2020 13:06:23 GMT):
hi please send your `first-network.json` file

pouya (Sun, 18 Oct 2020 13:17:47 GMT):
thanks @nekia for 3) is it possible to use the `orderer-system-channel` ? 4) no I use a chaincode in one channel and no chaincode in the other one.

dustinle2309 (Sun, 18 Oct 2020 13:27:58 GMT):
@skulos

dustinle2309 (Sun, 18 Oct 2020 13:32:05 GMT):

Clipboard - October 18, 2020 8:32 PM

dustinle2309 (Sun, 18 Oct 2020 13:32:17 GMT):
Do you have meet this bug?

pouya (Sun, 18 Oct 2020 13:33:01 GMT):
are you using Docker?

dustinle2309 (Sun, 18 Oct 2020 13:33:33 GMT):
Yes, I am using docker

pouya (Sun, 18 Oct 2020 13:34:07 GMT):
remove the "command" section from your yml

dustinle2309 (Sun, 18 Oct 2020 13:37:03 GMT):
I removed. But I can see anything in local

dustinle2309 (Sun, 18 Oct 2020 13:37:03 GMT):
I removed. But I cannot see anything in local

dustinle2309 (Sun, 18 Oct 2020 13:37:06 GMT):

Clipboard - October 18, 2020 8:37 PM

pouya (Sun, 18 Oct 2020 13:38:33 GMT):
which version of explorer are you using?

dustinle2309 (Sun, 18 Oct 2020 13:38:47 GMT):
1.1.2

dustinle2309 (Sun, 18 Oct 2020 13:38:58 GMT):
is there any bug in version?

pouya (Sun, 18 Oct 2020 13:39:30 GMT):
try updating to the latest version

dustinle2309 (Sun, 18 Oct 2020 13:40:16 GMT):
Oke. I try it again. Hope everything will be oke.

dustinle2309 (Sun, 18 Oct 2020 14:14:08 GMT):

Clipboard - October 18, 2020 9:13 PM

dustinle2309 (Sun, 18 Oct 2020 14:14:36 GMT):
@pouya r u here ?

nekia (Sun, 18 Oct 2020 22:31:52 GMT):
As you can see in the log, Explorer can't find crypto artifacts. It seems to be a miss configuration of your connection profile and/or docker-compose.yaml. Please make sure that the path to crypto artifacts in connection profile align with the path to the volume you mounted for crypto via docker-compose.yaml.

rohithkumar (Mon, 19 Oct 2020 17:59:18 GMT):
Has joined the channel.

rohithkumar (Mon, 19 Oct 2020 18:14:19 GMT):
hi can anyone help me with this error

rohithkumar (Mon, 19 Oct 2020 18:14:22 GMT):

Clipboard - October 19, 2020 11:44 PM

rohithkumar (Mon, 19 Oct 2020 18:15:22 GMT):
am using explorer 1.1.0

rohithkumar (Mon, 19 Oct 2020 18:15:36 GMT):
even i tried latest versions also but no useful

rohithkumar (Mon, 19 Oct 2020 18:15:40 GMT):
the same error

nekia (Tue, 20 Oct 2020 14:26:22 GMT):
Please make sure that Explorer container is joining you the same network with peers. @rohithkumar

nekia (Tue, 20 Oct 2020 14:26:22 GMT):
Please make sure that Explorer container is joining to the same network with peers. @rohithkumar

nekia (Tue, 20 Oct 2020 14:26:22 GMT):
Please make sure that Explorer container is joining to the same network with peers. `docker network inspect [your network name]` @rohithkumar

dustinle2309 (Wed, 21 Oct 2020 04:17:33 GMT):

Clipboard - October 21, 2020 11:17 AM

dustinle2309 (Wed, 21 Oct 2020 04:18:00 GMT):
I don't know why it always get this error.

dustinle2309 (Wed, 21 Oct 2020 04:18:27 GMT):
{ "name": "first-network", "version": "1.0.0", "license": "Apache-2.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } }

dustinle2309 (Wed, 21 Oct 2020 04:19:26 GMT):

Clipboard - October 21, 2020 11:19 AM

dustinle2309 (Wed, 21 Oct 2020 04:23:30 GMT):
{ "name": "first-network", "version": "1.0.0", "license": "Apache-2.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } }

dustinle2309 (Wed, 21 Oct 2020 04:23:45 GMT):
this is my first-network.json

dustinle2309 (Wed, 21 Oct 2020 04:24:00 GMT):

Screen Shot 2020-10-21 at 11.19.14 AM.png

dustinle2309 (Wed, 21 Oct 2020 04:24:11 GMT):
I got new error here

dustinle2309 (Wed, 21 Oct 2020 04:45:35 GMT):
{ "name": "first-network", "version": "1.0.0", "license": "Apache-2.0", "client": { "tlsEnable": true, "adminUser": "admin", "adminPassword": "adminpw", "enableAuthentication": false, "organization": "Org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "fullpath": true, "adminPrivateKey": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "signedCert": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/Users/dusk/blockchain-explorer/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls" }, "url": "grpcs://localhost:7051", "eventUrl": "grpcs://localhost:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } } this is my first-network.json

pouya (Wed, 21 Oct 2020 07:46:31 GMT):
try updating it to this format: https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/connection-profile/first-network.json

BauyrzhanIbraimov (Wed, 21 Oct 2020 16:56:17 GMT):
Has joined the channel.

BauyrzhanIbraimov (Wed, 21 Oct 2020 16:56:18 GMT):
Hello, I am facing strange issue, when transaction is submitted and finalised, the transaction will appear twice on the explorer.

rohithkumar (Sat, 24 Oct 2020 09:58:24 GMT):
it is joined to the network.. am able to ping the peer container

rohithkumar (Sat, 24 Oct 2020 10:04:39 GMT):

Clipboard - October 24, 2020 3:34 PM

nekia (Sat, 24 Oct 2020 12:29:34 GMT):
Thank you for update. Ok. Can you see any log on your peer (manufacturerpeer0) when you get an error on Explorer? @rohithkumar

rohithkumar (Sat, 24 Oct 2020 16:28:22 GMT):
no i dont see any log on manufacturerpeer0

RushanEdirisuriya (Mon, 26 Oct 2020 06:30:11 GMT):
Has joined the channel.

RushanEdirisuriya (Mon, 26 Oct 2020 06:30:12 GMT):
Error: DiscoveryService: mychannel error: access denied i am getting this error when starting hyperledger explorer can any one tell me what mistake i have done?

nekia (Mon, 26 Oct 2020 09:17:43 GMT):
Can you share your `docker-compose.yaml`, connection profile and app log `/opt/explorer/logs/app/app.log`?

nekia (Mon, 26 Oct 2020 09:17:43 GMT):
Can you share your `docker-compose.yaml`, connection profile and app log `/opt/explorer/logs/app/app.log`? @rohithkumar

nekia (Mon, 26 Oct 2020 09:24:10 GMT):
Can you share the screenshot of when you have the issue?

nekia (Mon, 26 Oct 2020 09:27:09 GMT):
Can you share the following information? * What version of fabric, explorer you're using * Docker container or bring up from source

nekia (Mon, 26 Oct 2020 09:27:09 GMT):
Can you share the following information? * What version of fabric, explorer you're using * Docker container or bring up from source * log `logs/`

nekia (Mon, 26 Oct 2020 09:27:09 GMT):
Can you share the following information? * What version of fabric, explorer you're using * Docker container or bring up from source * log `logs/` * your connection profile

rohithkumar (Mon, 26 Oct 2020 12:48:16 GMT):
{ "name": "tt-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" }, "enableAuthentication": false, "organization": "ManufacturerMSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "channelall": { "peers": { "peer0.manufacturer.tracktrace.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "ManufacturerMSP": { "mspid": "ManufacturerMSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/manufacturer.tracktrace.com/users/Admin@manufacturer.tracktrace.com/msp/keystore/83ce161160ae5207d33afe1468579342a2e2459cb39a51bc3778c30ad9cfeb59_sk" }, "peers": ["peer0.manufacturer.tracktrace.com"], "signedCert": { "path": "/tmp/crypto/peerOrganizations/manufacturer.tracktrace.com/users/Admin@manufacturer.tracktrace.com/msp/signcerts/Admin@manufacturer.tracktrace.com-cert.pem" } } }, "peers": { "peer0.manufacturer.tracktrace.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/manufacturer.tracktrace.com/peers/peer0.manufacturer.tracktrace.com/tls/ca.crt" }, "url": "grpcs://peer0.manufacturer.tracktrace.com:7051", "eventUrl": "grpcs://peer0.manufacturer.tracktrace.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.manufacturer.tracktrace.com", "hostnameOverride": "peer0.manufacturer.tracktrace.com" } } } }

rohithkumar (Mon, 26 Oct 2020 12:48:34 GMT):
Docker_Compose file

rohithkumar (Mon, 26 Oct 2020 12:48:37 GMT):
version: '2.1' volumes: pgdata: walletstore: networks: mynetwork.com: external: name: fabric services: explorerdb.mynetwork.com: image: hyperledger/explorer-db:latest container_name: explorerdb.mynetwork.com hostname: explorerdb.mynetwork.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password healthcheck: test: "pg_isready -h localhost -p 5432 -q -U postgres" interval: 30s timeout: 10s retries: 5 volumes: - pgdata:/var/lib/postgresql/data networks: - mynetwork.com explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - LOG_LEVEL_APP=debug - LOG_LEVEL_DB=debug - LOG_LEVEL_CONSOLE=info - LOG_CONSOLE_STDOUT=true - DISCOVERY_AS_LOCALHOST=false - CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=fabric volumes: - ./config.json:/opt/explorer/app/platform/fabric/config.json - ./connection-profile:/opt/explorer/app/platform/fabric/connection-profile - ./crypto:/tmp/crypto - walletstore:/opt/wallet ports: - 8080:8080 depends_on: explorerdb.mynetwork.com: condition: service_healthy networks: - mynetwork.com

rohithkumar (Mon, 26 Oct 2020 12:50:45 GMT):
app.log

rohithkumar (Mon, 26 Oct 2020 12:51:00 GMT):

rohithkumar - Mon Oct 26 2020 18:20:52 GMT+0530 (India Standard Time).txt

rohithkumar (Mon, 26 Oct 2020 12:57:57 GMT):

rohithkumar - Mon Oct 26 2020 18:27:44 GMT+0530 (India Standard Time).txt

nekia (Tue, 27 Oct 2020 05:52:39 GMT):
Thanks. Can you make sure that ping from explorer container to `peer0.manufacturer.tracktrace.com` container is working correctly? I know you did it for `manufacturerpeer0` last time.

rohithkumar (Tue, 27 Oct 2020 15:18:26 GMT):
both are aliases

rohithkumar (Tue, 27 Oct 2020 15:20:24 GMT):
able to ping with both the names as well as i tried with direct ip to ping the peer0 container...

rohithkumar (Tue, 27 Oct 2020 15:21:48 GMT):
which is working

rohithkumar (Tue, 27 Oct 2020 15:22:04 GMT):
but explorer is not working

nekia (Tue, 27 Oct 2020 23:41:33 GMT):
Ok, thanks.

nekia (Tue, 27 Oct 2020 23:42:20 GMT):
Can you make sure peer0 is listening on 7051 port?

rohithkumar (Wed, 28 Oct 2020 15:14:43 GMT):
yes it is running on 7051 port ...am connecting rest api on the same port .. if u have any command to show u ... it is running on 7051 port

rohithkumar (Wed, 28 Oct 2020 15:27:30 GMT):

Clipboard - October 28, 2020 8:57 PM

nekia (Thu, 29 Oct 2020 07:32:50 GMT):
``` diff --git a/docker-compose.yaml b/docker-compose.yaml index 3523629..ce02eee 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -42,9 +42,10 @@ services: - DATABASE_PASSWD=password - LOG_LEVEL_APP=debug - LOG_LEVEL_DB=debug - - LOG_LEVEL_CONSOLE=info + - LOG_LEVEL_CONSOLE=debug - LOG_CONSOLE_STDOUT=true - DISCOVERY_AS_LOCALHOST=false + - HFC_LOGGING={"debug":"console","info":"console"} volumes: - ./examples/net1/config.json:/opt/explorer/app/platform/fabric/config.json - ./examples/net1/connection-profile:/opt/explorer/app/platform/fabric/connection-profile ```

nekia (Thu, 29 Oct 2020 07:34:16 GMT):
Above

nekia (Thu, 29 Oct 2020 07:34:16 GMT):
With this configuration change in your docker-compose.yaml, you can get more additional log in docker logs output.

nekia (Thu, 29 Oct 2020 07:36:25 GMT):
Can you try again with this configuration and share your log if possible? @rohithkumar

BauyrzhanIbraimov (Thu, 29 Oct 2020 15:04:39 GMT):

Clipboard - October 29, 2020 7:04 PM

BauyrzhanIbraimov (Thu, 29 Oct 2020 15:04:59 GMT):
@nekia

BauyrzhanIbraimov (Thu, 29 Oct 2020 15:05:23 GMT):
I

BauyrzhanIbraimov (Thu, 29 Oct 2020 15:06:14 GMT):
Hello. Is there way to retrieve private data from hyperledger fabric with explorer? CU

BauyrzhanIbraimov (Thu, 29 Oct 2020 15:06:14 GMT):
Hello. Is there way to retrieve private data from hyperledger fabric with explorer? Currently it shows only shows the public data

BauyrzhanIbraimov (Thu, 29 Oct 2020 15:06:14 GMT):
Hello. Is there way to retrieve private data from hyperledger fabric with explorer? Currently it shows only public data

ahm89 (Thu, 29 Oct 2020 15:45:13 GMT):
Has joined the channel.

rohithkumar (Thu, 29 Oct 2020 16:27:14 GMT):

rohithkumar - Thu Oct 29 2020 21:56:59 GMT+0530 (India Standard Time).txt

nekia (Fri, 30 Oct 2020 01:25:31 GMT):
No, there is no way retrieving PDC from explorer.

nekia (Fri, 30 Oct 2020 06:40:09 GMT):
Sorry for inconvenience. Please add more environment values to your docker-compose.yaml to retrieve log regarding `grpc`.

nekia (Fri, 30 Oct 2020 06:40:22 GMT):
``` @@ -46,10 +46,12 @@ services: - LOG_CONSOLE_STDOUT=true - DISCOVERY_AS_LOCALHOST=false - HFC_LOGGING={"debug":"console","info":"console"} + - GRPC_VERBOSITY=DEBUG + - GRPC_TRACE=all ```

nekia (Fri, 30 Oct 2020 06:40:46 GMT):
@rohithkumar

rohithkumar (Fri, 30 Oct 2020 15:41:01 GMT):

rohithkumar - Fri Oct 30 2020 21:10:45 GMT+0530 (India Standard Time).txt

nekia (Sat, 31 Oct 2020 04:53:25 GMT):
Thanks. ``` explorer.mynetwork.com | 2020-10-30T15:38:40.557Z | subchannel | 10.0.1.52:7051 connection closed with error unsupported certificate purpose explorer.mynetwork.com | 2020-10-30T15:38:40.557Z | subchannel | 10.0.1.52:7051 CONNECTING -> TRANSIENT_FAILURE ```

nekia (Sat, 31 Oct 2020 04:56:54 GMT):
There seem to be a certificate issue. Please make sure that the certificate is referable correctly on the Explorer container. @rohithkumar

rohithkumar (Sat, 31 Oct 2020 10:28:51 GMT):
refering the same certificate which generated for fabric...and the certificate is also placed in the correct path....

rohithkumar (Sun, 01 Nov 2020 12:17:24 GMT):
I think you need to rebuild the docker images with the latest changes in git.. so that this certificate checking version is backward compatible

nekia (Sun, 01 Nov 2020 13:20:04 GMT):
What version of cryptogen are you using when creating your crypto artifacts?

rohithkumar (Sun, 01 Nov 2020 13:21:32 GMT):
am using 1.4.4 fabric... might be there is mis configuration of cryptogen

rohithkumar (Sun, 01 Nov 2020 13:21:39 GMT):
what version do explorer supports

rohithkumar (Sun, 01 Nov 2020 13:21:56 GMT):
i cant change certificates of fabric now for explorer

nekia (Sun, 01 Nov 2020 13:29:27 GMT):
https://jira.hyperledger.org/browse/BE-768?focusedCommentId=69657&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-69657

nekia (Sun, 01 Nov 2020 13:30:43 GMT):
The same issue has already been reported.

rohithkumar (Sun, 01 Nov 2020 13:31:24 GMT):
yes..but do the fix is updated in the docker image of 1.1.3

rohithkumar (Sun, 01 Nov 2020 13:33:22 GMT):

Clipboard - November 1, 2020 7:02 PM

rohithkumar (Sun, 01 Nov 2020 13:33:34 GMT):
do my understanding right?

nekia (Sun, 01 Nov 2020 13:38:03 GMT):
The solution for the issue BE-768 I pointed above is updating cryptogen tool to v1.4.0 or later.

nekia (Sun, 01 Nov 2020 13:38:54 GMT):
I guess the issue you're facing now is nothing to do with the recent changes.

rohithkumar (Sun, 01 Nov 2020 13:39:07 GMT):
it should be backward compatible... when fabric is running with backward compatible certificates...

nekia (Sun, 01 Nov 2020 13:43:37 GMT):
it's a compatibility issue of node.js. In Node.js v10 or later, version of openssl seems to be updated to v1.1.

rohithkumar (Sun, 01 Nov 2020 13:45:07 GMT):
ok then i need to regenerate the certificates using latest cryptogen and try for explorer?

nekia (Sun, 01 Nov 2020 13:45:51 GMT):
Old format of certificate generated by old cryptgen is not allowed in openssl v1.1 or later.

nekia (Sun, 01 Nov 2020 13:46:02 GMT):
Yes

rohithkumar (Sun, 01 Nov 2020 13:46:59 GMT):
ok will try

rohithkumar (Sun, 01 Nov 2020 13:47:32 GMT):
thanks for the support and will come back if i face any issues

nekia (Sun, 01 Nov 2020 13:48:18 GMT):
:thumbsup:

AnandhakumarPalanisamy (Mon, 02 Nov 2020 12:34:29 GMT):
Has joined the channel.

AnandhakumarPalanisamy (Mon, 02 Nov 2020 12:34:29 GMT):
Dear all, I have a doubt regarding the *minimum system requirements for hyperledger explorer*. I am using a system with 4GB RAM and 80 GB SSD. I am using the hyperledger explorer docker images with tag 1.1.2 *When I run the _top_ command* , I see a process with random name consuming 197% of CPU and 60% of memory (https://user-images.githubusercontent.com/30879156/97715100-46477d80-1ac2-11eb-92a3-a121e512d81e.png) *output of _docker stats_: *shows hyperleger explorer db service is consuming 197 % of CPU and 60% of memory (https://user-images.githubusercontent.com/30879156/97715625-ebfaec80-1ac2-11eb-993c-2e5c15b391ed.png) I am not sure whether that random process is linked with hyperledger_explorer_db container. If I remove the hyperledger explorer services, the random process disappears and CPU utilization and memory becomes normal . I initially thought my system was under DDoS Trojan attacks as specified here https://admin-ahead.com/forum/server-security-hardening/unix-trojan-ddos_xor-1-chinese-chicken-multiplatform-dos-botnets-trojan/ But now i doubt that the random process is linked with hyperledger explorer db. Why hyperledger explorer db docker container is starting a random process in the host machine and consumes 190 % of CPU and 60 % memory. ? I would require help for the following questions : - Does anyone have experienced this behavior when using hyperledger explorer ? - Is this a normal behaviour of hyperledger explorer db docker services to consume this much CPU and memory ? - What is the minimum system requirements to run hyperledger explorer docker services Thanks & regards, Anand

AnandhakumarPalanisamy (Mon, 02 Nov 2020 12:34:29 GMT):
Dear all, I have a doubt regarding the *minimum system requirements for hyperledger explorer*. I am using a system with 4GB RAM and 80 GB SSD. I am using the hyperledger explorer docker images with tag 1.1.2 *When I run the _top_ command* , I see a process with random name consuming 197% of CPU and 60% of memory (https://user-images.githubusercontent.com/30879156/97715100-46477d80-1ac2-11eb-92a3-a121e512d81e.png) *output of _docker stats_: *shows hyperleger explorer db service is consuming 197 % of CPU and 60% of memory (https://user-images.githubusercontent.com/30879156/97715625-ebfaec80-1ac2-11eb-993c-2e5c15b391ed.png) I am not sure whether that random process is linked with hyperledger_explorer_db container. If I remove the hyperledger explorer services, the random process disappears and CPU utilization and memory becomes normal . I initially thought my system was under DDoS Trojan attacks as specified here https://admin-ahead.com/forum/server-security-hardening/unix-trojan-ddos_xor-1-chinese-chicken-multiplatform-dos-botnets-trojan/ But now i doubt that the random process is linked with hyperledger explorer db. *I would require help for the following questions : * - Why hyperledger explorer db docker container is starting a random process in the host machine and consumes 190 % of CPU and 60 % memory? Has anyone experienced this behavior when using hyperledger explorer ? - Is this a normal behaviour of hyperledger explorer db docker services to consume this much CPU and memory ? - What is the minimum system requirements to run hyperledger explorer docker services Thanks & regards, Anand

Asthay971234 (Thu, 05 Nov 2020 06:09:00 GMT):
Has joined the channel.

randyshu (Fri, 06 Nov 2020 09:23:03 GMT):
Has joined the channel.

randyshu (Fri, 06 Nov 2020 09:23:29 GMT):

Clipboard - 2020年11月6日下午5点23分

randyshu (Fri, 06 Nov 2020 09:24:19 GMT):
it seems hung and can't access localhost:8080, what's the problem?

arsulegai (Sat, 07 Nov 2020 10:16:07 GMT):
Has joined the channel.

carlosalca (Wed, 11 Nov 2020 08:13:21 GMT):
Hi everyone! Does anybody know how to deny a user from seeing the content of other users ? I've thinking about putting each user on its own channel but I think the discovery service makes that with one connection profile you can see all the channels, is there any way to disable the discovery-service ?

lyp830414 (Thu, 12 Nov 2020 11:45:53 GMT):
Has joined the channel.

lyp830414 (Thu, 12 Nov 2020 11:45:53 GMT):
Excuse me, who can help me ?( About: my hyperledger blockchain explorer could not successfully running by HTTPS)

spartucus (Fri, 13 Nov 2020 06:49:59 GMT):
Has joined the channel.

nekia (Sat, 14 Nov 2020 13:53:11 GMT):
What version of node.js are you using? @randyshu

nekia (Sat, 14 Nov 2020 13:59:43 GMT):
Currently we don't have any options to disable discovery service. But it might be worthwhile considering to have that kind option in explorer configuration. @carlosalca

nekia (Sat, 14 Nov 2020 14:00:25 GMT):
What kind of error do you have? @lyp830414

randyshu (Mon, 16 Nov 2020 06:07:56 GMT):
v10.15.3

reviz0r (Mon, 16 Nov 2020 20:25:30 GMT):
Has joined the channel.

asiena (Fri, 20 Nov 2020 09:43:54 GMT):
Has joined the channel.

asiena (Fri, 20 Nov 2020 09:43:54 GMT):
Hi all. I've seen this question come up previously, but I can't seem to find a good answer to it. Has anyone successfully configured Hyperledger Explorer to work with an existing network deployed on IBM Blockchain Platform? And if so, is this process documented anywhere?

asiena (Fri, 20 Nov 2020 09:43:54 GMT):
Hi all. I've seen this question come up previously, but I can't seem to find a good answer to it. Has anyone successfully configured Hyperledger Explorer to work with an existing network deployed on IBM Blockchain Platform (IBP)? And if so, is this process documented anywhere?

akshay.sood (Fri, 20 Nov 2020 14:59:08 GMT):
Hey guys I am trying to run Hyperledger Explorer on a network running on IBM Blockchain Platform. The peer is running on port 443. The application is throwing error ```[2020-11-20T14:57:26.551] [ERROR] FabricClient - Error: Missing port parameter explorer.mynetwork.com | at module.exports.checkParameter (/opt/explorer/node_modules/fabric-common/lib/Utils.js:631:8) explorer.mynetwork.com | at DiscoveryService._buildUrl (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:663:58) explorer.mynetwork.com | at DiscoveryService._buildPeer (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:633:20) explorer.mynetwork.com | at DiscoveryService._processPeers (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:553:15) explorer.mynetwork.com | at DiscoveryService._processMembership (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:505:42) explorer.mynetwork.com | at DiscoveryService.send (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:334:55) explorer.mynetwork.com | at process._tickCallback (internal/process/next_tick.js:68:7)``` when I use specify port 443 in my connection profile. However, if I replace the port with 7051 (which is incorrect), the port is accepted

akshay.sood (Fri, 20 Nov 2020 14:59:08 GMT):
Hi guys I am trying to run Hyperledger Explorer on a network running on the IBM Blockchain Platform. The peer is running on port 7051. The application is throwing an error when I use specify port 7051 in my connection profile. ```[2020-11-20T14:57:26.551] [ERROR] FabricClient - Error: Missing port parameter explorer.mynetwork.com | at module.exports.checkParameter (/opt/explorer/node_modules/fabric-common/lib/Utils.js:631:8) explorer.mynetwork.com | at DiscoveryService._buildUrl (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:663:58) explorer.mynetwork.com | at DiscoveryService._buildPeer (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:633:20) explorer.mynetwork.com | at DiscoveryService._processPeers (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:553:15) explorer.mynetwork.com | at DiscoveryService._processMembership (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:505:42) explorer.mynetwork.com | at DiscoveryService.send (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:334:55) explorer.mynetwork.com | at process._tickCallback (internal/process/next_tick.js:68:7)``` I have specified the port number along with the peer url already ```"peers": { "xx-xx-xx-peer-x": { "url": "grpcs://xx-xx-xx-peer-x:7051", "tlsCACerts": { "path": "/opt/explorer/app/platform/fabric/certs/peer1.crt" }, "grpcOptions": { "ssl-target-name-override": "xx-xx-xx-peer-x" } } }```

akshay.sood (Fri, 20 Nov 2020 14:59:08 GMT):
Hi guys I am trying to run Hyperledger Explorer on a network running on the IBM Blockchain Platform. The peer is running on port 7051. The application is throwing an error when I use specify port 7051 in my connection profile. ```[2020-11-20T14:57:26.551] [ERROR] FabricClient - Error: Missing port parameter explorer.mynetwork.com | at module.exports.checkParameter (/opt/explorer/node_modules/fabric-common/lib/Utils.js:631:8) explorer.mynetwork.com | at DiscoveryService._buildUrl (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:663:58) explorer.mynetwork.com | at DiscoveryService._buildPeer (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:633:20) explorer.mynetwork.com | at DiscoveryService._processPeers (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:553:15) explorer.mynetwork.com | at DiscoveryService._processMembership (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:505:42) explorer.mynetwork.com | at DiscoveryService.send (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:334:55) explorer.mynetwork.com | at process._tickCallback (internal/process/next_tick.js:68:7)``` I have specified the port number along with the peer url already ```"peers": { "xx-xx-xx-peer-x": { "url": "grpcs://xx-xx-xx-peer-x:443", "tlsCACerts": { "path": "/opt/explorer/app/platform/fabric/certs/peer1.crt" }, "grpcOptions": { "ssl-target-name-override": "xx-xx-xx-peer-x" } } }```

akshay.sood (Fri, 20 Nov 2020 14:59:08 GMT):
Hi guys I am trying to run Hyperledger Explorer on a network running on the IBM Blockchain Platform. The peer is running on port 7051. The application is throwing an error when I use specify port 7051 in my connection profile. ```[2020-11-20T14:57:26.551] [ERROR] FabricClient - Error: Missing port parameter explorer.mynetwork.com | at module.exports.checkParameter (/opt/explorer/node_modules/fabric-common/lib/Utils.js:631:8) explorer.mynetwork.com | at DiscoveryService._buildUrl (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:663:58) explorer.mynetwork.com | at DiscoveryService._buildPeer (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:633:20) explorer.mynetwork.com | at DiscoveryService._processPeers (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:553:15) explorer.mynetwork.com | at DiscoveryService._processMembership (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:505:42) explorer.mynetwork.com | at DiscoveryService.send (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:334:55) explorer.mynetwork.com | at process._tickCallback (internal/process/next_tick.js:68:7)``` I have specified the port number along with the peer url already ```"peers": { "xx-xx-xx-peer-x": { "url": "grpcs://xx-xx-xx-peer-x:7051", "tlsCACerts": { "path": "/opt/explorer/app/platform/fabric/certs/peer1.crt" }, "grpcOptions": { "ssl-target-name-override": "xx-xx-xx-peer-x" } } }```

akshay.sood (Fri, 20 Nov 2020 15:02:06 GMT):
```explorer.mynetwork.com | 2020-11-20T15:00:10.763Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Endorser- name: peer-xxxx, url:grpcs://peer-xxxx:7051, connected:false, connectAttempted:true explorer.mynetwork.com | 2020-11-20T15:00:10.765Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server peer-xxxx url:grpcs://peer-xxxx:7051 timeout:3000```

sidoussou (Sat, 21 Nov 2020 00:14:35 GMT):
Has joined the channel.

nekia (Mon, 23 Nov 2020 03:14:04 GMT):
Hi @akshay.sood Can you provide us the following information? * What version of explorer and fabric are you using? * connection profile

nekia (Mon, 23 Nov 2020 03:14:04 GMT):
Hi @akshay.sood Can you provide us the following information? * What version of explorer and fabric are you using? * connection profile * `/opt/explorer/logs/app/app.log`

akshay.sood (Mon, 23 Nov 2020 03:15:34 GMT):
@nekia I am using explorer v1.1.3 & fabric v1.4.4

akshay.sood (Mon, 23 Nov 2020 03:18:12 GMT):
Connection profile: https://hastebin.com/cowirobimo.json

akshay.sood (Mon, 23 Nov 2020 03:18:12 GMT):
Connection profile: https://hastebin.com/bihayodaka.json

nekia (Mon, 23 Nov 2020 03:22:41 GMT):
thanks

akshay.sood (Mon, 23 Nov 2020 03:23:01 GMT):

akshay.sood - Mon Nov 23 2020 08:52:57 GMT+0530 (India Standard Time).txt

akshay.sood (Mon, 23 Nov 2020 03:23:54 GMT):
@nekia Thanks to you

nekia (Mon, 23 Nov 2020 03:24:13 GMT):
I can't see anything in the above URL

akshay.sood (Mon, 23 Nov 2020 03:24:29 GMT):
in this url? https://hastebin.com/bihayodaka.json

nekia (Mon, 23 Nov 2020 03:24:34 GMT):
Yes

akshay.sood (Mon, 23 Nov 2020 03:24:45 GMT):
Sorry its gone

akshay.sood (Mon, 23 Nov 2020 03:24:47 GMT):
``` Save New Duplicate & Edit Just Text Twitter 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 { "name": "mychannel", "description": "Network on IBP v2", "version": "1.0.0", "client": { "channel":"mychannel", "tlsEnable": true, "adminCredential": { "id": "admin", "password": "password" }, "enableAuthentication": false, "organization": "org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels":{ "mychannel":{ "peers":{ "my-ibp-peer-name":{ "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": true } }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "org1": { "mspid": "org1", "fullpath": true, "peers":["my-ibp-peer-name"], "adminPrivateKey": { "path": "/opt/explorer/app/platform/fabric/connection-profile/certs/org1_admin_priv_sk" }, "signedCert":{ "path": "/opt/explorer/app/platform/fabric/connection-profile/certs/org1_admin_cert.pem" } } }, "peers": { "my-ibp-peer-name": { "url": "grpcs://my-ibp-peer-name:443", "name": "my-ibp-peer-name", "tlsCACerts": { "path": "/opt/explorer/app/platform/fabric/connection-profile/certs/org1_peer1.crt" }, "grpcOptions": { "ssl-target-name-oveorg1ide": "my-ibp-peer-name" } } } }```

akshay.sood (Mon, 23 Nov 2020 03:24:47 GMT):
```{ "name": "mychannel", "description": "Network on IBP v2", "version": "1.0.0", "client": { "channel":"mychannel", "tlsEnable": true, "adminCredential": { "id": "admin", "password": "password" }, "enableAuthentication": false, "organization": "org1", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels":{ "mychannel":{ "peers":{ "my-ibp-peer-name":{ "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": true } }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "org1": { "mspid": "org1", "fullpath": true, "peers":["my-ibp-peer-name"], "adminPrivateKey": { "path": "/opt/explorer/app/platform/fabric/connection-profile/certs/org1_admin_priv_sk" }, "signedCert":{ "path": "/opt/explorer/app/platform/fabric/connection-profile/certs/org1_admin_cert.pem" } } }, "peers": { "my-ibp-peer-name": { "url": "grpcs://my-ibp-peer-name:443", "name": "my-ibp-peer-name", "tlsCACerts": { "path": "/opt/explorer/app/platform/fabric/connection-profile/certs/org1_peer1.crt" }, "grpcOptions": { "ssl-target-name-oveorg1ide": "my-ibp-peer-name" } } } }```

nekia (Mon, 23 Nov 2020 03:37:01 GMT):
https://chat.hyperledger.org/channel/hyperledger-explorer?msg=XDKqiq9YR32gRFgBB

nekia (Mon, 23 Nov 2020 03:37:32 GMT):
https://chat.hyperledger.org/channel/hyperledger-explorer?msg=rCJb53TZMDNBhuBu8

nekia (Mon, 23 Nov 2020 03:38:59 GMT):
Please apply both of them to your docker-compose. And share console log of explorer container. e.g. `docker logs explorer.mynetwork.com`

akshay.sood (Mon, 23 Nov 2020 03:39:20 GMT):
Sure @nekia

akshay.sood (Mon, 23 Nov 2020 03:48:34 GMT):

akshay.sood - Mon Nov 23 2020 09:18:30 GMT+0530 (India Standard Time).txt

akshay.sood (Mon, 23 Nov 2020 03:48:41 GMT):
@nekia

nekia (Mon, 23 Nov 2020 05:52:42 GMT):
Can you see what value is assigned to `CORE_PEER_GOSSIP_EXTERNALENDPOINT` on `my-ibp-peer-name`?

nekia (Mon, 23 Nov 2020 05:53:35 GMT):
Fabric expects `[ip or hostname]:[port]` formatl

nekia (Mon, 23 Nov 2020 05:53:35 GMT):
Fabric expects `[ip or hostname]:[port]` format.

akshay.sood (Mon, 23 Nov 2020 05:53:50 GMT):
Sure @nekia I will check that out

Vgkmanju (Mon, 23 Nov 2020 07:12:45 GMT):
Hi all,I am trying to deploy hyperledger explorer (1.0.0) on kubernetes cluster to monitor hyperledger fabric(1.4.4) deployed in the same cluster. At first I deployed postgresql(10-alpine) pod and I deployed explorer pod with my current fabric network configuration. It is able to connect to postgresql pod. But explorer pod got restarted continuously without throwing any error logs. I checked the explorer pod logs. The following are the logs fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz (1/5) Installing ca-certificates (20191127-r2) (2/5) Installing c-ares (1.15.0-r0) (3/5) Installing nghttp2-libs (1.40.0-r1) (4/5) Installing libuv (1.34.0-r0) (5/5) Installing nodejs-current (13.1.0-r0) Executing busybox-1.31.1-r9.trigger Executing ca-certificates-20191127-r2.trigger OK: 60 MiB in 21 packages v10.19.0 The command which I used to start explorer pod, cd /opt/explorer node $EXPLORER_APP_PATH/main.js && tail -f /dev/null Can anyone suggest how to resolve this?

Vgkmanju (Mon, 23 Nov 2020 07:12:45 GMT):
Hi all,I am trying to deploy hyperledger explorer (1.0.0) on kubernetes cluster to monitor hyperledger fabric(1.4.4) deployed in the same cluster. Node version 10.19.0. At first I deployed postgresql(10-alpine) pod and I deployed explorer pod with my current fabric network configuration. It is able to connect to postgresql pod. But explorer pod got restarted continuously without throwing any error logs. I checked the explorer pod logs. The following are the logs fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz (1/5) Installing ca-certificates (20191127-r2) (2/5) Installing c-ares (1.15.0-r0) (3/5) Installing nghttp2-libs (1.40.0-r1) (4/5) Installing libuv (1.34.0-r0) (5/5) Installing nodejs-current (13.1.0-r0) Executing busybox-1.31.1-r9.trigger Executing ca-certificates-20191127-r2.trigger OK: 60 MiB in 21 packages v10.19.0 The command which I used to start explorer pod, cd /opt/explorer node $EXPLORER_APP_PATH/main.js && tail -f /dev/null Can anyone suggest how to resolve this?

CaJIbHuK (Mon, 23 Nov 2020 15:08:59 GMT):
Has joined the channel.

nekia (Wed, 25 Nov 2020 00:29:02 GMT):
Hi @Vgkmanju First, I recommend you using the latest explorer container image (1.1.3). And the log you shared seems to be nothing to do with Explorer runtime log. I guess it's like a log while building a docker container image, but I'm not sure.

nekia (Wed, 25 Nov 2020 01:18:14 GMT):
In that case, you don't need to specify/override command for Explorer container. And also need to update your connection profile which is consumed by Explorer to the new syntax. Please refer [here](https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md) for the detail.

piyushmaheshwari65 (Wed, 25 Nov 2020 04:13:36 GMT):
Has joined the channel.

dongge531 (Wed, 25 Nov 2020 10:10:05 GMT):
Has joined the channel.

dongge531 (Wed, 25 Nov 2020 10:11:00 GMT):
This error log is continuously printed on the console, though the mentioned node, orderer1-ProCoop , appeared on the web page。 What's wrong with it?

nike (Thu, 26 Nov 2020 14:45:30 GMT):
Has joined the channel.

nike (Thu, 26 Nov 2020 14:51:47 GMT):
These three error log are repeatedly printed on the console, though the mentioned node, orderer1-ProCoop, appeared on the Explorer web page. Please tell me what's wrong with it.

nike (Thu, 26 Nov 2020 14:52:44 GMT):

explorer.png

nike (Thu, 26 Nov 2020 14:53:20 GMT):

explorer.png

nike (Thu, 26 Nov 2020 14:55:30 GMT):

explorer.png

nike (Thu, 26 Nov 2020 14:59:31 GMT):

logs.png

nekia (Sat, 28 Nov 2020 10:21:30 GMT):
Hi @nike It seems to be kind of network issue that is reported in the following JIRA of fabric-sdk-node. https://jira.hyperledger.org/browse/FABN-1646 This error is incurred sometime when multiple transaction are raced. So far this error doesn't give any major effects to Explorer.

nekia (Sat, 28 Nov 2020 10:23:42 GMT):
The fix of this issue has already been introduced into the latest fabric-network package, but it's introduced another issue as below. https://jira.hyperledger.org/browse/FABN-1663?jql=project%20%3D%20FABN%20AND%20text%20~%20%22system%20chaincode%22

nekia (Sat, 28 Nov 2020 10:23:42 GMT):
The fix of this issue has already been introduced into the latest fabric-network package, but it's introduced another issue as below. https://jira.hyperledger.org/browse/FABN-1663

nekia (Sat, 28 Nov 2020 10:24:17 GMT):
So we have to wait for the next release 2.2.4.

nekia (Sat, 28 Nov 2020 10:24:17 GMT):
So we have to wait for the next release 2.2.4 of fabric-network package.

nike (Mon, 30 Nov 2020 04:59:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=ryfJKpowh9JbCgEiv) :ok_hand: thank you very much

CaJIbHuK (Tue, 01 Dec 2020 08:07:30 GMT):
Hi guys, We're trying to run hlf explorer instance in k8s on a network with 10-15 organizations each having its own explorer. Explorer looses a connection to a peer sometimes and outputs an error. It leads to outdated data is shown in the explorer. https://lists.hyperledger.org/g/fabric/topic/hlf_explorer_fails_to_connect/78529682?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,78529682 Can anyone suggest how to overcome this?

CaJIbHuK (Tue, 01 Dec 2020 08:07:30 GMT):
Hi guys, We're trying to run hlf explorer instance in k8s on a network with 10-15 organizations each having its own explorer. Explorer looses a connection to a peer sometimes and outputs an error. It leads to outdated data is shown in the explorer. https://lists.hyperledger.org/g/fabric/topic/hlf_explorer_fails_to_connect/78529682?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,78529682 Can anyone suggest how to overcome this? Also, maybe worth mentioning that we're experiencing "Context deadline exceeded" issues sometimes. https://lists.hyperledger.org/g/fabric/topic/context_deadline_exceeded/78529438?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,78529438

nekia (Wed, 02 Dec 2020 03:04:00 GMT):
I answered your post in the thread. https://lists.hyperledger.org/g/fabric/message/9347

CaJIbHuK (Wed, 02 Dec 2020 07:12:10 GMT):
Hi! Thanks very much, will look into it

CaJIbHuK (Wed, 02 Dec 2020 14:49:21 GMT):
Hi! Thanks again for the response. I tried to build image with sdk 2.2.4 but now I receive the following error ``` [2020-12-02T14:44:20.779] [INFO] FabricGateway - queryInstantiatedChaincodes defaultchannel 2020-12-02T14:44:20.849Z - error: [SingleQueryHandler]: evaluate: message=Query failed. Errors: ["Error: Peer nd-614-730-759.rg-575-315.int.chainstack.com is not running chaincode _lifecycle"], stack=FabricError: Query failed. Errors: ["Error: Peer nd-614-730-759.rg-575-315.int.chainstack.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:46:23) at process._tickCallback (internal/process/next_tick.js:68:7), name=FabricError [2020-12-02T14:44:20.851] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2020-12-02T14:44:20.851] [ERROR] Sync - { FabricError: Query failed. Errors: ["Error: Peer nd-614-730-759.rg-575-315.int.chainstack.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:46:23) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'FabricError' } [2020-12-02T14:44:20.851] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ```

CaJIbHuK (Wed, 02 Dec 2020 14:49:21 GMT):
Hi! Thanks again for the response. I tried to build image with sdk 2.2.4 but now I receive the following error ``` "Error: Peer nd-614-730-759.rg-575-315.int.chainstack.com is not running chaincode _lifecycle" ```

CaJIbHuK (Wed, 02 Dec 2020 14:49:21 GMT):
Hi! Thanks again for the response. I tried to build image with sdk 2.2.4 but now I receive the following error ``` "Error: Peer nd-614-730-759.rg-575-315.***.com is not running chaincode _lifecycle" ```

CaJIbHuK (Wed, 02 Dec 2020 14:49:21 GMT):
Hi! Thanks again for the response. I tried to build image with sdk 2.2.4 but now I receive the following error ``` "Error: Peer nd-614-730-759.rg-575-315.***.com is not running chaincode _lifecycle" ``` What may be the reason of that?

CaJIbHuK (Wed, 02 Dec 2020 14:49:21 GMT):
Hi! Thanks again for the response. I tried to build image with sdk 2.2.4 (docker pull cajibhukchainstack/hlf-explorer:sdk-2.2.4) but now I receive the following error ``` "Error: Peer nd-614-730-759.rg-575-315.***.com is not running chaincode _lifecycle" ``` What may be the reason of that?

nekia (Wed, 02 Dec 2020 15:14:36 GMT):
Can you please make sure that your Explorer image is using fabric-network 2.2.4-snapshot.7 by checking package-lock.json on the Explorer container? The error should have been resolved in the latest fabric-network package.

CaJIbHuK (Wed, 02 Dec 2020 17:02:23 GMT):
``` /opt/explorer # cat ./package-lock.json | grep fabric-network "fabric-network": { "resolved": "https://registry.npmjs.org/fabric-network/-/fabric-network-2.2.4-snapshot.7.tgz", /opt/explorer # cat ./logs/app/app.log | grep "Synchronizer Error" -A 3 [2020-12-02T15:30:24.864] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2020-12-02T15:30:24.864] [ERROR] Sync - { FabricError: Query failed. Errors: ["Error: Peer nd-614-730-759.rg-575-315.int.chainstack.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:46:23) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'FabricError' } ```

CaJIbHuK (Wed, 02 Dec 2020 17:02:23 GMT):
``` /opt/explorer # cat ./package-lock.json | grep fabric-network "fabric-network": { "resolved": "https://registry.npmjs.org/fabric-network/-/fabric-network-2.2.4-snapshot.7.tgz", /opt/explorer # cat ./logs/app/app.log | grep "Synchronizer Error" -A 3 [2020-12-02T15:30:24.864] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2020-12-02T15:30:24.864] [ERROR] Sync - { FabricError: Query failed. Errors: ["Error: Peer nd-614-730-759.rg-575-315.i***.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:46:23) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'FabricError' } ```

CaJIbHuK (Wed, 02 Dec 2020 17:02:23 GMT):
``` "fabric-network": { "version": "2.2.4-snapshot.7", "resolved": "https://registry.npmjs.org/fabric-network/-/fabric-network-2.2.4-snapshot.7.tgz", "integrity": "sha512-yN1gezHnQ9XqoF4cy3jclKY+KWIhNfjaFB1oUlMfCih5q6N1WNsIqeYSxRwewZ0sboU6o5WQUC04hCJRvTwT7w==", "requires": { "fabric-common": "2.2.4-snapshot.7", "fabric-protos": "2.2.4-snapshot.7", "long": "^4.0.0", "nano": "^8.2.2" }, /opt/explorer # cat ./logs/app/app.log | grep "Synchronizer Error" -A 3 [2020-12-02T15:30:24.864] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2020-12-02T15:30:24.864] [ERROR] Sync - { FabricError: Query failed. Errors: ["Error: Peer nd-614-730-759.rg-575-315.i***.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:46:23) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'FabricError' } ```

CaJIbHuK (Wed, 02 Dec 2020 17:02:23 GMT):
``` "fabric-network": { "version": "2.2.4-snapshot.7", "resolved": "https://registry.npmjs.org/fabric-network/-/fabric-network-2.2.4-snapshot.7.tgz", "integrity": "sha512-yN1gezHnQ9XqoF4cy3jclKY+KWIhNfjaFB1oUlMfCih5q6N1WNsIqeYSxRwewZ0sboU6o5WQUC04hCJRvTwT7w==", "requires": { "fabric-common": "2.2.4-snapshot.7", "fabric-protos": "2.2.4-snapshot.7", "long": "^4.0.0", "nano": "^8.2.2" }, /opt/explorer # cat ./logs/app/app.log | grep "Synchronizer Error" -A 3 [2020-12-02T15:30:24.864] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2020-12-02T15:30:24.864] [ERROR] Sync - { FabricError: Query failed. Errors: ["Error: Peer nd-614-730-759.rg-575-315.i***.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:46:23) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'FabricError' } ```

CaJIbHuK (Wed, 02 Dec 2020 17:02:23 GMT):
``` "fabric-network": { "version": "2.2.4-snapshot.7", "resolved": "https://registry.npmjs.org/fabric-network/-/fabric-network-2.2.4-snapshot.7.tgz", "integrity": "sha512-yN1gezHnQ9XqoF4cy3jclKY+KWIhNfjaFB1oUlMfCih5q6N1WNsIqeYSxRwewZ0sboU6o5WQUC04hCJRvTwT7w==", "requires": { "fabric-common": "2.2.4-snapshot.7", "fabric-protos": "2.2.4-snapshot.7", "long": "^4.0.0", "nano": "^8.2.2" }, ```

Suki (Thu, 03 Dec 2020 03:18:11 GMT):
Has joined the channel.

Suki (Thu, 03 Dec 2020 03:18:11 GMT):
Hi, all :)

Suki (Thu, 03 Dec 2020 03:18:11 GMT):
Hi, all :) when can explorer suppport centos? Thanks a lot!

nekia (Thu, 03 Dec 2020 03:32:10 GMT):
Thanks @CaJIbHuK It seems that the fix for fabric-sdk-node for FABN-1663 is not enough yet.

nekia (Thu, 03 Dec 2020 03:32:10 GMT):
Thanks @CaJIbHuK It seems that the fix of fabric-sdk-node for FABN-1663 is not enough yet.

nekia (Thu, 03 Dec 2020 03:33:22 GMT):
I've shared it to the community. https://chat.hyperledger.org/channel/fabric-sdk-node?msg=6C4q27B7d6JBgKApJ

nekia (Thu, 03 Dec 2020 03:36:37 GMT):
Hi @Suki You mean if Explorer can run on centos? I've never tried that, but I think Explorer can run on centos too.

CaJIbHuK (Thu, 03 Dec 2020 06:34:09 GMT):
Got it, thanks!

Suki (Thu, 03 Dec 2020 06:47:50 GMT):
get it. Thank u!:grinning:

nekia (Thu, 03 Dec 2020 12:53:30 GMT):
Are you using fabric 1.4.x ? @CaJIbHuK If so, I could recreate same issue on my local, too. This is caused by uncaught error on Explorer. The latest snapshot of SDK (2.2.4-snapshot.7) is working expectedly.

CaJIbHuK (Thu, 03 Dec 2020 12:54:16 GMT):
No, we are using fabric 2.2

nekia (Thu, 03 Dec 2020 12:54:17 GMT):
We'll fix this issue.

nekia (Thu, 03 Dec 2020 12:56:17 GMT):
Oh, ok. Anyway we found an issue on Explorer, we'll fix it

nekia (Thu, 03 Dec 2020 12:59:02 GMT):
Or the peer that this error incurred on has no chaincode installed?

CaJIbHuK (Thu, 03 Dec 2020 14:00:14 GMT):
I've just checked again, because yesterday `discover peers` command gave the following result. ``` [ { "MSPID": "RG-575-315-MSP", "LedgerHeight": 19, "Endpoint": "nd-614-730-759***:7051", "Identity": "...", "Chaincodes": null }, { "MSPID": "RG-328-570-MSP", "LedgerHeight": 19, "Endpoint": "nd-238-397-646***:7051", "Identity": "...", "Chaincodes": null }, { "MSPID": "RG-605-777-MSP", "LedgerHeight": 19, "Endpoint": "nd-033-451-566***:7051", "Identity": "...", "Chaincodes": null }, { "MSPID": "RG-855-124-MSP", "LedgerHeight": 19, "Endpoint": "nd-289-280-714***:7051", "Identity": "...", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-370-617-MSP", "LedgerHeight": 19, "Endpoint": "nd-083-278-858***:7051", "Identity": "...", "Chaincodes": null } ] ``` But now it gives: ``` [ { "MSPID": "RG-328-570-MSP", "LedgerHeight": 19, "Endpoint": "nd-238-397-646***:7051", "Identity": "...", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-370-617-MSP", "LedgerHeight": 19, "Endpoint": "nd-083-278-858***:7051", "Identity": "...", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-855-124-MSP", "LedgerHeight": 19, "Endpoint": "nd-289-280-714***:7051", "Identity": "...", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-605-777-MSP", "LedgerHeight": 19, "Endpoint": "nd-033-451-566***:7051", "Identity": "...", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-575-315-MSP", "LedgerHeight": 19, "Endpoint": "nd-614-730-759***:7051", "Identity": "...", "Chaincodes": [ "_lifecycle" ] } ] ```

CaJIbHuK (Thu, 03 Dec 2020 14:01:14 GMT):
I've restarted all the peers, and `_lifecycle` appeared on all of them. Maybe you know why it may happen?

CaJIbHuK (Thu, 03 Dec 2020 14:04:15 GMT):
But unfortunately, now the previous error reproduces again ``` [2020-12-03T14:01:16.065] [INFO] Sync - Synchronizer pid is 32 [2020-12-03T14:01:16.192] [INFO] FabricEvent - Successfully created channel event hub for [defaultchannel] [2020-12-03T14:01:16.243] [INFO] FabricUtils - generateBlockHash 1 [2020-12-03T14:01:16.259] [INFO] SyncServices - block_row.blocknum 1 [2020-12-03T14:01:16.339] [INFO] FabricUtils - generateBlockHash 2 [2020-12-03T14:01:16.348] [INFO] SyncServices - block_row.blocknum 2 [2020-12-03T14:01:16.354] [INFO] FabricUtils - generateBlockHash 3 [2020-12-03T14:01:16.358] [INFO] SyncServices - block_row.blocknum 3 [2020-12-03T14:01:16.362] [INFO] FabricUtils - generateBlockHash 4 [2020-12-03T14:01:16.449] [INFO] SyncServices - block_row.blocknum 4 [2020-12-03T14:01:16.451] [INFO] FabricUtils - generateBlockHash 5 [2020-12-03T14:01:16.453] [INFO] SyncServices - block_row.blocknum 5 [2020-12-03T14:01:16.454] [INFO] FabricUtils - generateBlockHash 6 [2020-12-03T14:01:16.457] [INFO] SyncServices - block_row.blocknum 6 [2020-12-03T14:01:16.539] [INFO] FabricUtils - generateBlockHash 7 [2020-12-03T14:01:16.543] [INFO] SyncServices - block_row.blocknum 7 [2020-12-03T14:01:16.544] [INFO] FabricUtils - generateBlockHash 8 [2020-12-03T14:01:16.546] [INFO] SyncServices - block_row.blocknum 8 [2020-12-03T14:01:16.547] [INFO] FabricUtils - generateBlockHash 9 [2020-12-03T14:01:16.550] [INFO] SyncServices - block_row.blocknum 9 [2020-12-03T14:01:16.551] [INFO] FabricUtils - generateBlockHash 10 [2020-12-03T14:01:16.552] [INFO] SyncServices - block_row.blocknum 10 [2020-12-03T14:01:16.554] [INFO] FabricUtils - generateBlockHash 11 [2020-12-03T14:01:16.555] [INFO] SyncServices - block_row.blocknum 11 [2020-12-03T14:01:16.556] [INFO] FabricUtils - generateBlockHash 12 [2020-12-03T14:01:16.558] [INFO] SyncServices - block_row.blocknum 12 [2020-12-03T14:01:16.559] [INFO] FabricUtils - generateBlockHash 13 [2020-12-03T14:01:16.639] [INFO] SyncServices - block_row.blocknum 13 [2020-12-03T14:01:16.640] [INFO] FabricUtils - generateBlockHash 14 [2020-12-03T14:01:16.643] [INFO] SyncServices - block_row.blocknum 14 [2020-12-03T14:01:16.644] [INFO] FabricUtils - generateBlockHash 15 [2020-12-03T14:01:16.646] [INFO] SyncServices - block_row.blocknum 15 [2020-12-03T14:01:16.647] [INFO] FabricUtils - generateBlockHash 16 [2020-12-03T14:01:16.648] [INFO] SyncServices - block_row.blocknum 16 [2020-12-03T14:01:16.649] [INFO] FabricUtils - generateBlockHash 17 [2020-12-03T14:01:16.651] [INFO] SyncServices - block_row.blocknum 17 [2020-12-03T14:01:16.652] [INFO] FabricUtils - generateBlockHash 18 [2020-12-03T14:01:16.654] [INFO] SyncServices - block_row.blocknum 18 2020-12-03T14:01:33.747Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Discoverer- name: be discoverer nd-614-730-759.***.com, url:grpcs://nd-614-730-759.***:7051, connected:false, connectAttempted:true 2020-12-03T14:01:33.748Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server be discoverer nd-614-730-759***.com url:grpcs://nd-614-730-759***.com:7051 timeout:3000 2020-12-03T14:01:33.748Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Discoverer- name: be discoverer nd-614-730-759.***.com, url:grpcs://nd-614-730-759***.com:7051, connected:false, connectAttempted:true 2020-12-03T14:01:33.748Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server be discoverer nd-614-730-759.***.com url:grpcs://nd-614-730-759.***.com:7051 timeout:3000 2020-12-03T14:01:33.748Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Discoverer- name: be discoverer nd-614-730-759.***.com, url:grpcs://nd-614-730-759.***.com:7051, connected:false, connectAttempted:true 2020-12-03T14:01:33.748Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server be discoverer nd-614-730-759.***.com url:grpcs://nd-614-730-759.***.com:7051 timeout:3000 2020-12-03T14:01:33.748Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Discoverer- name: be discoverer nd-614-730-759.***.com, url:grpcs://nd-614-730-759.***.com:7051, connected:false, connectAttempted:true ``` Anyway, thank you for your help, will continue my investigation

tongli (Thu, 03 Dec 2020 14:28:57 GMT):
I have been using explorer docker images for awhile, should work without issues.

nekia (Thu, 03 Dec 2020 23:19:09 GMT):
OK, Thank you too. FYI The following options might get you helped for debugging. https://chat.hyperledger.org/channel/hyperledger-explorer?msg=zsxAe5g6ag9CzHdS6 https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KeaYE3fLYJwfhB4qp

rtorrealba (Tue, 08 Dec 2020 13:43:08 GMT):
Has joined the channel.

rtorrealba (Tue, 08 Dec 2020 13:43:09 GMT):
Hello everyone! I'm trying to integrate explorer with Oath the google, someone has a documentation reference for working? I apologize for my English it is not my native language.

chanjaljayaram (Tue, 08 Dec 2020 15:47:28 GMT):
Has joined the channel.

chanjaljayaram (Tue, 08 Dec 2020 15:55:03 GMT):
Has anyone tried Explorer v1.1.3 with Fabric 2.3.0? The release notes says v1.1.3 supports Fabric 1.4.0 - 2.2.0. I'm trying to get Explorer v1.1.3 working with Fabric 2.3.0. I've mTLS enabled in the Fabric network and I've set client.clientTlsIdentity in the Explorer connection-profile. The initial connections with the peer works. But after a while I find Explorer generating a self-signed certificate to make the connection, and all the subsequent connections after this fails.

bh4rtp (Tue, 08 Dec 2020 23:39:16 GMT):
yes. v1.1.3 does support fabric 2.3.0.

chanjaljayaram (Wed, 09 Dec 2020 04:10:44 GMT):
Thanks for the confirmation. Would you be able to help me point me to where I can get help in resolving this issue?``` The initial connects with the Peer works just fine. Like:`````` ``` 2020-12-08T13:43:40.507Z - debug: [Gateway]: connect - setting tlsIdentity 2020-12-08T13:43:40.507Z - debug: [Client]: setTlsClientCertAndKey: gateway client - start 2020-12-08T13:43:40.507Z - debug: [Gateway]: connect - NetworkConfig loading client from ccp 2020-12-08T13:43:40.507Z - debug: [NetworkConfig]: loadFromConfig - start ``` ``` But after a while it fails as Explorer is creating a self-signed certificate even though I've given client.clientTlsIdentity in my connection-profile. ``` ``` 2020-12-08T13:44:06.065Z - debug: [Client]: Client.constructor[discovery client] - start 2020-12-08T13:44:06.065Z - debug: [Client]: setTlsClientCertAndKey: discovery client - start 2020-12-08T13:44:06.066Z - debug: [Client]: setTlsClientCertAndKey: discovery client - generating self-signed TLS client certificate 2020-12-08T13:44:06.066Z - debug: [crypto_ecdsa_aes]: Hash algorithm: SHA2, hash output size: 256``` ``` ``` I see the below error in Peer (it seems Explorer isn't even providing a client certificate): ``` ``` 2020-12-08 14:22:02.668 UTC [core.comm] ServerHandshake -> ERRO 2c5 Server TLS handshake failed in 1.312705ms with error tls: client didn't provide a certificate server=PeerServer remoteaddress=169.254.128.3:4589 ```

chanjaljayaram (Wed, 09 Dec 2020 04:10:44 GMT):
Thanks for the confirmation. Would you be able to help me point me to where I can get help in resolving this issue?``` The initial connects with the Peer works just fine. Like: ``` 2020-12-08T13:43:40.507Z - debug: [Gateway]: connect - setting tlsIdentity 2020-12-08T13:43:40.507Z - debug: [Client]: setTlsClientCertAndKey: gateway client - start 2020-12-08T13:43:40.507Z - debug: [Gateway]: connect - NetworkConfig loading client from ccp 2020-12-08T13:43:40.507Z - debug: [NetworkConfig]: loadFromConfig - start ``` But after a while it fails as Explorer is creating a self-signed certificate even though I've given client.clientTlsIdentity in my connection-profile. ``` 2020-12-08T13:44:06.065Z - debug: [Client]: Client.constructor[discovery client] - start 2020-12-08T13:44:06.065Z - debug: [Client]: setTlsClientCertAndKey: discovery client - start 2020-12-08T13:44:06.066Z - debug: [Client]: setTlsClientCertAndKey: discovery client - generating self-signed TLS client certificate 2020-12-08T13:44:06.066Z - debug: [crypto_ecdsa_aes]: Hash algorithm: SHA2, hash output size: 256``` I see the below error in Peer (it seems Explorer isn't even providing a client certificate): ``` 2020-12-08 14:22:02.668 UTC [core.comm] ServerHandshake -> ERRO 2c5 Server TLS handshake failed in 1.312705ms with error tls: client didn't provide a certificate server=PeerServer remoteaddress=169.254.128.3:4589 ```

chanjaljayaram (Wed, 09 Dec 2020 04:10:44 GMT):
Thanks for the confirmation. Would you be able to help me point me to where I can get help in resolving this issue? The initial connects with the Peer works just fine. Like: ``` 2020-12-08T13:43:40.507Z - debug: [Gateway]: connect - setting tlsIdentity 2020-12-08T13:43:40.507Z - debug: [Client]: setTlsClientCertAndKey: gateway client - start 2020-12-08T13:43:40.507Z - debug: [Gateway]: connect - NetworkConfig loading client from ccp 2020-12-08T13:43:40.507Z - debug: [NetworkConfig]: loadFromConfig - start ``` But after a while it fails as Explorer is creating a self-signed certificate even though I've given client.clientTlsIdentity in my connection-profile. ``` 2020-12-08T13:44:06.065Z - debug: [Client]: Client.constructor[discovery client] - start 2020-12-08T13:44:06.065Z - debug: [Client]: setTlsClientCertAndKey: discovery client - start 2020-12-08T13:44:06.066Z - debug: [Client]: setTlsClientCertAndKey: discovery client - generating self-signed TLS client certificate 2020-12-08T13:44:06.066Z - debug: [crypto_ecdsa_aes]: Hash algorithm: SHA2, hash output size: 256``` I see the below error in Peer (it seems Explorer isn't even providing a client certificate): ``` 2020-12-08 14:22:02.668 UTC [core.comm] ServerHandshake -> ERRO 2c5 Server TLS handshake failed in 1.312705ms with error tls: client didn't provide a certificate server=PeerServer remoteaddress=169.254.128.3:4589 ```

chanjaljayaram (Wed, 09 Dec 2020 04:10:44 GMT):
Thanks for the confirmation. Would you be able to help me or point me to where I can get help in resolving this issue? The initial connects with the Peer works just fine. Like: ``` 2020-12-08T13:43:40.507Z - debug: [Gateway]: connect - setting tlsIdentity 2020-12-08T13:43:40.507Z - debug: [Client]: setTlsClientCertAndKey: gateway client - start 2020-12-08T13:43:40.507Z - debug: [Gateway]: connect - NetworkConfig loading client from ccp 2020-12-08T13:43:40.507Z - debug: [NetworkConfig]: loadFromConfig - start ``` But after a while it fails as Explorer is creating a self-signed certificate even though I've given client.clientTlsIdentity in my connection-profile. ``` 2020-12-08T13:44:06.065Z - debug: [Client]: Client.constructor[discovery client] - start 2020-12-08T13:44:06.065Z - debug: [Client]: setTlsClientCertAndKey: discovery client - start 2020-12-08T13:44:06.066Z - debug: [Client]: setTlsClientCertAndKey: discovery client - generating self-signed TLS client certificate 2020-12-08T13:44:06.066Z - debug: [crypto_ecdsa_aes]: Hash algorithm: SHA2, hash output size: 256``` I see the below error in Peer (it seems Explorer isn't even providing a client certificate): ``` 2020-12-08 14:22:02.668 UTC [core.comm] ServerHandshake -> ERRO 2c5 Server TLS handshake failed in 1.312705ms with error tls: client didn't provide a certificate server=PeerServer remoteaddress=169.254.128.3:4589 ```

bh4rtp (Wed, 09 Dec 2020 23:59:05 GMT):
it seems to be certificate error. you can check the connection-profile, I think you used the wrong tls certificates.

nekia (Thu, 10 Dec 2020 07:28:39 GMT):
https://github.com/hyperledger/blockchain-explorer/commit/2902885d8c28a629c3450e62a5d73af3e181fa03

nekia (Thu, 10 Dec 2020 07:30:16 GMT):
v1.1.3 has above issue for mTLS. It's fixed in the latest master. Can you use the container image locally rebuilt instead? @chanjaljayaram

chanjaljayaram (Thu, 10 Dec 2020 08:42:18 GMT):
Thanks Nekia... I was finally able to get it working with the below updates:``` 1) I was missing the setting of DISCOVERY_AS_LOCALHOST to false ``` ``` 2) in FabricGateway.js I see the client.setTlsClientCertAndKey() being called. I changed it to client.setTlsClientCertAndKey(channel.client._tls_mutual.clientCert,channel.client._tls_mutual.clientKey); ``` ``` Is that the fix in the master branch? ```

chanjaljayaram (Thu, 10 Dec 2020 08:42:18 GMT):
Thanks Nekia... I was finally able to get it working with the below updates:``` 1) I was missing the setting of DISCOVERY_AS_LOCALHOST to false ``` ``` 2) in FabricGateway.js I see the client.setTlsClientCertAndKey() being called. I changed it to client.setTlsClientCertAndKey(channel.client._tls_mutual.clientCert,channel.client._tls_mutual.clientKey); ``` Is that the fix in the master branch?

chanjaljayaram (Thu, 10 Dec 2020 08:42:18 GMT):
Thanks Nekia... I was finally able to get it working with the below updates:``` 1) I was missing the setting of DISCOVERY_AS_LOCALHOST to false 2) in FabricGateway.js I see the client.setTlsClientCertAndKey() being called. I changed it to client.setTlsClientCertAndKey(channel.client._tls_mutual.clientCert,channel.client._tls_mutual.clientKey); ``` Is that the fix in the master branch?

chanjaljayaram (Thu, 10 Dec 2020 08:44:33 GMT):
Nekia, never mind... I see the updates in the link that you shared... thanks

Vgkmanju (Thu, 10 Dec 2020 08:52:50 GMT):
Hi all, Using BAF, I have setup fabric 2.2.0 with 5 orgs and 1 orderer in a kubernetes cluster. Each org has one peer. Now I am trying to integrate Explorer v1.1.2 with nodejs v12.16.0 apline3.11, postgresql v10 by creating separate pod for explorer and postgresql. I am facing the following issue while starting the explorer app (main.js) [2020-12-10T16:20:39.267] [DEBUG] main - false ssl-certs /opt/explorer/ssl-certs [2020-12-10T16:20:39.359] [INFO] PgService - SSL to Postgresql disabled [2020-12-10T16:20:39.359] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@explorerdb:5432/fabricexplorer [2020-12-10T16:20:39.958] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2020-12-10T16:20:39.958] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******, { Bankema: { name: 'Bankema', profile: './connection-profile/Bankema.json' } } [2020-12-10T16:20:39.959] [DEBUG] Platform - Setting admin organization enrolment files [2020-12-10T16:20:39.959] [INFO] Platform - client_configs.name Bankema client_configs.profile ./connection-profile/Bankema.json [2020-12-10T16:20:39.959] [DEBUG] Platform - Creating client [Bankema] >> { name: 'Bankema', profile: './connection-profile/Bankema.json' } [2020-12-10T16:20:39.959] [INFO] Platform - Disabled authentication [2020-12-10T16:20:39.960] [DEBUG] FabricUtils - ************ Initializing fabric client for [Bankema]************ [2020-12-10T16:20:39.960] [DEBUG] FabricClient - Client configuration [Bankema] ... this.client_config { name: 'Bankema', profile: './connection-profile/Bankema.json' } [2020-12-10T16:20:39.960] [INFO] FabricConfig - config.client.tlsEnable true [2020-12-10T16:20:39.960] [DEBUG] FabricGateway - LOADING CONFIGURATION [OBJECT OBJECT] [2020-12-10T16:20:39.961] [INFO] FabricConfig - FabricConfig, this.config.channels bankemachannel [2020-12-10T16:20:40.054] [INFO] FabricGateway - enrollUserIdentity: userName : user1 [2020-12-10T16:20:40.214] [ERROR] FabricGateway - TypeError: org.peers is not iterable [2020-12-10T16:20:40.215] [ERROR] FabricClient - ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) [2020-12-10T16:20:40.216] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-12-10T16:20:40.216] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] [2020-12-10T16:20:42.217] [INFO] main - Received kill signal, shutting down gracefully [2020-12-10T16:20:42.218] [INFO] main - Closed out connections

Vgkmanju (Thu, 10 Dec 2020 08:52:50 GMT):
Hi all, Using BAF, I have setup fabric 2.2.0 with 5 orgs and 1 orderer in a kubernetes cluster. Each org has one peer. Now I am trying to integrate Explorer v1.1.2 with nodejs v12.16.0 apline3.11, postgresql v10 by creating separate pod for explorer and postgresql. I am facing the following issue while starting the explorer app (main.js) [2020-12-10T16:20:39.267] [DEBUG] main - false ssl-certs /opt/explorer/ssl-certs [2020-12-10T16:20:39.359] [INFO] PgService - SSL to Postgresql disabled [2020-12-10T16:20:39.359] [INFO] PgService - connecting to Postgresql postgres://hppoc:******@explorerdb:5432/fabricexplorer [2020-12-10T16:20:39.958] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ****** [2020-12-10T16:20:39.958] [DEBUG] Platform - ******* Initialization started for hyperledger fabric platform ******, { Bankema: { name: 'Bankema', profile: './connection-profile/Bankema.json' } } [2020-12-10T16:20:39.959] [DEBUG] Platform - Setting admin organization enrolment files [2020-12-10T16:20:39.959] [INFO] Platform - client_configs.name Bankema client_configs.profile ./connection-profile/Bankema.json [2020-12-10T16:20:39.959] [DEBUG] Platform - Creating client [Bankema] >> { name: 'Bankema', profile: './connection-profile/Bankema.json' } [2020-12-10T16:20:39.959] [INFO] Platform - Disabled authentication [2020-12-10T16:20:39.960] [DEBUG] FabricUtils - ************ Initializing fabric client for [Bankema]************ [2020-12-10T16:20:39.960] [DEBUG] FabricClient - Client configuration [Bankema] ... this.client_config { name: 'Bankema', profile: './connection-profile/Bankema.json' } [2020-12-10T16:20:39.960] [INFO] FabricConfig - config.client.tlsEnable true [2020-12-10T16:20:39.960] [DEBUG] FabricGateway - LOADING CONFIGURATION [OBJECT OBJECT] [2020-12-10T16:20:39.961] [INFO] FabricConfig - FabricConfig, this.config.channels bankemachannel [2020-12-10T16:20:40.054] [INFO] FabricGateway - enrollUserIdentity: userName : user1 [2020-12-10T16:20:40.214] [ERROR] FabricGateway - TypeError: org.peers is not iterable [2020-12-10T16:20:40.215] [ERROR] FabricClient - ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) [2020-12-10T16:20:40.216] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-12-10T16:20:40.216] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] [2020-12-10T16:20:42.217] [INFO] main - Received kill signal, shutting down gracefully [2020-12-10T16:20:42.218] [INFO] main - Closed out connections Can anyone suggest how to resolve this?

chanjaljayaram (Thu, 10 Dec 2020 09:38:32 GMT):
I'm getting the same error... does the change need to be done in the ".js" files as well?

chanjaljayaram (Thu, 10 Dec 2020 10:31:34 GMT):
Nekia, I did similar updates to what you did in FabricConfig.ts and FabricGateway.ts to FabricConfig.js and FabricGateway.js... it is working fine for me now... Thank you very much

nekia (Thu, 10 Dec 2020 12:43:53 GMT):
🙂

nekia (Thu, 10 Dec 2020 12:48:23 GMT):
So you have `peers` entry in organisation section in your connection profile as below? https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/connection-profile/first-network.json#L43

Vgkmanju (Thu, 10 Dec 2020 12:59:33 GMT):
Hi all, While starting explorer 1.1.2 with fabric 2.2.0, facing the following issue, [2020-12-10T20:54:31.070] [ERROR] FabricGateway - Error instantiating FabricCAServices Error: fabric-ca request register failed with errors [[ { code: 0, message: "Registration of 'abc3' failed: Identity 'abc3' is already registered" } ]] at IncomingMessage. (/opt/explorer/node_modules/fabric-ca-client/lib/FabricCAClient.js:298:19) at IncomingMessage.emit (events.js:322:22) at endReadableNT (_stream_readable.js:1187:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) { result: '', errors: [ { code: 0, message: "Registration of 'abc3' failed: Identity 'abc3' is already registered" } ], messages: [], success: false } [2020-12-10T20:54:31.072] [ERROR] FabricGateway - Error: Identity not found in wallet: abc3 Can anyone suggest how to resolve this?

chanjaljayaram (Thu, 10 Dec 2020 14:44:12 GMT):
@nekia I believe these will make into one of the future releases?

nekia (Fri, 11 Dec 2020 11:58:18 GMT):
Yes it will be released as v1.1.4 soon.

nekia (Fri, 11 Dec 2020 12:48:02 GMT):
Can you delete the persistence volume of your fabric CA once? If you're trying to start Explorer several times with same fabric network environment and you lost the wallet which an identity generated by fabric CA is stored

nekia (Fri, 11 Dec 2020 12:48:02 GMT):
Can you delete the persistence volume of your fabric CA once? If you're trying to start Explorer several times with same fabric network environment and you lost the wallet which an identity generated by fabric CA is stored is deleted by mistake, this error (Identity is already registered) can be happened.

nekia (Fri, 11 Dec 2020 12:51:09 GMT):
Can you delete the persistence volume of your fabric CA once? If you're trying to start Explorer several times with same fabric network environment and you lost the wallet which an identity generated by fabric CA is stored is deleted by mistake, this error (Identity is already registered) can be happened.

nekia (Fri, 11 Dec 2020 12:53:07 GMT):
Or please change admin ID from `abc3` to other new one.

nekia (Fri, 11 Dec 2020 12:53:07 GMT):
Or please change admin ID of Explorer from `abc3` to other new one.

adnansaifee (Fri, 11 Dec 2020 14:49:11 GMT):
Has joined the channel.

adnansaifee (Fri, 11 Dec 2020 14:49:34 GMT):
Hi All!I have a Hyperledger

adnansaifee (Fri, 11 Dec 2020 14:52:45 GMT):
Hi All! I have a Hyperledger Fabric network in which mutual TLS is enabled on the peers and orderers. I want to connect Hyperledger Explorer to this network. Can anyone help me with what configuration needs to be added for mutual TLS in config.json or connection.json for Hyperledger Explorer ? Thanks!

CaJIbHuK (Mon, 14 Dec 2020 18:04:40 GMT):

logs.txt

CaJIbHuK (Mon, 14 Dec 2020 18:09:14 GMT):
@nekia Hi! Sorry for being silent for so long! I tried to set those environment variables. I've attached the hlf-explorer logs. As I said previously, the number of connections explorer tries to make to the corresponding peer correlates with the numberr of blocks fetched. All these connections are identical. Some of them fail to establish due to timeout and the corresponding exception is raised. I assume, that when exception is raised, syncing process interrupts and never recovers.

CaJIbHuK (Mon, 14 Dec 2020 18:10:44 GMT):
The sample network has 14 orgs each of which has 1 peer.

ehuarotop (Tue, 15 Dec 2020 04:39:40 GMT):
Hi everyone, I'm trying to configure hyperledger explorer with a local blokchain network instance created using ibm blockchain platform extension

ehuarotop (Tue, 15 Dec 2020 04:40:45 GMT):
The tutorial on https://github.com/hyperledger/blockchain-explorer

ehuarotop (Tue, 15 Dec 2020 04:41:35 GMT):
is based on the generation of crypto information with the scripts provided

ehuarotop (Tue, 15 Dec 2020 04:42:00 GMT):
but there is no information of where to find this information in docker containers already created

ehuarotop (Tue, 15 Dec 2020 04:42:40 GMT):
could anyone please give me some directions on how to threat this case?

Vgkmanju (Tue, 15 Dec 2020 13:34:30 GMT):
Hi I am facing the following error, when I start explorer pod in kubernetes. error: [FabricCAClientService.js]: Failed to enroll admin, error:%o message=Could not parse enroll response [default backend - 404] as JSON due to error [SyntaxError: Unexpected token d in JSON at position 0], stack=Error: Could not parse enroll response [default backend - 404] as JSON due to error [SyntaxError: Unexpected token d in JSON at position 0] at IncomingMessage. (/opt/explorer/node_modules/fabric-ca-client/lib/FabricCAClient.js:293:21) at IncomingMessage.emit (events.js:322:22) at endReadableNT (_stream_readable.js:1187:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) [2020-12-15T21:32:24.863] [ERROR] FabricGateway - Error instantiating FabricCAServices Error: Could not parse enroll response [default backend - 404] as JSON due to error [SyntaxError: Unexpected token d in JSON at position 0] at IncomingMessage. (/opt/explorer/node_modules/fabric-ca-client/lib/FabricCAClient.js:293:21) at IncomingMessage.emit (events.js:322:22) at endReadableNT (_stream_readable.js:1187:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) [2020-12-15T21:32:24.863] [INFO] FabricGateway - client TLS enabled [2020-12-15T21:32:24.864] [ERROR] FabricGateway - ExplorerError: [ 'Not found Identity exploreradmin in your wallet' ] [2020-12-15T21:32:24.865] [ERROR] FabricClient - ExplorerError: [ 'Failed to create wallet, please check the configuration, and valid file paths' ] at FabricGateway.initialize (/opt/explorer/app/platform/fabric/gateway/FabricGateway.js:135:10) at async FabricClient.initialize (/opt/explorer/app/platform/fabric/FabricClient.js:63:4) at async Object.createFabricClient (/opt/explorer/app/platform/fabric/utils/FabricUtils.js:32:3) at async Platform.buildClients (/opt/explorer/app/platform/fabric/Platform.js:139:19) at async Platform.initialize (/opt/explorer/app/platform/fabric/Platform.js:79:3) at async Explorer.initialize (/opt/explorer/app/Explorer.js:111:4) at async startExplorer (/opt/explorer/main.js:116:2) [2020-12-15T21:32:24.865] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2020-12-15T21:32:24.865] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] [2020-12-15T21:32:26.866] [INFO] main - Received kill signal, shutting down gracefully [2020-12-15T21:32:26.867] [INFO] main - Closed out connections Can anyone suggest how to resolve this?

garunkumar450 (Wed, 16 Dec 2020 04:51:51 GMT):
erledger-composer

Vgkmanju (Wed, 16 Dec 2020 07:47:08 GMT):
Hi nekia, based on your reference, I altered my configuration and redeployed explorer pod. Now without error my explorer pod is running. ``` I checked the log, [2020-12-16T14:06:38.403] [INFO] main - Please open web browser to access :http://localhost:8080/ [2020-12-16T14:06:38.403] [INFO] main - pid is 18 ```

Vgkmanju (Wed, 16 Dec 2020 07:47:08 GMT):
Hi nekia, based on your reference, I altered my configuration and redeployed explorer pod. Now without error my explorer pod is running. ``` I checked the log, [2020-12-16T14:06:38.403] [INFO] main - Please open web browser to access :http://localhost:8080/ [2020-12-16T14:06:38.403] [INFO] main - pid is 18 ``` Now I portforward the pod and opened explorer app in localhost 8080. After login to explorer, I didn't see any records of my network. I checked the app logs, there I can see the ledger height, peers, channel name. [2020-12-16T14:08:00.420] [DEBUG] CRUDService - Finished sqlBlockTxList Promise { } [2020-12-16T14:08:00.423] [DEBUG] dbroutes - Return getBlockAndTxList [] [2020-12-16T14:08:00.659] [DEBUG] Proxy - getChannels >> [] [2020-12-16T14:08:01.055] [DEBUG] Proxy - getChannelsInfo >> [] [2020-12-16T14:08:01.140] [DEBUG] FabricClient - initializeChannelFromDiscover bankemachannel [2020-12-16T14:08:01.355] [DEBUG] CRUDService - getTxList.byOrgs false [2020-12-16T14:08:01.451] [INFO] FabricClient - Discovered corgMSP [ { mspid: 'corgMSP', endpoint: 'peer0.corg.dummy.com:8443', name: 'peer0.corg.dummy.com:8443', ledgerHeight: Long { low: 2230, high: 0, unsigned: true }, chaincodes: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object] ] } ] ``` ```Can you suggest how to resolve this?

Vgkmanju (Wed, 16 Dec 2020 07:47:08 GMT):
Hi nekia, based on your reference, I altered my configuration and redeployed explorer pod. Now without error my explorer pod is running. ``` I checked the log, [2020-12-16T14:06:38.403] [INFO] main - Please open web browser to access :http://localhost:8080/ [2020-12-16T14:06:38.403] [INFO] main - pid is 18 ``` Now I portforward the pod and opened explorer app in localhost 8080. After login to explorer, I didn't see any records of my network. I checked the app logs, there I can see the ledger height, peers, channel name. ```[2020-12-16T14:08:00.420] [DEBUG] CRUDService - Finished sqlBlockTxList Promise { } [2020-12-16T14:08:00.423] [DEBUG] dbroutes - Return getBlockAndTxList [] [2020-12-16T14:08:00.659] [DEBUG] Proxy - getChannels >> [] [2020-12-16T14:08:01.055] [DEBUG] Proxy - getChannelsInfo >> [] [2020-12-16T14:08:01.140] [DEBUG] FabricClient - initializeChannelFromDiscover bankemachannel [2020-12-16T14:08:01.355] [DEBUG] CRUDService - getTxList.byOrgs false [2020-12-16T14:08:01.451] [INFO] FabricClient - Discovered corgMSP [ { mspid: 'corgMSP', endpoint: 'peer0.corg.dummy.com:8443', name: 'peer0.corg.dummy.com:8443', ledgerHeight: Long { low: 2230, high: 0, unsigned: true }, chaincodes: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object] ] } ] ```Can you suggest how to resolve this?

nekia (Thu, 17 Dec 2020 08:17:30 GMT):
Hi @adnansaifee please follow the steps of configure mTLS in `README-CONFIG.md`. And the current latest release (v1.1.3) has a big of mTLS connection. So please use the latest codebase on master branch.

nekia (Thu, 17 Dec 2020 08:17:30 GMT):
Hi @adnansaifee please follow the steps of configure mTLS in `README-CONFIG.md`. And the current latest release (v1.1.3) has a bug of mTLS connection. So please use the latest codebase on master branch.

nekia (Fri, 18 Dec 2020 05:59:30 GMT):
I've never used IBM blockchain platform extension. You have probably better to ask the community of the platform how to retrieve credentials in the environment.

nekia (Fri, 18 Dec 2020 09:58:17 GMT):
You seem to be failing to retrieve channel list from peer node. Can you share the entire log of Explorer?

nekia (Fri, 18 Dec 2020 10:07:20 GMT):
You need to follow the steps as below to use Explorer with fabric CA. https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#using-fabric-ca Can you share your connection profile?

sigma67 (Fri, 18 Dec 2020 10:47:31 GMT):
Hi, question regarding the peersStatus API endpoint

sigma67 (Fri, 18 Dec 2020 10:47:54 GMT):
It seems the status Variable is always set to DOWN no matter what

sigma67 (Fri, 18 Dec 2020 10:47:55 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/8b8ddc65ca6e4a9117ba401251529335d633169e/app/platform/fabric/Proxy.ts#L125-L149

sigma67 (Fri, 18 Dec 2020 10:48:13 GMT):
Is this an oversight/work in progress or am I missing something?

greg2git (Sun, 20 Dec 2020 00:32:56 GMT):
Has joined the channel.

greg2git (Sun, 20 Dec 2020 00:32:57 GMT):
the postgres of explorer has only been tested on ubuntu and MacOS, so other distros are not necessarily supposed to work, correct?

nekia (Mon, 21 Dec 2020 01:43:12 GMT):
Correct. If using explorer-db container

nekia (Mon, 21 Dec 2020 01:43:12 GMT):
Correct. If you use [explorer-db container](https://hub.docker.com/r/hyperledger/explorer-db) instead, it will work regardless your distros.

nekia (Mon, 21 Dec 2020 01:48:20 GMT):
Sorry for confusion. Currently Explorer is not using the status internally. It's should be obsoleted from `peersStatus` API.

nekia (Mon, 21 Dec 2020 01:48:20 GMT):
Sorry for confusion. Currently Explorer is not using the status internally. It should be obsoleted from `peersStatus` API.

Vgkmanju (Mon, 21 Dec 2020 12:56:43 GMT):

Vgkmanju - Mon Dec 21 2020 18:25:41 GMT+0530 (India Standard Time).txt

Vgkmanju (Mon, 21 Dec 2020 13:18:20 GMT):

Vgkmanju - Mon Dec 21 2020 18:47:49 GMT+0530 (India Standard Time).txt

Vgkmanju (Mon, 21 Dec 2020 13:20:49 GMT):

Vgkmanju - Mon Dec 21 2020 18:50:35 GMT+0530 (India Standard Time).txt

Vgkmanju (Mon, 21 Dec 2020 13:21:56 GMT):
Can you please tell me what's the mistake?

Vgkmanju (Mon, 21 Dec 2020 13:40:37 GMT):
When trying to configure explorer with https facing the following issue [2020-12-21T21:37:43.190] [DEBUG] main - true 'ssl-certs' '/opt/explorer/ssl-certs' /opt/explorer/main.js:131 server.on('connection', connection => { ^ TypeError: Cannot read property 'on' of undefined at Object. (/opt/explorer/main.js:131:8) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) Reference : https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-HTTPS-HLEXPLORER.md

Vgkmanju (Mon, 21 Dec 2020 13:40:37 GMT):
After explorer pod deployment in kubernetes, pointed a domain name for that service and while trying to access the app faced the following error, `503 Service Unavailable No server is available to handle this request.` So trying to configure explorer with https facing the following issue `[2020-12-21T21:37:43.190] [DEBUG] main - true 'ssl-certs' '/opt/explorer/ssl-certs' /opt/explorer/main.js:131 server.on('connection', connection => { ^ TypeError: Cannot read property 'on' of undefined at Object. (/opt/explorer/main.js:131:8) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)` Reference which i used : https://github.com/hyperledger/blockchain-explorer/blob/master/CONFIG-HTTPS-HLEXPLORER.md Can you suggest how to resolve this?

suneel18 (Thu, 24 Dec 2020 06:37:53 GMT):
Hello Team, Am trying to set up explorer with a non-admin role user wallet, so for the "enrollUserIdentity" section am passing the certificate and private key of a non-admin user But it fails at the discovery phase stating error: [DiscoveryService]: send[channelname] - Channel:channelname received discovery error:access denied Can someone please suggest what additional step is needed here?

Vgkmanju (Thu, 31 Dec 2020 06:30:49 GMT):
Hi, Using BAF, deployed fabric 2.2 setup with 6 orgs ( each org has one peer ) and 1 orderer. While implement explorer, during client processing (trying to query ledger data) facing the following issue Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [The identity is not an admin under this MSP [xyzMSP]: cannot test for classification, node ou for type [ADMIN], not defined, msp: [xyzMSP]] Can anyone suggest what is this error mean? how to resolve this?

christian.suwiryo (Mon, 04 Jan 2021 21:00:26 GMT):
Has joined the channel.

christian.suwiryo (Mon, 04 Jan 2021 21:11:04 GMT):
Happy New Year 2021! I am trying to configure HyperLedger Explorer v1.1.3 (Sep 28, 2020) to point to an existing IBM Blockchain Platform (simple 1 Org network). Does anyone in this channel has a config tips / guide to point to the IBM cloud (instead of the local test network)? For example: a) config to point to a local fabric test network: https://github.com/hyperledger/blockchain-explorer b) config to point to IBM Blockchain Platform cloud ==> adjustments to config.json etc required / other tips? Thank you.

christian.suwiryo (Mon, 04 Jan 2021 21:11:04 GMT):
Happy New Year 2021! I am trying to configure HyperLedger Explorer v1.1.3 (Sep 28, 2020) to point to an existing IBM Blockchain Platform (simple 1 Org network). Does anyone in this channel has a config tips / guide to point to the IBM cloud (instead of the local test network)? For example, current available doc is config to point to a local fabric test network: https://github.com/hyperledger/blockchain-explorer What I am looking for: config to point to IBM Blockchain Platform cloud ==> adjustments to config.json etc required / other tips? Thank you.

christian.suwiryo (Mon, 04 Jan 2021 21:11:04 GMT):
Happy New Year 2021! I am trying to configure HyperLedger Explorer v1.1.3 (Sep 28, 2020) to point to an existing IBM Blockchain Platform (simple 1 Org network). Does anyone in this channel has a config tips / guide to point to the IBM cloud (instead of the local test network)? For example, current available config doc is to point to a local fabric test network: https://github.com/hyperledger/blockchain-explorer What I am looking for: config to point to IBM Blockchain Platform cloud ==> adjustments to config.json etc required / other tips? Thank you.

nekia (Thu, 07 Jan 2021 07:07:47 GMT):
Please refer the case that Explorer is running as a container. In this case, in your connection profile, you need to specify a peer with URL which is directly reachable from Explorer container.

nekia (Thu, 07 Jan 2021 07:08:03 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/examples/net1/connection-profile/first-network.json

nekia (Thu, 07 Jan 2021 07:09:23 GMT):
https://github.com/hyperledger/blockchain-explorer/blob/master/README-CONFIG.md#run-hyperledger-explorer-using-docker-compose

nekia (Thu, 07 Jan 2021 07:22:22 GMT):
Explorer requires admin privilege to query chaincode info to fabric network.

nekia (Thu, 07 Jan 2021 09:40:11 GMT):
And Fabric network uses `Node OU` to confer a role onto an identity.

nekia (Thu, 07 Jan 2021 09:40:56 GMT):
This convention allows you to distinguish MSP roles by the OU present in the CommonName attribute of the X509 certificate.

nekia (Thu, 07 Jan 2021 09:43:15 GMT):
This error is saying that node ou for `admin` is undefined. Please make sure that Node OU is enabled in your each `config.yaml` ex. `crypto-artifacts/**/msp/config.yaml`

nekia (Thu, 07 Jan 2021 09:43:25 GMT):
https://hyperledger-fabric.readthedocs.io/en/release-2.2/membership/membership.html#node-ou-roles-and-msps

sigma67 (Thu, 07 Jan 2021 15:18:33 GMT):
Ok, thanks for the reply :)

sigma67 (Thu, 07 Jan 2021 15:41:16 GMT):
Is it just me or are CONFIG transactions always missing the txhash? It seems it is not being returned by the Fabric Node SDK

sigma67 (Thu, 07 Jan 2021 15:41:16 GMT):
Is it just me or are CONFIG transactions always missing the txhash? It seems it is not being returned by the Fabric Node SDK. It seems other important data is missing as well, such as previous/current config. The colums read_set, write_set, chaincode_proposal_input, tx_response are all empty

sigma67 (Thu, 07 Jan 2021 15:41:16 GMT):
Is it just me or are CONFIG transactions always missing the txhash? It seems it is not being returned by the Fabric Node SDK. It seems other important data is missing as well, such as previous/current config. The colums read_set, write_set, chaincode_proposal_input, tx_response are all empty Edit: I created an issue on JIRA

greg2git (Tue, 12 Jan 2021 17:34:01 GMT):
for the sample network is it 'first-network' or 'test-network'? some github documentation seems to not have been updated since the days of byfn.

christian.suwiryo (Thu, 14 Jan 2021 01:07:31 GMT):
Thank you Nekia!!

sam94 (Fri, 15 Jan 2021 16:36:00 GMT):
Hi everyone, I want to avoid any Single Point of Failure by providing multiple peers to my explorer. I have specified multiple peers in my connection-profile.json and the explorer is working but if the first peer in the connection-profile list is unreachable, the explorer does not get the required infos from other peers. Is it a normal behaviour ? If not how can I fix my issue please. (only network topology informations are not present, block and transactions infos are still present)

sam94 (Fri, 15 Jan 2021 16:36:00 GMT):
Hi everyone, I want to avoid any Single Point of Failure by providing multiple peers to my explorer. I have specified multiple peers in my connection-profile.json and the explorer is working but if the first peer in the connection-profile list is unreachable during deployment, the explorer does not get the required infos from other peers. Is it a normal behaviour ? If not how can I fix my issue please. (only network topology informations are not present, block and transactions infos are still present so I tried to declare each peer as an anchor peer to be able to execute serviceDiscovery but it did not solve my issue)

bh4rtp (Sat, 16 Jan 2021 08:12:52 GMT):
my test also fails for the single point of failure.

sam94 (Sat, 16 Jan 2021 10:35:57 GMT):
ok thanks, is it related to the last tag version or it was always the case ?

bh4rtp (Sat, 16 Jan 2021 11:52:12 GMT):
I remember 1.4 sdk can specify endorsing peers

bh4rtp (Sat, 16 Jan 2021 11:52:12 GMT):
I remember 1.4 sdk can specify endorsing peers. 2.2 uses discovery to find endorsing peer according to endorsing policies automatically. It may be a bug which has been already reported on JIRA.

bh4rtp (Sat, 16 Jan 2021 11:55:37 GMT):
https://jira.hyperledger.org/browse/FABN-1687

nekia (Mon, 18 Jan 2021 00:52:42 GMT):
Thanks @sigma67 I'll take a look at this issue.

nekia (Mon, 18 Jan 2021 00:53:03 GMT):
:thumbsup:

nekia (Mon, 18 Jan 2021 00:54:02 GMT):
Thanks, we'll get the document be up to date

sigma67 (Mon, 18 Jan 2021 09:05:06 GMT):
Thanks, I've done some additional research and added info in the comments on JIRA

mayktu (Mon, 18 Jan 2021 22:11:22 GMT):
Has joined the channel.

magnocav (Mon, 18 Jan 2021 22:33:06 GMT):
Has joined the channel.

cmhacker (Tue, 19 Jan 2021 14:41:11 GMT):
Has joined the channel.

AliciaKiran (Wed, 20 Jan 2021 14:22:56 GMT):

Clipboard - January 20, 2021 7:51 PM

AliciaKiran (Wed, 20 Jan 2021 15:30:46 GMT):
Has joined the channel.

rtorrealba (Wed, 20 Jan 2021 15:46:06 GMT):
Hello good morning! I'm working with hyperledger-blockchain-explorer 1.1.3. I can visualize the dynamics of the network correctly but I need to make some visual changes such as color and some images (I don't have much experience in this field), could you help me with this ?, the implementation was done using docker.

rbole (Thu, 21 Jan 2021 16:23:19 GMT):
Has joined the channel.

rbole (Thu, 21 Jan 2021 18:54:15 GMT):
hello, how can I change the frontend path from http://localhost:8080 to http://localhost/explorer e.g. ?

rbole (Thu, 21 Jan 2021 18:54:15 GMT):
hello, how can I change the frontend path from http://localhost:8080 to http://localhost/explorer e.g. ? to get ride of the port.

rbole (Fri, 22 Jan 2021 08:28:13 GMT):
I solved this problem with a subdomain instead of an alias.

MattB97 (Fri, 22 Jan 2021 10:16:47 GMT):
Has joined the channel.

AzizSirojiddinov (Mon, 25 Jan 2021 04:07:11 GMT):
Has joined the channel.

AzizSirojiddinov (Mon, 25 Jan 2021 04:07:11 GMT):
hi . i have a issue. when i run sync from host. websocket do not sending any notification to the client.

nekia (Tue, 26 Jan 2021 12:07:05 GMT):
We've merged the fix that you shared with some unit tests. :slight_smile: Thanks.

fabiolecca (Wed, 27 Jan 2021 11:34:32 GMT):
Has joined the channel.

fabiolecca (Wed, 27 Jan 2021 11:34:33 GMT):
hello all, I have a (probably) very stupid question. how is it possible to build a link that points directly to a specific transaction in hyperledger explorer (obviously after you have logged in) ?

nekia (Thu, 28 Jan 2021 07:39:26 GMT):
Hello, we had same request from the community before. https://jira.hyperledger.org/browse/BE-694

nekia (Thu, 28 Jan 2021 07:42:42 GMT):
Yes, we need to consider authentication before providing that kind of info.

nekia (Thu, 28 Jan 2021 07:43:38 GMT):
Hi, can I ask you to give me some more detail about the steps you followed?

sigma67 (Thu, 28 Jan 2021 08:38:13 GMT):
Great to hear :)

fabiolecca (Thu, 28 Jan 2021 09:47:51 GMT):
thank you, it is exactly the feature I was describing.

Brettsy (Mon, 08 Feb 2021 13:41:29 GMT):
Has joined the channel.

Mkungusi (Tue, 09 Feb 2021 09:15:14 GMT):
Has joined the channel.

Mkungusi (Tue, 09 Feb 2021 09:15:15 GMT):
Does anyone have a Hyperledger Fabric slack group invite ?

Koushik (Wed, 10 Feb 2021 17:20:40 GMT):
Has joined the channel.

Koushik (Wed, 10 Feb 2021 17:20:40 GMT):
Hi all, hope everyone is safe!!! . I am having a weird issue with login and password with hyperledger explorer where the username and password set in the env variables for container is not being accepted. I also tried changing the username and password from default but explorer front end stops working. There seems to be issue with the server logic for username and password

woodyjon (Thu, 11 Feb 2021 15:44:43 GMT):
Hello, I have a question/issue: I deploy the explorer via Kubernetes and connect via ingress. On any browser other than safari I have no issue with the explorer, but on Safari, after login, I have a blank page and the following error in the console of the browser: [Error] Refused to connect to wss://MYURL because it appears in neither the connect-src directive nor the default-src directive of the Content Security Policy. (x2) Do you have an idea if it's an issue with the explorer or with my ingress config? Is it some kind of cors issue? Thanks a lot!

Marioauguto (Sun, 14 Feb 2021 21:04:20 GMT):
Has joined the channel.

Marioauguto (Sun, 14 Feb 2021 21:04:21 GMT):
Hi! Good afternoon, I'm Mario, I live in Salvador / Bahia / Brazil. I am master in mechatronics at Universidade Federal da Bahia. I have a doubt. I'm following the entire script on https://github.com/hyperledger/blockchain-explorer, but I can't access localhost. The terminal has the following error:

Marioauguto (Sun, 14 Feb 2021 21:04:38 GMT):
Compiled successfully! You can now view hyperledger-explorer-client in the browser. Local: http://localhost:3000 On Your Network: http://192.168.15.83:3000 Note that the development build is not optimized. To create a production build, use npm run build. Proxy error: Could not proxy request /auth/networklist from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET). Proxy error: Could not proxy request /ErrorMessage.js from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET). Proxy error: Could not proxy request /App.js from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET). Proxy error: Could not proxy request /src/index.js from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET). Proxy error: Could not proxy request /Theme.js from localhost:3000 to http://localhost:8080/. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET). What do I do? I did not find a solution in the forums. Thank you very much in advance.

sigma67 (Thu, 18 Feb 2021 10:52:38 GMT):
The development build is a bit tricky to get working at the start, since it uses port 3000 instead of 8080, which HL Explorer is configured to use by default

sigma67 (Thu, 18 Feb 2021 10:52:59 GMT):
I recommend doing a npm build first to try it out and run as described in instructions

sigma67 (Thu, 18 Feb 2021 10:53:31 GMT):
If you really want to run the development build you can check our fork at https://github.com/sigma67/hypersec, we got it working

sigma67 (Thu, 18 Feb 2021 10:55:44 GMT):
Pretty much you need to tell the frontend to use server port 3000 instead of 8080 and it should work fine

Marioauguto (Fri, 19 Feb 2021 19:13:01 GMT):
Thank you friend! Do you have a script to make this compilation? correcting port 3000 to port 8000?

Marioauguto (Fri, 19 Feb 2021 19:13:44 GMT):
Thank you so much! Do you have a script to make this compilation? correcting port 3000 to port 8000?

Marioauguto (Fri, 19 Feb 2021 20:21:31 GMT):
what is the package.json folder? Is the folder inside the explorer folder? Additional configuration: you must set the proxy parameter in package.json to point to the Hyperledger Explorer backend. localhost: 8080 works well if the client is running on the same host.

Marioauguto (Fri, 19 Feb 2021 20:22:01 GMT):
I didn't find packge.jon

sigma67 (Mon, 22 Feb 2021 14:17:14 GMT):
package.json is a file in the client folder

Marioauguto (Sun, 28 Feb 2021 13:22:22 GMT):
Good Morning! Do you believe that you are still giving an error? do you have a tutorial on the platform developed in your research group? the link you sent me

cmhacker (Tue, 02 Mar 2021 13:30:17 GMT):
<<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-02T13:25:49.267] [ERROR] Sync - { Error: Failed to connect before the deadline on Discoverer- name: be discoverer peer1.org1.example.com, url:grpcs://x.x.x.x:8051, connected:false, connectAttempted:true at checkState (/opt/explorer/node_modules/@grpc/grpc-js/build/src/client.js:69:26) at Timeout.watcherObject.timer.setTimeout [as _onTimeout] (/opt/explorer/node_modules/@grpc/grpc-js/build/src/channel.js:292:17) at ontimeout (timers.js:436:11)

cmhacker (Wed, 03 Mar 2021 14:24:57 GMT):
I resolved this issue

Marioauguto (Mon, 08 Mar 2021 23:07:53 GMT):
https://hyperledger-fabric.readthedocs.io/en/release-2.2/advice_for_writers.html#rocket-chat

Marioauguto (Mon, 08 Mar 2021 23:08:26 GMT):
However, when I changed the packge.json on client to the same port 3000, a new error appears: Error: Objects are not valid as a React child (found: object with keys {error}). If you meant to render a collection of children, use an array instead. in div (created by Transition) in Transition (created by Fade) in Fade (created by Alert) in Alert (at ErrorMessage.js:18) in div (at ErrorMessage.js:17) in ErrorMessage (created by WithStyles(ErrorMessage)) in WithStyles(ErrorMessage) (at App.js:72) in div (at App.js:70) in App (created by Connect(App)) in Connect(App) (created by WithStyles(Connect(App))) in WithStyles(Connect(App)) (at src/index.js:37) in ThemeProvider (created by MuiThemeProvider) in MuiThemeProvider (at Theme.js:33) in Theme (created by Connect(Theme)) in Connect(Theme) (at src/index.js:36) in Provider (at src/index.js:35) what to do?

anilkumargr (Wed, 10 Mar 2021 22:00:24 GMT):
Has joined the channel.

gary2133 (Thu, 11 Mar 2021 08:03:15 GMT):
Has joined the channel.

gary2133 (Thu, 11 Mar 2021 08:06:42 GMT):
Hello Everyone,I hava a issue.my explorer didn`t synchronization,when i did some action with blockchain.Who can help me?thks.

gary2133 (Thu, 11 Mar 2021 08:06:42 GMT):
Hello Everyone,I hava a issue.my explorer didn`t synchronization,when i did some action with blockchain.Who can help me?thks. [2021-03-11T07:37:26.624] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.624] [ERROR] Sync - TypeError: Cannot read property 'data' of undefined at SyncServices. (/opt/explorer/app/platform/fabric/sync/SyncService.js:531:64) at Generator.next () at fulfilled (/opt/explorer/app/platform/fabric/sync/SyncService.js:27:58) at process._tickCallback (internal/process/next_tick.js:68:7) [2021-03-11T07:37:26.625] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12) [2021-03-11T07:37:26.629] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

gary2133 (Thu, 11 Mar 2021 08:06:42 GMT):
*Hello Everyone,I hava a issue.my explorer didn`t synchronization,when i did some action with blockchain.Who can help me?thks.* [2021-03-11T07:37:26.624] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.624] [ERROR] Sync - TypeError: Cannot read property 'data' of undefined at SyncServices. (/opt/explorer/app/platform/fabric/sync/SyncService.js:531:64) at Generator.next () at fulfilled (/opt/explorer/app/platform/fabric/sync/SyncService.js:27:58) at process._tickCallback (internal/process/next_tick.js:68:7) [2021-03-11T07:37:26.625] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12) [2021-03-11T07:37:26.629] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>>

gary2133 (Thu, 11 Mar 2021 08:06:42 GMT):
*Hello Everyone,I hava a issue.my explorer didn`t synchronization,when i did some action with blockchain.Who can help me?thks.* That is the explorer error logs: [2021-03-11T07:37:26.624] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.624] [ERROR] Sync - TypeError: Cannot read property 'data' of undefined at SyncServices. (/opt/explorer/app/platform/fabric/sync/SyncService.js:531:64) at Generator.next () at fulfilled (/opt/explorer/app/platform/fabric/sync/SyncService.js:27:58) at process._tickCallback (internal/process/next_tick.js:68:7) [2021-03-11T07:37:26.625] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12) [2021-03-11T07:37:26.629] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> my fabric version 2.3 explorer version 1.4

gary2133 (Thu, 11 Mar 2021 08:06:42 GMT):
*Hello Everyone,I hava a issue.my explorer didn`t synchronization,when i did some action with blockchain.Who can help me?thks.* That is the explorer error logs: [2021-03-11T07:37:26.624] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.624] [ERROR] Sync - TypeError: Cannot read property 'data' of undefined at SyncServices. (/opt/explorer/app/platform/fabric/sync/SyncService.js:531:64) at Generator.next () at fulfilled (/opt/explorer/app/platform/fabric/sync/SyncService.js:27:58) at process._tickCallback (internal/process/next_tick.js:68:7) [2021-03-11T07:37:26.625] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12) [2021-03-11T07:37:26.629] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> my fabric version 2.3 explorer version 1.1.4 useing docker

gary2133 (Thu, 11 Mar 2021 08:06:42 GMT):
*Hello Everyone,I hava a issue. my explorer didn`t synchronization,when i did some action with blockchain.Who can help me?thks.* That is the explorer error logs: [2021-03-11T07:37:26.624] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.624] [ERROR] Sync - TypeError: Cannot read property 'data' of undefined at SyncServices. (/opt/explorer/app/platform/fabric/sync/SyncService.js:531:64) at Generator.next () at fulfilled (/opt/explorer/app/platform/fabric/sync/SyncService.js:27:58) at process._tickCallback (internal/process/next_tick.js:68:7) [2021-03-11T07:37:26.625] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12) [2021-03-11T07:37:26.629] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> my fabric version 2.3 explorer version 1.1.4 useing docker

gary2133 (Thu, 11 Mar 2021 08:06:42 GMT):
*Hello Everyone,I hava a issue. my explorer didn`t synchronization,when i did some action with blockchain.Who can help me?thanks.* That is the explorer error logs: [2021-03-11T07:37:26.624] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.624] [ERROR] Sync - TypeError: Cannot read property 'data' of undefined at SyncServices. (/opt/explorer/app/platform/fabric/sync/SyncService.js:531:64) at Generator.next () at fulfilled (/opt/explorer/app/platform/fabric/sync/SyncService.js:27:58) at process._tickCallback (internal/process/next_tick.js:68:7) [2021-03-11T07:37:26.625] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-03-11T07:37:26.628] [ERROR] Sync - Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12) [2021-03-11T07:37:26.629] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> my fabric version 2.3 explorer version 1.1.4 useing docker

nizos (Sat, 13 Mar 2021 06:36:17 GMT):
Has joined the channel.

nekia (Sat, 13 Mar 2021 14:53:18 GMT):
Hi @gary2133 Thank you for sharing your issue. Could you share your entire log including this error?

akoita (Wed, 17 Mar 2021 13:37:09 GMT):
Has joined the channel.

akoita (Wed, 17 Mar 2021 13:44:36 GMT):
Hi, I see that the Explorer documentation mentions some authentication possibilities: https://github.com/hyperledger/blockchain-explorer/blob/main/README-CONFIG.md But currently we are interested in the possibility of managing authentication with Keycloak. Have anyone tried or succeeded in this operation?

nekia (Fri, 19 Mar 2021 05:10:18 GMT):
As far as I know, we've not tried it yet. Explorer is using passport.js middleware to authenticate users accessing to the dashboard. So if you use the following middleware on the top of it, you might be able to do that kind of implementation. https://github.com/louie007/passport-keycloak-oauth2-oidc

akoita (Mon, 22 Mar 2021 10:02:54 GMT):
OK, thanks, we will try this

jbkal (Mon, 22 Mar 2021 19:48:14 GMT):
Has joined the channel.

jbkal (Mon, 22 Mar 2021 19:48:14 GMT):
I've gotten this same error as well trying to run the Explorer against the fabric-samples test-network.

jbkal (Mon, 22 Mar 2021 19:49:11 GMT):
Live updates to the browser seem to work for about a minute or so, then goes silent

jbkal (Mon, 22 Mar 2021 19:49:41 GMT):

jbkal - Mon Mar 22 2021 15:49:35 GMT-0400 (Eastern Daylight Time).txt

jbkal (Mon, 22 Mar 2021 19:49:59 GMT):
Attached logs above

jbkal (Mon, 22 Mar 2021 19:51:51 GMT):
Let me know if any other info is helpful or if this should be filed as a bug somewhere?

jbkal (Mon, 22 Mar 2021 19:56:27 GMT):

jbkal - Mon Mar 22 2021 15:56:11 GMT-0400 (Eastern Daylight Time).txt

jbkal (Mon, 22 Mar 2021 20:10:42 GMT):
fyi went ahead and created bug here https://jira.hyperledger.org/projects/BE/issues/BE-862?filter=allopenissues

nekia (Tue, 23 Mar 2021 03:48:31 GMT):
Thank you for sharing. I'll take a look at it.

Haitam (Tue, 23 Mar 2021 16:09:13 GMT):
Has joined the channel.

Haitam (Tue, 23 Mar 2021 16:09:13 GMT):
Hello everyone, I have followed the quickstart (using docker) to start explorer. Everything works fine but when I try to access the ui via localhost:8080 the server doesn't load. Both explorer and explorer-db images are running but still it doesn't work.

cmhacker (Wed, 24 Mar 2021 03:45:15 GMT):
Could you please check the logs of explorer and explorer db??

cmhacker (Wed, 24 Mar 2021 03:45:59 GMT):
also if you have hosted it on cloud make sure you have access to that port

jexus7 (Wed, 24 Mar 2021 16:18:32 GMT):
Has joined the channel.

jexus7 (Wed, 24 Mar 2021 16:18:33 GMT):
I have same problem

jexus7 (Wed, 24 Mar 2021 16:20:02 GMT):
logs in both seem to be ok

jexus7 (Wed, 24 Mar 2021 16:20:32 GMT):
``` > hyperledger-explorer@1.1.4 app-start /opt/explorer > ./start.sh ************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ```

jexus7 (Wed, 24 Mar 2021 16:21:23 GMT):
``` 2021-03-24 11:57:45.103 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2021-03-24 11:57:45.103 UTC [1] LOG: listening on IPv6 address "::", port 5432 2021-03-24 11:57:45.105 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2021-03-24 11:57:45.118 UTC [18] LOG: database system was shut down at 2021-03-23 17:03:41 UTC 2021-03-24 11:57:45.130 UTC [1] LOG: database system is ready to accept connections ```

jexus7 (Thu, 25 Mar 2021 16:07:37 GMT):
ok, now I at least see the error. I didn't set the enviroment vars so I couldn't see the logs

nao (Fri, 26 Mar 2021 05:34:13 GMT):
Has joined the channel.

memekas (Mon, 29 Mar 2021 08:29:56 GMT):
Has joined the channel.

memekas (Mon, 29 Mar 2021 08:29:56 GMT):
Have the same issue. Could it be because of the fabric version?

vikramvicky (Tue, 06 Apr 2021 15:54:50 GMT):
Has joined the channel.

vikramvicky (Tue, 06 Apr 2021 15:54:50 GMT):
Hello Everyone, Anyone successfully deployed Hyperledger-Explorer on kubernetes/minikube? if yes could you please me with decks or links with clear procedure?

cmhacker (Thu, 08 Apr 2021 06:02:29 GMT):
Hello Everyone, How to enable https in the blockchain explorer docker version?? I found a document without docker https://github.com/hyperledger/blockchain-explorer/blob/main/CONFIG-HTTPS-HLEXPLORER.md

cmhacker (Thu, 08 Apr 2021 06:02:29 GMT):
Hello Everyone, How to configure HTTPS in the blockchain explorer docker version?? I found a document without docker https://github.com/hyperledger/blockchain-explorer/blob/main/CONFIG-HTTPS-HLEXPLORER.md

jbkal (Thu, 08 Apr 2021 19:50:32 GMT):
@nekia Have you had a chance to investigate this? Using the latest fabric peer version 2.3.1 and the latest explorer version 1.1.4

cmhacker (Fri, 09 Apr 2021 11:55:03 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=hNxiB5GXPxpbBo4NP) I have found docker env *SSL_ENABLED* and *SSL_CERTS_PATH* now, I am getting error /opt/explorer/app/main.js:157 server.on('connection', connection => { ^ TypeError: Cannot read property 'on' of undefined

jbkal (Fri, 09 Apr 2021 23:26:43 GMT):
Did some digging, the offending line is here: https://github.com/hyperledger/blockchain-explorer/blob/main/app/platform/fabric/sync/SyncService.ts#L605 on the transaction that's causing the crash, `txObj.payload.data.last_update` is an empty object.

nekia (Sat, 10 Apr 2021 12:46:45 GMT):
I'm working on it. I could reproduce this issue with fabric v2.3. Currently explorer doesn't support v2.3. I'll have a look at adding the support.

nekia (Mon, 12 Apr 2021 06:54:11 GMT):
We've fixed it in the latest codebase. Probably a new release will be created in the end of this week.

nekia (Tue, 20 Apr 2021 12:43:47 GMT):
@anilkumargr Thank you for your recent change regarding direct link to TX detail. That's great. https://jira.hyperledger.org/browse/BE-694 If we could add `Share` button as below on the TX detail modal to retrieve URL to be shared, that would be great, I think. https://fontawesome.com/icons/share-alt?style=regular

jeevasang (Wed, 21 Apr 2021 15:01:22 GMT):
Explorer v1.1.5 has been released!

jbkal (Wed, 21 Apr 2021 18:09:57 GMT):
Awesome, thanks a lot

pouya (Sat, 24 Apr 2021 12:43:37 GMT):
hi I am using H. Explorer on top of Docker swarm, the problem is that almost always Explorer container start before EsplorerDB container. so it receives kill signal and stops working and never starts again. ``` ```

pouya (Sat, 24 Apr 2021 12:43:37 GMT):
hi I am using H. Explorer on top of Docker swarm, the problem is that almost always Explorer container start before EsplorerDB container. so it receives kill signal and stops working and never starts again. as my docker-composes version in 3.8, `dependes_on` is deprecated.

pouya (Sat, 24 Apr 2021 12:43:37 GMT):
hi I am using H. Explorer on top of Docker swarm, the problem is that almost always Explorer container start before EsplorerDB container. so it receives kill signal and stops working and never starts again. as my docker-composes version in 3.8, `dependes_on` is deprecated. can any body please help.

pouya (Sat, 24 Apr 2021 12:43:37 GMT):
hi I am using H. Explorer on top of Docker swarm, the problem is that almost always Explorer container start before EsplorerDB container. so it receives kill signal and stops working and never starts again. as my docker-compose version is 3.8, `dependes_on` is deprecated. can any body please help.

pouya (Sat, 24 Apr 2021 12:43:37 GMT):
hi I am using H. Explorer on top of Docker swarm, the problem is that almost always Explorer container start before EsplorerDB container. so it receives kill signal and stops working and never starts again. as my docker-compose version is 3.8, `dependes_on` is deprecated. is there any config for Explorer container to waits for some seconds before starting? can any body please help.

pouya (Sat, 24 Apr 2021 12:43:37 GMT):
hi I am using H. Explorer on top of Docker swarm, the problem is that almost always Explorer container start before EsplorerDB container. so it receives kill signal and stops working and never starts again. as my docker-compose version is 3.8, `dependes_on` is deprecated. is there any config for Explorer container to waits for some seconds before starting? can any body please help. @nekia

cmhacker (Sun, 25 Apr 2021 09:01:13 GMT):
Hi, After removal of chaincode, explorer doesn't update chaincode count in dashboard why?? I am using docker image of explorer and fabric version 2.1. If i query using CLI then I got correct results.

skymatrix (Sun, 25 Apr 2021 10:41:47 GMT):
Has joined the channel.

aminer (Mon, 26 Apr 2021 10:49:18 GMT):
Has joined the channel.

aminer (Mon, 26 Apr 2021 10:49:18 GMT):
Hi there, I'm trying to deploy Hyperledger Explorer in an Openshift environment without success. Currently not possible to give containers root access within the cluster, so, what do I have to take into account for a deployment like this, are there any steps to adapt Explorer to a non root cluster environment? Thanks in advance

javestunix (Tue, 27 Apr 2021 08:21:46 GMT):
Has joined the channel.

javestunix (Tue, 27 Apr 2021 08:21:47 GMT):
Hello, how can I upgrade my installation from 1.1.4 to 1.1.5 ?

toddinpal (Tue, 27 Apr 2021 18:17:34 GMT):
Has joined the channel.

Chem (Tue, 04 May 2021 04:54:27 GMT):
Has joined the channel.

Chem (Tue, 04 May 2021 05:01:08 GMT):
I also got the same error.

Chem (Tue, 04 May 2021 05:01:08 GMT):
I also got the same error. @nekia

Chem (Tue, 04 May 2021 05:01:48 GMT):
Fabric version 2.2.0

Chem (Tue, 04 May 2021 05:01:57 GMT):
Explorer latest

Chem (Tue, 04 May 2021 05:04:31 GMT):

20210504_103245.jpg

nekia (Tue, 04 May 2021 06:36:59 GMT):
Which version of Explorer are you using? And did you create `mychannel` on your fabric network before starting up the Explorer?

nekia (Tue, 04 May 2021 06:39:57 GMT):
I don't think we need any root privilege to run Explorer.

nekia (Tue, 04 May 2021 06:40:25 GMT):
What kind of permission errors do you have?

nekia (Tue, 04 May 2021 06:41:47 GMT):
Thank you for sharing the issue you have. We'll take a look at the issue.

nekia (Tue, 04 May 2021 06:45:07 GMT):
https://jira.hyperledger.org/browse/BE-869

nekia (Tue, 04 May 2021 07:33:25 GMT):
Hi, I don't have much experience using docker swarm and I'm not sure how to handle such a situation. I hope the following conversation in Stackoverflow would be useful for you.

Chem (Tue, 04 May 2021 08:27:44 GMT):
Hi @nekia

Chem (Tue, 04 May 2021 08:27:44 GMT):
Hi @nekia, I got the error Discoveryservice:channel mychannel received discovery error. Access denied. I am using Minikube fabric network.

nekia (Tue, 04 May 2021 14:35:45 GMT):
Can you see `mychannel` by executing `peer channel list` in your peer pod?

Chem (Wed, 05 May 2021 03:56:10 GMT):
In peer pod it's available

Chem (Wed, 05 May 2021 06:53:53 GMT):
@nekia I am using the same network.json configuration file in the explorer github

Chem (Wed, 05 May 2021 06:56:00 GMT):
Wallet successfully created with my private key and certificates

nekia (Wed, 05 May 2021 07:26:10 GMT):
Is there any errors on peer side?

Chem (Wed, 05 May 2021 10:25:50 GMT):
Nop

Chem (Wed, 05 May 2021 10:26:38 GMT):

20210505_155427.jpg

Chem (Wed, 05 May 2021 10:27:38 GMT):
In the image line number 300 make the error. I was not able to fetch the network. Channel name is correct. But the network variable was not set.(explorer/app/platform/gateway/FabricGateway.js)

Chem (Wed, 05 May 2021 10:27:38 GMT):
In the image line number 300 make the error. I was not able to fetch the network. Channel name is correct. But the network variable was not set.

Chem (Wed, 05 May 2021 10:28:11 GMT):
What is the possible issue? @nekia

Chem (Wed, 05 May 2021 12:16:30 GMT):
Which method, cryptogen or fabric-ca to generate crypto materials to setup explorer in kubernetes based network?

cmhacker (Wed, 05 May 2021 12:59:04 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=KgKBJ9gt5m7vAs54M) You can use any method.

Chem (Wed, 05 May 2021 13:53:38 GMT):

20210505_155427.jpg

Chem (Wed, 05 May 2021 13:53:42 GMT):
@cmhacker When I use cryptogen then I was not able to fetch the network in gateway

Chem (Wed, 05 May 2021 13:53:42 GMT):
@cmhacker When I use cryptogen then I was not able to fetch the network in gateway(explorer/platform/fabric/gateway/FabricGateway.js)

cmhacker (Wed, 05 May 2021 14:46:53 GMT):
May be something is missing in the configuration. because In my first setup I did it using cryptogen . Now I am using fabric-CA.

dcspinho (Wed, 05 May 2021 22:54:47 GMT):
Has joined the channel.

dcspinho (Wed, 05 May 2021 22:54:48 GMT):
SSSS

jbessa (Wed, 05 May 2021 23:36:02 GMT):
Has joined the channel.

nekia (Thu, 06 May 2021 01:28:23 GMT):
Can you capture log of Explorer container with the following environment variables and share it? ``` LOG_LEVEL_CONSOLE=debug HFC_LOGGING={"debug":"console","info":"console"} GRPC_VERBOSITY=DEBUG GRPC_TRACE=all ```

Chem (Thu, 06 May 2021 03:57:15 GMT):
I am using Minikube. I will share the pod log

Chem (Thu, 06 May 2021 03:59:24 GMT):
I am using Minikube. Is there any additional configuration required? Please share the configuration file if possible. @cmhacker

cmhacker (Thu, 06 May 2021 06:16:31 GMT):
For Minicube I don't know. I deployed network on docker

cmhacker (Thu, 06 May 2021 06:20:52 GMT):
`{ "name": "first-network", "version": "2.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" }, "enableAuthentication": false, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "channelall": { "peers": { "peer0.org1.example.com": {}, "peer0.org2.example.com": {}, "peer0.org3.example.com": {} }, "connection": { "timeout": { "peer": { "endorser": "6000", "eventHub": "6000", "eventReg": "6000" } } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/63486061c410b6f4d981f59f229edf8a76c8ead6bfca6e480e48cef46dbf4379_sk" }, "peers": [ "peer0.org1.example.com" ], "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" } }, "Org2MSP": { "mspid": "Org2MSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/17acc863afd266715ea941866fda76db9427773d71999d64477166434799ee7c_sk" }, "peers": [ "peer0.org2.example.com" ], "signedCert": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/Admin@org2.example.com-cert.pem" } }, "Org3MSP": { "mspid": "Org3MSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/keystore/03fd8324cc113ce92e0ab349185c9fb90b349cea35c509c45436b0dcb7038efa_sk" }, "peers": [ "peer0.org3.example.com" ], "signedCert": { "path": "/tmp/crypto/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp/signcerts/Admin@org3.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem" }, "url": "grpc://IP:7051", "eventUrl": "grpc://IP:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } }, "peer0.org2.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem" }, "url": "grpc://IP:7051", "eventUrl": "grpc://IP:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org2.example.com" } }, "peer0.org3.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org3.example.com/tlsca/tlsca.org3.example.com-cert.pem" }, "url": "grpc://IP:7051", "eventUrl": "grpc://IP:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org3.example.com" } } }, "orderers": { "orderer.example.com": { "url": "grpc://IP:7050" } } }`

cmhacker (Thu, 06 May 2021 06:21:59 GMT):
With CA you can use this file https://github.com/cmjagtap/Hyperledger-Fabric/blob/master/explorer/dockerConfig/connection-profile/org1-network.json

Chem (Thu, 06 May 2021 08:16:51 GMT):
It's working now. Thanks @nekia

Chem (Thu, 06 May 2021 08:17:35 GMT):
It's working now. Thank you @cmhacker

nekia (Thu, 06 May 2021 13:21:50 GMT):
If possible, can you share the quick summary of the cause of your issue?

chakshujain (Tue, 11 May 2021 04:57:12 GMT):
Has joined the channel.

cmhacker (Wed, 12 May 2021 07:23:50 GMT):
Hi @nekia , I have deployed Hyperledger explorer in docker environment with fabric 2.1. after every 2,3 days, My explorer stops working. I have checked the logs explorer is working, but exploererdb shows the following error ``` 2021-04-27 13:28:48.170 UTC [37] LOG: could not receive data from client: Connection reset by peer 2021-04-27 13:28:48.170 UTC [37] LOG: unexpected EOF on client connection with an open transaction ``` Is there anything that I am missing??

cmhacker (Wed, 12 May 2021 07:23:50 GMT):
Hi @nekia , I have deployed Hyperledger explorer in docker environment with fabric 2.1. after every 2,3 days, My explorer stops working. I have checked the logs ` explorer container logs as follows``` ^[[91m[2021-04-27T13:28:48.169] [ERROR] Sync - ^[[39m<<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> ^[[91m[2021-04-27T13:28:48.169] [ERROR] Sync - ^[[39mError : [ 'Block already in processing' ] ^[[32m[2021-04-27T13:28:48.170] [INFO] Sync - ^[[39m<<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> 2021-04-27T13:28:48.175Z - ^[[33mwarn^[[39m: [BlockEventSource]: Error notifying listener message=Connection terminated, stack=Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) ``` exploererdb container shows the following error 2021-04-27 13:28:48.170 UTC [37] LOG: could not receive data from client: Connection reset by peer 2021-04-27 13:28:48.170 UTC [37] LOG: unexpected EOF on client connection with an open transaction ``` Is there anything that I am missing??

cmhacker (Wed, 12 May 2021 07:23:50 GMT):
Hi @nekia , I have deployed Hyperledger explorer in docker environment with fabric 2.1. after every 2,3 days, My explorer stops working. I have checked the logs ` explorer container logs as follows``` ^[[91m[2021-04-27T13:28:48.169] [ERROR] Sync - ^[[39m<<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> ^[[91m[2021-04-27T13:28:48.169] [ERROR] Sync - ^[[39mError : [ 'Block already in processing' ] ^[[32m[2021-04-27T13:28:48.170] [INFO] Sync - ^[[39m<<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> 2021-04-27T13:28:48.175Z - ^[[33mwarn^[[39m: [BlockEventSource]: Error notifying listener message=Connection terminated, stack=Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) ``` exploererdb container shows the following error ``` 2021-04-27 13:28:48.170 UTC [37] LOG: could not receive data from client: Connection reset by peer 2021-04-27 13:28:48.170 UTC [37] LOG: unexpected EOF on client connection with an open transaction ``` Is there anything that I am missing??

cmhacker (Wed, 12 May 2021 07:23:50 GMT):
Hi @nekia , I have deployed Hyperledger explorer in docker environment with fabric 2.1. after every 2,3 days, My explorer stops working. I have checked the logs ` explorer container logs as follows``` ^[[32m[2021-04-27T13:28:47.633] [INFO] FabricUtils - ^[[39mgenerateBlockHash 14646 ^[[32m[2021-04-27T13:28:47.641] [INFO] SyncServices - ^[[39mblock_row.blocknum 14646 ^[[32m[2021-04-27T13:28:47.831] [INFO] FabricUtils - ^[[39mgenerateBlockHash 14647 ^[[32m[2021-04-27T13:28:47.839] [INFO] SyncServices - ^[[39mblock_row.blocknum 14647 ^[[32m[2021-04-27T13:28:48.160] [INFO] FabricUtils - ^[[39mgenerateBlockHash 14648 ^[[91m[2021-04-27T13:28:48.169] [ERROR] Sync - ^[[39m<<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> ^[[91m[2021-04-27T13:28:48.169] [ERROR] Sync - ^[[39mError : [ 'Block already in processing' ] ^[[32m[2021-04-27T13:28:48.170] [INFO] Sync - ^[[39m<<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> 2021-04-27T13:28:48.175Z - ^[[33mwarn^[[39m: [BlockEventSource]: Error notifying listener message=Connection terminated, stack=Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12) 2 ``` exploererdb container shows the following error ``` 2021-04-27 13:28:48.170 UTC [37] LOG: could not receive data from client: Connection reset by peer 2021-04-27 13:28:48.170 UTC [37] LOG: unexpected EOF on client connection with an open transaction ``` Is there anything that I am missing??

cmhacker (Wed, 12 May 2021 07:23:50 GMT):
Hi @nekia , I have deployed Hyperledger explorer v1.1.4 in docker environment with fabric 2.1. after every 2,3 days, My explorer stops working. I have checked the logs ` explorer container logs as follows``` ^[[32m[2021-04-27T13:28:47.633] [INFO] FabricUtils - ^[[39mgenerateBlockHash 14646 ^[[32m[2021-04-27T13:28:47.641] [INFO] SyncServices - ^[[39mblock_row.blocknum 14646 ^[[32m[2021-04-27T13:28:47.831] [INFO] FabricUtils - ^[[39mgenerateBlockHash 14647 ^[[32m[2021-04-27T13:28:47.839] [INFO] SyncServices - ^[[39mblock_row.blocknum 14647 ^[[32m[2021-04-27T13:28:48.160] [INFO] FabricUtils - ^[[39mgenerateBlockHash 14648 ^[[91m[2021-04-27T13:28:48.169] [ERROR] Sync - ^[[39m<<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> ^[[91m[2021-04-27T13:28:48.169] [ERROR] Sync - ^[[39mError : [ 'Block already in processing' ] ^[[32m[2021-04-27T13:28:48.170] [INFO] Sync - ^[[39m<<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> 2021-04-27T13:28:48.175Z - ^[[33mwarn^[[39m: [BlockEventSource]: Error notifying listener message=Connection terminated, stack=Error: Connection terminated at Connection.con.once (/opt/explorer/node_modules/pg/lib/client.js:254:9) at Object.onceWrapper (events.js:286:20) at Connection.emit (events.js:203:15) at Socket. (/opt/explorer/node_modules/pg/lib/connection.js:78:10) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12) 2 ``` exploererdb container shows the following error ``` 2021-04-27 13:28:48.170 UTC [37] LOG: could not receive data from client: Connection reset by peer 2021-04-27 13:28:48.170 UTC [37] LOG: unexpected EOF on client connection with an open transaction ``` Is there anything that I am missing??

vitorduarte (Fri, 14 May 2021 17:57:23 GMT):
Hi cmhacker, I'm facing the same problem. There is an issue in Jira about that https://jira.hyperledger.org/browse/BE-855

anilkumargr (Fri, 14 May 2021 17:57:58 GMT):
Hi Nekia, I have made the required changes to display the direct link in the TX detail modal. However, I did not use the share icon as I did not see it fitting into the modal and it did not seem to be consistent with other things on the modal.

anilkumargr (Fri, 14 May 2021 17:58:49 GMT):
I have created a pull request Be 870 display direct trans link #237. Could you please review and approve the pull request.

vitorduarte (Fri, 14 May 2021 18:01:20 GMT):
I've been trying to fix it but I don't know the best way to do it. I discover a way to mantain sync process running. But is ugly, basically I commented the lines `shutDown();` from `app/sync.ts`

charith1994 (Sat, 15 May 2021 17:04:36 GMT):
Has joined the channel.

Chem (Mon, 17 May 2021 08:13:17 GMT):
Hi @nekia , Is it possible to setup explorer in OCP?

Chem (Mon, 17 May 2021 08:13:17 GMT):
Hi Team, Is it possible to setup explorer in OCP?

nekia (Mon, 17 May 2021 13:38:24 GMT):
Thanks @anilkumargr for adding the direct link.

nekia (Wed, 19 May 2021 00:26:29 GMT):
I'm not sure if it's possible. But I've seen someone who make explorer run on Kubernetes, so I think it's possible to setup Explorer on OCP as well.

Chem (Wed, 26 May 2021 05:16:26 GMT):
Thanks @nekia

kh_touati (Mon, 31 May 2021 10:48:19 GMT):
Has joined the channel.

kh_touati (Mon, 31 May 2021 10:48:20 GMT):
thanks

kh_touati (Mon, 31 May 2021 10:48:20 GMT):
Hi All, I am trying to use Hyperledger explorer. I have well configure it and it is working. However, it does not take into consideration the new transaction. I want to configure it in order to have a real time behavior. could you help me to realize this

munapower (Tue, 01 Jun 2021 14:57:14 GMT):
Has joined the channel.

munapower (Tue, 01 Jun 2021 14:57:16 GMT):
Hello! I am collaborating on the Fabric-Private-Chaincode stream and we would like to use Blockchain Explorer to easily show how transactions are stored using FPC. We would like to be able to also show the chaincode function and arguments that are sent (they should be encrypted). I am not sure where I would have to modify to add these fields. Any pointers are appreciated!

sigma67 (Wed, 02 Jun 2021 19:01:30 GMT):
Hyperledger Explorer uses the channel subscriptions provided by fabric-node-sdk. Your data should be somewhere in the transaction data provided by the channel subscription. I'd start by checking if the rw-sets of your transactions are being synced to HL Explorer's database

munapower (Thu, 03 Jun 2021 18:15:43 GMT):
thank you for replying. I did find that in the sync service blockchain-explorer/app/platform/fabric/sync/SyncService.ts they are obtaining the info I would like to display `chaincode_proposal_input = txObj.payload.data.actions[0].payload.chaincode_proposal_payload.input .chaincode_spec.input.args;` what I don´t know is where that field should be displayed ...

nekia (Fri, 04 Jun 2021 14:06:30 GMT):
I think you need to modify `client/src/components/View/TransactionView.js` and `app/persistence/fabric/CRUDService.ts`. In `CRUDService.ts`, `chaincode_proposal_input` field is currently filtered from API response.

nekia (Fri, 04 Jun 2021 14:07:19 GMT):
[blockchain-explorer/CRUDService.ts at main · hyperledger/blockchain-explorer](https://github.com/hyperledger/blockchain-explorer/blob/main/app/persistence/fabric/CRUDService.ts#L49)

munapower (Fri, 04 Jun 2021 14:08:10 GMT):
aaaahhhhh ok, and I wouldn't be able to do that inside the docker environment correct? I would have to clone the repository, modify and then build everything, right?

nekia (Fri, 04 Jun 2021 16:13:11 GMT):
That's right.

jeevasang (Mon, 07 Jun 2021 08:41:44 GMT):
Explorer v1.1.6 has been released!

raduke (Wed, 09 Jun 2021 18:42:03 GMT):
Has joined the channel.

cthtuf (Fri, 11 Jun 2021 06:46:52 GMT):
Has joined the channel.

cthtuf (Fri, 11 Jun 2021 06:46:53 GMT):
Hi everyone. I noticed when I add *peer* from another organization in my network and join it to channel, it *doesn't have* installed *_lifecycle* chaincode (1*) and that's the reason why *explorer*, deployed for this organization is *failed*. I found a workaround for it - to approve some chaincode, it could be even not being packed and installed, like `peer lifecycle chaincode approveformyorg --name randomchaincodename --package-id 1 --tls --tlsRootCertFiles {path_here} --cafile {path_here} --version 1 --channelID defaultchannel --sequence 1`. I executed it from initial peer of first organization. Somehow it forced new peer to install _livecycle chaincode (2*) and than explorer could start. ``` 1*. Right after join new peer to channel on discovery request [ { "MSPID": "RG-288-853-MSP", "LedgerHeight": 4, "Endpoint": "nd-898-226-493.rg-288-853.int.chainstack.com:7051", "Identity": "{certificate here}", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-853-084-MSP", "LedgerHeight": 4, "Endpoint": "nd-209-598-807.rg-853-084.int.chainstack.com:7051", "Identity": "{certificate here}", "Chaincodes": null # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< } ] Also explorer shows next lines in logs: [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [ERROR] Sync - { FabricError: Query failed. Errors: ["Error: Peer nd-209-598-807.rg-853-084.int.chainstack.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:47:23) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'FabricError' } [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` ``` 2*. Than execute peer lifecycle chaincode approveformyorg --name lifecycle --package-id 1 -o orderer_address:7050 --tls --tlsRootCertFiles path_to_cert --cafile path_to_cert --version 1 --channelID defaultchannel --sequence 1 and now discovery returns [ { "MSPID": "RG-288-853-MSP", "LedgerHeight": 5, "Endpoint": "nd-898-226-493.rg-288-853.int.chainstack.com:7051", "Identity": "{ certificate here}", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-853-084-MSP", "LedgerHeight": 5, "Endpoint": "nd-209-598-807.rg-853-084.int.chainstack.com:7051", "Identity": "{ certificate here }", "Chaincodes": [ "_lifecycle" # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< not it's here ] } ] And explorer runs successfully. ``` For sure that way is not production ready. How to fix it and make explorer works right after deploying? I use hlf-peer 2.2.0 and hlf-explorer 1.1.4

cthtuf (Fri, 11 Jun 2021 06:46:53 GMT):
Hi everyone. I noticed when I add *peer* from another organization in my network and join it to channel, it *doesn't have* installed *_lifecycle* chaincode (1) and that's the reason why *explorer*, deployed for this organization is *failed*. I found a workaround for it - to approve some chaincode, it could be even not being packed and installed, like `peer lifecycle chaincode approveformyorg --name randomchaincodename --package-id 1 --tls --tlsRootCertFiles {path_here} --cafile {path_here} --version 1 --channelID defaultchannel --sequence 1`. I executed it from initial peer of first organization. Somehow it forced new peer to install _livecycle chaincode (2) and than explorer could start. ``` 1*. Right after join new peer to channel on discovery request [ { "MSPID": "RG-288-853-MSP", "LedgerHeight": 4, "Endpoint": "nd-898-226-493.rg-288-853.int.chainstack.com:7051", "Identity": "{certificate here}", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-853-084-MSP", "LedgerHeight": 4, "Endpoint": "nd-209-598-807.rg-853-084.int.chainstack.com:7051", "Identity": "{certificate here}", "Chaincodes": null # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< } ] Also explorer shows next lines in logs: [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [ERROR] Sync - { FabricError: Query failed. Errors: ["Error: Peer nd-209-598-807.rg-853-084.int.chainstack.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:47:23) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'FabricError' } [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` ``` 2*. Than execute peer lifecycle chaincode approveformyorg --name lifecycle --package-id 1 -o orderer_address:7050 --tls --tlsRootCertFiles path_to_cert --cafile path_to_cert --version 1 --channelID defaultchannel --sequence 1 and now discovery returns [ { "MSPID": "RG-288-853-MSP", "LedgerHeight": 5, "Endpoint": "nd-898-226-493.rg-288-853.int.chainstack.com:7051", "Identity": "{ certificate here}", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-853-084-MSP", "LedgerHeight": 5, "Endpoint": "nd-209-598-807.rg-853-084.int.chainstack.com:7051", "Identity": "{ certificate here }", "Chaincodes": [ "_lifecycle" # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< not it's here ] } ] And explorer runs successfully. ``` For sure that way is not production ready. How to fix it and make explorer works right after deploying? I use hlf-peer 2.2.0 and hlf-explorer 1.1.4

cthtuf (Fri, 11 Jun 2021 06:46:53 GMT):
Hi everyone. I noticed when I add *peer* from another organization in my network and join it to channel, it *doesn't have* installed *_lifecycle* chaincode (1) and that's the reason why *explorer*, deployed for this organization is *failed*. I found a workaround for it - to approve some chaincode, it could be even not being packed and installed, like `peer lifecycle chaincode approveformyorg --name randomchaincodename --package-id 1 --tls --tlsRootCertFiles {path_here} --cafile {path_here} --version 1 --channelID defaultchannel --sequence 1`. I executed it from initial peer of first organization. Somehow it forced new peer to install _livecycle chaincode (2) and than explorer could start. ``` 1*. Right after join new peer to channel on discovery request [ { "MSPID": "RG-288-853-MSP", "LedgerHeight": 4, "Endpoint": "nd-898-226-493.rg-288-853.int.chainstack.com:7051", "Identity": "{certificate here}", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-853-084-MSP", "LedgerHeight": 4, "Endpoint": "nd-209-598-807.rg-853-084.int.chainstack.com:7051", "Identity": "{certificate here}", "Chaincodes": null # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< } ] Also explorer shows next lines in logs: [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [ERROR] Sync - { FabricError: Query failed. Errors: ["Error: Peer nd-209-598-807.rg-853-084.int.chainstack.com is not running chaincode _lifecycle"] at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:47:23) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'FabricError' } [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` ``` 2*. Than execute peer lifecycle chaincode approveformyorg --name lifecycle --package-id 1 -o orderer_address:7050 --tls --tlsRootCertFiles path_to_cert --cafile path_to_cert --version 1 --channelID defaultchannel --sequence 1 and now discovery returns [ { "MSPID": "RG-288-853-MSP", "LedgerHeight": 5, "Endpoint": "nd-898-226-493.rg-288-853.int.chainstack.com:7051", "Identity": "{ certificate here}", "Chaincodes": [ "_lifecycle" ] }, { "MSPID": "RG-853-084-MSP", "LedgerHeight": 5, "Endpoint": "nd-209-598-807.rg-853-084.int.chainstack.com:7051", "Identity": "{ certificate here }", "Chaincodes": [ "_lifecycle" # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< now it's here ] } ] And explorer runs successfully. ``` For sure that way is not production ready. How to fix it and make explorer works right after deploying? I use hlf-peer 2.2.0 and hlf-explorer 1.1.4

nekia (Fri, 11 Jun 2021 07:57:06 GMT):
Thank you for your feedback and we'll have a look at it. First it seems to be necessary to assume it returns empty.

cthtuf (Fri, 11 Jun 2021 08:01:18 GMT):
Thanks for the reply @nekia. I also think that check should be performed on explorer's side, but don't you know is that OK that peer doesn't have _lifecycle chaincode installed initially, right after joining channel?

cthtuf (Wed, 16 Jun 2021 19:23:00 GMT):
Hello. Got another bug with explorer. When I'm trying to start it, it stuck. Here the last logs from container: ``` [2021-06-16T18:52:12.309] [ERROR] main - Error: Failed to connect before the deadline on Discoverer- name: be discoverer nd-213-480-746.rg-853-084.int.chainstack.com, url:grpcs://nd-213-480-746.rg-853-084.int.chainstack.com:7051, connected:false, connectAttempted:true at checkState (/opt/explorer/node_modules/@grpc/grpc-js/build/src/client.js:73:26) at processTicksAndRejections (internal/process/task_queues.js:83:21) at runNextTicks (internal/process/task_queues.js:66:3) at processImmediate (internal/timers.js:429:9) { connectFailed: true } 2021-06-16T18:52:12.309Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Discoverer- name: be discoverer nd-213-480-746.rg-853-084.int.chainstack.com, url:grpcs://nd-213-480-746.rg-853-084.int.chainstack.com:7051, connected:false, connectAttempted:true 2021-06-16T18:52:12.309Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server be discoverer nd-213-480-746.rg-853-084.int.chainstack.com url:grpcs://nd-213-480-746.rg-853-084.int.chainstack.com:7051 timeout:3000 [2021-06-16T18:52:12.309] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> [2021-06-16T18:52:12.310] [ERROR] main - Error: Failed to connect before the deadline on Discoverer- name: be discoverer nd-213-480-746.rg-853-084.int.chainstack.com, url:grpcs://nd-213-480-746.rg-853-084.int.chainstack.com:7051, connected:false, connectAttempted:true at checkState (/opt/explorer/node_modules/@grpc/grpc-js/build/src/client.js:73:26) at processTicksAndRejections (internal/process/task_queues.js:83:21) at runNextTicks (internal/process/task_queues.js:66:3) at processImmediate (internal/timers.js:429:9) { connectFailed: true } [2021-06-16T18:52:12.311] [INFO] main - Received kill signal, shutting down gracefully [2021-06-16T18:52:12.312] [INFO] Platform - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing explorer >>>>>>>>>>>>>>>>>>>>> [2021-06-16T18:52:12.313] [INFO] main - Closed out connections [2021-06-16T18:52:12.313] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` and here last rows from app.log ``` [2021-06-16T18:51:57.225] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client network channel_name defaultchannel [2021-06-16T18:51:57.323] [INFO] FabricUtils - generateBlockHash 0 [2021-06-16T18:51:57.406] [INFO] FabricGateway - Sending discovery request... [2021-06-16T18:51:57.413] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-16T18:51:57.413] [INFO] FabricClient - Discovered RG-288-853-MSP [ { mspid: 'RG-288-853-MSP', endpoint: 'nd-164-151-188.rg-288-853.int.chainstack.com:7051', name: 'nd-164-151-188.rg-288-853.int.chainstack.com:7051', ledgerHeight: Long { low: 65, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-16T18:51:57.413] [INFO] FabricClient - Discovered RG-855-124-MSP [ { mspid: 'RG-855-124-MSP', endpoint: 'nd-231-037-728.rg-855-124.int.chainstack.com:7051', name: 'nd-231-037-728.rg-855-124.int.chainstack.com:7051', ledgerHeight: Long { low: 65, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-16T18:51:57.414] [INFO] FabricClient - Discovered RG-853-084-MSP [ { mspid: 'RG-853-084-MSP', endpoint: 'nd-213-480-746.rg-853-084.int.chainstack.com:7051', name: 'nd-213-480-746.rg-853-084.int.chainstack.com:7051', ledgerHeight: Long { low: 65, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-16T18:51:57.510] [INFO] FabricGateway - queryInstantiatedChaincodes defaultchannel [2021-06-16T18:51:57.610] [INFO] FabricGateway - queryInstantiatedChaincodes defaultchannel [2021-06-16T18:51:39.416] [INFO] Platform - getClient (id:network) [2021-06-16T18:52:12.313] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ``` I added probes to k8s deployment with looking into logs/app.log for some errors, and restart if exist, but these `<<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>>` records don't appear in logs/app.log. In case if I restart node manually, it works good after restart. Is any way to detect such errors? Peer 2.2.0, Explorer 1.1.6

bh4rtp (Thu, 17 Jun 2021 00:03:07 GMT):
can v1.1.5 be upgraded to v1.1.6 without any changes of configuration for fabric 2.3 network?

bh4rtp (Thu, 17 Jun 2021 00:03:39 GMT):
or is there any documentation about the upgrade?

cthtuf (Thu, 17 Jun 2021 04:05:11 GMT):
Does adding pipe to `CMD` in Dockerfile could solve this issue with leaking logs? ``` https://github.com/hyperledger/blockchain-explorer/blob/main/Dockerfile ... # run blockchain explorer main app CMD npm run app-start > /opt/explorer/logs/node.log && tail -f /dev/null ```

cthtuf (Thu, 17 Jun 2021 04:07:31 GMT):
@nekia could you please advise something with it?

cthtuf (Thu, 17 Jun 2021 08:18:38 GMT):
an update: that's related to case when chain have a lot of config blocks. no such problems with fresh networks

cthtuf (Thu, 17 Jun 2021 13:15:55 GMT):
I tried to set `LOG_CONSOLE_STDOUT=false` through env, but after that I just got next messages in stdout\stderr: ``` 2021-06-17T12:52:12.816Z - error: [ServiceEndpoint]: Error: Failed to connect before the deadline on Discoverer- name: be discoverer nd-176-821-984.rg-853-084.int.chainstack.com, url:grpcs://nd-176-821-984.rg-853-084.int.chainstack.com:7051, connected:false, connectAttempted:true 2021-06-17T12:52:12.816Z - error: [ServiceEndpoint]: waitForReady - Failed to connect to remote gRPC server be discoverer nd-176-821-984.rg-853-084.int.chainstack.com url:grpcs://nd-176-821-984.rg-853-084.int.chainstack.com:7051 timeout:3000 ~ x100 times ``` I need some way to detect if explorer is unhealthy. Through logs (doesn't work correctly now) or through some GET /status to http server.

cthtuf (Thu, 17 Jun 2021 13:18:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HcW4JTjLfuMRf9KR6) Implemented it. It works, but after such hack there are empty logs if I want to check smth by `kubectl logs {pod_name}`. It doesn't fit to me

cthtuf (Thu, 17 Jun 2021 13:18:09 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=HcW4JTjLfuMRf9KR6) Implemented it. It works, but after such hack there is an empty stdout and no way to see logs if I want to check it by `kubectl logs {pod_name}`. It doesn't fit to me =((

nekia (Thu, 17 Jun 2021 15:00:35 GMT):
Yes, it can.

nekia (Thu, 17 Jun 2021 15:10:30 GMT):
If you add liveness probe with `httpGet` to `localhost:8080/auth/networklist`, you are probably able to detect unhealthy of explorer node.

cthtuf (Thu, 17 Jun 2021 15:11:31 GMT):
Thanks @nekia! I'll try :ok_hand:

cthtuf (Thu, 17 Jun 2021 15:29:19 GMT):
@nekia will it detect if last synchronization attempt was failed or it just shows that at least one sync was done successful?

nekia (Thu, 17 Jun 2021 15:41:31 GMT):
I think it will just indicate if explorer (backend) is healthy or not.

cthtuf (Thu, 17 Jun 2021 15:42:05 GMT):
Ok, got it, thanks!

ThomasRalee (Thu, 24 Jun 2021 14:17:56 GMT):
Hey @nekia, I found 2 issues when spinning up a new explorer on a network with multiple blocks that I would like to share. 1. Explorer is making multiple `sendDiscoveryRequest` calls, 1 per block. Which retrieves the same information. What are your thoughts on calling it only once during the initialization phase instead of calling it on every block? After the DB is synced, call it once every block like how it's done currently. 2. fabricGateway.queryChainInfo error crashes the explorer. What do you think of adding a try-catch re-query flow here? ``` [2021-06-18T18:14:26.585] [ERROR] FabricGateway - Failed to get chain info from channel defaultchannel : FabricError: Query failed. Errors: ["Error: REQUEST TIMEOUT"] at SingleQueryHandler.evaluate (/Users/leeruianthomas/Public/projects/blockchain-explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:47:23) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Transaction.evaluate (/Users/leeruianthomas/Public/projects/blockchain-explorer/node_modules/fabric-network/lib/transaction.js:276:25) [2021-06-18T18:14:26.590] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> [2021-06-18T18:14:26.590] [ERROR] Sync - TypeError: Cannot read property 'height' of null at SyncServices. (/Users/leeruianthomas/Public/projects/blockchain-explorer/dist/platform/fabric/sync/SyncService.js:350:54) at Generator.next () at fulfilled (/Users/leeruianthomas/Public/projects/blockchain-explorer/dist/platform/fabric/sync/SyncService.js:27:58) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) [2021-06-18T18:14:26.590] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> ```

ThomasRalee (Thu, 24 Jun 2021 14:22:47 GMT):
One more question @nekia, just wondering if we could remove the `&` from the `./start.sh` `node ${EXPLORER_APP_ROOT}/main.js name - hyperledger-explorer`

ThomasRalee (Thu, 24 Jun 2021 14:22:47 GMT):
One more question @nekia, just wondering if we could remove the `&` from `./start.sh` `node ${EXPLORER_APP_ROOT}/main.js name - hyperledger-explorer`

nekia (Fri, 25 Jun 2021 09:06:07 GMT):
Thank you for reporting them. 1. I like your idea to optimize the internal process of Explorer. Create a Jira for this change. https://jira.hyperledger.org/browse/BE-876

nekia (Fri, 25 Jun 2021 09:06:07 GMT):
Thank you for reporting them. 1. I like your idea to optimize the internal process of Explorer. Created a Jira for this change. https://jira.hyperledger.org/browse/BE-876

nekia (Fri, 25 Jun 2021 09:10:35 GMT):
2. I think we should handle this error within synchBlocks method in SyncService.ts rather than adding re-query within queryChainInfo, because we can expect re-query in the next sync process. Your thought?

nekia (Fri, 25 Jun 2021 09:13:31 GMT):
Yes, I think, we can remove it.

ThomasRalee (Sun, 27 Jun 2021 07:12:06 GMT):
Hi @nekia, i've created a PR to fix 2 issues: 1. discovery error causing an endless loop. 2. timeout error on getChannelInfo crashing the explorer. Please take a look :pray:

ThomasRalee (Sun, 27 Jun 2021 07:12:06 GMT):
Hi @nekia, i've created a [PR](https://github.com/hyperledger/blockchain-explorer/pull/253) to fix 2 issues: 1. discovery error causing an endless loop. 2. timeout error on getChannelInfo crashing the explorer. Please take a look :pray:

nekia (Sun, 27 Jun 2021 07:20:12 GMT):
Thanks :slight_smile:

ThomasRalee (Sun, 27 Jun 2021 07:21:48 GMT):
Btw i totally agree with your idea of handling the error within syncBlocks. :thumbsup:

nekia (Sun, 27 Jun 2021 07:22:30 GMT):
Hi, can you see any errors in logs? `logs/{app,console,db}` or `docker logs explorer`

scmanjarrez (Mon, 28 Jun 2021 10:50:33 GMT):
Has joined the channel.

scmanjarrez (Mon, 28 Jun 2021 10:56:19 GMT):
hi, how can I configure discovery for multiple channels? I have: ``` "channels": { "channel-1": { "peers": { "peer0.org4.example.com": {} } }, "channel-2": { "peers": { "peer0.org4.example.com": {} } } }, ``` But I'm not receiving information from the second channel: ``` [2021-06-28T10:51:56.159] [INFO] FabricClient - Discovered Org4MSP [ { mspid: 'Org4MSP', endpoint: 'peer0.org4.example.com:11051', name: 'peer0.org4.example.com:11051', ledgerHeight: Long { low: 6, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T10:51:56.159] [INFO] FabricClient - Discovered Org1MSP [] [2021-06-28T10:51:56.159] [INFO] FabricClient - Discovered Org2MSP [] [2021-06-28T10:51:56.160] [INFO] FabricClient - Discovered Org3MSP [ { mspid: 'Org3MSP', endpoint: 'peer0.org3.example.com:10051', name: 'peer0.org3.example.com:10051', ledgerHeight: Long { low: 6, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] ```

scmanjarrez (Mon, 28 Jun 2021 10:56:19 GMT):
Discovery service not _discovering_ all channels: ``` ```

scmanjarrez (Mon, 28 Jun 2021 10:56:19 GMT):
Discovery service not _discovering_ all channels: ``` [2021-06-28T11:53:33.151] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client test-network channel_name evidences [2021-06-28T11:53:33.167] [INFO] FabricUtils - generateBlockHash 0 [2021-06-28T11:53:33.169] [INFO] FabricGateway - Sending discovery request... [2021-06-28T11:53:33.175] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered wbMSP [] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered gmMSP [ { mspid: 'gmMSP', endpoint: 'peer0.gm.com:11051', name: 'peer0.gm.com:11051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered allsafeMSP [ { mspid: 'allsafeMSP', endpoint: 'peer0.allsafe.com:8051', name: 'peer0.allsafe.com:8051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered ecorpMSP [ { mspid: 'ecorpMSP', endpoint: 'peer0.ecorp.com:9051', name: 'peer0.ecorp.com:9051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-28T11:54:03.322] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client test-network channel_name groupsignatures [2021-06-28T11:54:03.329] [INFO] FabricUtils - generateBlockHash 0 [2021-06-28T11:54:03.330] [INFO] FabricGateway - Sending discovery request... [2021-06-28T11:54:03.333] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered allsafeMSP [ { mspid: 'allsafeMSP', endpoint: 'peer0.allsafe.com:8051', name: 'peer0.allsafe.com:8051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered ecorpMSP [ { mspid: 'ecorpMSP', endpoint: 'peer0.ecorp.com:9051', name: 'peer0.ecorp.com:9051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered wbMSP [] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered gmMSP [ { mspid: 'gmMSP', endpoint: 'peer0.gm.com:11051', name: 'peer0.gm.com:11051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] ```

scmanjarrez (Mon, 28 Jun 2021 10:56:19 GMT):
Discovery service not _discovering_ all channels: ``` [2021-06-28T11:53:33.151] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client test-network channel_name evidences [2021-06-28T11:53:33.167] [INFO] FabricUtils - generateBlockHash 0 [2021-06-28T11:53:33.169] [INFO] FabricGateway - Sending discovery request... [2021-06-28T11:53:33.175] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered wbMSP [] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered gmMSP [ { mspid: 'gmMSP', endpoint: 'peer0.gm.com:11051', name: 'peer0.gm.com:11051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered allsafeMSP [ { mspid: 'allsafeMSP', endpoint: 'peer0.allsafe.com:8051', name: 'peer0.allsafe.com:8051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered ecorpMSP [ { mspid: 'ecorpMSP', endpoint: 'peer0.ecorp.com:9051', name: 'peer0.ecorp.com:9051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-28T11:54:03.322] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client test-network channel_name groupsignatures [2021-06-28T11:54:03.329] [INFO] FabricUtils - generateBlockHash 0 [2021-06-28T11:54:03.330] [INFO] FabricGateway - Sending discovery request... [2021-06-28T11:54:03.333] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered allsafeMSP [ { mspid: 'allsafeMSP', endpoint: 'peer0.allsafe.com:8051', name: 'peer0.allsafe.com:8051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered ecorpMSP [ { mspid: 'ecorpMSP', endpoint: 'peer0.ecorp.com:9051', name: 'peer0.ecorp.com:9051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered wbMSP [] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered gmMSP [ { mspid: 'gmMSP', endpoint: 'peer0.gm.com:11051', name: 'peer0.gm.com:11051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] ``` Evidences channel: allsafe, ecorp, gm Groupsignatures channel: wb, gm

scmanjarrez (Mon, 28 Jun 2021 12:06:56 GMT):
Discovery service not _discovering_ all channels: ``` [2021-06-28T11:53:33.151] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client test-network channel_name evidences [2021-06-28T11:53:33.167] [INFO] FabricUtils - generateBlockHash 0 [2021-06-28T11:53:33.169] [INFO] FabricGateway - Sending discovery request... [2021-06-28T11:53:33.175] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered wbMSP [] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered gmMSP [ { mspid: 'gmMSP', endpoint: 'peer0.gm.com:11051', name: 'peer0.gm.com:11051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered allsafeMSP [ { mspid: 'allsafeMSP', endpoint: 'peer0.allsafe.com:8051', name: 'peer0.allsafe.com:8051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered ecorpMSP [ { mspid: 'ecorpMSP', endpoint: 'peer0.ecorp.com:9051', name: 'peer0.ecorp.com:9051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-28T11:54:03.322] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client test-network channel_name groupsignatures [2021-06-28T11:54:03.329] [INFO] FabricUtils - generateBlockHash 0 [2021-06-28T11:54:03.330] [INFO] FabricGateway - Sending discovery request... [2021-06-28T11:54:03.333] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered allsafeMSP [ { mspid: 'allsafeMSP', endpoint: 'peer0.allsafe.com:8051', name: 'peer0.allsafe.com:8051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered ecorpMSP [ { mspid: 'ecorpMSP', endpoint: 'peer0.ecorp.com:9051', name: 'peer0.ecorp.com:9051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered wbMSP [] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered gmMSP [ { mspid: 'gmMSP', endpoint: 'peer0.gm.com:11051', name: 'peer0.gm.com:11051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] ``` Evidences channel: allsafe, ecorp, gm Groupsignatures channel: wb, gm ``` ```

scmanjarrez (Mon, 28 Jun 2021 12:06:56 GMT):
Discovery service not _discovering_ all channels: ``` [2021-06-28T11:53:33.151] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client test-network channel_name evidences [2021-06-28T11:53:33.167] [INFO] FabricUtils - generateBlockHash 0 [2021-06-28T11:53:33.169] [INFO] FabricGateway - Sending discovery request... [2021-06-28T11:53:33.175] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered wbMSP [] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered gmMSP [ { mspid: 'gmMSP', endpoint: 'peer0.gm.com:11051', name: 'peer0.gm.com:11051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered allsafeMSP [ { mspid: 'allsafeMSP', endpoint: 'peer0.allsafe.com:8051', name: 'peer0.allsafe.com:8051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:53:33.175] [INFO] FabricClient - Discovered ecorpMSP [ { mspid: 'ecorpMSP', endpoint: 'peer0.ecorp.com:9051', name: 'peer0.ecorp.com:9051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-28T11:54:03.322] [INFO] SyncServices - SyncServices.synchNetworkConfigToDB client test-network channel_name groupsignatures [2021-06-28T11:54:03.329] [INFO] FabricUtils - generateBlockHash 0 [2021-06-28T11:54:03.330] [INFO] FabricGateway - Sending discovery request... [2021-06-28T11:54:03.333] [INFO] FabricGateway - Succeeded to send discovery request [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered allsafeMSP [ { mspid: 'allsafeMSP', endpoint: 'peer0.allsafe.com:8051', name: 'peer0.allsafe.com:8051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered ecorpMSP [ { mspid: 'ecorpMSP', endpoint: 'peer0.ecorp.com:9051', name: 'peer0.ecorp.com:9051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object] ] } ] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered wbMSP [] [2021-06-28T11:54:03.333] [INFO] FabricClient - Discovered gmMSP [ { mspid: 'gmMSP', endpoint: 'peer0.gm.com:11051', name: 'peer0.gm.com:11051', ledgerHeight: Long { low: 13, high: 0, unsigned: true }, chaincodes: [ [Object], [Object] ] } ] ``` Evidences channel: allsafe, ecorp, gm Groupsignatures channel: wb, gm In the above log, you can see how it's sending the same discovery requests even when the channel-name is different

shubhamirpachi (Tue, 29 Jun 2021 20:09:43 GMT):
Has joined the channel.

nekia (Thu, 01 Jul 2021 15:04:36 GMT):
Are you working on code change for `stopping meaningless discovery request during initial syncup phase`? If not, I will.

nekia (Thu, 01 Jul 2021 15:09:43 GMT):
Thank you for sharing issue. I'll try to recreate it on my laptop.

nekia (Thu, 01 Jul 2021 15:15:06 GMT):
https://jira.hyperledger.org/browse/BE-877

bh4rtp (Fri, 02 Jul 2021 05:48:54 GMT):
@nekia Peer name is displayed as Request URL.

bh4rtp (Fri, 02 Jul 2021 05:48:54 GMT):
@nekia Peer name is displayed the same as Request URL, is this a bug?

frankliu3028 (Fri, 02 Jul 2021 09:21:43 GMT):
Has joined the channel.

frankliu3028 (Fri, 02 Jul 2021 09:24:38 GMT):
hi all, i deployed hyperledger explorer exactly according to the document and changed nothing about the config files. Then i got this:

frankliu3028 (Fri, 02 Jul 2021 09:26:04 GMT):
hi all, i deployed hyperledger explorer exactly according to the document and changed nothing about the config files. Then i got this: `explorer.mynetwork.com | name: 'peer0.org2.example.com:9051', explorer.mynetwork.com | ledgerHeight: Long { low: 8, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] explorer.mynetwork.com | } explorer.mynetwork.com | ] explorer.mynetwork.com | [2021-07-02T09:05:56.572] [INFO] FabricClient - Discovered Org1MSP [ explorer.mynetwork.com | { explorer.mynetwork.com | mspid: 'Org1MSP', explorer.mynetwork.com | endpoint: 'peer0.org1.example.com:7051', explorer.mynetwork.com | name: 'peer0.org1.example.com:7051', explorer.mynetwork.com | ledgerHeight: Long { low: 8, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] explorer.mynetwork.com | } explorer.mynetwork.com | ] explorer.mynetwork.com | [2021-07-02T09:05:56.578] [INFO] FabricGateway - queryInstantiatedChaincodes mychannel explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [The identity is not an admin under this MSP [Org1MSP]: The identity does not contain OU [ADMIN], MSP: [Org1MSP]] explorer.mynetwork.com | at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:41:57) explorer.mynetwork.com | at processTicksAndRejections (internal/process/task_queues.js:97:5) explorer.mynetwork.com | at async Transaction.evaluate (/opt/explorer/node_modules/fabric-network/lib/transaction.js:276:25) { explorer.mynetwork.com | status: 500, explorer.mynetwork.com | payload: , explorer.mynetwork.com | isEndorsed: false explorer.mynetwork.com | } explorer.mynetwork.com | [2021-07-02T09:05:56.595] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:06:13.013] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.027] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.029] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.431] [INFO] FabricGateway - Sending discovery request... explorer.mynetwork.com | [2021-07-02T09:06:13.437] [INFO] FabricGateway - Have already been sending a request explorer.mynetwork.com | [2021-07-02T09:06:13.451] [INFO] FabricGateway - Succeeded to send discovery request explorer.mynetwork.com | [2021-07-02T09:06:13.452] [INFO] FabricClient - Discovered Org1MSP [ `

frankliu3028 (Fri, 02 Jul 2021 09:27:06 GMT):
hi all, i deployed hyperledger explorer exactly according to the document and changed nothing about the config files. Then i got this: ` aaaaaaaa `

frankliu3028 (Fri, 02 Jul 2021 09:28:24 GMT):
~asdf~

frankliu3028 (Fri, 02 Jul 2021 09:28:40 GMT):
` asdfasdfasdf `

frankliu3028 (Fri, 02 Jul 2021 09:29:15 GMT):
hi all, i deployed hyperledger explorer exactly according to the document and changed nothing about the config files. Then i got this: ` explorer.mynetwork.com | { explorer.mynetwork.com | mspid: 'Org2MSP', explorer.mynetwork.com | endpoint: 'peer0.org2.example.com:9051', explorer.mynetwork.com | name: 'peer0.org2.example.com:9051', explorer.mynetwork.com | ledgerHeight: Long { low: 8, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] explorer.mynetwork.com | } explorer.mynetwork.com | ] explorer.mynetwork.com | [2021-07-02T09:05:56.572] [INFO] FabricClient - Discovered Org1MSP [ explorer.mynetwork.com | { explorer.mynetwork.com | mspid: 'Org1MSP', explorer.mynetwork.com | endpoint: 'peer0.org1.example.com:7051', explorer.mynetwork.com | name: 'peer0.org1.example.com:7051', explorer.mynetwork.com | ledgerHeight: Long { low: 8, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] explorer.mynetwork.com | } explorer.mynetwork.com | ] explorer.mynetwork.com | [2021-07-02T09:05:56.578] [INFO] FabricGateway - queryInstantiatedChaincodes mychannel explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [The identity is not an admin under this MSP [Org1MSP]: The identity does not contain OU [ADMIN], MSP: [Org1MSP]] explorer.mynetwork.com | at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:41:57) explorer.mynetwork.com | at processTicksAndRejections (internal/process/task_queues.js:97:5) explorer.mynetwork.com | at async Transaction.evaluate (/opt/explorer/node_modules/fabric-network/lib/transaction.js:276:25) { explorer.mynetwork.com | status: 500, explorer.mynetwork.com | payload: , explorer.mynetwork.com | isEndorsed: false explorer.mynetwork.com | } explorer.mynetwork.com | [2021-07-02T09:05:56.595] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:06:13.013] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.027] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.029] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.431] [INFO] FabricGateway - Sending discovery request... explorer.mynetwork.com | [2021-07-02T09:06:13.437] [INFO] FabricGateway - Have already been sending a request explorer.mynetwork.com | [2021-07-02T09:06:13.451] [INFO] FabricGateway - Succeeded to send discovery request explorer.mynetwork.com | [2021-07-02T09:06:13.452] [INFO] FabricClient - Discovered Org1MSP [ `

frankliu3028 (Fri, 02 Jul 2021 09:29:56 GMT):
hi all, i deployed hyperledger explorer exactly according to the document and changed nothing about the config files. Then i got this: ` explorer.mynetwork.com | { explorer.mynetwork.com | mspid: 'Org2MSP', explorer.mynetwork.com | endpoint: 'peer0.org2.example.com:9051', explorer.mynetwork.com | name: 'peer0.org2.example.com:9051', explorer.mynetwork.com | ledgerHeight: Long { low: 8, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] explorer.mynetwork.com | } explorer.mynetwork.com | ] explorer.mynetwork.com | [2021-07-02T09:05:56.572] [INFO] FabricClient - Discovered Org1MSP [ explorer.mynetwork.com | { explorer.mynetwork.com | mspid: 'Org1MSP', explorer.mynetwork.com | endpoint: 'peer0.org1.example.com:7051', explorer.mynetwork.com | name: 'peer0.org1.example.com:7051', explorer.mynetwork.com | ledgerHeight: Long { low: 8, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] explorer.mynetwork.com | } explorer.mynetwork.com | ] explorer.mynetwork.com | [2021-07-02T09:05:56.578] [INFO] FabricGateway - queryInstantiatedChaincodes mychannel explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [The identity is not an admin under this MSP [Org1MSP]: The identity does not contain OU [ADMIN], MSP: [Org1MSP]] explorer.mynetwork.com | at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:41:57) explorer.mynetwork.com | at processTicksAndRejections (internal/process/task_queues.js:97:5) explorer.mynetwork.com | at async Transaction.evaluate (/opt/explorer/node_modules/fabric-network/lib/transaction.js:276:25) { explorer.mynetwork.com | status: 500, explorer.mynetwork.com | payload: , explorer.mynetwork.com | isEndorsed: false explorer.mynetwork.com | } explorer.mynetwork.com | [2021-07-02T09:05:56.595] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:06:13.013] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.027] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.029] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.431] [INFO] FabricGateway - Sending discovery request... explorer.mynetwork.com | [2021-07-02T09:06:13.437] [INFO] FabricGateway - Have already been sending a request explorer.mynetwork.com | [2021-07-02T09:06:13.451] [INFO] FabricGateway - Succeeded to send discovery request explorer.mynetwork.com | [2021-07-02T09:06:13.452] [INFO] FabricClient - Discovered Org1MSP [ `

frankliu3028 (Fri, 02 Jul 2021 09:32:13 GMT):
` ``` asdfasdf ``` `

frankliu3028 (Fri, 02 Jul 2021 09:32:48 GMT):
` aaaaaa bbbbbb `

frankliu3028 (Fri, 02 Jul 2021 09:33:30 GMT):
` ``` aaaaaaaaaaaaa bbbbbbbbbbbbbbb bbbbbbbbbbb nnnnnn ``` `

frankliu3028 (Fri, 02 Jul 2021 09:33:54 GMT):
hi all, i deployed hyperledger explorer exactly according to the document and changed nothing about the config files. Then i got this: ``` explorer.mynetwork.com | { explorer.mynetwork.com | mspid: 'Org2MSP', explorer.mynetwork.com | endpoint: 'peer0.org2.example.com:9051', explorer.mynetwork.com | name: 'peer0.org2.example.com:9051', explorer.mynetwork.com | ledgerHeight: Long { low: 8, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] explorer.mynetwork.com | } explorer.mynetwork.com | ] explorer.mynetwork.com | [2021-07-02T09:05:56.572] [INFO] FabricClient - Discovered Org1MSP [ explorer.mynetwork.com | { explorer.mynetwork.com | mspid: 'Org1MSP', explorer.mynetwork.com | endpoint: 'peer0.org1.example.com:7051', explorer.mynetwork.com | name: 'peer0.org1.example.com:7051', explorer.mynetwork.com | ledgerHeight: Long { low: 8, high: 0, unsigned: true }, explorer.mynetwork.com | chaincodes: [ [Object], [Object] ] explorer.mynetwork.com | } explorer.mynetwork.com | ] explorer.mynetwork.com | [2021-07-02T09:05:56.578] [INFO] FabricGateway - queryInstantiatedChaincodes mychannel explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [The identity is not an admin under this MSP [Org1MSP]: The identity does not contain OU [ADMIN], MSP: [Org1MSP]] explorer.mynetwork.com | at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:41:57) explorer.mynetwork.com | at processTicksAndRejections (internal/process/task_queues.js:97:5) explorer.mynetwork.com | at async Transaction.evaluate (/opt/explorer/node_modules/fabric-network/lib/transaction.js:276:25) { explorer.mynetwork.com | status: 500, explorer.mynetwork.com | payload: , explorer.mynetwork.com | isEndorsed: false explorer.mynetwork.com | } explorer.mynetwork.com | [2021-07-02T09:05:56.595] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:06:13.013] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.027] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.029] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.431] [INFO] FabricGateway - Sending discovery request... explorer.mynetwork.com | [2021-07-02T09:06:13.437] [INFO] FabricGateway - Have already been sending a request explorer.mynetwork.com | [2021-07-02T09:06:13.451] [INFO] FabricGateway - Succeeded to send discovery request explorer.mynetwork.com | [2021-07-02T09:06:13.452] [INFO] FabricClient - Discovered Org1MSP [ ```

frankliu3028 (Fri, 02 Jul 2021 09:40:52 GMT):
hi all, i deployed hyperledger explorer exactly according to the offcial document and changed nothing about the config files. I executed ` docker-compose up ` and got this error: ``` explorer.mynetwork.com | [2021-07-02T09:05:56.578] [INFO] FabricGateway - queryInstantiatedChaincodes mychannel explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [The identity is not an admin under this MSP [Org1MSP]: The identity does not contain OU [ADMIN], MSP: [Org1MSP]] explorer.mynetwork.com | at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:41:57) explorer.mynetwork.com | at processTicksAndRejections (internal/process/task_queues.js:97:5) explorer.mynetwork.com | at async Transaction.evaluate (/opt/explorer/node_modules/fabric-network/lib/transaction.js:276:25) { explorer.mynetwork.com | status: 500, explorer.mynetwork.com | payload: , explorer.mynetwork.com | isEndorsed: false explorer.mynetwork.com | } explorer.mynetwork.com | [2021-07-02T09:05:56.595] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:06:13.013] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.027] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.029] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.431] [INFO] FabricGateway - Sending discovery request... explorer.mynetwork.com | [2021-07-02T09:06:13.437] [INFO] FabricGateway - Have already been sending a request explorer.mynetwork.com | [2021-07-02T09:06:13.451] [INFO] FabricGateway - Succeeded to send discovery request explorer.mynetwork.com | [2021-07-02T09:06:13.452] [INFO] FabricClient - Discovered Org1MSP [ ``` and the webpage can be accessed but chaincode can't be loaded, I suspect this has something to do with the error. Is there anybody met the same question?

frankliu3028 (Fri, 02 Jul 2021 09:42:11 GMT):
hi all, i deployed hyperledger explorer exactly according to the offcial document and changed nothing about the config files. I executed `docker-compose up` and got this error: ``` explorer.mynetwork.com | [2021-07-02T09:05:56.578] [INFO] FabricGateway - queryInstantiatedChaincodes mychannel explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Synchronizer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:05:56.594] [ERROR] Sync - Error: Failed to authorize invocation due to failed ACL check: Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [The identity is not an admin under this MSP [Org1MSP]: The identity does not contain OU [ADMIN], MSP: [Org1MSP]] explorer.mynetwork.com | at SingleQueryHandler.evaluate (/opt/explorer/node_modules/fabric-network/lib/impl/query/singlequeryhandler.js:41:57) explorer.mynetwork.com | at processTicksAndRejections (internal/process/task_queues.js:97:5) explorer.mynetwork.com | at async Transaction.evaluate (/opt/explorer/node_modules/fabric-network/lib/transaction.js:276:25) { explorer.mynetwork.com | status: 500, explorer.mynetwork.com | payload: , explorer.mynetwork.com | isEndorsed: false explorer.mynetwork.com | } explorer.mynetwork.com | [2021-07-02T09:05:56.595] [INFO] Sync - <<<<<<<<<<<<<<<<<<<<<<<<<< Closing client processor >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-07-02T09:06:13.013] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.027] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.029] [INFO] Platform - getClient (id:test-network) explorer.mynetwork.com | [2021-07-02T09:06:13.431] [INFO] FabricGateway - Sending discovery request... explorer.mynetwork.com | [2021-07-02T09:06:13.437] [INFO] FabricGateway - Have already been sending a request explorer.mynetwork.com | [2021-07-02T09:06:13.451] [INFO] FabricGateway - Succeeded to send discovery request explorer.mynetwork.com | [2021-07-02T09:06:13.452] [INFO] FabricClient - Discovered Org1MSP [ ``` and the webpage can be accessed but chaincode displayed on the webpage can't be loaded, I suspect this has something to do with the error. Is there anybody met the same question?

nekia (Fri, 02 Jul 2021 13:03:17 GMT):
Thank you for sharing. It seems to be caused by insufficient privilege of identity you specified in connection profile. There are 2 options. Recently we changed it the code around this implementation. So if you use the latest codebase and build your own image on your local, it'll be resolved. The other one is to wait for the next release which is scheduled this weekend.

nekia (Fri, 02 Jul 2021 13:05:06 GMT):
`./build_docker_image.sh` will generate new images (explorer / explorer-db)

pmn2090 (Sat, 03 Jul 2021 01:11:31 GMT):
Has joined the channel.

ankitm123 (Sat, 03 Jul 2021 22:24:54 GMT):
Has joined the channel.

ankitm123 (Sun, 04 Jul 2021 13:17:55 GMT):
Hi, I was trying to build explorer locally, but ran into issues. I followed the read me and used nvm to install node 14.13.1. However when I run `npm start`, I get no logs around which ports the node server is using: ``` ➜ blockchain-explorer git:(main) npm start > hyperledger-explorer@1.1.6 start /home/ankitm123/work/blockchain-explorer > run-s build app-start > hyperledger-explorer@1.1.6 build /home/ankitm123/work/blockchain-explorer > tsc > hyperledger-explorer@1.1.6 app-start /home/ankitm123/work/blockchain-explorer > ./start.sh ************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ➜ blockchain-explorer git:(main) ``` Any idea what could be going wrong? I am more used to g, so it could just be that it's running in the background, and I have no idea abt where ... :man_shrugging_light_skin_tone:

ankitm123 (Sun, 04 Jul 2021 13:17:55 GMT):
Hi, I was trying to build explorer locally, but ran into issues. I followed the read me and used nvm to install node 14.13.1. However when I run `npm start`, I get no logs around which ports the node server is using: ``` ➜ blockchain-explorer git:(main) npm start > hyperledger-explorer@1.1.6 start /home/ankitm123/work/blockchain-explorer > run-s build app-start > hyperledger-explorer@1.1.6 build /home/ankitm123/work/blockchain-explorer > tsc > hyperledger-explorer@1.1.6 app-start /home/ankitm123/work/blockchain-explorer > ./start.sh ************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************ ➜ blockchain-explorer git:(main) ``` Any idea what could be going wrong? I am more used to golang, so it could just be that it's running in the background, and I have no idea abt where ... :man_shrugging_light_skin_tone:

jeevasang (Mon, 05 Jul 2021 08:36:33 GMT):
Explorer v1.1.7 has been released!

bh4rtp (Mon, 05 Jul 2021 23:53:11 GMT):
hi @nekia , as 1.1.7 is releases, to update the images for a running explorer, can i directly use `docker service update --image` with existed `walletstore` and `pgdata` volumes?

bh4rtp (Mon, 05 Jul 2021 23:53:11 GMT):
hi @nekia , as 1.1.7 is released, to update the images for a running explorer, can i directly use `docker service update --image` with existed `walletstore` and `pgdata` volumes?

bh4rtp (Mon, 05 Jul 2021 23:53:11 GMT):
hi @nekia , as 1.1.7 is released, to update the images for a running explorer, can i directly use `docker service update --image` with existing `walletstore` and `pgdata` volumes?

bh4rtp (Tue, 06 Jul 2021 03:39:49 GMT):
It does work!

nekia (Tue, 06 Jul 2021 08:19:25 GMT):
:+1:

SumitVedpathak (Wed, 07 Jul 2021 10:59:06 GMT):
Has joined the channel.

nekia (Thu, 08 Jul 2021 01:45:31 GMT):
Sorry we miss that part in the current version of README. We'll fix it. Can you get access to `http://localhost:8080` ?

shubhamirpachi (Tue, 13 Jul 2021 03:56:18 GMT):
Hi @nekia, I'm using HFv2.3.1 and explorer v1.1.6 on kubernetes/minikube setup. I have few doubts on explorerdb, 1. Let's suppose number of blocks on the channel are in millions and then if we redeploy the explorer and explorerDb pod, will there be any outage while fetching all the block details to make the explorer up and running again? 2. Is it possible to use AWS RDS PostgresDB to persist the data. Is it the best practice for explorerDB? 3. When we redeploy explorer, will it start fetching details from genesis block or it will get the last block from explorerDb and start from there?

shubhamirpachi (Tue, 13 Jul 2021 03:56:18 GMT):
Hi @nekia, I'm using HFv2.3.1 and explorer v1.1.6 on kubernetes/minikube setup. I have few doubts on explorerdb, 1. Let's suppose number of blocks on the channel are in millions and then if we redeploy the explorer and explorerDb pod, will there be any outage while fetching all the block details to make the explorer up and running again? 2. Is it possible to use AWS RDS PostgresDB to persist the data. Is it the best practice for explorerDB? 3. When we redeploy explorer, will it start fetching details from genesis block or it will get the last block from explorerDb and start from there? 4. logout and User Management options are not working

jimkom (Tue, 13 Jul 2021 11:29:09 GMT):
Has joined the channel.

jscode017 (Tue, 13 Jul 2021 17:07:36 GMT):
Has joined the channel.

kaushambi (Sun, 18 Jul 2021 06:41:19 GMT):
Has joined the channel.

jimkom (Tue, 20 Jul 2021 13:13:51 GMT):

explorer.PNG

jimkom (Tue, 20 Jul 2021 13:14:01 GMT):
hello guys! anyone know a solution to this problem?

jimkom (Tue, 20 Jul 2021 13:14:25 GMT):
couldnt find a solution by googling

munapower (Fri, 23 Jul 2021 20:46:22 GMT):
I Think your problem is in the docker-compose.yaml file, specifically in this section```volumes: - /"REAL PATH TO THE FILE"/blockchain-explorer/config.json:/opt/explorer/app/platform/fabric/config.json - /"REAL PATH TO THE DIRECTORY"/blockchain-explorer/connection-profile:/opt/explorer/app/platform/fabric/connection-profile - /"REAL PATH TO THE DIRECTORY"/fabric-samples/test-network/organizations:/tmp/crypto - walletstore:/opt/explorer/wallet`````` In my case I replaced REAL PATH with ```/Users/xxx/go/src/github.com/hyperledger-labs/fabric-private-chaincode/samples/deployment/test-network``` ```

munapower (Fri, 23 Jul 2021 20:46:22 GMT):
I Think your problem is in the docker-compose.yaml file, specifically in this section```volumes: - /"REAL PATH TO THE FILE"/blockchain-explorer/config.json:/opt/explorer/app/platform/fabric/config.json - /"REAL PATH TO THE DIRECTORY"/blockchain-explorer/connection-profile:/opt/explorer/app/platform/fabric/connection-profile - /"REAL PATH TO THE DIRECTORY"/fabric-samples/test-network/organizations:/tmp/crypto - walletstore:/opt/explorer/wallet`````` In my case I replaced REAL PATH with ```/Users/xxx/go/src/github.com/hyperledger-labs/fabric-private-chaincode/samples/deployment/test-network```

munapower (Fri, 23 Jul 2021 20:46:22 GMT):
I Think your problem is in the docker-compose.yaml file, specifically in this section```volumes: - /"REAL PATH TO THE FILE"/blockchain-explorer/config.json:/opt/explorer/app/platform/fabric/config.json - /"REAL PATH TO THE DIRECTORY"/blockchain-explorer/connection-profile:/opt/explorer/app/platform/fabric/connection-profile - /"REAL PATH TO THE DIRECTORY"/fabric-samples/test-network/organizations:/tmp/crypto - walletstore:/opt/explorer/wallet`````` In my case I replaced REAL PATH with /Users/xxx/go/src/github.com/hyperledger-labs/fabric-private-chaincode/samples/deployment/test-network

Gavimat (Wed, 28 Jul 2021 17:21:15 GMT):
Has joined the channel.

Gavimat (Wed, 28 Jul 2021 17:21:16 GMT):
Hello guys!

Gavimat (Wed, 28 Jul 2021 17:28:26 GMT):
Hello guys! I'm trying to run a simple integration example between Fabric and Explorer, which can be found on this tutorial: https://medium.com/coinmonks/blockchain-explorer-integration-with-hyperledger-fabric-fc14570753f7. Besides this tutorial, I followed all the steps explained on blockchain-explorer repository (https://github.com/hyperledger/blockchain-explorer), using the codebase tutorial for that (instead of the docker one). Even though I did everything that I was supposed to do, I couldn't run the explorer. I don't know if the port would be the problem (as I can't access http://localhost:8080/ after running ./start.sh) or if I still have some steps to follow to fix it. I also took some print screens to show the logs and the paths configured, that are shown below. I'd really appreciate if someone could help me. Thanks!

Gavimat (Wed, 28 Jul 2021 17:28:36 GMT):

Clipboard - July 28, 2021 2:28 PM

Gavimat (Wed, 28 Jul 2021 17:28:43 GMT):

Clipboard - July 28, 2021 2:28 PM

Gavimat (Wed, 28 Jul 2021 17:28:52 GMT):

Clipboard - July 28, 2021 2:28 PM

Gavimat (Wed, 28 Jul 2021 17:29:04 GMT):

Clipboard - July 28, 2021 2:29 PM

Gavimat (Wed, 28 Jul 2021 17:29:12 GMT):

Clipboard - July 28, 2021 2:29 PM

davidfdr (Wed, 28 Jul 2021 20:32:33 GMT):
Has joined the channel.

nekia (Thu, 29 Jul 2021 01:05:48 GMT):
It seems Postgresql DB is not responding. Can you get table list with the folloing command?

nekia (Thu, 29 Jul 2021 01:05:55 GMT):
`sudo -u postgres psql fabricexplorer -c '\d'`

nedaa2020 (Thu, 29 Jul 2021 07:24:08 GMT):
Has joined the channel.

nedaa2020 (Thu, 29 Jul 2021 07:24:09 GMT):
I followed all the steps

nedaa2020 (Thu, 29 Jul 2021 07:24:25 GMT):
the utility is not working!

nedaa2020 (Thu, 29 Jul 2021 09:05:50 GMT):

Clipboard - July 29, 2021 1:05 PM

nedaa2020 (Thu, 29 Jul 2021 09:06:15 GMT):
Any idea how to fix this issue?

nedaa2020 (Thu, 29 Jul 2021 20:09:59 GMT):
any advice please?

nekia (Fri, 30 Jul 2021 01:02:59 GMT):
it looks like you are refering old format of network profile. Please use the following file as a base. https://github.com/hyperledger/blockchain-explorer/blob/main/examples/net1/connection-profile/test-network.json

Gavimat (Sat, 31 Jul 2021 13:55:21 GMT):

Clipboard - July 31, 2021 10:55 AM

Gavimat (Sat, 31 Jul 2021 13:55:45 GMT):
Any idea on how to fix it? @nekia

jdo1 (Mon, 23 Aug 2021 08:15:39 GMT):
Has joined the channel.

jdo1 (Mon, 23 Aug 2021 08:16:13 GMT):
Hi, Please your support I ran: npm start > hyperledger-explorer@1.1.8 start /home/jrg/blockchain-explorer > run-s build app-start > hyperledger-explorer@1.1.8 build /home/jrg/blockchain-explorer > tsc > hyperledger-explorer@1.1.8 app-start /home/jrg/blockchain-explorer > ./start.sh ************************************************************************************ **************************** Hyperledger Explorer ********************************** ************************************************************************************

jdo1 (Mon, 23 Aug 2021 08:16:49 GMT):
I entered localhost:8080 but I get ERR_CONNECTION_REFUSED

jdo1 (Mon, 23 Aug 2021 08:37:14 GMT):
Can you please post the latest node version that should be used?

jdo1 (Mon, 23 Aug 2021 17:12:49 GMT):
Hey please help IM getting the following errors:

jdo1 (Mon, 23 Aug 2021 17:12:52 GMT):
ERROR] FabricGateway - Failed to create wallet, please check the configuration, and valid file paths: {

jdo1 (Mon, 23 Aug 2021 17:13:10 GMT):
FabricClient - ExplorerError { name: 'ExplorerError', message:

Gavimat (Thu, 26 Aug 2021 12:33:48 GMT):
Hello, is there anyone who has already some experience with Blockchain Explorer and would like to catch up?

pranjay (Fri, 27 Aug 2021 18:11:22 GMT):
Has joined the channel.

jos61404 (Sun, 29 Aug 2021 10:03:28 GMT):
Has joined the channel.

MarcoOliveira (Tue, 07 Sep 2021 11:29:31 GMT):
Has joined the channel.

fmy1993 (Tue, 14 Sep 2021 03:46:46 GMT):
Has joined the channel.

fmy1993 (Tue, 14 Sep 2021 06:31:21 GMT):

Clipboard - September 14, 2021 2:31 PM

fmy1993 (Tue, 14 Sep 2021 06:32:27 GMT):
Hi all,explorer only show one org but there are three orgs and another 2 orgs did join the channel

fmy1993 (Tue, 14 Sep 2021 06:33:20 GMT):

Clipboard - September 14, 2021 2:33 PM

fmy1993 (Tue, 14 Sep 2021 06:33:56 GMT):

Clipboard - September 14, 2021 2:33 PM

fmy1993 (Tue, 14 Sep 2021 06:34:46 GMT):
explorer can noly find peers in org1,but can not find org0 and org2

fmy1993 (Thu, 16 Sep 2021 02:16:13 GMT):

Clipboard - 2021年9月16日上午10点16分

fmy1993 (Thu, 16 Sep 2021 02:16:41 GMT):
hi everyone,someone know how to fix this issue?

fmy1993 (Thu, 16 Sep 2021 02:17:14 GMT):

Clipboard - 2021年9月16日上午10点17分

fmy1993 (Thu, 16 Sep 2021 02:17:41 GMT):
core.yaml is configed correctly

igorkrupczynski (Thu, 16 Sep 2021 10:11:44 GMT):
Has joined the channel.

regiseloi (Thu, 16 Sep 2021 15:06:47 GMT):
Has joined the channel.

raymondfx (Fri, 17 Sep 2021 21:08:05 GMT):
```sudo -u postgres ./createdb.sh ``` ./createdb.sh: line 7: jq: command not found ./createdb.sh: line 7: [: ==: unary operator expected ./createdb.sh: line 10: jq: command not found ./createdb.sh: line 12: jq: command not found ./createdb.sh: line 12: [: ==: unary operator expected ./createdb.sh: line 15: jq: command not found ./createdb.sh: line 17: jq: command not found ./createdb.sh: line 17: [: ==: unary operator expected ./createdb.sh: line 20: jq: command not found USER= DATABASE= PASSWD= Executing SQL scripts, OS=linux-gnu psql:./explorerpg.sql:6: ERROR: syntax error at or near "WITH" LINE 2: WITH PASSWORD ; ^ psql:./explorerpg.sql:7: ERROR: syntax error at or near ";" LINE 1: DROP DATABASE IF EXISTS ; ^ psql:./explorerpg.sql:8: ERROR: database "owner" already exists You are now connected to database "postgres" as user "postgres". DROP TABLE CREATE TABLE psql:./explorerpg.sql:32: ERROR: syntax error at or near ";" LINE 1: ALTER table blocks owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:51: ERROR: syntax error at or near ";" LINE 1: ALTER table chaincodes owner to ; ^ ALTER SEQUENCE DROP TABLE CREATE TABLE psql:./explorerpg.sql:69: ERROR: syntax error at or near ";" LINE 1: ALTER table peer_ref_chaincode owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:94: ERROR: syntax error at or near ";" LINE 1: ALTER table channel owner to ; ^ ALTER SEQUENCE DROP TABLE CREATE TABLE psql:./explorerpg.sql:116: ERROR: syntax error at or near ";" LINE 1: ALTER table peer owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:131: ERROR: syntax error at or near ";" LINE 1: ALTER table peer_ref_channel owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:149: ERROR: syntax error at or near ";" LINE 1: ALTER table orderer owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:184: ERROR: syntax error at or near ";" LINE 1: ALTER table transactions owner to ; ^ ALTER SEQUENCE DROP TABLE CREATE TABLE psql:./explorerpg.sql:206: ERROR: syntax error at or near ";" LINE 1: ALTER table users owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:214: ERROR: syntax error at or near ";" LINE 1: ALTER table write_lock owner to ; ^ ALTER SEQUENCE psql:./explorerpg.sql:217: NOTICE: index "blocks_blocknum_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:221: NOTICE: index "blocks_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:225: NOTICE: index "blocks_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:229: NOTICE: index "transaction_txhash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:233: NOTICE: index "transaction_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:237: NOTICE: index "transaction_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:241: NOTICE: index "transaction_blockid_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:245: NOTICE: index "transaction_chaincode_proposal_input_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:250: NOTICE: index "channel_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:254: NOTICE: index "channel_channel_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:258: ERROR: syntax error at or near ";" LINE 1: ...T, INSERT, UPDATE,DELETE ON ALL TABLES IN SCHEMA PUBLIC to ; ^ You are now connected to database "postgres" as user "postgres".

raymondfx (Fri, 17 Sep 2021 21:08:05 GMT):
```sudo -u postgres ./createdb.sh ``` ./createdb.sh: line 7: jq: command not found ./createdb.sh: line 7: [: ==: unary operator expected ./createdb.sh: line 10: jq: command not found ./createdb.sh: line 12: jq: command not found ./createdb.sh: line 12: [: ==: unary operator expected ./createdb.sh: line 15: jq: command not found ./createdb.sh: line 17: jq: command not found ./createdb.sh: line 17: [: ==: unary operator expected ./createdb.sh: line 20: jq: command not found USER= DATABASE= PASSWD= Executing SQL scripts, OS=linux-gnu psql:./explorerpg.sql:6: ERROR: syntax error at or near "WITH" LINE 2: WITH PASSWORD ; ^ psql:./explorerpg.sql:7: ERROR: syntax error at or near ";" LINE 1: DROP DATABASE IF EXISTS ; ^ psql:./explorerpg.sql:8: ERROR: database "owner" already exists You are now connected to database "postgres" as user "postgres". DROP TABLE CREATE TABLE psql:./explorerpg.sql:32: ERROR: syntax error at or near ";" LINE 1: ALTER table blocks owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:51: ERROR: syntax error at or near ";" LINE 1: ALTER table chaincodes owner to ; ^ ALTER SEQUENCE DROP TABLE CREATE TABLE psql:./explorerpg.sql:69: ERROR: syntax error at or near ";" LINE 1: ALTER table peer_ref_chaincode owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:94: ERROR: syntax error at or near ";" LINE 1: ALTER table channel owner to ; ^ ALTER SEQUENCE DROP TABLE CREATE TABLE psql:./explorerpg.sql:116: ERROR: syntax error at or near ";" LINE 1: ALTER table peer owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:131: ERROR: syntax error at or near ";" LINE 1: ALTER table peer_ref_channel owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:149: ERROR: syntax error at or near ";" LINE 1: ALTER table orderer owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:184: ERROR: syntax error at or near ";" LINE 1: ALTER table transactions owner to ; ^ ALTER SEQUENCE DROP TABLE CREATE TABLE psql:./explorerpg.sql:206: ERROR: syntax error at or near ";" LINE 1: ALTER table users owner to ; ^ DROP TABLE CREATE TABLE psql:./explorerpg.sql:214: ERROR: syntax error at or near ";" LINE 1: ALTER table write_lock owner to ; ^ ALTER SEQUENCE psql:./explorerpg.sql:217: NOTICE: index "blocks_blocknum_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:221: NOTICE: index "blocks_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:225: NOTICE: index "blocks_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:229: NOTICE: index "transaction_txhash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:233: NOTICE: index "transaction_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:237: NOTICE: index "transaction_createdt_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:241: NOTICE: index "transaction_blockid_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:245: NOTICE: index "transaction_chaincode_proposal_input_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:250: NOTICE: index "channel_channel_genesis_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:254: NOTICE: index "channel_channel_hash_idx" does not exist, skipping DROP INDEX CREATE INDEX psql:./explorerpg.sql:258: ERROR: syntax error at or near ";" LINE 1: ...T, INSERT, UPDATE,DELETE ON ALL TABLES IN SCHEMA PUBLIC to ; ^ You are now connected to database "postgres" as user "postgres".

raymondfx (Fri, 17 Sep 2021 21:10:08 GMT):
```sudo -u postgres ./createdb.sh ``` gives me this error ```Copying ENV variables into temp file... ./createdb.sh: line 7: jq: command not found ./createdb.sh: line 7: [: ==: unary operator expected ./createdb.sh: line 10: jq: command not found ./createdb.sh: line 12: jq: command not found ./createdb.sh: line 12: [: ==: unary operator expected ./createdb.sh: line 15: jq: command not found ./createdb.sh: line 17: jq: command not found ./createdb.sh: line 17: [: ==: unary operator expected ./createdb.sh: line 20: jq: command not found USER= DATABASE= PASSWD= Executing SQL scripts, OS=linux-gnu psql:./explorerpg.sql:6: ERROR: syntax error at or near "WITH" LINE 2: WITH PASSWORD ; ^ psql:./explorerpg.sql:7: ERROR: syntax error at or near ";" LINE 1: DROP DATABASE IF EXISTS ; ^ psql:./explorerpg.sql:8: ERROR: database "owner" already exists You are now connected to database "postgres" as user "postgres". DROP TABLE CREATE TABLE psql:./explorerpg.sql:32: ERROR: syntax error at or near ";" LINE 1: ALTER table blocks owner to ; ^ ```

raymondfx (Fri, 17 Sep 2021 21:10:08 GMT):
```sudo -u postgres ./createdb.sh ``` gives me this error

raymondfx (Fri, 17 Sep 2021 21:12:15 GMT):

Clipboard - September 18, 2021 12:12 AM

raymondfx (Sat, 18 Sep 2021 09:01:09 GMT):
How do i get this Path ``` "organizations": { "Org1MSP": { "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/priv_sk" ... ... "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" }```

cmhacker (Mon, 20 Sep 2021 03:27:21 GMT):
Install `jq` utility tool on system You can use this command on ubuntu `sudo apt install jq`

kosarlatif (Wed, 22 Sep 2021 12:39:19 GMT):
Has joined the channel.

kosarlatif (Wed, 22 Sep 2021 12:39:20 GMT):
Getting some issue with Explorer Fabric integration, Can any one please assist.

kosarlatif (Wed, 22 Sep 2021 12:45:30 GMT):
explorer.mynetwork.com | [2021-09-22T12:43:28.339] [INFO] FabricConfig - FabricConfig, this.config.channels mychannel explorer.mynetwork.com | 2021-09-22T12:43:28.919Z - error: [DiscoveryService]: send[mychannel] - Channel:mychannel received discovery error:access denied explorer.mynetwork.com | [2021-09-22T12:43:28.920] [ERROR] FabricClient - Error: DiscoveryService: mychannel error: access denied explorer.mynetwork.com | at DiscoveryService.send (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:363:11) explorer.mynetwork.com | at processTicksAndRejections (internal/process/task_queues.js:97:5) explorer.mynetwork.com | at async NetworkImpl._initializeInternalChannel (/opt/explorer/node_modules/fabric-network/lib/network.js:279:13) explorer.mynetwork.com | at async NetworkImpl._initialize (/opt/explorer/node_modules/fabric-network/lib/network.js:231:9) explorer.mynetwork.com | at async Gateway.getNetwork (/opt/explorer/node_modules/fabric-network/lib/gateway.js:330:9) explorer.mynetwork.com | [2021-09-22T12:43:28.921] [INFO] FabricClient - ********* call to initializeDetachClient ********** explorer.mynetwork.com | [2021-09-22T12:43:28.922] [INFO] FabricClient - initializeDetachClient, network config) { explorer.mynetwork.com | name: 'test-network',

kosarlatif (Wed, 22 Sep 2021 12:45:44 GMT):
explorer.mynetwork.com | [2021-09-22T12:43:28.923] [INFO] FabricClient - ************************************* initializeDetachClient ************************************************* explorer.mynetwork.com | [2021-09-22T12:43:28.923] [INFO] FabricClient - Error : Failed to connect client peer, please check the configuration and peer status explorer.mynetwork.com | [2021-09-22T12:43:28.924] [INFO] FabricClient - Info : Explorer will continue working with only DB data explorer.mynetwork.com | [2021-09-22T12:43:28.924] [INFO] FabricClient - ************************************** initializeDetachClient ************************************************ explorer.mynetwork.com | [2021-09-22T12:43:28.935] [INFO] Platform - initializeListener, network_id, network_client test-network { explorer.mynetwork.com

fmy1993 (Sun, 26 Sep 2021 12:15:41 GMT):

Clipboard - 2021年9月26日晚上8点15分

fmy1993 (Sun, 26 Sep 2021 12:16:26 GMT):
when I run createdb.sh, error occur in centos cloud server

fmy1993 (Sun, 26 Sep 2021 12:19:08 GMT):
I have installed it ,but there is still something wrong

cmhacker (Mon, 27 Sep 2021 10:48:53 GMT):
I have wasted 1 day on the smae issue. It's

cmhacker (Mon, 27 Sep 2021 10:48:53 GMT):
I have wasted 1 day on the same issue. Then I shifted to docker based explorer

arsulegai (Tue, 28 Sep 2021 09:29:57 GMT):
Hi Team, Is there a reason for `Alter sequence transactions_id_seq restart with 6;` and `Alter sequence write_lock_write_lock_seq restart with 2;` in the db initialization? I couldn't figure out from the source code.

Gavimat (Tue, 28 Sep 2021 14:54:28 GMT):
I'm trying to integrate Explorer with my network I've configured, but I'm facing the following error: explorer.mynetwork.com | [2021-09-28T14:50:31.330] [ERROR] FabricGateway - Failed to create wallet, please check the configuration, and valid file paths: { explorer.mynetwork.com | "errno": -2, explorer.mynetwork.com | "syscall": "open", explorer.mynetwork.com | "code": "ENOENT", explorer.mynetwork.com | "path": "/home/gavimat/BasicNetwork-2.0/Explorer-Test/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" explorer.mynetwork.com | } explorer.mynetwork.com | [2021-09-28T14:50:31.331] [ERROR] FabricClient - ExplorerError { explorer.mynetwork.com | name: 'ExplorerError', explorer.mynetwork.com | message: '[\n' + explorer.mynetwork.com | " 'Failed to create wallet, please check the configuration, and valid file paths'\n" + explorer.mynetwork.com | ']' explorer.mynetwork.com | } explorer.mynetwork.com | [2021-09-28T14:50:31.332] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-09-28T14:50:31.333] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ]

Gavimat (Tue, 28 Sep 2021 14:54:39 GMT):
Could anyone help me?

kosarlatif (Wed, 29 Sep 2021 05:48:46 GMT):
@Gavimat you just need to set the path correctly.

kosarlatif (Wed, 29 Sep 2021 05:49:46 GMT):
share the contents of test-network.json docker-compose config files

Gavimat (Wed, 29 Sep 2021 12:24:54 GMT):

Gavimat - Wed Sep 29 2021 09:24:10 GMT-0300 (Brasilia Standard Time).txt

Gavimat (Wed, 29 Sep 2021 12:26:25 GMT):
That's my docker-compose.yaml file: # SPDX-License-Identifier: Apache-2.0 version: '2.1' volumes: pgdata: walletstore: networks: mynetwork.com: # external: name: test-network services: explorerdb.mynetwork.com: image: hyperledger/explorer-db:latest container_name: explorerdb.mynetwork.com hostname: explorerdb.mynetwork.com environment: - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWORD=password healthcheck: test: "pg_isready -h localhost -p 5432 -q -U postgres" interval: 30s timeout: 10s retries: 5 volumes: - pgdata:/var/lib/postgresql/data networks: - mynetwork.com explorer.mynetwork.com: image: hyperledger/explorer:latest container_name: explorer.mynetwork.com hostname: explorer.mynetwork.com environment: - DATABASE_HOST=explorerdb.mynetwork.com - DATABASE_DATABASE=fabricexplorer - DATABASE_USERNAME=hppoc - DATABASE_PASSWD=password - LOG_LEVEL_APP=debug - LOG_LEVEL_DB=debug - LOG_LEVEL_CONSOLE=info - LOG_CONSOLE_STDOUT=true - DISCOVERY_AS_LOCALHOST=false volumes: - ./config.json:/opt/explorer/app/platform/fabric/config.json - ./connection-profile:/opt/explorer/app/platform/fabric/connection-profile - /crypto-config:/tmp/crypto - walletstore:/opt/explorer/wallet ports: - 8080:8080 depends_on: explorerdb.mynetwork.com: condition: service_healthy networks: - mynetwork.com

Gavimat (Wed, 29 Sep 2021 12:27:01 GMT):
And that's my test-network.json file:

Gavimat (Wed, 29 Sep 2021 12:27:06 GMT):
{ "name": "test-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" }, "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "adminPrivateKey": { "path": "/home/gavimat/BasicNetwork-2.0/Explorer-Test/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore" }, "peers": ["peer0.org1.example.com"], "signedCert": { "path": "/home/gavimat/BasicNetwork-2.0/Explorer-Test/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/home/gavimat/BasicNetwork-2.0/Explorer-Test/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "eventUrl": "grpcs://peer0.org1.example.com:7053", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } }

Gavimat (Wed, 29 Sep 2021 12:28:03 GMT):
And that's my config.json file:

Gavimat (Wed, 29 Sep 2021 12:28:11 GMT):
{ "network-configs": { "test-network": { "name": "Eolichain-network", "profile": "./connection-profile/test-network.json" } }, "license": "Apache-2.0" }

Gavimat (Wed, 29 Sep 2021 12:29:31 GMT):
@kosarlatif

kosarlatif (Wed, 29 Sep 2021 12:33:45 GMT):
in the paths for adminPrivateKey and signedCert, instead of using "...../keystore" and "...../signcerts" write the correct and exact files names and path

kosarlatif (Wed, 29 Sep 2021 12:34:14 GMT):
like this Admin@org1.example.com/msp/keystore/485f465de0b9e4be486cae2c694c876e7506a5c562a00901a85a05ddb371ab11_sk

kosarlatif (Wed, 29 Sep 2021 12:34:27 GMT):
..../Admin@org1.example.com/msp/signcerts/cert.pem

Gavimat (Wed, 29 Sep 2021 14:09:10 GMT):
I tried doing that, and it keeps showing this error:

Gavimat (Wed, 29 Sep 2021 14:09:12 GMT):
explorer.mynetwork.com | [2021-09-29T14:07:59.444] [ERROR] FabricGateway - Failed to create wallet, please check the configuration, and valid file paths: { explorer.mynetwork.com | "errno": -2, explorer.mynetwork.com | "syscall": "open", explorer.mynetwork.com | "code": "ENOENT", explorer.mynetwork.com | "path": "/home/gavimat/EoliChain/BasicNetwork-2.0/Explorer-Test/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin@org1.example.com-cert.pem" explorer.mynetwork.com | } explorer.mynetwork.com | [2021-09-29T14:07:59.445] [ERROR] FabricClient - ExplorerError { explorer.mynetwork.com | name: 'ExplorerError', explorer.mynetwork.com | message: '[\n' + explorer.mynetwork.com | " 'Failed to create wallet, please check the configuration, and valid file paths'\n" + explorer.mynetwork.com | ']' explorer.mynetwork.com | } explorer.mynetwork.com | [2021-09-29T14:07:59.446] [ERROR] main - <<<<<<<<<<<<<<<<<<<<<<<<<< Explorer Error >>>>>>>>>>>>>>>>>>>>> explorer.mynetwork.com | [2021-09-29T14:07:59.446] [ERROR] main - Error : [ 'Invalid platform configuration, Please check the log' ] explorer.mynetwork.com | [2021-09-29T14:08:01.448] [INFO] main - Received kill signal, shutting down gracefully explorer.mynetwork.com | [2021-09-29T14:08:01.450] [INFO] main - Closed out connections

Gavimat (Wed, 29 Sep 2021 14:12:18 GMT):

Screenshot_20210929_111141.png

Gavimat (Thu, 30 Sep 2021 13:01:21 GMT):
@kosarlatif

Gavimat (Sat, 02 Oct 2021 15:48:15 GMT):
Could anyone help me?

nekia (Sun, 03 Oct 2021 07:34:33 GMT):
In your `connection-profile.json`, you have configured incorrect path for adminPrivateKey. You need to specify valid path on the `explorer` container which start with `/tmp/crypto/...`, not on host machine which start with `/home/gavimat/...`.

nekia (Sun, 03 Oct 2021 07:34:33 GMT):
In your `connection-profile.json`, you have configured incorrect path for adminPrivateKey, signedCert and tlsCACerts. You need to specify valid path on the `explorer` container which start with `/tmp/crypto/...`, not on host machine which start with `/home/gavimat/...`.

Gavimat (Mon, 04 Oct 2021 19:28:58 GMT):
@nekia Could explain it to me with some more details? I didn't manage to make it work :(

Gavimat (Mon, 04 Oct 2021 19:28:58 GMT):
@nekia Could you explain it to me with some more details? I didn't manage to make it work :(

Gavimat (Mon, 04 Oct 2021 19:53:11 GMT):
Could someone help me by explaining how to configure Explorer files?

Gavimat (Mon, 04 Oct 2021 19:58:48 GMT):
I'm not being able to integrate Explorer with my network

Gavimat (Mon, 04 Oct 2021 20:01:16 GMT):
Does anyone have some contents/guides that explain how to configure Hyperledger Explorer?

nekia (Tue, 05 Oct 2021 12:29:30 GMT):
Can you try again with the following instead of your connection profile? And you can find example under `examples/net1` directory and learn about connection profile more in [here](https://hyperledger.github.io/fabric-sdk-node/release-1.4/tutorial-network-config.html) and here. ``` { "name": "test-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" }, "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/priv_sk" }, "peers": ["peer0.org1.example.com"], "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin1@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } } ```

nekia (Tue, 05 Oct 2021 12:29:30 GMT):
Can you try again with the following instead of your connection profile? And you can find example under `examples/net1` directory and learn about connection profile more in [here](https://hyperledger.github.io/fabric-sdk-node/release-1.4/tutorial-network-config.html) and [here](https://hyperledger-fabric.readthedocs.io/en/release-2.2/developapps/connectionprofile.html). ``` { "name": "test-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "exploreradmin", "password": "exploreradminpw" }, "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "mychannel": { "peers": { "peer0.org1.example.com": {} } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/priv_sk" }, "peers": ["peer0.org1.example.com"], "signedCert": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/Admin1@org1.example.com-cert.pem" } } }, "peers": { "peer0.org1.example.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt" }, "url": "grpcs://peer0.org1.example.com:7051", "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com" } } } } ```

Gavimat (Tue, 05 Oct 2021 13:52:05 GMT):
Thanks again for the response. I've tried to do that, but I'm facing the following error:

Gavimat (Tue, 05 Oct 2021 13:52:19 GMT):
gavimat@gavimat-VirtualBox:~/EoliChain/Eolichain/Explorer-Test$ docker-compose up -d Creating volume "explorer-test_pgdata" with default driver Creating volume "explorer-test_walletstore" with default driver Creating explorerdb.mynetwork.com ... done Creating explorer.mynetwork.com ... error ERROR: for explorer.mynetwork.com Cannot start service explorer.mynetwork.com: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/home/gavimat/EoliChain/Eolichain/Explorer-Test/examples/net1/config.json" to rootfs at "/opt/explorer/app/platform/fabric/config.json" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ERROR: for explorer.mynetwork.com Cannot start service explorer.mynetwork.com: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/home/gavimat/EoliChain/Eolichain/Explorer-Test/examples/net1/config.json" to rootfs at "/opt/explorer/app/platform/fabric/config.json" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ERROR: Encountered errors while bringing up the project.

Gavimat (Tue, 05 Oct 2021 13:52:29 GMT):
`gavimat@gavimat-VirtualBox:~/EoliChain/Eolichain/Explorer-Test$ docker-compose up -d Creating volume "explorer-test_pgdata" with default driver Creating volume "explorer-test_walletstore" with default driver Creating explorerdb.mynetwork.com ... done Creating explorer.mynetwork.com ... error ERROR: for explorer.mynetwork.com Cannot start service explorer.mynetwork.com: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/home/gavimat/EoliChain/Eolichain/Explorer-Test/examples/net1/config.json" to rootfs at "/opt/explorer/app/platform/fabric/config.json" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ERROR: for explorer.mynetwork.com Cannot start service explorer.mynetwork.com: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/home/gavimat/EoliChain/Eolichain/Explorer-Test/examples/net1/config.json" to rootfs at "/opt/explorer/app/platform/fabric/config.json" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ERROR: Encountered errors while bringing up the project.`

Gavimat (Tue, 05 Oct 2021 20:39:19 GMT):
I manage to find what I was doing wrong by starting all over again and again, following the steps mentioned on Hyperledger Explorer GitHub repository... and it was a silly mistake: the name of the network I was working with wasn't as I thought. By running "docker network ls" command I realized that I had named it as "artifacts_test".

Gavimat (Tue, 05 Oct 2021 20:39:37 GMT):
Anyway, I'd like to thank you for your attention and help!

Gavimat (Tue, 05 Oct 2021 20:40:21 GMT):
I found a video on Youtube that helped me to configure the files needed. This video can be found in the link below:

Gavimat (Tue, 05 Oct 2021 20:41:22 GMT):
https://www.youtube.com/watch?v=3VrxJcCNcFg&t=1168s

maciejjedrzejczyk (Wed, 06 Oct 2021 12:14:53 GMT):
Has joined the channel.

maciejjedrzejczyk (Wed, 06 Oct 2021 12:14:54 GMT):
Hi, I am planning to deploy a HLF environment on Raspberry Pi and I was curious if anyone tried to create a Hyperledger Explorer docker image compatible with ARM64 devices. Any links to existing images or instructions on how to do that would be greatly appreciated, thanks!

nekia (Wed, 13 Oct 2021 14:25:31 GMT):
I've not tried it for HL Explorer, but I think the following steps will make it: * Setup ARM64 image build environment by using qemu

nekia (Wed, 13 Oct 2021 14:26:54 GMT):
I've not tried it for HL Explorer, but I think the following steps will make it: - Setup ARM64 image build environment by using qemu - `docker run --rm --privileged multiarch/qemu-user-static:register`

nekia (Wed, 13 Oct 2021 14:26:54 GMT):
I've not tried it for HL Explorer, but I think the following steps will make it: * Setup ARM64 image build environment by using qemu ** `docker run --rm --privileged multiarch/qemu-user-static:register`

nekia (Wed, 13 Oct 2021 14:26:54 GMT):
I've not tried it for HL Explorer, but I think the following steps will make it: * Setup ARM64 image build environment by using qemu * `docker run --rm --privileged multiarch/qemu-user-static:register` * [multiarch/qemu-user-static - Docker Image | Docker Hub](multiarch/qemu-user-static - Docker Image | Docker Hub) * Edit baseimage in Dockerfile and postgres_Dockerfile to arm64 image (e.g. arm64v8/node) * rebuild images by running `./build_image.sh`

nekia (Wed, 13 Oct 2021 14:26:54 GMT):
I've not tried it for HL Explorer, but I think the following steps will make it * Setup ARM64 image build environment by using qemu * `docker run --rm --privileged multiarch/qemu-user-static:register` * [multiarch/qemu-user-static - Docker Image | Docker Hub](multiarch/qemu-user-static - Docker Image | Docker Hub) * Edit baseimage in Dockerfile and postgres_Dockerfile to arm64 image (e.g. arm64v8/node) * rebuild images by running `./build_image.sh`

nekia (Wed, 13 Oct 2021 14:26:54 GMT):
* Setup ARM64 image build environment by using qemu * `docker run --rm --privileged multiarch/qemu-user-static:register` * [multiarch/qemu-user-static - Docker Image | Docker Hub](multiarch/qemu-user-static - Docker Image | Docker Hub) * Edit baseimage in Dockerfile and postgres_Dockerfile to arm64 image (e.g. arm64v8/node) * rebuild images by running `./build_image.sh`

nekia (Wed, 13 Oct 2021 14:26:54 GMT):
* Setup ARM64 image build environment by using qemu * `docker run --rm --privileged multiarch/qemu-user-static:register` * https://hub.docker.com/r/multiarch/qemu-user-static/ * Edit baseimage in Dockerfile and postgres_Dockerfile to arm64 image (e.g. arm64v8/node) * rebuild images by running `./build_image.sh`

nekia (Wed, 13 Oct 2021 14:26:54 GMT):
I've not tried it for HL Explorer, but I think the following steps will make it: * Setup ARM64 image build environment by using qemu * `docker run --rm --privileged multiarch/qemu-user-static:register` * https://hub.docker.com/r/multiarch/qemu-user-static/ * Edit baseimage in Dockerfile and postgres_Dockerfile to arm64 image (e.g. arm64v8/node) * rebuild images by running `./build_image.sh`

thejas.pavithran (Sat, 16 Oct 2021 01:20:55 GMT):
Has joined the channel.

kosarlatif (Fri, 29 Oct 2021 11:43:19 GMT):
Hi Guys: Couchdb has Warehouse { "_id": "926_Stock", "_rev": "1-6c847ab7ca4c57383303913c02acc3a1", "w_id": 1, "date_done": "2021-10-28 05:24:50", "doc_type": "Stock", "location_id": 8, "name": "Te01/IN/00002", "note": false, "~version": "CgMBCAA=" } Stock_Location { "_id": "45_Stock_Location", "_rev": "1-61bb0fdc9c1823c11ad1b63c1e642115", "id": "8", "doc_type": "Stock_Location", "location": "Test location, street 1", "~version": "CgMBCgA=" } I want to join these documents and view warehouses alongwith location string. How to do this in chaincode. can we create a view in couchdb using chaincode or generate a query to join these documents ?

alvone01 (Fri, 05 Nov 2021 07:01:28 GMT):
Has joined the channel.

alvone01 (Fri, 05 Nov 2021 07:01:29 GMT):
Hi guys! I am trying to run Hyperledger Explorer on my local machine. When using the docker quick start, I am able to run it smoothly, however when using the codebase quick start, the node server doesn't seem to start, although I have successfully created the DB, build the app, use the correct dependencies, etc. (I am using the codebase as I need to modify the UI a little bit). Would appreciate help greatly :")

adc (Sun, 07 Nov 2021 09:44:43 GMT):
Has joined the channel.

munapower (Thu, 18 Nov 2021 17:20:43 GMT):
Hi! Has anyone tried to connect Blockchain Explorer with IBM Blockchain Platform?

javestunix (Fri, 19 Nov 2021 17:17:45 GMT):
Hello folks ! When I read the number of transactions on the explorer CHAINCODES view are all committed ?

ksinkar (Tue, 07 Dec 2021 03:57:54 GMT):
Has joined the channel.

ipepoi (Wed, 15 Dec 2021 03:15:55 GMT):
Has joined the channel.

ipepoi (Wed, 15 Dec 2021 03:15:55 GMT):
:woo:

ksanjayk (Thu, 16 Dec 2021 12:15:30 GMT):
Has joined the channel.

gentios (Sun, 23 Jan 2022 22:18:10 GMT):
Has joined the channel.

gentios (Sun, 23 Jan 2022 22:19:49 GMT):
Hi channel, do you have any good guide to deploy explorer on digitalocean kubernetes ?

shemnon (Mon, 24 Jan 2022 15:46:22 GMT):
Has joined the channel.

shemnon (Mon, 24 Jan 2022 15:46:23 GMT):
Are any of the maintainers workin on submitting the quarterly report? It is significantly past due.

tkuhrt (Tue, 25 Jan 2022 16:08:15 GMT):
[ ](https://chat.hyperledger.org/channel/hyperledger-explorer?msg=fHxpsuQBXM6timsiu) Tagging maintainers and release manager of the project @nekia @anilkumargr @jeevasang @edwardsm26 @vchinoy

tkuhrt (Tue, 25 Jan 2022 16:13:33 GMT):
Specifically, the 2021 Q4 Hyperledger Explorer (due 06 Dec 2021). Please go to https://wiki.hyperledger.org/display/TSC/2021+Project+Updates and create a sub-page using the "TSC Project Update" template.

nekia (Fri, 28 Jan 2022 09:07:04 GMT):
Sorry for overdue of the report. Please refer below. https://wiki.hyperledger.org/x/9pS1Aw

gentios (Thu, 03 Feb 2022 13:56:29 GMT):
Hi channel, I keep getting this error while deploying explorer in kubernetes: ```[2022-02-03T13:53:10.588] [ERROR] FabricGateway - Failed to create wallet, please check the configuration, and valid file paths: {} [2022-02-03T13:53:10.589] [ERROR] FabricClient - ExplorerError { name: 'ExplorerError', message: '[\n' + " 'Failed to create wallet, please check the configuration, and valid file paths'\n" + ']' }```

gentios (Thu, 03 Feb 2022 13:56:29 GMT):
Hi channel, I keep getting this error while deploying explorer in kubernetes: ```{ code: 0, message: "Registration of 'vulosadmin6' failed: Identity 'vulosadmin6' is already registered" } ],```

gentios (Thu, 03 Feb 2022 13:56:29 GMT):
Hi channel, I keep getting this error while deploying explorer in kubernetes: ```{ code: 0, message: "Registration of 'vulosadmin6' failed: Identity 'admin1' is already registered" } ],```

gentios (Thu, 03 Feb 2022 13:57:41 GMT):
The message is very descriptive and I understand that `admin1` is already registered

gentios (Thu, 03 Feb 2022 13:58:30 GMT):
However this issue arrises because when I see the logs at `fabric-ca-server` the fabric-ca is being called multiple times to register `admin1`

gentios (Thu, 03 Feb 2022 13:58:59 GMT):
At the 1st time its everything ok with a `200` but than `explorer` keeps calling it and that's why its failing

bh4rtp (Thu, 10 Feb 2022 08:40:25 GMT):
Does explorer support pkcs11?

rameshmiriyala (Fri, 11 Feb 2022 05:18:59 GMT):
Has joined the channel.

rameshmiriyala (Fri, 11 Feb 2022 05:41:40 GMT):
hi

rameshmiriyala (Fri, 11 Feb 2022 05:41:57 GMT):
r u able to figure out the issue ?

rameshmiriyala (Sat, 05 Mar 2022 14:37:21 GMT):
when i run npm start from client folder getting below error

rameshmiriyala (Sat, 05 Mar 2022 14:37:23 GMT):
Proxy error: Could not proxy request /Theme.js from localhost:3000 to http://localhost:8080/.

rameshmiriyala (Sat, 05 Mar 2022 14:37:34 GMT):
any idea about this error ?

AnandhakumarPalanisamy (Thu, 10 Mar 2022 23:21:52 GMT):
Dear all, Is anybody facing memory maxed out issue because of hyperledger explorer db ? In my case, I am running the hyperledger explorer and hyperledger db as docker swarm services.

AnandhakumarPalanisamy (Thu, 10 Mar 2022 23:21:52 GMT):
Dear all, Is anybody facing memory maxed out / CPU usage issue(198.74%) because of hyperledger explorer db ? In my case, I am running the hyperledger explorer and hyperledger db as docker swarm services. The output of docker stats command is below : We can see hyperledger_explorer db service is consuming very high memory and CPU % . Because of this docker memory maxed out issue occurs and docker restarts. This affects other services in the swarm . Can anybody help me to find out the reason behind this. CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bd4468047c88 portainer.1.hahofoec71nxgwn0pa0b41fuy 0.00% 6.75MiB / 3.852GiB 0.17% 42.9kB / 4.37MB 4.29MB / 1.47MB 9 90bdc2ab2442 hlf_explorer_db.1.np9y1q7q3mmy3n7cftyy9kzku 198.74% 2.348GiB / 3.852GiB 60.96% 119MB / 40MB 56.1MB / 1.74GB 21 2d20f730280c swarm_visualizer.1.xke7j0776qhxvldhijpx15kyd 0.00% 60.62MiB / 3.852GiB 1.54% 1.97MB / 5.07MB 81.6MB / 0B 12 df6be87796bf hlf_explorer.1.vm4laakfhnt80l45akt3rh0pt 0.00% 75.02MiB / 3.852GiB 1.90% 1.68GB / 1.58GB 7.94GB / 0B 12 32b778fa56a4 portainer_agent.upmnze7aagx50k9od7vu6rvd9.z2dgascbme56zofo8s71ewscz 0.09% 8.41MiB / 3.852GiB 0.21% 483kB / 128kB 2.92GB / 0B 9 105695548e57 rest-api-service.1.szkq2wxp3qv6j23vfmf7jicm0 0.00% 55.34MiB / 3.852GiB 1.40% 2.39MB / 2.88MB 145MB / 0B 12

AnandhakumarPalanisamy (Thu, 10 Mar 2022 23:21:52 GMT):
Dear all, Is anybody facing memory maxed out / CPU usage issue(198.74%) because of hyperledger explorer db ? In my case, I am running the hyperledger explorer and hyperledger db as docker swarm services. The output of docker stats command is below : We can see hyperledger_explorer db service is consuming very high memory and CPU % . Because of this docker memory maxed out issue occurs and docker restarts. This affects other services in the swarm . Can anybody help me to find out the reason behind this. `CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bd4468047c88 portainer.1.hahofoec71nxgwn0pa0b41fuy 0.00% 6.75MiB / 3.852GiB 0.17% 42.9kB / 4.37MB 4.29MB / 1.47MB 9 90bdc2ab2442 hlf_explorer_db.1.np9y1q7q3mmy3n7cftyy9kzku 198.74% 2.348GiB / 3.852GiB 60.96% 119MB / 40MB 56.1MB / 1.74GB 21 2d20f730280c swarm_visualizer.1.xke7j0776qhxvldhijpx15kyd 0.00% 60.62MiB / 3.852GiB 1.54% 1.97MB / 5.07MB 81.6MB / 0B 12 df6be87796bf hlf_explorer.1.vm4laakfhnt80l45akt3rh0pt 0.00% 75.02MiB / 3.852GiB 1.90% 1.68GB / 1.58GB 7.94GB / 0B 12 32b778fa56a4 portainer_agent.upmnze7aagx50k9od7vu6rvd9.z2dgascbme56zofo8s71ewscz 0.09% 8.41MiB / 3.852GiB 0.21% 483kB / 128kB 2.92GB / 0B 9 105695548e57 rest-api-service.1.szkq2wxp3qv6j23vfmf7jicm0 0.00% 55.34MiB / 3.852GiB 1.40% 2.39MB / 2.88MB 145MB / 0B 12`

AnandhakumarPalanisamy (Thu, 10 Mar 2022 23:21:52 GMT):
Dear all, Is anybody facing memory maxed out / CPU usage issue(198.74%) because of hyperledger explorer db ? In my case, I am running the hyperledger explorer and hyperledger db as docker swarm services. The output of docker stats command is below : We can see hyperledger_explorer db service is consuming very high memory and CPU % . Because of this docker memory maxed out issue occurs and docker restarts. This affects other services in the swarm . Can anybody help me to find out the reason behind this. *CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS* bd4468047c88 portainer.1.hahofoec71nxgwn0pa0b41fuy 0.00% 6.75MiB / 3.852GiB 0.17% 42.9kB / 4.37MB 4.29MB / 1.47MB 9 90bdc2ab2442 hlf_explorer_db.1.np9y1q7q3mmy3n7cftyy9kzku 198.74% 2.348GiB / 3.852GiB 60.96% 119MB / 40MB 56.1MB / 1.74GB 21 2d20f730280c swarm_visualizer.1.xke7j0776qhxvldhijpx15kyd 0.00% 60.62MiB / 3.852GiB 1.54% 1.97MB / 5.07MB 81.6MB / 0B 12 df6be87796bf hlf_explorer.1.vm4laakfhnt80l45akt3rh0pt 0.00% 75.02MiB / 3.852GiB 1.90% 1.68GB / 1.58GB 7.94GB / 0B 12 32b778fa56a4 portainer_agent.upmnze7aagx50k9od7vu6rvd9.z2dgascbme56zofo8s71ewscz 0.09% 8.41MiB / 3.852GiB 0.21% 483kB / 128kB 2.92GB / 0B 9 105695548e57 rest-api-service.1.szkq2wxp3qv6j23vfmf7jicm0 0.00% 55.34MiB / 3.852GiB 1.40% 2.39MB / 2.88MB 145MB / 0B 12

AnandhakumarPalanisamy (Thu, 10 Mar 2022 23:21:52 GMT):
Dear all, Is anybody facing memory maxed out / CPU usage issue(198.74%) because of hyperledger explorer db ? In my case, I am running the hyperledger explorer and hyperledger db as docker swarm services. The output of docker stats command is below : We can see hyperledger_explorer db service is consuming very high memory and CPU % . Because of this docker memory maxed out issue occurs and docker restarts. This affects other services in the swarm . Can anybody help me to find out the reason behind this. CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bd4468047c88 portainer.1.hahofoec71nxgwn0pa0b41fuy 0.00% 6.75MiB / 3.852GiB 0.17% 42.9kB / 4.37MB 4.29MB / 1.47MB 9 90bdc2ab2442 hlf_explorer_db.1.np9y1q7q3mmy3n7cftyy9kzku 198.74% 2.348GiB / 3.852GiB 60.96% 119MB / 40MB 56.1MB / 1.74GB 21 2d20f730280c swarm_visualizer.1.xke7j0776qhxvldhijpx15kyd 0.00% 60.62MiB / 3.852GiB 1.54% 1.97MB / 5.07MB 81.6MB / 0B 12 df6be87796bf hlf_explorer.1.vm4laakfhnt80l45akt3rh0pt 0.00% 75.02MiB / 3.852GiB 1.90% 1.68GB / 1.58GB 7.94GB / 0B 12 32b778fa56a4 portainer_agent.upmnze7aagx50k9od7vu6rvd9.z2dgascbme56zofo8s71ewscz 0.09% 8.41MiB / 3.852GiB 0.21% 483kB / 128kB 2.92GB / 0B 9 105695548e57 rest-api-service.1.szkq2wxp3qv6j23vfmf7jicm0 0.00% 55.34MiB / 3.852GiB 1.40% 2.39MB / 2.88MB 145MB / 0B 12

AnandhakumarPalanisamy (Thu, 10 Mar 2022 23:21:52 GMT):
Dear all, Is anybody facing memory maxed out / CPU usage issue(198.74%) because of hyperledger explorer db ? In my case, I am running the hyperledger explorer and hyperledger db as docker swarm services. The output of docker stats command is below : We can see hyperledger_explorer db service is consuming very high memory and CPU % . Because of this docker memory maxed out issue occurs and docker restarts. This affects other services in the swarm . Can anybody help me to find out the reason behind this. `CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS bd4468047c88 portainer.1.hahofoec71nxgwn0pa0b41fuy 0.00% 6.75MiB / 3.852GiB 0.17% 42.9kB / 4.37MB 4.29MB / 1.47MB 9 90bdc2ab2442 hlf_explorer_db.1.np9y1q7q3mmy3n7cftyy9kzku 198.74% 2.348GiB / 3.852GiB 60.96% 119MB / 40MB 56.1MB / 1.74GB 21 2d20f730280c swarm_visualizer.1.xke7j0776qhxvldhijpx15kyd 0.00% 60.62MiB / 3.852GiB 1.54% 1.97MB / 5.07MB 81.6MB / 0B 12 df6be87796bf hlf_explorer.1.vm4laakfhnt80l45akt3rh0pt 0.00% 75.02MiB / 3.852GiB 1.90% 1.68GB / 1.58GB 7.94GB / 0B 12 32b778fa56a4 portainer_agent.upmnze7aagx50k9od7vu6rvd9.z2dgascbme56zofo8s71ewscz 0.09% 8.41MiB / 3.852GiB 0.21% 483kB / 128kB 2.92GB / 0B 9 105695548e57 rest-api-service.1.szkq2wxp3qv6j23vfmf7jicm0 0.00% 55.34MiB / 3.852GiB 1.40% 2.39MB / 2.88MB 145MB / 0B 12`

AnandhakumarPalanisamy (Thu, 10 Mar 2022 23:21:52 GMT):
Dear all, Is anybody facing memory maxed out / CPU usage issue(198.74%) because of hyperledger explorer db ? In my case, I am running the hyperledger explorer and hyperledger db as docker swarm services. The output of docker stats command is below : We can see the hyperledger_explorer db service is consuming very high memory( 2.348GiB / 3.852GiB ) and CPU(198.74%) . Because of this docker memory maxed out issue occurs and docker restarts. This affects other services in the swarm . Can anybody help me to find out the reason behind this. *CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS* bd4468047c88 portainer.1.hahofoec71nxgwn0pa0b41fuy 0.00% 6.75MiB / 3.852GiB 0.17% 42.9kB / 4.37MB 4.29MB / 1.47MB 9 90bdc2ab2442 hlf_explorer_db.1.np9y1q7q3mmy3n7cftyy9kzku 198.74% 2.348GiB / 3.852GiB 60.96% 119MB / 40MB 56.1MB / 1.74GB 21 2d20f730280c swarm_visualizer.1.xke7j0776qhxvldhijpx15kyd 0.00% 60.62MiB / 3.852GiB 1.54% 1.97MB / 5.07MB 81.6MB / 0B 12 df6be87796bf hlf_explorer.1.vm4laakfhnt80l45akt3rh0pt 0.00% 75.02MiB / 3.852GiB 1.90% 1.68GB / 1.58GB 7.94GB / 0B 12 32b778fa56a4 portainer_agent.upmnze7aagx50k9od7vu6rvd9.z2dgascbme56zofo8s71ewscz 0.09% 8.41MiB / 3.852GiB 0.21% 483kB / 128kB 2.92GB / 0B 9 105695548e57 rest-api-service.1.szkq2wxp3qv6j23vfmf7jicm0 0.00% 55.34MiB / 3.852GiB 1.40% 2.39MB / 2.88MB 145MB / 0B 12

robin-rpr (Fri, 11 Mar 2022 11:00:12 GMT):
Has joined the channel.

robin-rpr (Fri, 11 Mar 2022 11:01:31 GMT):
:working: Hello folks, here is Robin. I just arrived here and looking to see if I want to contribute =)

nekia (Sat, 12 Mar 2022 04:47:23 GMT):
Hyperledger chat is migrating from Rocket.Chat to Discord. There is a explore channel in Discord that can be used in place of this one: https://discord.com/channels/905194001349627914/941483844308185138 To sign up for the Hyperledger Discord server, use this link: https://discord.gg/hyperledger

rjones (Tue, 22 Mar 2022 19:52:51 GMT):

rjones (Wed, 23 Mar 2022 17:25:26 GMT):