BrightID-Node icon indicating copy to clipboard operation
BrightID-Node copied to clipboard

DAppNode: Sometimes nginx can not connect to ws backend after updating

Open TripleSpeeder opened this issue 4 years ago • 2 comments

Observed behaviour: Sometimes after re-installing or updating the node package there are errors in the web service logs that indicate nginx can not connect to the profile service running in the ws container. According to the logs, the web service tries to connect to ws at its previous IP-address.

Workaround: Restart the web service. After restart it connects to the correct IP-address.

Possible solution: Currently all brightID-node services connect to the default docker network of dappnode. We should create a dedicated virtual network for the brightid-node services. Within this network DNS resolution should work correctly.

TripleSpeeder avatar Jan 26 '21 19:01 TripleSpeeder

Currently DAppNode does not support additional networks. We need to wait for https://github.com/dappnode/DNP_DAPPMANAGER/issues/618 to be implemented.

TripleSpeeder avatar Feb 15 '21 13:02 TripleSpeeder

@TripleSpeeder issue done :heart: . Please watch this release to include it https://github.com/dappnode/DNP_DAPPMANAGER/milestone/6

dapplion avatar Mar 09 '21 18:03 dapplion