GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Browser pane fails behind corporate proxy with ERR_TUNNEL_CONNECTION_FAILED on Windows Desktop 2.2.0 · Issue #59722 · anomalyco/opencode

Browser pane fails behind corporate proxy with ERR_TUNNEL_CONNECTION_FAILED on Windows Desktop 2.2.0 #59722

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Browser pane fails behind corporate proxy with ERR_TUNNEL_CONNECTION_FAILED on Windows Desktop 2.2.0#59722
Copy link
Labels
pending closetriaging

Description

@mblanquer
mblanquer
opened on Oct 27, 2026
Issue body actions

Description

Summary

The integrated browser pane in OpenCode Desktop fails to load public Internet HTTPS sites on a Windows network that requires a managed proxy / PAC configuration.

The same URLs are reachable from the same machine using system tools through the configured proxy/PAC, but the OpenCode browser pane fails with:

ERR_TUNNEL_CONNECTION_FAILED (-111)

This still reproduces after upgrading to OpenCode Desktop 2.2.0.

Environment

  • OS: Windows
  • OpenCode Desktop: 2.2.0
  • OpenCode service/CLI: 2.2.0
  • Network: network requiring managed proxy/PAC for Internet access
  • Direct Internet/DNS access is not available without the proxy
  • Internal/intranet sites are reachable directly or via PAC bypass

Expected behavior

The page should load, using the same proxy/PAC behavior as the system/browser environment or the OpenCode service proxy configuration.

Actual behavior

The integrated browser pane fails with:

ERR_TUNNEL_CONNECTION_FAILED (-111)

The OpenCode local service logs show:

POST /api/rpc/experimental.browser/tunnel.open -> HTTP 400

Plugins

No response

OpenCode version

2.2.0

Steps to reproduce

  1. Start OpenCode Desktop on the corporate Windows workstation.
  2. Open the integrated browser pane.
  3. Navigate to a public HTTPS site, for example:
    • https://www.google.fr/
  4. Observe the browser pane result.

Screenshot

No response

Operating System

Windows 11

Terminal

No response

Activity

  1. opencodejr commented on Oct 27, 2026

    @opencodejr
    opencodejrBot
    on Oct 27, 2026
    Contributor
    More actions

    Thanks for the detailed report! I think this is a duplicate of #50476.

    The in-app browser sends its traffic through the OpenCode service's browser tunnel (tunnel.open). Right now that tunnel connects straight to the target site and ignores any proxy configuration, whether HTTPS_PROXY/HTTP_PROXY or the Windows system/PAC settings. On a network where the Internet is only reachable through a proxy, that connection fails, and Chromium shows ERR_TUNNEL_CONNECTION_FAILED (-111).

    Possible duplicates and related issues, ordered from most to least likely:

    • Browser tool does not respect the remote server's proxy settings when Desktop connects to a remote server #50476: the browser tunnel ignores proxy settings and fails with the same ERR_TUNNEL_CONNECTION_FAILED (-111). It was reported for Desktop connected to a remote server, but the code path is the same. A contributor there has proposed proxy support, with system/PAC proxy support as a follow-up.
    • refactor(browser): stream proxy traffic over binary WebSockets #55528: an open PR that reworks the same browser tunnel transport.
    • [Desktop][Windows] webfetch tool does not respect system proxy settings — feature request: add proxy config in settings UI #27892: webfetch on Windows Desktop does not respect the system proxy settings.

    If you can, please add a comment on #50476 saying that you see this with a local service and that you need system/PAC proxy support, since that is a different case from the environment-variable proxy described there.

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. opencodejr
    added
    pending close
    triaging
    on Oct 27, 2026
  3. mblanquer commented on Oct 27, 2026

    @mblanquer
    mblanquer
    on Oct 27, 2026
    Author
    More actions

    This appears to share the same browser-tunnel failure described in #50476, but my setup is slightly different:

    • local Windows OpenCode Desktop
    • local OpenCode service, not a remote Linux server
    • Internet access requires the Windows/browser corporate PAC configuration
    • public HTTPS URLs work from system tools through the PAC/proxy
    • internal/intranet URLs load in the OpenCode browser pane
    • public Internet URLs fail in the OpenCode browser pane with ERR_TUNNEL_CONNECTION_FAILED (-111)

    So I agree this may share the same root cause as #50476: the browser tunnel does not handle proxied egress. However, please keep the local Windows system proxy/PAC case in scope, or point me to a separate issue for tracking that requirement.

    A fix limited to HTTP_PROXY / HTTPS_PROXY may not fully cover this local Windows PAC setup.

  4. opencodejr
    closed this as duplicateon Oct 28, 2026
  5. opencodejr commented on Oct 28, 2026

    @opencodejr
    opencodejrBot
    on Oct 28, 2026
    Contributor
    More actions

    We haven't heard back, so I'm closing this as a duplicate of #50476. The browser pane's tunnel ignores proxy settings, and that issue tracks the same problem and the same ERR_TUNNEL_CONNECTION_FAILED (-111) error.

    Please follow #50476 for updates. If you can, add a comment there saying that you hit this with a local service behind a Windows PAC/system proxy, since that case needs system proxy support as well as HTTPS_PROXY/HTTP_PROXY. If your problem turns out to be different, reply here and we can reopen. Thanks for the detailed report!

  6. opencodejr
    reopened this on Nov 3, 2026
  7. neriousy
    closed this as not plannedon Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending closetriaging

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.