Reproducible: Spotify Desktop UI Running While spotify_cli Is Unreachable Breaks Studio/Kit

Plan

Premium

Country

United States

Device

MacBook Pro 14-inch (2023)
Apple M2 Max
32 GB RAM

Operating System

macOS Tahoe 26.5

 

My Question or Issue

Studio by Spotify Labs / Kit has a reproducible startup issue on macOS.

Versions

Spotify Desktop:

1.2.99.317.g9bd8c54d

Studio by Spotify Labs:

1.2.99.311.gc950f04f (release)

super-connect:

v0.13.6

 

Reproduction Steps

I have reproduced this 3 times in a row:

  1. Fully quit Spotify Desktop.
  2. Fully quit Studio by Spotify Labs.
  3. Open Spotify normally using macOS Spotlight (Cmd+Space → Spotify).
  4. In Spotify, click the Kit / Studio button in the top-right.
  5. Studio by Spotify Labs launches.
  6. Send Kit a simple message such as:
respond with ACK

Expected

Kit replies with:

ACK

Actual

Studio displays:

The AI request failed. Please try again.

 

Observed Failure State

When the problem occurs, Spotify Desktop is visibly running and usable, but Spotify's bundled CLI cannot connect to the desktop client.

Running:

/Applications/Spotify.app/Contents/MacOS/spotify_cli status --format json

returns:

Failed to connect to Spotify desktop client: client connection failed

Likewise:

/Applications/Spotify.app/Contents/MacOS/spotify_cli me --format json

returns:

Failed to connect to Spotify desktop client: client connection failed

Studio's bundled CLI reports:

{"super_connect":{"running":true},"spotify":{"installed":true,"path":"/Applications/Spotify.app/Contents/MacOS/spotify_cli","running":false}}

So the Spotify GUI process is running, but Studio / spotify_cli sees the Spotify desktop client as unavailable.

 

Workaround

The following consistently restores functionality:

  1. Fully quit Spotify Desktop.
  2. Ensure the Spotify process is terminated.
  3. Relaunch Spotify using:
open -a Spotify
  1. Wait approximately 5 seconds.
  2. Verify:
/Applications/Spotify.app/Contents/MacOS/spotify_cli status --format json

returns:

{"running":true,"logged_in":true}

and:

/Applications/Spotify.app/Contents/MacOS/spotify_cli me --format json

successfully returns my logged-in Premium account.

  1. Fully quit Studio by Spotify Labs / its local agent processes.
  2. Relaunch Studio using:
open -a "Studio by Spotify Labs"
  1. Send Kit:
respond with ACK

Kit now responds successfully with:

ACK

 

Additional Observation

Simply having the Spotify application visible/running is not sufficient.

In the broken state:

  • Spotify GUI is running.
  • Playback/UI appear functional.
  • spotify_cli cannot connect to the desktop client.
  • Studio reports spotify.running = false.
  • Kit AI requests fail.

After a full Spotify restart:

  • spotify_cli reports running=true and logged_in=true.
  • Account information can be queried normally.
  • Relaunching Studio restores Kit immediately.

This appears to be a partial-alive state in Spotify Desktop where the GUI remains running but the local service / IPC endpoint used by spotify_cli and Studio is unavailable.

Because Studio appears to depend on that connection during startup, Kit fails even though Spotify itself appears to be running normally.

Reproducibility: 3/3 attempts so far.

Child Item
Child Item
Child Item

Accepted answers

All comments

Hey @lucienbrule,

 

Thanks for reaching out and for the detailed info you've provided, we appreciate it!

 

We'd like to go ahead and report this to the respective team backstage and the only thing left that we need is a rough time, including time zone, when the issue occurred. That will help the team with the investigation and we'd be grateful if you can check and share this with us.

 

We'll be on the lookout.

Child Item
Child Item