I have local docker container for development. Each time when laptop wake up (but LAN/WLAN not yet) NextCloud client finds it as default router and try to use. Then NextCloud stuck because wrong certificates detected. Sync doesn't work anymore since this moment. You must close cert window and then restart syncronisation or NextCloud client as workaround