Troubleshooting
Fix Sprocket port conflicts, sign-in and keyring errors, desktop launch issues, missing CLI binaries, and failed updates.
The port is already in use
Sprocket’s server uses port 17731. If another program uses it, or Windows reserves it, set SPROCKET_PORT to a free port before you start Sprocket:
SPROCKET_PORT=17800 sprocketA server with a different data directory is running
Another Sprocket server already uses the port with a different data directory. Stop that server, or set SPROCKET_DATA_DIR to its data directory.
The CLI’s local server didn’t start
Read cli-server.log in your data directory, which defaults to ~/.sprocket.
The CLI version doesn’t match the running server
The CLI and the running server must be the same version. Update both, then restart the desktop app or stop the old server and run the command again.
sprocket opens the browser instead of the desktop app
Open the desktop app once so it saves its location, then run sprocket again. You can also set SPROCKET_DESKTOP_EXECUTABLE to the app’s executable, such as the AppImage on Linux.
Keyring errors when signing in
These usually mean you chose --credential-store keyring and the keyring is locked or unavailable. Unlock your OS keyring and run sprocket login again. To skip the keyring, run sprocket login --credential-store file. That stores your sign-in in an unencrypted file only your user can read.
The desktop app on Linux doesn’t update
Updates only work when you run the AppImage itself. If you extracted it or installed it another way, download new versions from GitHub Releases.
The npm package can’t find its binary
The binary for your platform ships as an optional dependency. Reinstall without omitting optional dependencies:
npm install -g usesprocketCheck the supported platforms before reinstalling. The CLI doesn’t support musl Linux or Windows on Arm.
Still stuck
Email aarav@spikonado.com or open an issue on GitHub.