Closed oleksandr closed 9 years ago
DGW discovers DC. When DC goes offline DGW simply outputs:
[device-gateway] 23:46:55 Error accessing the catalog: Put http://shanti.fritz.box.:8081/dc/my-demo-gateway-1/System: dial tcp 10.0.0.22:8081: connection refused [device-gateway] 23:46:55 Error accessing the catalog: Put http://shanti.fritz.box.:8081/dc/my-demo-gateway-1/DummyDevice: dial tcp 10.0.0.22:8081: connection refused
It would be nice to have automatic discovery of the catalog again once disconnected and some timeouts (retries).
The same is related to DC discovering SC. The same is related to registration utility.
Should work now. Implemented for both SC and DC in catalog/<device,service>/utils
DGW discovers DC. When DC goes offline DGW simply outputs:
[device-gateway] 23:46:55 Error accessing the catalog: Put http://shanti.fritz.box.:8081/dc/my-demo-gateway-1/System: dial tcp 10.0.0.22:8081: connection refused [device-gateway] 23:46:55 Error accessing the catalog: Put http://shanti.fritz.box.:8081/dc/my-demo-gateway-1/DummyDevice: dial tcp 10.0.0.22:8081: connection refused
It would be nice to have automatic discovery of the catalog again once disconnected and some timeouts (retries).
The same is related to DC discovering SC. The same is related to registration utility.