Skip to content

[macOS] Device / Bind Via PIN login hangs on blank modal after WebKit cache MIME mismatch #623

Description

@potalora

Summary

On macOS, Snapmaker Orca 2.3.5 can get stuck on the Device-tab cloud login / Bind Via PIN flow. The Login modal is blank white and shows an endless Loading spinner. The same failure can recur after a previous successful login/bind.

Environment

  • Snapmaker Orca: 2.3.5
  • OS: macOS
  • Printer: Snapmaker U1
  • Flow: Device tab -> Add Device -> Bind Via PIN

Steps to reproduce

  1. Launch Snapmaker Orca.
  2. Open the Device tab.
  3. Choose Add Device and Bind Via PIN.
  4. Complete the normal cloud-login handoff.
  5. Observe the Login modal.

Actual behavior

The Login modal remains blank with a Loading spinner indefinitely. The Device tab cannot complete the bind, so the printer's installed-filament information is unavailable.

Expected behavior

The login page should render and the PIN bind should complete, returning to the Device tab with the U1 and its installed-filament data available.

Investigation

In the affected state, the embedded WebKit NetworkCache contained Snapmaker login assets under https://id.snapmaker.com/_nuxt/ whose cached response metadata identified JavaScript/CSS as text/plain. A fresh GET of the same public CDN assets returned HTTP 200 with the correct JavaScript/CSS content type. This points to stale/incorrect WebKit cache metadata rather than invalid credentials or a printer/network failure.

No raw cache files, logs, screenshots, project files, cookies, tokens, credentials, PINs, local IP addresses, or other account data are attached.

Workaround

Quit Orca completely, move only the app's WebKit NetworkCache directory aside (rather than deleting application data), then relaunch. The login page renders normally after the cache is rebuilt.

Suggested fix

  • Treat a cached web asset with an incompatible MIME type as invalid and re-fetch it.
  • Add a bounded recovery path for failed embedded login pages (for example, invalidate only the affected WebKit network cache entry and retry).
  • Preserve local login/session storage and user profiles while recovering the web cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions