QC task:Error - ServiceDiscovery: Timeout was reached

Hello experts,

I also have a question concerning consul. Apparently the

Unable to connect to Consul: Error: connect ECONNREFUSED 127.0.0.1:8500

does not pose a problem at the moment. When I run a local CCDB and QCG on my local machine (ubuntu 18.04) as described above by @sheckel I see similar lines as posted above and everything nonetheless works as expected. No problem here.

However, on a remote CentOS 7 machine I tried the exact same thing and it does not work. Upon starting the qcg I see the following lines:

2020-02-27T11:58:22.392Z warn: Created default instance of logger
2020-02-27T11:58:22.632Z info: [QualityControlLog] Read config file "/home/tklemenz/AliSoftware/sw/slc7_x86-64/qcg/v1.6.10-1/node_modules/@aliceo2/qc/config.js"
2020-02-27T11:58:22.821Z info: [QualityControlModel] Object listing: CCDB
Warning in <TClass::Init>: no dictionary for class o2::quality_control::core::CheckDefinition is available
2020-02-27T11:58:23.302Z info: [QualityControl] HTTP endpoint: http://localhost:8081
2020-02-27T11:58:23.313Z info: [HTTP] Server listening on port 8081
2020-02-27T11:58:23.316Z info: [WebSocket] Server started
2020-02-27T11:58:23.323Z error: [QualityControlModel] Consul Service connection could not be established. Please try restarting the service due to: Error: connect ECONNREFUSED 127.0.0.1:8500
2020-02-27T11:58:23.334Z info: [QualityControlJson] DB file updated
2020-02-27T11:58:23.334Z info: [QualityControlJson] Preferences will be saved in /home/tklemenz/AliSoftware/sw/slc7_x86-64/qcg/v1.6.10-1/node_modules/@aliceo2/qc/db.json

Then when I go to localhost:8081 in the browser, which shows me the qcg page, I immediately get the following output in the terminal by the qcg:

2020-02-27T11:58:33.917Z error: [QualityControl] Unable to retrieve Consul Status: Error: connect ECONNREFUSED 127.0.0.1:8500
Trace: Error: Non-2xx status code: 500
    at ClientRequest.requestHandler (/home/tklemenz/AliSoftware/sw/slc7_x86-64/qcg/v1.6.10-1/node_modules/@aliceo2/qc/lib/CCDBConnector.js:95:18)
    at Object.onceWrapper (events.js:300:26)
    at ClientRequest.emit (events.js:210:5)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:583:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:115:17)
    at Socket.socketOnData (_http_client.js:456:22)
    at Socket.emit (events.js:210:5)
    at addChunk (_stream_readable.js:308:12)
    at readableAddChunk (_stream_readable.js:289:11)
    at Socket.Readable.push (_stream_readable.js:223:10)
    at Log.trace (/home/tklemenz/AliSoftware/sw/slc7_x86-64/qcg/v1.6.10-1/node_modules/@aliceo2/web-ui/Backend/log/Log.js:113:13)
    at errorHandler (/home/tklemenz/AliSoftware/sw/slc7_x86-64/qcg/v1.6.10-1/node_modules/@aliceo2/qc/lib/api.js:276:11)
    at /home/tklemenz/AliSoftware/sw/slc7_x86-64/qcg/v1.6.10-1/node_modules/@aliceo2/qc/lib/api.js:36:21
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
2020-02-27T11:58:33.924Z error: [QualityControl] Non-2xx status code: 500
2020-02-27T11:58:33.931Z debug: [WebSocket] ID 0 Processing "filter"
2020-02-27T11:58:33.931Z debug: [WebSocket] ID 0 Sent filter/200

In addition on the qcg page in the browser I get a small red window popping up stating:

Failed to retrieve list of objects due to undefined

and I cannot click on the objects tree on the left side.
This is a bit suspicious to me since there is again this error concerning the Consul Status and immediately afterwards there is this show-stopping error 500.

Would be interesting to know if this for sure does not result from the Consul Status error.

Thanks!

Cheers,
Thomas