Botlab Client Issue

Hi Guys,

I’ve recently setup my PC with GPU passthrough using Hyper V on Windows 10 however the BotLab client installs but then the page stays white?

I assume its trying to build or spin up a process on 7400?

Is there any logs I can look at to find out why this is failing?

image

1 Like

Hello and Welcome!
Sorry to hear about this issue.
Usually, there should be a new popup window with a more detailed error message if the program runs into an unrecoverable error or crashes.

Aside from the error reporting problem, I recently discovered you can run into this blank screen if the software component ‘WebView2’ is not yet installed on your system.

You can download an installer for WebView2 from https://go.microsoft.com/fwlink/p/?LinkId=2124703

You don’t see this problem on newer Windows 11 because there Microsoft distributes WebView2 with Windows update.

I will change the BotLab client to trigger this component’s installation automatically.

If that port is free, it will try to start listening on that port. If another process already occupies that port, it will search for a free one upward of 7400. (You can run multiple instances at the same time)

There will be a log entry with some information in Windows Logs if a program crashes, but this case does not seem to be such a crash.
I will refine the forwarding of error messages so these end up in the already opened window.

When I run the installer from the link above on my default machine, it only shows this message:

In any case, I suggest you start the botlab client again after running that installer.

Hi Michael,

Thank you for your detailed response.

In the end I setup a new VM with Windows 11 and didn’t see this issue so as you have suggested I assume the Windows 10 20H2 didn’t have the Webview2 installed.

Appreciate the update on the client so that others don’t experience further issues.

Suggestion if possible:
Iif the client gets stuck and is stuck for a certain period of time can the bot auto stop so that credits are not further consumed?

Many thanks,

1 Like

Thank you for the update. I will update the client to support installation on Windows 10 too.

Yes, I have implemented a timeout of 10 minutes for this case. Unfortunately, there is a bug in the reactor user interface: It displays inconsistent information about the session status. It looks like the session is still running in one place because that part of the UI is stuck in the old state. However, if the reactor shows the last update was more than 11 minutes ago, no more credits will be consumed for that play session.
What counts for the credits balance in the end is the amount displayed under ‘billing’. Here it already shows the correct session duration.
The session status display is updated when another play session starts. I will fix the reactor UI to update it earlier.

Same Happening right now to me In my Hyper V Machine with Win 10

1 Like

Hey @YurifX, sorry for the interruption. I suspect that this is caused by the BotLab client not correctly integrating the WebView2 component. I will read up on the integration and update the BotLab client to fix this.

You don’t need to wait for that update, as you can fix this for your system by installing that ‘WebView2’ component manually.

To install or update the WebView2 Runtime:

  1. Go to page https://developer.microsoft.com/en-us/microsoft-edge/webview2/
  2. Scroll down to section Evergreen Bootstrapper, select Download > Accept and Download.
  3. Find the executable file in your Downloads folder, right-click it and select Run as administrator.
  4. Enter your administrator credentials. The installation starts and is completed in the background.

After installing WebView2 this way and restarting Windows, the BotLab client window should show the contents as normal.

Today, I have learned more about the WebView2 dependencies and made progress in adapting the BotLab client.

The WebView2 is usually automatically installed on every Windows 11 computer, but it can be missing on Windows 10.

I just published version 2024-02-10 with an improvement to mitigate this problem.
Instead of the empty white window, the new version displays the installation guide that I also posted above:

This new guide should avoid confusion in the future. Setups with Windows 11 should never see this error because Microsoft automatically installs WebView2 with Windows Update.


Some observations on the automatic installation in Windows 10: Today, I set up a Windows 10 inside a HyperV VM. With the fresh installation of Windows 10, WebView2 was initially not there, allowing the reproduction of the error message. However, it turned out that Windows Update installed it soon, and after restarting the VM, the BotLab client GUI worked as usual.

This observation aligns with comments from Microsoft, saying that they eventually started to roll out the software also on Windows 10.