Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.4] peer couchdb connectivity issue #39

Open
davidkhala opened this issue Aug 14, 2022 · 0 comments
Open

[2.4] peer couchdb connectivity issue #39

davidkhala opened this issue Aug 14, 2022 · 0 comments

Comments

@davidkhala
Copy link
Owner

2022-08-14 09:48:37.853 UTC 000e WARN [couchdb] handleRequest -> Attempt 1 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 125ms
2022-08-14 09:48:37.979 UTC 000f WARN [couchdb] handleRequest -> Attempt 2 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 250ms
2022-08-14 09:48:38.230 UTC 0010 WARN [couchdb] handleRequest -> Attempt 3 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 500ms
2022-08-14 09:48:38.731 UTC 0011 WARN [couchdb] handleRequest -> Attempt 4 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 1s
2022-08-14 09:48:39.732 UTC 0012 WARN [couchdb] handleRequest -> Attempt 5 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 2s
2022-08-14 09:48:41.734 UTC 0013 WARN [couchdb] handleRequest -> Attempt 6 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 4s
2022-08-14 09:48:45.736 UTC 0014 WARN [couchdb] handleRequest -> Attempt 7 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 8s
2022-08-14 09:48:53.737 UTC 0015 WARN [couchdb] handleRequest -> Attempt 8 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 16s
2022-08-14 09:49:09.739 UTC 0016 WARN [couchdb] handleRequest -> Attempt 9 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 32s
2022-08-14 09:49:41.741 UTC 0017 WARN [couchdb] handleRequest -> Attempt 10 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retrying couchdb request in 1m4s
2022-08-14 09:50:45.743 UTC 0018 WARN [couchdb] handleRequest -> Attempt 11 of 11 returned error: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused. Retries exhausted
panic: Error in instantiating ledger provider: Get "http://couchdb.peer0.astri.org:5984/": dial tcp 172.28.0.5:5984: connect: connection refused
http error calling couchdb
github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.(*couchInstance).handleRequest
        /go/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/couchdb.go:1714
github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.(*couchInstance).verifyCouchConfig
        /go/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/couchdb.go:353
github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.createCouchInstance
        /go/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/couchdbutil.go:88
github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.NewVersionedDBProvider
        /go/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/statecouchdb.go:56
github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/privacyenabledstate.NewDBProvider
        /go/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/privacyenabledstate/db.go:66
github.com/hyperledger/fabric/core/ledger/kvledger.(*Provider).initStateDBProvider
        /go/src/github.com/hyperledger/fabric/core/ledger/kvledger/kv_ledger_provider.go:227
github.com/hyperledger/fabric/core/ledger/kvledger.NewProvider
        /go/src/github.com/hyperledger/fabric/core/ledger/kvledger/kv_ledger_provider.go:118
github.com/hyperledger/fabric/core/ledger/ledgermgmt.NewLedgerMgr
        /go/src/github.com/hyperledger/fabric/core/ledger/ledgermgmt/ledger_mgmt.go:71
github.com/hyperledger/fabric/internal/peer/node.serve
        /go/src/github.com/hyperledger/fabric/internal/peer/node/start.go:429
github.com/hyperledger/fabric/internal/peer/node.glob..func6
        /go/src/github.com/hyperledger/fabric/internal/peer/node/start.go:129
github.com/spf13/cobra.(*Command).execute
        /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
        /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:852
github.com/spf13/cobra.(*Command).Execute
        /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:800
main.main
        /go/src/github.com/hyperledger/fabric/cmd/peer/main.go:56
runtime.main
        /usr/local/go/src/runtime/proc.go:250
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1571
unable to connect to CouchDB, check the hostname and port

goroutine 1 [running]:
github.com/hyperledger/fabric/core/ledger/ledgermgmt.NewLedgerMgr(0xc000215a10)
        /go/src/github.com/hyperledger/fabric/core/ledger/ledgermgmt/ledger_mgmt.go:85 +0x5f4
github.com/hyperledger/fabric/internal/peer/node.serve({0x142efc0?, 0xc000215d18?, 0xc000215cf0?})
        /go/src/github.com/hyperledger/fabric/internal/peer/node/start.go:429 +0x21e9
github.com/hyperledger/fabric/internal/peer/node.glob..func6(0x239fcc0?, {0x2433908?, 0x0?, 0x0?})
        /go/src/github.com/hyperledger/fabric/internal/peer/node/start.go:129 +0x56
github.com/spf13/cobra.(*Command).execute(0x239fcc0, {0x2433908, 0x0, 0x0})
        /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:762 +0x67c
github.com/spf13/cobra.(*Command).ExecuteC(0x23a0640)
        /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:852 +0x2dc
github.com/spf13/cobra.(*Command).Execute(...)
        /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:800
main.main()
        /go/src/github.com/hyperledger/fabric/cmd/peer/main.go:56 +0x392

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant