In concurrent conditions synapse server might be not ready to receive connection by the time the bridge does its initial connection. So if you are not lucky your bridge stuck in broken state
That is what one can see in the log:
May-2 06:36:25.295 [bot-sdk-Appservice] error: GotError: connect ECONNREFUSED 172.19.0.4:8008
at onError (/opt/mx-puppet-skype/node_modules/got/dist/source/request-as-event-emitter.js:140:29)
at handleRequest (/opt/mx-puppet-skype/node_modules/got/dist/source/request-as-event-emitter.js:173:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1142:16) {
name: 'RequestError',
code: 'ECONNREFUSED'
}
(node:1) UnhandledPromiseRejectionWarning: GotError: connect ECONNREFUSED 172.19.0.4:8008
at onError (/opt/mx-puppet-skype/node_modules/got/dist/source/request-as-event-emitter.js:140:29)
at handleRequest (/opt/mx-puppet-skype/node_modules/got/dist/source/request-as-event-emitter.js:173:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1142:16)
It would be nice to have an unlimited number of connection retries.
In concurrent conditions synapse server might be not ready to receive connection by the time the bridge does its initial connection. So if you are not lucky your bridge stuck in broken state
That is what one can see in the log:
It would be nice to have an unlimited number of connection retries.