ワンクリックで
troubleshoot
Stepwise diagnosis for Bee node, connectivity, wallet, stamp, and upload/download failures with fixes and API error guidance.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Stepwise diagnosis for Bee node, connectivity, wallet, stamp, and upload/download failures with fixes and API error guidance.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Guide to Swarm ACT encryption and access control: create grantees, upload protected data, grant/revoke access, and troubleshoot not-found/history issues.
Build and publish a Swarm blog with a permanent feed-manifest URL, post management workflow, and optional ENS domain mapping.
Scaffold a Swarm app or add bee-js to an existing project, with core upload/download patterns and node-compatibility guidance.
Answer Swarm conceptual questions from official docs with source links; use for APIs, behavior, configuration, and architecture clarifications.
Create and manage Swarm feeds for stable, updateable URLs using bee-js or swarm-cli, including manifest creation and feed updates.
Deploy and update static websites on Swarm via one-off or feed-based publishing, with optional ENS integration and stamp lifecycle notes.
| name | troubleshoot |
| description | Stepwise diagnosis for Bee node, connectivity, wallet, stamp, and upload/download failures with fixes and API error guidance. |
| user-invocable | true |
Guide a developer through diagnosing and fixing common Bee node issues. Run these checks in order — each step depends on the previous one passing. Stop at the first failure, fix it, then continue.
When presenting to the user, use consistent labels before each code block:
filename: — file contents the user should write to diskAdd a --- horizontal rule before each labeled code block to visually separate it from surrounding text.
(1) Is the bee process running?
└─ No → start bee / check port conflict
└─ Yes ↓
(2) Is the API reachable at localhost:1633?
└─ No → check firewall / port binding
└─ Yes ↓
(3) Does the node have peers / is it synced?
└─ No → wait / check RPC endpoint
└─ Yes ↓
(4) Is the wallet funded?
└─ No → route to /setup-bee-interactive funding
└─ Yes ↓
(5) Does a valid, non-expired stamp exist?
└─ No → route to /stamps
└─ Yes ↓
(6) Is the upload/download itself failing?
└─ Yes → check error code table below
└─ No → problem is elsewhere
swarm-cli status
If swarm-cli isn't installed, run /swarm first — it will detect what's missing and route to the right setup skill.
If this fails or returns a connection error, the node isn't running or the API port is wrong.
Fixes:
bee start --password YOUR_PASSWORD --api-addr 127.0.0.1:1633lsof -i :1633Get-NetTCPConnection -LocalPort 1633 -ErrorAction SilentlyContinueswarm-cli status
If connected peers = 0:
swarm-cli status
Watch the "Chainsync" section. If blocks remaining is high, the node is still syncing (~5 minutes typical).
If chain sync is stuck:
curl -s https://xdai.fairdatasociety.org--blockchain-rpc-endpoint https://rpc.gnosischain.com as a short-term fallbackrpc.gnosischain.com and gnosis-rpc.publicnode.com are not archival nodes — they may cause an incomplete stamp batch list on first sync. If your stamp list looks empty after syncing, switch back to xdai.fairdatasociety.org or use a dedicated archival RPC provider (Ankr, QuickNode, Alchemy)swarm-cli addresses
Check balances:
swarm-cli status
If xDAI or xBZZ is zero, fund the wallet — see /setup-bee-interactive for funding options.
Note: If the node was left unfunded too long after first start, it may have shut itself down. Fund and restart.
swarm-cli stamp list
Common stamp issues:
/stampsswarm-cli stamp dilute --depth <new-depth> --stamp <id>"stamp not usable" → stamp hasn't propagated yet. Wait 2-3 minutes after buying.
"insufficient funds" → wallet needs more xBZZ. Fund via /setup-bee-interactive.
Ultra-light node → can't upload. Upgrade to light node (restart with --swap-enable and --blockchain-rpc-endpoint).
"act: invalid history" → wrong history address for ACT upload. Double-check the history reference.
"not found" → content may have expired (stamp TTL ran out), reference is wrong, or content was uploaded with ACT and you're missing the ACT flags.
Check retrievability:
import { Bee } from '@ethersphere/bee-js'
const bee = new Bee('http://localhost:1633')
const isRetrievable = await bee.isReferenceRetrievable(reference)
console.log('Retrievable:', isRetrievable)
If the node has zero or few peers, check network connectivity.
curl icanhazip.com --ipv4
nc -zv <YOUR_PUBLIC_IP> 1634
Windows (PowerShell) alternative:
Test-NetConnection -ComputerName <YOUR_PUBLIC_IP> -Port 1634
| Problem | Fix |
|---|---|
| Behind NAT/router | Set up port forwarding: public 1634 → local IP:1634. Start with --nat-addr <PUBLIC_IP>:1634 |
| Firewall blocking | Allow TCP+UDP on port 1634 |
| Docker | Ensure port 1634 is mapped (-p 1634:1634) |
| Only outgoing works | Bee can function with outgoing only, but performance is reduced |
# 1. Localhost
nc -zv 127.0.0.1 1634
# 2. Local network (your private IP)
nc -zv 192.168.x.x 1634
# 3. Public IP
nc -zv <PUBLIC_IP> 1634
Windows (PowerShell) alternatives:
# 1. Localhost
Test-NetConnection -ComputerName 127.0.0.1 -Port 1634
# 2. Local network
Test-NetConnection -ComputerName 192.168.x.x -Port 1634
# 3. Public IP
Test-NetConnection -ComputerName <PUBLIC_IP> -Port 1634
If step 1 fails → OS firewall or port conflict. If step 2 fails → machine firewall. If step 3 fails → router/ISP firewall or port forwarding missing.
swarm-cli status
swarm-cli addresses
swarm-cli stamp list
| Code | Meaning | Fix |
|---|---|---|
| 400 | Bad request — malformed input or missing required header (e.g. "invalid header params: want required" when stamp header is absent or malformed) | Check request format and ensure Swarm-Postage-Batch-Id header is present and correctly formatted |
| 404 | Content not found OR stamp batch not found ("batch with id not found") | Content may have expired, reference is wrong, stamp ID is invalid, or ACT flags missing |
| 422 | Unprocessable entity | Check parameter types (e.g., batch ID format) |
| 500 | Internal server error | Check Bee logs, restart node |
| 503 | Node not ready (still syncing) | Wait for chain sync to complete |
127.0.0.1For any conceptual or technical question not covered by the steps above, invoke /docs to find the relevant authoritative source rather than answering from prior knowledge.