garethgeorge / backrest

Backrest is a web UI and orchestrator for restic backup.
GNU General Public License v3.0
1.72k stars 50 forks source link

API error: reconnecting #468

Closed lucius346346 closed 2 months ago

lucius346346 commented 2 months ago

I'm encountering this error every few minutes, regardless of what Backrest is doing. However, the UI appears to be functioning properly, and there doesn't seem to be any actual disconnection.

Screenshots image

Platform Info

garethgeorge commented 2 months ago

Hey, Backrest will immediately reconnect but this usually indicates that something is timing out it's http streaming requests to the backend.

If using nginx or another reverse proxy check the request timeout settings -- these are usually to blame and should be set fairly high for backrest (e.g. 15 min or greater).

garethgeorge commented 2 months ago

See https://github.com/garethgeorge/backrest/issues/394 for a bit of additional context.

lucius346346 commented 2 months ago

I do use Nginx. Increasing timeout fixed it. Thanks.