Peer 2.1.1 & CouchDB Error detected during WarmIndexAllIndexes() #couchdb #docker #fabric #fabric-questions


Mattia Bolzonella
 

Hi, i'm trying to start a peer but I get the error reportet in the below log dump. I can't figure out how to solve it.

2020-06-05 08:41:17.126 UTC [peer] getLocalAddress -> INFO 002 Auto-detected peer address: 10.0.9.241:9151
2020-06-05 08:41:17.126 UTC [peer] getLocalAddress -> INFO 003 Returning peer1.org3.mydomain.com:9151
2020-06-05 08:41:17.137 UTC [nodeCmd] initGrpcSemaphores -> INFO 004 concurrency limit for endorser service is 2500
2020-06-05 08:41:17.137 UTC [nodeCmd] initGrpcSemaphores -> INFO 005 concurrency limit for deliver service is 2500
2020-06-05 08:41:17.137 UTC [nodeCmd] serve -> INFO 006 Starting peer with TLS enabled
2020-06-05 08:41:17.204 UTC [ledgermgmt] NewLedgerMgr -> INFO 007 Initializing LedgerMgr
2020-06-05 08:41:17.588 UTC [couchdb] CreateDatabaseIfNotExist -> INFO 008 Created state database _replicator
2020-06-05 08:41:17.697 UTC [couchdb] CreateDatabaseIfNotExist -> INFO 009 Created state database fabric__internal
2020-06-05 08:41:17.749 UTC [couchdb] runWarmIndexAllIndexes -> ERRO 00a Error detected during WarmIndexAllIndexes(): error handling CouchDB request. Error:not_found,  Status Code:404,  Reason:missing
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchInstance).handleRequest
        /go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1921
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).handleRequest
        /go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1730
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).ListIndex
        /go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1231
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).WarmIndexAllIndexes
        /go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1404
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).runWarmIndexAllIndexes
        /go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1391
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:137


David Enyeart
 

Some additional peer logging would help to troubleshoot it:

FABRIC_LOGGING_SPEC=info:statecouchdb,couchdb=debug


Dave Enyeart

"Mattia Bolzonella" ---06/11/2020 05:37:49 AM---Hi, i'm trying to start a peer but I get the error reportet in the below log dump. I can't figure ou

From: "Mattia Bolzonella" <mattia.bolzonella@...>
To: fabric@...
Date: 06/11/2020 05:37 AM
Subject: [EXTERNAL] [Hyperledger Fabric] Peer 2.1.1 & CouchDB Error detected during WarmIndexAllIndexes() #couchdb #docker #fabric #fabric-questions
Sent by: fabric@...





Hi, i'm trying to start a peer but I get the error reportet in the below log dump. I can't figure out how to solve it.

2020-06-05 08:41:17.126 UTC [peer] getLocalAddress -> INFO 002 Auto-detected peer address: 10.0.9.241:9151
2020-06-05 08:41:17.126 UTC [peer] getLocalAddress -> INFO 003 Returning peer1.org3.mydomain.com:9151
2020-06-05 08:41:17.137 UTC [nodeCmd] initGrpcSemaphores -> INFO 004 concurrency limit for endorser service is 2500
2020-06-05 08:41:17.137 UTC [nodeCmd] initGrpcSemaphores -> INFO 005 concurrency limit for deliver service is 2500
2020-06-05 08:41:17.137 UTC [nodeCmd] serve -> INFO 006 Starting peer with TLS enabled
2020-06-05 08:41:17.204 UTC [ledgermgmt] NewLedgerMgr -> INFO 007 Initializing LedgerMgr
2020-06-05 08:41:17.588 UTC [couchdb] CreateDatabaseIfNotExist -> INFO 008 Created state database _replicator
2020-06-05 08:41:17.697 UTC [couchdb] CreateDatabaseIfNotExist -> INFO 009 Created state database fabric__internal
2020-06-05 08:41:17.749 UTC [couchdb] runWarmIndexAllIndexes -> ERRO 00a Error detected during WarmIndexAllIndexes(): error handling CouchDB request. Error:not_found, Status Code:404, Reason:missing
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchInstance).handleRequest
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1921
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).handleRequest
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1730
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).ListIndex
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1231
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).WarmIndexAllIndexes
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1404
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).runWarmIndexAllIndexes
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1391
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:137




Mattia Bolzonella
 

Hi David,
thanks for the reply, I've recreated the network and now it seems to work, I'll save save your hint for possible future problems.

Mattia


Some additional peer logging would help to troubleshoot it:

FABRIC_LOGGING_SPEC=info:statecouchdb,couchdb=debug


Dave Enyeart

"Mattia Bolzonella" ---06/11/2020 05:37:49 AM---Hi, i'm trying to start a peer but I get the error reportet in the below log dump. I can't figure ou

From: "Mattia Bolzonella" <mattia.bolzonella@...>
To: fabric@...
Date: 06/11/2020 05:37 AM
Subject: [EXTERNAL] [Hyperledger Fabric] Peer 2.1.1 & CouchDB Error detected during WarmIndexAllIndexes() #couchdb #docker #fabric #fabric-questions
Sent by: fabric@...





Hi, i'm trying to start a peer but I get the error reportet in the below log dump. I can't figure out how to solve it.

2020-06-05 08:41:17.126 UTC [peer] getLocalAddress -> INFO 002 Auto-detected peer address: 10.0.9.241:9151
2020-06-05 08:41:17.126 UTC [peer] getLocalAddress -> INFO 003 Returning peer1.org3.mydomain.com:9151
2020-06-05 08:41:17.137 UTC [nodeCmd] initGrpcSemaphores -> INFO 004 concurrency limit for endorser service is 2500
2020-06-05 08:41:17.137 UTC [nodeCmd] initGrpcSemaphores -> INFO 005 concurrency limit for deliver service is 2500
2020-06-05 08:41:17.137 UTC [nodeCmd] serve -> INFO 006 Starting peer with TLS enabled
2020-06-05 08:41:17.204 UTC [ledgermgmt] NewLedgerMgr -> INFO 007 Initializing LedgerMgr
2020-06-05 08:41:17.588 UTC [couchdb] CreateDatabaseIfNotExist -> INFO 008 Created state database _replicator
2020-06-05 08:41:17.697 UTC [couchdb] CreateDatabaseIfNotExist -> INFO 009 Created state database fabric__internal
2020-06-05 08:41:17.749 UTC [couchdb] runWarmIndexAllIndexes -> ERRO 00a Error detected during WarmIndexAllIndexes(): error handling CouchDB request. Error:not_found, Status Code:404, Reason:missing
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchInstance).handleRequest
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1921
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).handleRequest
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1730
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).ListIndex
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1231
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).WarmIndexAllIndexes
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1404
github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).runWarmIndexAllIndexes
/go/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1391
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:137





IFIN SISTEMI S.R.L. a socio unico

Via G. Medici 9/a
35138 Padova 


Le informazioni, i dati e le notizie contenute nella presente comunicazione e i relativi allegati sono di natura privata e come tali possono essere riservate e sono, comunque, destinate esclusivamente ai destinatari sopra indicati. La diffusione, la distribuzione e/o la copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita, sia ai sensi dell’art. 616 c.p., sia ai sensi del D.Lgs. 196/2003 e Regolamento UE 2016/679. Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di darcene immediata comunicazione anche inviando un messaggio di ritorno all'indirizzo e-mail del mittente. L’interessato può esercitare tutti i diritti previsti ai sensi degli articoli degli articoli 13, comma 2, lettere (b) e (d), 15-21 del Regolamento UE 2016/679, inviando un messaggio all'indirizzo e-mail del mittente o telefonando allo 049 500 1 500. Si prega di leggere Privacy Policy presente in https://ifin.it/privacy-policy-informativa-sui-cookies.