claude-code - 💡(How to fix) Fix [Bug] Dispatch: Cannot register Cowork agent - stuck 409 conflict on same device (DESKTOP-HOME) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48727Fetched 2026-04-16 06:52:40
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

The Dispatch feature cannot connect because a ghost Cowork session is stuck on the server for device "DESKTOP-HOME". This IS the same computer — there is no other device to disconnect from.

Error Message

Error: A Cowork agent is already registered on DESKTOP-HOME. Disconnect it there before registering this device. (HTTP 409 Conflict)

Error Messages/Logs

2026-04-16 03:56:14 [error] [sessions-bridge] Registration conflict (409): 4. 409 Conflict error appears permanently

Root Cause

The Dispatch feature cannot connect because a ghost Cowork session is stuck on the server for device "DESKTOP-HOME". This IS the same computer — there is no other device to disconnect from.

Fix Action

Fix / Workaround

The Dispatch feature cannot connect because a ghost Cowork session is stuck on the server for device "DESKTOP-HOME". This IS the same computer — there is no other device to disconnect from.

  1. Claude Desktop loses connection (app crash / network drop)
  2. Restart the app
  3. Attempt to connect Dispatch
  4. 409 Conflict error appears permanently

Code Example

## Log entry
2026-04-16 03:56:14 [error] [sessions-bridge] Registration conflict (409):
A Cowork agent is already registered on DESKTOP-HOME.
Disconnect it there before registering this device.
[request-id: req_011Ca64pboiBBMtz8PuiUtRA]
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Desktop app version: Claude 1.2581.0 (MSIX) OS: Windows 11 Pro 10.0.26200 Error: A Cowork agent is already registered on DESKTOP-HOME. Disconnect it there before registering this device. (HTTP 409 Conflict) Request ID: req_011Ca64pboiBBMtz8PuiUtRA

Description

The Dispatch feature cannot connect because a ghost Cowork session is stuck on the server for device "DESKTOP-HOME". This IS the same computer — there is no other device to disconnect from.

What I've tried

  • Signed out and back in (multiple times)
  • Killed all Claude processes via Task Manager
  • Cleared bridge-state.json, Local Storage, IndexedDB
  • Revoked all Claude Code OAuth tokens

None of the above resolved the issue. The ghost session persists server-side.

What Should Happen?

Expected behavior

When the only registered device is the same machine attempting to reconnect, the server should allow re-registration or provide a self-serve way to clear the stuck session.

Error Messages/Logs

## Log entry
2026-04-16 03:56:14 [error] [sessions-bridge] Registration conflict (409):
A Cowork agent is already registered on DESKTOP-HOME.
Disconnect it there before registering this device.
[request-id: req_011Ca64pboiBBMtz8PuiUtRA]

Steps to Reproduce

Steps to reproduce

  1. Claude Desktop loses connection (app crash / network drop)
  2. Restart the app
  3. Attempt to connect Dispatch
  4. 409 Conflict error appears permanently

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

1.2581.0

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

extent analysis

TL;DR

The issue can be resolved by finding a way to clear the stuck Cowork session on the server-side for the device "DESKTOP-HOME", possibly through a self-serve mechanism or direct server intervention.

Guidance

  • Investigate server-side session management to understand how stuck sessions are handled and if there's an API or interface to manually clear them.
  • Check if there are any server logs or monitoring tools that can provide more insight into the stuck session and why it persists despite client-side attempts to clear it.
  • Consider reaching out to the server administration or support team to report the issue and request assistance in clearing the stuck session, as the error message suggests a server-side resolution.
  • Review the application's documentation and support resources for any guidance on handling registration conflicts or stuck sessions.

Example

No specific code example can be provided without more details on the server-side implementation, but a potential approach might involve using an API call to clear the session, if such an API exists:

DELETE /sessions/{sessionId}

However, this is speculative and would depend on the actual server-side API design.

Notes

The exact solution depends on the specifics of the server-side implementation and its management interfaces. Without direct access to server documentation or support, the best course of action is to seek assistance from the server administration team.

Recommendation

Apply workaround: Given the lack of information on how to directly clear the stuck session through the client, the best immediate action is to seek server-side assistance to resolve the conflict. This approach is necessary because the issue is identified as a regression, suggesting that the expected behavior of allowing re-registration or providing a self-serve way to clear stuck sessions is not currently functioning as intended.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

When the only registered device is the same machine attempting to reconnect, the server should allow re-registration or provide a self-serve way to clear the stuck session.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING