You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GUI shows "Connection Error" after removing several folders in quick succession #10934
When a few folders are removed quickly while the web UI is open, it shows the "Connection Error" dialog ("Syncthing seems to be experiencing a problem processing your request…"). It stays until I reload the page. For syncthingtray, it needs to be completely closed and restarted, as there is no way to refresh that. Syncthing itself is fine.
Repro
Open the web UI.
Remove two or more folders less than a second apart, e.g.:
for id in f1 f2 f3; do syncthing cli config folders $id delete; done
Removing a single folder doesn't trigger it.
Cause
On each config change, updateLocalConfig schedules refreshFolder for every folder, debounced by a second. When a folder is removed within that second, its pending GET /rest/db/status returns 404 ("no such folder"). refreshFolder passes every error to emitHTTPError, and that shows the dialog for any 404.
Activity
fix(gui): ignore 404 when refreshing a removed folder (fixes syncthin…
fix(gui): ignore 404 when refreshing a removed folder (fixes syncthin…
fix(gui): ignore 404 when refreshing a removed folder (fixes syncthin…