Troubleshooting¶
Start with the robot’s terminal (where you ran ros2 launch): it shows
connection problems, task starts and results, and sync errors. The messages
below are copied from real runs.
The robot doesn’t show up¶
The log shows The XPARO server rejected the project secret key for project ... (403 Forbidden)
The project ID or secret key is wrong, or the key is switched off, frozen or deleted. Copy both again from the project’s Dashboard page (Secret Key Manager); generate a new key if you don’t have the old one.
The log shows waiting for it to accept this robot and then The XPARO server closed the connection
The server knows this robot but won’t let this connection in, so the robot is not online (
Connection Successfulonly appears once the server accepts it). The line before says why:XPARO server: robot_retired(it was retired),XPARO server: robot_credential_required(it was reinstalled and lost its own credential) orXPARO server: robot_serial_in_use(another machine already uses its device ID: give this unit its ownXPARO_DEVICE_ID). What to do for each: When a robot is refused and Identity, many robots and offline.
The log shows Handshake status 500 or the connection keeps retrying
Check the project ID is complete (a UUID such as
8fd1d8a3-4b35-4158-bff4-4c7757a95a4d) and that the robot can reachhttps://xparo.in(trycurl -I https://xparo.inon the robot). The robot retries on its own: after 5 seconds, then less often (up to once a minute) while it keeps failing.
You use ~/xparo_config.json and ros2 launch
The launch file’s defaults override the file. Pass the values as launch arguments, or use
ros2 run xparo xparo_ros(see Configuration).
“Package ‘xparo’ not found”
Source the workspace in every new terminal:
source ~/xparo_ws/install/setup.bash. Check the build withros2 pkg executables xparo.
It was online, now it’s offline¶
The dashboard shows a robot online while its heartbeat (every 30 seconds)
arrives; after 90 seconds without one it shows offline. Check that
xparo_ros is still running and the robot has internet. Heartbeats travel
over HTTPS, so a network that allows WebSockets but blocks HTTPS (or the
reverse) is not enough. After a short outage the robot reconnects by itself;
results of tasks that finished meanwhile are sent when it is back.
Tasks¶
stage_mismatch: This robot is configured for xparo_stage=’production’ and cannot run a ‘development’-stage task.New tasks are in the development stage and robots default to production. Start the robot with
xparo_stage:=development, or raise the task’s stage on the Tasks page.- No robot resolved to run this task – check Fleet Task Distribution and robot connectivity.
With Single robot, tick a robot under Target Robot in the task’s Fleet Task Distribution tab.
- <robot> is offline (last seen …), so the task wasn’t sent to it.
Start
xparo_roson the robot.invalid_tree: <Something> isn’t a node this robot knowsA typo in the tag, or a custom node that did not load on the robot. See Custom nodes (“When a node isn’t found”).
unknown_taskafter/xparo/run_taskThe robot’s log says /xparo/run_task rejected: Task ‘<task-id>’ isn’t in this robot’s synced task list. The robot has not received that task yet. Let it reconnect (restart
xparo_ros) after creating or editing the task while it was offline./xparo/run_task rejected: could not parse the message as JSON (Expecting property name enclosed in double quotes ...)The JSON lost its quotes in the shell. Escape the inner quotes exactly as in Run a task from the robot.
timeoutThe run passed the task’s time limit. Raise it on the Tasks page, or look at
failed_nodefor the node that never finished.- A tree input is empty
Check the task’s Task Behaviour tab: every
{name}needs a source. A run started on the robot whose From env input can’t be filled doesn’t start (outcomeinvalid_request); connect the robot so the environment syncs.- The tree runs but the robot doesn’t move
The XPARO nodes
NavigateTo,DockRobot,SpeakText,PlayAudio,NotifyPatient,LoadNextDeliveryandCheckBatteryLevelare placeholders that move no hardware. Use your own custom nodes.
Remote tools¶
- Terminal command does nothing or times out
Each command runs on its own and stops after 30 seconds; interactive programs (editors, prompts) cannot run. Chain commands with
&&.- Teleop doesn’t move the robot
Teleop publishes
/joy. Check withros2 topic echo /joyon the robot, and make sure a node turns/joyinto motion.- Reboot, Wi-Fi or Bluetooth asks for a password
The robot needs the sudo password of the user
xparo_rosruns as. To avoid the prompt, allow that user passwordlesssudoforreboot(andnmcli/bluetoothctl) on the robot.- Recording doesn’t start
With
record_bags:=truethe start mode decides: a fresh robot waits for a start command. Press Start in the Rosbag panel, or set Auto Start in Database → Sensors and save while the robot is online. See ROS bag recording.
AI assistant¶
- No valid API keys available. Please add or check key statuses.
Add an LLM key on the project’s Dashboard page (LLM API Key Manager), or switch an existing one back on.
- This project has used today’s free AI questions. Add your own LLM API key (Dashboard > LLM API Keys) to keep going, or try again tomorrow.
The XPARO free key’s questions for this project are used up; they come back 24 hours after the first of them (see The AI assistant). Adding a key alone isn’t enough: while the free key is switched on it is still tried first. Switch it off under Manage Keys too, or wait.
Messages that are normal¶
[WARN] nav2_msgs not available. Subscriber will not start.Nav2 isn’t installed; only its live view is affected.
No rosbag2 recorder is running -- recording controls stay idle until one startsRecording is off.
[bt_engine plugin_loader] failed to load '.../custom_node_files/python/greet_example.py'Missing example files in the current package version; harmless. The dashboard may also show a red “battery_ok_example_cpp (cpp) failed to sync: source file missing on disk” message for the same reason.