Skip to main content

"Error Initializing Browser / Waiting for Selector Video Failed" SDK Error

Updated over 2 weeks ago

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:

  1. Make sure your bot is powered on

  2. Check that it has a stable network connection (WiFi or 4G)

  3. Verify the bot is showing as online on https://rovers.frodobots.com/

  4. Restart the SDK and try again

For Cause 2:

  1. Close or stop any active driving session on rovers.frodobots.com

  2. Restart both the bot and the SDK

  3. 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.

Did this answer your question?