Repository navigation
Description
Is there an existing issue for this problem?
- I have searched the existing issues
Snapmaker_Orca Version
2.4.3
Operating System (OS)
Linux
OS Version
OS: Ubuntu 25.04
Additional system information
No response
Printer
Snapmaker U1
How to reproduce
Start the AppImage on Linux.
Log in to Snapmaker cloud successfully.
Use the app normally.
Close the app normally.
Reopen the app.
Observe that the cloud login is gone
Relevant log evidence
On startup after restart, the logs show:
_getDeviceInfo: loginUser: {nickname: , email: , account: , status: offline, icon: , avatar: , token: , token_type: Bearer, userid: , uid: , id: , cellphone: }
eventId:logoutDeleLocalClouldDevice
The embedded web/cloud layer also reports:
FormatException SyntaxError JSON Parse error
Error running JavaScript: Unsupported result type
Persistence/storage investigation
I checked the app’s config and local storage behavior:
~/.config/Snapmaker_Orca/Snapmaker_Orca.conf is rewritten during app use, but it does not contain obvious auth/session fields; grep only found:
sync_user_preset
user_mode
The Snapmaker-specific web storage exists here:
~/.local/share/snapmaker-orca/localstorage/https_id.snapmaker.com_0.localstorage
with matching -shm and -wal files.
However, the SQLite localstorage DB contains only:
redirect|
redirectURL|h
username|e
from|o
There is no obvious token/session/auth payload stored there.
What I suspect
It looks like the visible login flow completes, but the actual authenticated session is not persisted, or the persisted data is not restored correctly on startup. The JS/JSON errors in the embedded web layer may be related.
Additional notes
I also saw one run with:
Not primary owner of DBus name - probably another SnapmakerOrca instance is running
But the blank-token startup behavior and web errors also occur in runs without relying on that specific DBus warning as the primary explanation.
Attachments
Debug logs from affected runs
Output showing localstorage contents
File/path investigation results per Linux config/local-share storage layout
Small edits before posting
Replace these placeholders before you submit:
Exact app version from Help -> About
Your distro/version
Whether you launched via AppImage directly or through a desktop entry
Actual results
After restart, the app behaves as logged out. In the debug logs, loginUser is restored with empty values including an empty token, and logout-related device update events are emitted.
Expected results
After a successful cloud login, the session should persist across normal app restarts.
Project file & Debug log uploads
Checklist of files to include
- Log file
- Project file
Anything else?
No response
Activity
popy2k14 commentedon Apr 4, 2026
@i-am-ez76 i have the same issue in lan mode in arch linux! With 2.2.4 it worked in lan mode but not in cloud mode.
Can you please change the title to: Linux/AppImage: Snapmaker cloud & lan login does not persist across restart
thx
i-am-ez76 commentedon Apr 5, 2026
parkervcp commentedon Apr 5, 2026
This was reported on #116 . I have this issues as well.
Fix 17 open issues: filament profiles, UI, slicing, and build fixes
Persist Snapmaker login across restarts via OS secret store
PGMacDesign commentedon Jun 14, 2026
Fix submitted in #479. Root cause was two-fold: the session wasn't persisted at all, and even once restored, a startup race could drop the login-state push to the web UI (leaving it showing "logged out" despite a valid token). The PR persists the bearer token via the OS secret store (libsecret/Keychain/Credential Manager, never plaintext), revalidates it on startup, and closes the race so the UI reflects the restored session immediately.
Tested on Linux (Pop!_OS AppImage) and macOS — persists across restart. Would appreciate others confirming on their setups.
github-actions commentedon Sep 13, 2026
Orca bot: this issue is stale because it has been open for 90 days with no activity.
i-am-ez76 commentedon Sep 14, 2026
Hey Guys.
Using Claude i have recompilled the latest version with the login check.
now it actually SAVES MY LOGIN!!!!
download it from here...
https://drive.google.com/file/d/1yz6n9JptRqmEkiR7eVV1wMFGFgYb6UUo/view?usp=drive_link
everytime a few version will be released, i will recompile it and post it
popy2k14 commentedon Sep 14, 2026
@i-am-ez76 thx for fixing this issue.
Please commit the code with an PR here in this repo and ping snapmaker staff, so it will be hopefully commited.
i-am-ez76 commentedon Sep 14, 2026
popy2k14 commentedon Sep 18, 2026
@i-am-ez76 sorry i am back to windows and cant help anymore 😢
i-am-ez76 commentedon Oct 8, 2026
fixed it for V2.4.0
https://drive.google.com/drive/folders/1eEnrd0V2d8y3FoQ2DauNi5GsGjUUFgmm?usp=sharing
zhangzhend0ng commentedon Nov 3, 2026
Fixed in v2.4.1 — see "Fixed an issue where Linux users' login status could not be saved" in the v2.4.1 release notes. Please test on v2.4.1 and comment/reopen if it still reproduces on your setup.
creat3dworld commentedon Nov 14, 2026
Same root cause as #984 — WebKitGTK uses an in-memory cookie store unless persistent storage is explicitly configured. Fixed by the #984 patch: persistent SQLite cookie storage at data_dir()/cache/cookies.db. See PR #1205 (closes #984), which covers this issue too.