Connection time expired

When synchronizing Nextcloud files on a Windows computer, the connection time expired error appears in Nextcloud Hub 8 version (29.0.7). This did not happen before.

Please post the actual (precise) error. Also, we need context like:

  • Desktop client version
  • Was the Desktop client updated recently?
  • Have you checked your client logs?
  • Can you access the Web UI?
  • Have you checked your server (web, reverse proxy, Nextcloud) logs?

It is given with the latest update of the Nextcloud desktop client application 3.14.0 and the server is in version Nextcloud Hub 8 (29.0.7)

do you have an nginx server by any chance?

Yes, that’s the case, but this doesn’t happen until the last update. What’s more, if I add an old application to the current one, it works fine.

the new client enabled http2 by default i guess you did not enable it on the old one (you need an env variable for this)

when you have enbale http2 in the nginx config for nextcloud (which worked fine with the webinterface) the client is now trying to also use http2 and creates ALOT more connections.

the variables in nginx conf you want to look at are
keepalive_requests und keepalive_timeout

defaultvalues are: request 1000 and timeouts 60

for debugging purposes you could just set them stupid high for a test run like 999999 and 3600 then go down from there.

nginx does not accept -1 or 0 for unlimitted requests sadly

you might also want to increase your mysql max connections

No, that is not because those configurations are already there and I do not use mysql but psql and if it were like that with the previous version of the desktop application it would not work well

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.