What to Do When a Claude Code Remote Session Shows as Offline: Use PandaSI to See Why and Get a Fix Command
Opening a Claude Code or Codex session on your computer remotely, only to see it marked as offline? PandaSI displays the reason for the offline status or troubleshooting clues at the top of the session, and provides repair commands when needed. This article explains how to handle each issue step by step.

You open a Claude Code session on your home computer in your phone’s browser while you’re out, but the message box says the computer is offline. Before, you could only guess: Is the computer asleep? Is the network down? Did the program crash? Now PandaSI uses connection status and disconnection records to show the reason for the outage or troubleshooting clues at the top of the session, along with a next step: wait if it can recover automatically, use a button if it can be handled remotely, or copy a command to run on the computer if you need to take action there.
This article explains where the notice appears, what each notice means, what to do, and when detailed information isn’t available.
Note: This article covers offline notices when using Claude Code or Codex remotely through PandaSI. These notices and fix commands are part of PandaSI, not errors from Anthropic’s official Remote Control feature. For issues with the official feature, see Anthropic’s documentation.
First, figure out what’s offline
PandaSI connects to engines such as Claude Code and Codex through PandaPaw on your computer. For sessions to work in your computer’s or phone’s browser, both of these connections must be working:
- Your computer’s or phone’s browser → PandaSI;
- Your computer (PandaPaw) → PandaSI.
Previously, if either connection dropped, you saw roughly the same “offline” status. Now the notice distinguishes which connection has a problem, and the solutions are completely different.
Step 1: Check the notice at the top of the session
Open any session on that computer. If it’s offline, a pale yellow notice appears at the top of the session. It gives the reason first, followed by a button or fix command you can use.

A few things to note:
- The notice appears about 1.5 seconds after the connection drops, to avoid flickering while a newly opened page is still connecting.
- While offline, the page automatically checks again at intervals. The notice closes when the computer reconnects, so there’s no need to refresh manually.
- While offline, the computer name with a status dot also appears at the beginning of the session status bar (or in the upper-right corner if the status bar isn’t shown): yellow means it’s waiting to reconnect, and gray means it’s offline. It isn’t shown when the computer is online. Click it to see the same diagnostics and actions.

The mobile web session page opened in a phone’s browser also displays the reason for being offline.
Step 2: Follow the notice
Here are the types of notices you may see, grouped by whether you need to take action.
No action needed—wait for it to recover
| Notice | Meaning |
|---|---|
| “「Some computer」 just disconnected. Reconnecting…” | The computer briefly disconnected, and PandaPaw is reconnecting automatically |
| “「Some computer」 just disconnected. Waiting for it to come back…” | It just went offline; the system is waiting for it to return |
| “The relay server just restarted. Waiting for 「Some computer」 to reconnect…” | The server-side relay just restarted; wait for the computer to reconnect automatically |
These situations usually resolve quickly, and the notice will disappear automatically.
One click is all it takes
| Notice | Button | Description |
|---|---|---|
| This page’s connection was lost, but 「Some computer」 is still online | Reconnect now | The computer is fine; your browser lost its connection. Click the button to reconnect. If you just clicked it, the button will show “Retry in X seconds.” |
| PandaPaw on 「Some computer」 is running, but this engine service has stopped | Restart PandaPaw | Another service on the same computer is still online, so you can restart PandaPaw remotely |
| Online device limit exceeded / Online device limit reached; service paused | Manage plan | You’ve reached the online device limit allowed by your plan. Go to the plan page to adjust it |
Before restarting PandaPaw: When you click the button, a confirmation appears in the notice explaining that “Restarting PandaPaw will interrupt all sessions currently running on this computer.” After you confirm, the notice will show “Restarting PandaPaw…” and “Waiting for the computer to reconnect…”, followed by “PandaPaw restarted” if successful. If the version of PandaPaw on the computer is too old to support remote restart, the notice will instead provide a command to run on the computer. If the restart result can’t be confirmed, you’ll see “Restart result not confirmed. If still offline, run the command on the computer.”
Requires action on the computer
| Notice | What to do |
|---|---|
| Unable to connect to 「Some computer」. Make sure the computer is powered on and PandaPaw is running. | Check that the computer isn’t shut down or asleep, then run the repair command |
| 「Some computer」 has never connected. Start PandaPaw on the computer. | Start PandaPaw on the computer, or run the repair command |
Both notices include pandapaw repair and a “Copy command” button. Run this command in a terminal on that computer:
pandapaw repairIt will fix startup on boot and start any missing services. It won’t stop services that are already running. Return to the webpage after running it. The notice will disappear automatically when the computer reconnects.
If the server has an online record for this computer, the notice will also say “Last online X minutes ago / X hours ago,” helping you tell whether it just disconnected or has been offline for a while—and whether to wait or go handle it on the computer.
The server rejected the connection
If the notice says something like “The server rejected the credentials for 「Some computer」,” “Identity is being used by another computer,” or “A PandaPaw with the same identity is already connected,” the computer can connect but the server has rejected it. Follow the notice: for a credential issue, log in to PandaPaw again on the computer; for an identity conflict, check whether you copied the same configuration to two computers or started two PandaPaw instances on one computer. These situations won’t offer a remote restart, because restarting won’t solve the problem.
When detailed information isn’t available
- Cloud Agents: Cloud sandboxes have their own pause and wake notices, so this offline-reason notice isn’t displayed.
- A computer shared with you by someone else: You can only see whether it’s online or offline, not the specific reason or a fix button. Ask the computer’s owner to handle it.
- A computer without an online record on the server: For example, if it has been offline for a long time, the server may not have an online record for it, and the notice will say “has never connected.” The solution is the same: start PandaPaw on the computer or run
pandapaw repair. - The reason can’t be determined temporarily: If diagnostics are temporarily unavailable, the notice will only say “「Some computer」 is offline,” without giving a specific reason. (If your page’s connection was lost, a reconnect button may still be available.) While a check is in progress, you’ll see “Checking why 「Some computer」 is offline…” The page retries automatically. If the notice persists for a long time, run
pandapaw repairon the computer.
A complete troubleshooting example
Suppose you open a Claude Code session on your home computer in your phone’s browser while riding the subway, and see this notice: “Unable to connect to 「home-pc」. Make sure the computer is powered on and PandaPaw is running. · Last online 3 hours ago”:
- It’s been offline for 3 hours, so first check the computer’s power, sleep status, network, and whether PandaPaw is running.
- When you get home, check the computer and run
pandapaw repairin a terminal. - Return to the session in your phone’s browser. The notice will disappear, and you can continue typing.
If the computer often disconnects because it goes to sleep, see the sleep and network-switching settings in Troubleshooting Claude Code remote disconnections. To access your home computer directly while you’re out, see Connected devices.
FAQ
What should I do if the notice keeps saying “Reconnecting”? Wait a minute or two first. If it changes to “Unable to connect,” run pandapaw repair on the computer as described above.
Will restarting PandaPaw lose my sessions? It will interrupt the sessions currently running on that computer, so you’ll be asked to confirm first. The session records themselves are preserved, and you can continue after reconnecting.
Claude Code can’t connect remotely and keeps showing as offline. What should I do? First check which type of notice you see: wait if it says it’s waiting for a connection, click “Reconnect now” if the page connection was lost, or run pandapaw repair on the computer if the computer can’t connect.
Why don’t I see the “Restart PandaPaw” button? Remote restart is only available when another PandaPaw service on the same computer is online. If the entire computer can’t connect, you’ll need to handle it on the computer.
Summary
When using Claude Code or Codex remotely, the worst part of a disconnection isn’t the outage—it’s not knowing why it happened. PandaSI’s offline notice at the top of the session tells you what disconnected, whether you can wait, and whether you need to take action: it tells you to wait when that’s enough, offers a button when it can be handled remotely, and provides pandapaw repair when you must work on the computer. Next time you see an offline notice, read it before taking action. Open the Agent page at pandasi.ai to check whether your computer is online.
Related guides

Claude Code Remote Disconnection Troubleshooting: Symptoms, Criteria, and Solutions for Six Types of Disconnections
When Claude Code's remote connection drops, don't rush to reconnect—different types of disconnections have different symptoms, and the fixes are completely different. This article works backward from "what you see" to six causes: machine sleep, network switching killing long-lived connections, screen-mirroring-style solutions requiring the local machine to stay on, half-dead connections, reconnects losing sessions, and processes being reaped. For each cause, it gives confirmation criteria and the corresponding fix, and ends with a step-by-step troubleshooting checklist you can follow.
Read article →
Device Interconnect: Connect Your Devices Directly, Anywhere, Anytime – No Public IP, No Port Forwarding Hassle
Want to access Claude Code, SSH, or internal services on your home/office computer from outside using your phone or another computer, but stuck with no public IP, afraid to open port forwarding, and finding frp/PeanutHull configuration annoying? Device interconnection can be enabled with one click in the desktop client, adding each of your devices to your private encrypted network, giving each device a fixed private IP, making them directly connected as if they are on the same LAN no matter where you are — end-to-end encryption, zero public exposure, and one-click revocation at any time.
Read article →
Connect Claude Code to Your Phone: View Sessions and Approve Tools Anytime on iOS
This article is aimed at developers, sharing best practices for connecting to Claude Code from a mobile phone. Use the PandaSI iOS app to view sessions in real time, approve tool calls, and respond to questions. With pandapaw and iOS Live Activity, you can achieve efficient remote control and improve coding flexibility.
Read article →