Videos
Video: a slow server found in a PCAP with Claude Code
Updated
Remote management to a server is slow, and Wireshark shows hundreds of TCP retransmissions in the PCAP. In this real session, Claude Code sends the file to the PcapAI MCP server and reads the free summary: the retransmissions are frames captured twice, nothing is lost, and the server answers slowly. One report credit then unlocks the measurements, the hosts and the checks to run, and the PDF for the server team comes with it.
Recorded with Claude Code 2.1.326 on November 30, 2026, with the waits cut and the signed upload links hidden; the host names in the capture are anonymized. Claude Code ran in auto mode for the recording, so it did not stop to ask. By default it asks before each tool call and each command; the Claude Code guide shows which calls you can allow.
What the video shows
The question
Remote management to a server is slow, and Wireshark marks hundreds of frames in the 60-second PCAP as TCP retransmissions. The request says so in plain words and asks for troubleshooting mode. Claude Code uploads the file with curl through a signed link, and the PcapAI MCP server runs its network diagnosis rules on it.
Free summary
The free summary answers the question. 580 of the 1,488 frames, about 39%, were captured twice, which happens when a capture records two interfaces or a mirror port. Wireshark marks each second copy as a retransmission; PcapAI leaves the copies out of its loss figures, and without them there are no retransmissions among 580 data packets. The network health is healthy, the verdict reads "Only minor network issues found", and the one finding is the server, 172.31.1.78 on port 5985 (WinRM over HTTP), with a 503 ms median response. Claude suggests capturing on one interface, or removing the copies with editcap -d, before trusting the Wireshark count.
Unlock and evidence
After the user says yes, one report credit unlocks the measurements: 145 requests from one client, a 503 ms median time to first byte, about 15 seconds at the 95th percentile, no errors and no unanswered requests. Every request got an answer, so the delay is on the server, not on the path. The checks to run are the engine's own, time curl on Linux and macOS and Measure-Command on Windows, repeated 20 times or more; the fix is verified when the median is under 500 ms. The steps name their owners: the application owner profiles the slow requests within 7 days, and network operations captures again on a single interface after the fix.
The PDF
The PDF comes with the unlock, without a second credit: an 11-page report for the server team with the measurements, the checks and the steps, under the organization name and TLP label from the account's report settings.
The requests in the video
The session starts from one request in plain words. Copy it, change the file name, and ask your agent the same:
Remote management to our server is slow and Wireshark shows hundreds of TCP retransmissions in ./winrm-slow.pcapng. Is the network dropping packets? Analyze it in troubleshooting mode.
After the free summary, the session goes on in the same chat with:
- "I have to show this to the server team. Unlock it and give me the evidence and the checks I can run."
- "Make the PDF for the server team."
The unlock is the only step that costs anything: one report credit for this capture, after you say yes. The PDF and every follow-up question come with it.
Try it with your own PCAP
Connecting your agent takes about five minutes: a free account, a personal token and one command or config entry. The free summary of every capture costs nothing.
The closest request on the example prompts page, with the tools it calls and what it costs:
Retransmissions: real loss or a capture artifact?
Wireshark shows hundreds of TCP retransmissions in ./wan.pcapng. Is the link losing packets, or is something wrong with the capture?
- The agent runs
- upload_capture curl analyze_capture
- Cost
- Free
The engine tells real loss apart from frames captured twice and drops at the capture point before it blames the link, so you do not open a ticket with the ISP for a mirror-port problem.
The same requests work in Cursor and Codex; their guides cover what differs, such as approvals and Codex's sandbox.
Transcript
The video has no sound. Its transcript holds everything it shows: the requests, the captions, each tool call and Claude's answers as they appear on screen, with the signed links hidden.
Show the full transcript
Is the network dropping packets? A slow server, found in Claude Code: a real session in Claude Code 2.1.326, recorded 2026-11-30 with the waits cut. Signed upload links are hidden. Host names in the capture are anonymized.
The question (0:04)
The user types: “Remote management to our server is slow and Wireshark shows hundreds of TCP retransmissions in ./winrm-slow.pcapng. Is the network dropping packets? Analyze it in troubleshooting mode.”
Describe the problem in plain words; Claude picks the PcapAI tools.
Claude uploads the capture with curl, through a signed link straight to storage.
The PcapAI engine analyzes it with rules and returns the free summary.
Listed 1 directory, called pcapai
Bash(curl -sS --fail -T 'winrm-slow.pcapng' '‹signed link hidden› …)
→ uploaded
→ Allowed by auto mode
Called pcapai
Free summary (0:19)
The free summary settles it: no packet loss, the server answers slowly.
Short answer: no. The network isn't dropping packets. The slowness comes from the server.
I analyzed winrm-slow.pcapng in troubleshooting mode (free summary, nothing unlocked). The verdict is "Only minor network issues found".
Why the retransmissions in Wireshark are misleading
- 580 of the 1,488 frames (about 39%) were captured twice. That usually means the capture was taken on two interfaces or a mirror source, so each packet was recorded twice.
- Wireshark flags the second copy of each packet as a retransmission. PcapAI leaves the duplicates out of its loss figures.
- With the duplicates removed, there are no retransmissions among 580 data packets.
- The other network checks were also clean. There were no zero-window stalls, no ICMP errors and no fragmentation or MTU problems.
What is slow
- The one finding (F01, low severity) is that
172.31.1.78(hyperv78.corp.example.net) on port 5985, which is WinRM over HTTP, answers requests with a median of 503 ms. - That points at the host: WinRM service load, the Hyper-V host being busy, or slow authentication. It doesn't point at the path.
Caveats
- The capture covers 60 seconds and 2 addresses, so this is a narrow sample.
- The capture quality is rated "fair".
- The free summary doesn't include the measurements or the fix steps.
Next steps
- Re-capture from a single interface to get clean Wireshark numbers. You can also filter the duplicates out with
editcap -dand look again. - Unlocking the analysis would give the evidence for F01, the fix steps and an 11-page PDF. It costs one report credit, so I haven't done it. Do you want me to unlock it?
Unlock and evidence (0:33)
The user types: “I have to show this to the server team. Unlock it and give me the evidence and the checks I can run.”
You said yes: one report credit unlocks everything about this capture.
The evidence: the measurements, the hosts involved and the checks to run.
The user has agreed to spend the credit, so I'll unlock it.
Called pcapai 3 times
The analysis is unlocked. It cost 1 report credit, and 47 are left.
Evidence for the server team
F01: WinRM on 172.31.1.78 (hyperv78.corp.example.net) port 5985 is slow to respond. Severity is low, confidence is medium, and the fault domain is Server.
| Measurement | Value |
|---|---|
| Requests seen | 145 (median measured over 138) |
| Median time to first byte | 503 ms |
| 95th-percentile response time | 15,007 ms (about 15 s) |
| Errors | 0 |
| Unanswered requests | 0 |
| Clients | 1 |
Network checks, with the duplicate frames removed
- TCP retransmissions: 0
- TCP loss: 0%
- 580 of 1,488 frames were captured twice. Wireshark shows the copies as retransmissions.
The median response time is only slightly over the engine's 500 ms threshold. The p95 of about 15 s is the number that explains why remote management feels slow. Some requests take far longer than the typical one.
What the evidence does and doesn't show
- Every request got an answer, so the delay is on the server side. The path isn't the cause.
- The engine's evidence line is generic: time to first byte measures server work per request. It doesn't say why the tail is slow.
- The finding has no frame numbers, because it is measured over many packets.
- The one-client, 60-second sample is small. Treat the cause as likely rather than proven.
Checks to run
Measure response time from the client. Replace {PATH} with the endpoint you're testing. For WinRM that is usually /wsman. A bare GET may return an error status, but it still shows the server's response time.
- Unix:
time curl -s -o /dev/null "http://172.31.1.78:5985{PATH}" - Windows:
Measure-Command { curl.exe -s -o NUL"http://172.31.1.78:5985{PATH}" }
Repeat it 20 or more times. The fix is verified when the median is under 500 ms.
Actions for the server team
- A01, within 7 days (owner: application owner): Profile the slow requests on 172.31.1.78. Look at the thread pool, database queries and upstream calls. Because this is WinRM on a Hyper-V host, the likely places to look are host CPU and memory pressure and the WinRM service configuration. The engine's own text is generic and doesn't name these, so that part is my reading.
- A02 (owner: network operations): Capture again after the changes and re-run the analysis. Capture on one interface only, so the duplicate frames don't confuse Wireshark.
Do you want the 11-page PDF for the server team? I can generate it with create_pdf_report.
The PDF (1:01)
The user types: “Make the PDF for the server team.”
The PDF comes with the unlock: no second credit.
A PDF the server team can act on, with your organization name and TLP label.
Called pcapai
The PDF is ready. The link works for 15 minutes, until 11:14 UTC. Calling create_pdf_report again gives a fresh link at no extra credit.
Download: ‹signed link hidden›
I can save it next to the capture as pcapai-report-winrm-slow.pdf if you want. Say so and I'll download it with curl.
The PDF carries the report settings on your account: organization, TLP label, country and sector. Check those before you send it to the server team.
Was this page helpful?
Thanks. Missing something? Tell us what.