Please check WebDAV username/password - cc-switch sync config lost
Quick fix
cc-switch masks and clears WebDAV password on write-back. Upgrade to fix; temporarily re-enter password.
Symptom
Section titled “Symptom”Please check WebDAV username/password and directory permissions.cc-switch masks the webdav password as an empty string when writing back sync data. Subsequent client requests to WebDAV return 'Please check WebDAV username/password and directory permissions.' The issue is intermittent: re-entering the password restores connection temporarily, but subsequent sync write-backs may clear it again.
When automatic sync is enabled for the same WebDAV source on both Windows and macOS, uploads may trigger even without local changes, and data may not fully sync between ends. This can also cause loss of other configs like Codex API request addresses, which is a variant of the same sync write-back issue. The maintainer confirmed the issue is fixed and will be included in the next release.
Re-enter the WebDAV password and save. Users report that re-entering the password temporarily restores connectivity without needing special directory permission adjustments.
Upgrade to the fixed version of cc-switch: The maintainer confirmed the issue stems from masking during write-back and has fixed it; it will be released in the next version.
Before the fixed version is released, avoid enabling automatic sync for the same WebDAV source simultaneously on Windows and macOS. Simultaneous multi-end sync triggers uploads without local changes, causes incomplete data sync, and may lead to loss of Codex API request addresses.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Does this WebDAV error only occur with InfiniCloud?
- The maintainer asked if only InfiniCloud was affected. The user noted that due to high sync traffic volume, testing other providers was inconvenient, so reports focused on InfiniCloud. However, the root cause is cc-switch masking during write-back, which is unrelated to the specific WebDAV provider.
- Why does the issue recur after re-entering the password?
- Because cc-switch masks and clears the webdav password to an empty string during automatic sync write-back, re-entering the password will likely result in loss again if sync write-back is triggered.
- Why is the Codex API request address lost when auto-sync is enabled on both Windows and macOS?
- When the same WebDAV source is set to auto-sync on both ends, uploads may trigger even without local changes, and data may not fully sync between ends. Loss of config write-back can cause the Codex API request address to be lost as well, which is a variant of the same sync write-back issue.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.