OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Snapmaker Orca 2.4.0 not remembering login

Open Vance1122 opened this issue 2 months ago • 6 comments

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

Snapmaker_Orca Version

2.4.0

Operating System (OS)

Linux

OS Version

Linux Mint

Additional system information

[code] System: Kernel: 7.0.0-34-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc Desktop: Cinnamon v: 6.6.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble Machine: Type: Mini-pc System: CHUWI Innovation And (ShenZhen) product: LarkBox X v: N/A serial: Mobo: CHUWI Innovation And (ShenZhen) model: LarkBox X serial: uuid: UEFI: American Megatrends v: 106 date: 12/15/2021 Battery: Device-1: hidpp_battery_0 model: Logitech MK700 serial: charge: 70% (should be ignored) rechargeable: yes status: discharging Device-2: hidpp_battery_1 model: Logitech M570 serial: charge: 60% rechargeable: yes status: discharging CPU: Info: quad core model: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP smt: enabled arch: Zen/Zen+ note: check rev: 1 cache: L1: 384 KiB L2: 2 MiB L3: 4 MiB Speed (MHz): avg: 2633 high: 3193 min/max: 1400/2300 boost: enabled cores: 1: 2425 2: 3192 3: 1420 4: 1352 5: 3187 6: 3187 7: 3113 8: 3193 bogomips: 36731 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Graphics: Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series] driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1,DP-2 bus-ID: 05:00.0 chip-ID: 1002:15d8 class-ID: 0300 temp: 49.0 C Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93") Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Philips PHL 276E9Q serial: res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.54x13.23") diag: 686mm (27") modes: max: 1920x1080 min: 720x400 API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.8-0ubuntu0.24.04.2 glx-v: 1.4 direct-render: yes renderer: AMD Radeon Vega 10 Graphics (radeonsi raven ACO DRM 3.64 7.0.0-34-generic) device-ID: 1002:15d8 API: Vulkan v: 1.3.275 layers: 3 surfaces: xcb,xlib device: 0 type: integrated-gpu driver: N/A device-ID: 1002:15d8 device: 1 type: cpu driver: N/A device-ID: 10005:0000 Audio: Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:15de class-ID: 0403 Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp3x v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480 Device-3: AMD Family 17h/19h HD Audio vendor: Conexant Systems driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403 API: ALSA v: k7.0.0-34-generic status: kernel-api Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin Network: Device-1: Intel Ethernet I225-V driver: igc v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 02:00.0 chip-ID: 8086:15f3 class-ID: 0200 IF: enp2s0 state: down mac: Device-2: Intel Ethernet I225-V driver: igc v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 03:00.0 chip-ID: 8086:15f3 class-ID: 0200 IF: eno1 state: up speed: 2500 Mbps duplex: full mac: Device-3: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 14c3:0608 class-ID: 0280 IF: wlp4s0 state: down mac: IF-ID-1: br-abbebeea27f3 state: up speed: 10000 Mbps duplex: unknown mac: IF-ID-2: docker0 state: down mac: IF-ID-3: veth5d0a7e9 state: up speed: 10000 Mbps duplex: full mac: Bluetooth: Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 3-2:3 chip-ID: 0e8d:0608 class-ID: e001 serial: Report: hciconfig ID: hci0 rfk-id: 0 state: up address: bt-v: 5.2 lmp-v: 11 sub-v: 2402 hci-v: 11 rev: 1911 class-ID: 7c0104 Drives: Local Storage: total: 1.14 TiB used: 240.98 GiB (20.6%) ID-1: /dev/nvme0n1 vendor: Kingston model: RBUSNS8154P3256GJ size: 238.47 GiB speed: 15.8 Gb/s lanes: 2 tech: SSD serial: fw-rev: E8FK11.C temp: 58.9 C scheme: GPT ID-2: /dev/sda vendor: Western Digital model: WD10TMVW-11ZSMS5 size: 931.48 GiB type: USB rev: 3.0 spd: 5 Gb/s lanes: 1 speed: tech: HDD rpm: 5200 serial: fw-rev: 1015 scheme: MBR Partition: ID-1: / size: 233.18 GiB used: 61.83 GiB (26.5%) fs: ext4 dev: /dev/nvme0n1p2 ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1 Swap: ID-1: swap-1 type: file size: 2 GiB used: 2 GiB (100.0%) priority: -1 file: /swapfile USB: Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900 Device-1: 2-2:2 info: Western Digital My Passport (WDBKXH WDBY8L) type: mass storage driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s lanes: 1 power: 896mA chip-ID: 1058:0748 class-ID: 0806 serial: Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Device-1: 3-1:2 info: Logitech Unifying Receiver type: keyboard,mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 98mA chip-ID: 046d:c52b class-ID: 0300 Device-2: 3-2:3 info: MediaTek Wireless_Device type: bluetooth driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s lanes: 1 power: 100mA chip-ID: 0e8d:0608 class-ID: e001 serial: Hub-4: 4-0:1 info: super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900 Sensors: System Temperatures: cpu: 48.6 C mobo: N/A gpu: amdgpu temp: 48.0 C Fan Speeds (rpm): N/A Repos: Packages: 2234 pm: dpkg pkgs: 2222 pm: flatpak pkgs: 12 No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb https: //mirrors.sonic.net/mint/packages zena main upstream import backport 2: deb http: //mirror.arizona.edu/ubuntu noble main restricted universe multiverse 3: deb http: //mirror.arizona.edu/ubuntu noble-updates main restricted universe multiverse 4: deb http: //mirror.arizona.edu/ubuntu noble-backports main restricted universe multiverse 5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.sources 1: deb [arch=amd64 arm64] https: //brave-browser-apt-release.s3.brave.com stable main Active apt repos in: /etc/apt/sources.list.d/docker.sources 1: deb [arch=amd64] https: //download.docker.com/linux/ubuntu noble stable Info: Memory: total: 8 GiB note: est. available: 7.2 GiB used: 6.14 GiB (85.3%) Processes: 357 Power: uptime: 8h 22m states: freeze,mem,disk suspend: deep wakeups: 0 hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34 [/code]

Printer

Snapmaker U1

How to reproduce

Open Snapmaker Orca, Log in to your account, Slice model and send it to printer, Printer starts printing. Close Snapmaker Orca. Next time you open Snapmaker Orca, you have to log in to your account again. There is no way to tell it to remember it. Be annoyed.

Actual results

It does not remember login details. Once you enter them, you can connect to your printer and do what you want. It just does not remember your credentials between sessions. It does not matter what project file I want to work with. It just does it.

Expected results

I expect it to remember my credentials between sessions.

Project file & Debug log uploads

snorca logs.zip

Checklist of files to include

  • [x] Log file
  • [ ] Project file

Anything else?

No response

Vance1122 avatar Sep 26 '26 03:09 Vance1122

Same problem on Windows.

atulkhatri avatar Sep 29 '26 18:09 atulkhatri

Same problem using the Appimage (2.4.0) on Debian 13.

dburr avatar Oct 05 '26 10:10 dburr

Hi. i compiled my own version with the login issue fixed. grab it from here: https://drive.google.com/drive/folders/1eEnrd0V2d8y3FoQ2DauNi5GsGjUUFgmm?usp=sharing

i-am-ez76 avatar Oct 08 '26 16:10 i-am-ez76

Thank you.

Sent from Proton Mail https://proton.me/mail/home for Android.

-------- Original Message -------- On Thursday, 10/08/26 at 09:02 i-am-ez76 @.***> wrote:

i-am-ez76 left a comment (Snapmaker/OrcaSlicer#925) https://github.com/Snapmaker/OrcaSlicer/issues/925#issuecomment-6063896144

Hi. i compiled my own version with the login issue fixed. grab it from here: https://drive.google.com/drive/folders/1eEnrd0V2d8y3FoQ2DauNi5GsGjUUFgmm?usp=sharing

— Reply to this email directly, view it on GitHub https://github.com/Snapmaker/OrcaSlicer/issues/925?email_source=notifications&email_token=ADAWOCIOVR64VIZONSUKTHL5S63A5A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMBWGM4DSNRRGQ2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6063896144, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAWOCKKII3T5THCCTX5AK35S63A5AVCNFSNUABFKJSXA33TNF2G64TZHM4DENRWGEYDONRZHNEXG43VMU5TKNJZGEYTIOBSHA32C5QC . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/ADAWOCMSMA53M3NDXXGA3A35S63A5A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMBWGM4DSNRRGQ2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/ADAWOCIIV5DU447P5A3DVND5S63A5A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMBWGM4DSNRRGQ2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>

Vance1122 avatar Oct 08 '26 16:10 Vance1122

Same root cause as #984 — WebKitGTK uses an in-memory cookie store unless persistent storage is explicitly configured, so the login is lost on every restart. 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.

creat3dworld avatar Nov 14 '26 05:11 creat3dworld

We've verified the root cause too — thanks to @Vance1122 for the report, and @creat3dworld for the analysis and #1205.

There is no webkit_cookie_manager_set_persistent_storage call anywhere in the repo, so on Linux WebKitGTK keeps cookies in memory only and the login is cleared on the next start.

Status: we'll test #1205 first (Linux), and schedule a merge if all is well. The PR enables SQLite persistence at data_dir()/cache/cookies.db in the shared web-view factory.

gushanji avatar Nov 26 '26 10:11 gushanji