Skip to content

X-Hub Troubleshooting and FAQ

Ask AI

Ready taskDo it with me, step by step

Chat assistants

Open in ChatGPTNew tabOpen in ClaudeNew tab

Coding agents

Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the web

Copy

View as MarkdownPlain text for AI tools
See the prompt
Read https://xproxy.io/document/xproxy-hub-troubleshooting.md, the XProxy guide "X-Hub Troubleshooting and FAQ". If you cannot open links, download them with curl. Then take me through it one step at a time: tell me exactly what to click or type, wait until I say it is done, and help me when what I see is different from the guide. Start by asking what I have (hardware, XProxy version, what I see now).
Other XProxy guides, each with a Markdown copy at its URL + .md, are listed in https://xproxy.io/llms.txt.

The app opens with the prompt filled in. Nothing runs until you press Enter.

Find your message or symptom in the tables, then follow the fix. Most problems are a port, an address or a license limit.

You need: access to the box panel or a terminal on the box. Still stuck? Open Remote support and share the message you see.

Turning on X-Hub on the box

You seeWhat it meansFix
port N is already used on this box; choose another portAnother app uses the port.Type another free port (1 to 65535) and click Turn on the hub.
the port must be a number from 1 to 65535The port field is empty or wrong.Type a number.
This XProxy version has no hub. Update XProxy to get it.An old XProxy version.Update XProxy.
this box has no hub and it could not be downloadedThe box could not download the signed X-Hub from x-proxy.io.Check the box has internet and that nothing blocks x-proxy.io, then try again.
this box is connected to the hub ...; disconnect it firstThe box already joined another X-Hub.Remove it in that X-Hub, then run sudo xtool hub disconnect on the box.
the hub runs, but this box could not join itX-Hub started but pairing failed.Turn X-Hub off and on again.
the hub did not startThe X-Hub program stopped at start.Run journalctl -u xproxy-hub-local on the box and send it to support.

I cannot open the X-Hub page

  • From another network or the internet: X-Hub on your box answers only your LAN and Tailscale, on purpose, even if your router forwards ports. Use a computer on your network, join Tailscale, or install X-Hub on a VPS.
  • Wrong address: use the Address shown in General Settings → XProxy Hub (X-Hub), with the port.
  • Waiting after wrong passwords: after 10 wrong tries in 15 minutes X-Hub makes you wait. Wait and try again.

Connecting another box

You seeFix
the hub URL uses plain http://; use https://, or add --insecure for a hub on your own LANAdd --insecure for an X-Hub on your LAN. Otherwise use an https:// address.
cannot reach the hubOpen the address in a browser on the same network as the box. Check the port and the firewall.
already connected to ...; run 'xtool hub disconnect' firstRun sudo xtool hub disconnect, then pair again.
run as root (sudo xtool hub pair ...)Add sudo in front.
X-Hub: Unknown code / This code was already used / This code expiredRun sudo xtool hub pair ... again for a new code and type it exactly.
The box says this hub no longer knows this boxThe server was removed in X-Hub. Run sudo xtool hub disconnect, then pair again.

A server shows offline

  1. Check the box has power and internet.
  2. On the box, run xtool hub status. The agent should be running.
  3. Restart the box app from the panel (see Update XProxy) if the controller is down. X-Hub tolerates a short restart; after 30 seconds without the controller, every modem shows disconnected.
  4. After X-Hub restarts, boxes need time to reconnect. Wait a minute before you worry.

Rotate or reboot fails

You seeWhy
the box license does not include this actionThe box is on the Free plan. Rotation, modem reboot, USB reset and connect or disconnect need Basic or higher. A Free license also runs 5 modems at most. Upgrade the license.
The button is greyThe box is offline. Actions wait until it reconnects.
Telegram or AI says a change needs approvalIt is a risky change. Approve it with your passkey: Passkeys.

X-Hub never changes license rules. It asks the box, and the box answers exactly as its own panel would.

Telegram problems

  • Not configured: an owner pastes the bot token in Telegram → Bot setup.
  • Telegram does not accept the token: copy the whole token again from @BotFather. If you revoked it there, create a new one.
  • No messages and Telegram is blocked in your country: X-Hub must reach api.telegram.org. Use a Bot API relay with the -telegram-api option (X-Hub on a VPS).
  • The bot does not answer you: you must link your account first with Get my link.
  • A chat gets nothing: the chat may be muted. Send /unmute.

More in Telegram bot.

FAQ

Does proxy traffic go through X-Hub?

No. Boxes only send status to X-Hub. Your proxies work with X-Hub off, down or removed.

Do I need a paid plan for X-Hub?

X-Hub works on every plan. What you can do through it follows each box license.

How do I move X-Hub to a VPS?

Install it on the VPS. Remove each server in the old X-Hub, run sudo xtool hub disconnect on each box, and pair them with the new X-Hub. Turn the old X-Hub off in the panel.

What do I back up?

On a VPS, the file /var/lib/xproxy-hub/hub.db. It holds users, passkeys, paired boxes, webhooks and Telegram settings. Keep copies private.

How do I get rid of X-Hub?

Turn it off in the panel (Turn off, tick the delete option to wipe its data). On other boxes, run sudo xtool hub disconnect.

What next?

Still stuck?A technician can look at your device with a one-time PIN, or chat with us on Telegram.