X-Hub Troubleshooting and FAQ
Ask AI
Ready taskDo it with me, step by step
Chat assistants
Open in ChatGPTNew tabOpen in ClaudeNew tabCoding agents
Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the webCopy
View as MarkdownPlain text for AI toolsSee 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 see | What it means | Fix |
|---|---|---|
| port N is already used on this box; choose another port | Another 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 65535 | The 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 downloaded | The 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 first | The 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 it | X-Hub started but pairing failed. | Turn X-Hub off and on again. |
| the hub did not start | The 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 see | Fix |
|---|---|
| the hub URL uses plain http://; use https://, or add --insecure for a hub on your own LAN | Add --insecure for an X-Hub on your LAN. Otherwise use an https:// address. |
| cannot reach the hub | Open 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' first | Run 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 expired | Run sudo xtool hub pair ... again for a new code and type it exactly. |
| The box says this hub no longer knows this box | The server was removed in X-Hub. Run sudo xtool hub disconnect, then pair again. |
A server shows offline
- Check the box has power and internet.
- On the box, run
xtool hub status. The agent should be running. - 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.
- After X-Hub restarts, boxes need time to reconnect. Wait a minute before you worry.
Rotate or reboot fails
| You see | Why |
|---|---|
| the box license does not include this action | The 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 grey | The box is offline. Actions wait until it reconnects. |
| Telegram or AI says a change needs approval | It 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-apioption (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?
Back to the guides.

