BrowseForge icon indicating copy to clipboard operation
BrowseForge copied to clipboard

[Bug]: black screen

Open ahkimkoo opened this issue 3 months ago • 4 comments

Summary

When I open the VNC page, it shows a black screen, and no programs can be run.

Image Image Image

Version

v2.1.12

Deployment

Docker

OS / Architecture

linux

Reproduction Steps

open the VNC page

Logs


ahkimkoo avatar Aug 20 '26 05:08 ahkimkoo

Thanks for the report. I want to confirm the exact usage path before treating this as a runtime bug.

BrowseForge is not intended to be used as a normal manual web browser from the VNC desktop. In Docker, the service surfaces are:

  • Dashboard / REST API / Playwright proxy: http://<host>:19280
  • MCP Streamable HTTP: http://<host>:19280/mcp
  • KasmVNC remote desktop: http://<host>:6901

The VNC page is mainly for visual observation/debugging of the container desktop. Browser profiles should be created/opened and driven through one of these supported paths:

  1. Dashboard: open http://<host>:19280, create/select a profile, then use the dashboard profile/session controls.
  2. MCP: connect an agent to http://<host>:19280/mcp with the BrowseForge bearer token, then use tools such as list_profiles, doctor_profile, open_browser, navigate, wait_for, click, form_fill, get_page_state, and screenshot.
  3. REST / Playwright: use the REST API and the Playwright endpoint exposed on port 19280.

Could you confirm which flow produced the black screen?

  • Did you only open :6901 and expect to manually launch/run programs from the VNC desktop?
  • Or did you first open a profile through Dashboard/MCP/REST, then observe a black screen in VNC?
  • Does http://<host>:19280/api/status respond?
  • What is the output of these checks?
docker logs --tail=200 browseforge
docker exec browseforge /app/BrowseForge browsers status --json
docker exec browseforge /app/BrowseForge smoke rest --wait --timeout 5m --json

If the issue is only “I opened VNC and cannot manually browse from there”, that is expected behavior / wrong entrypoint. The correct operation path is Dashboard, MCP, REST, or Playwright; VNC is just an observation surface. If a Dashboard/MCP-opened profile renders black inside VNC, then this is likely a Docker display/KasmVNC/browser runtime problem and the checks above will help narrow it down.

nczz avatar Aug 20 '26 05:08 nczz

Thank you for your response. You’re right; there’s no need to directly use VNC. I was using it through MCP, and now it’s working properly. I have another question: if I need to specify a profile in MCP mode, how should I do that?
To add some context about my use case: I want to create profiles proactively so that certain websites are automatically logged in when I use MCP.

ahkimkoo avatar Aug 21 '26 03:08 ahkimkoo

I'm also running into a problem: after I set up an HTTP proxy for my profile, I can't open web pages, and I get an error message that says “❌ browseforge-chromium proxy_region is required when a proxy is configured.” However, I can't find where I can configure the proxy_region.

ahkimkoo avatar Aug 21 '26 06:08 ahkimkoo

@ahkimkoo Thanks for the report and clarification.

Root cause confirmed: the MCP/browser path was working, but BrowseForge Chromium profiles with a configured proxy required proxy_region, and the product did not make that value discoverable/configurable enough.

Fixed in v2.1.13:

  • Dashboard profile create/edit now has a Proxy Region preset dropdown.
  • Group proxy settings now support Proxy Region.
  • MCP now exposes list_proxy_regions, so agents can discover valid values before creating/updating profiles.
  • MCP create_profile, update_profile, and update_group_proxy schemas now document and validate proxy.region.
  • REST profile create/update validates and normalizes proxy.region.
  • BrowseForge Chromium launch remains fail-closed if a configured proxy has no valid region, but the UI/API/MCP now make the required value available before launch.

Example MCP flow:

  1. Call list_proxy_regions
  2. Use one returned value, for example:
{
  "type": "http",
  "host": "proxy.example.com",
  "port": 1080,
  "region": "tw"
}

tw is labeled as Taiwan; tw-taipei is labeled as Taiwan — Taipei.

Released here: https://github.com/nczz/BrowseForge/releases/tag/v2.1.13

For Docker users:

docker pull ghcr.io/nczz/browseforge:v2.1.13

Then recreate the container with the same persisted mounts.

Closing this as fixed by v2.1.13. If you still see the original VNC black-screen symptom after upgrading, please reopen/comment with the runtime, profile id, and relevant launch logs, because that would be a separate issue from the missing proxy-region configuration.

nczz avatar Aug 22 '26 05:08 nczz