When running the SDK, you may encounter this error in your terminal:
Error initializing browser: Waiting for selector "video" failed: timeout 30000ms exceeds
ERROR:http_logger: Error sending control command: Waiting for selector "video" failed: timeout 30000ms exceeds
This means the SDK connected successfully with your token, but it cannot find the video feed from your bot. This is commonly caused by the bot being offline or being used on another platform at the same time.
β
Before continuing, make sure that you have the updated version of SDK.
Possible Causes
Cause 1: Bot is offline or has no signal. The SDK requires your bot to be online and active to establish a video connection.
β
Cause 2: Bot is being used on rovers.frodobots.com simultaneously The SDK can only transmit to one instance at a time. If your bot is being driven on rovers.frodobots.com, the SDK will not be able to connect to the video feed.
How to Fix
For Cause 1:
Make sure your bot is powered on
Check that it has a stable network connection (WiFi or 4G)
Verify the bot is showing as online on https://rovers.frodobots.com/
Restart the SDK and try again
For Cause 2:
Close or stop any active driving session on rovers.frodobots.com
Restart both the bot and the SDK
Try connecting again
β οΈ Important: When using the SDK, do not use the bot simultaneously on rovers.frodobots.com. Always make sure to stop one before starting the other.
Still having issues?
If the error persists after trying the steps above, please open a support ticket on Discord or you can also reach out to us at hello@frodobots.com and include your error logs from the terminal.
