hermes - ✅(Solved) Fix Hermes Dashboard no method available for opening 'http://127.0.0.1:9119' in WSL [2 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#14897Fetched 2026-04-24 10:44:28
View on GitHub
Comments
0
Participants
1
Timeline
7
Reactions
0
Participants
Timeline (top)
labeled ×3cross-referenced ×2referenced ×2

Error Message

Here are the error messages:

Full Error Output

Fix Action

Fixed

PR fix notes

PR #14909: fix(dashboard): use powershell.exe to open browser on WSL

Description (problem / solution / changelog)

Summary

Fixes #14897

webbrowser.open() fails silently on WSL because no browser is registered in the Linux subsystem. The dashboard prints the URL but never opens it, leaving users to manually copy-paste.

Changes

hermes_cli/web_server.pystart_server():

  • Added WSL detection via the existing is_wsl() helper from hermes_constants
  • When running under WSL, falls back to powershell.exe Start-Process to open the URL in the Windows host browser
  • Non-WSL platforms are unaffected (standard webbrowser.open() path)

Testing

  • WSL: Verified is_wsl() returns True when /proc/version contains microsoft
  • Non-WSL: webbrowser.open() path is unchanged; no regression
  • Pattern matches existing WSL handling in hermes_cli/clipboard.py which uses powershell.exe for clipboard operations

Checklist

  • Follows Conventional Commits format
  • Single logical change
  • No breaking changes
  • Existing tests unaffected

Changed files

  • hermes_cli/web_server.py (modified, +18/-1)

PR #14910: fix(dashboard): open browser in WSL via Windows host

Description (problem / solution / changelog)

Fixes #14897

When running Hermes Dashboard inside WSL, ‘webbrowser.open()’ tries Linux tools (xdg-open, etc.) which often fail when no Linux browser is installed. This PR detects WSL and calls the Windows host browser via ‘cmd.exe /c start’, falling back to ‘powershell.exe Start-Process’, and finally ‘webbrowser.open()’ if all else fails.

Changes:

  • Added ‘_open_browser(url)’ helper in hermes_cli/web_server.py
  • Uses existing ‘is_wsl’ from hermes_constants
  • Added unit tests for all three paths (cmd.exe, powershell, fallback)

Tested:

  • pytest tests/hermes_cli/test_web_server.py::TestDashboardBrowserOpen → 4 passed
  • pytest tests/hermes_cli/test_web_server.py → 114 passed

Changed files

  • CONTRIBUTIONS.md (added, +23/-0)
  • hermes_cli/web_server.py (modified, +59/-4)
  • tests/hermes_cli/test_web_server.py (modified, +98/-0)

Code Example



---

kelvin@Hermes:~$ hermes dashboard
Building web UI...
Web UI built
  Hermes Web UI → http://127.0.0.1:9119
/usr/bin/xdg-open: 882: x-www-browser: not found
/usr/bin/xdg-open: 882: firefox: not found
/usr/bin/xdg-open: 882: iceweasel: not found
/usr/bin/xdg-open: 882: seamonkey: not found
/usr/bin/xdg-open: 882: mozilla: not found
/usr/bin/xdg-open: 882: epiphany: not found
/usr/bin/xdg-open: 882: konqueror: not found
/usr/bin/xdg-open: 882: chromium: not found
/usr/bin/xdg-open: 882: chromium-browser: not found
/usr/bin/xdg-open: 882: google-chrome: not found
/usr/bin/xdg-open: 882: www-browser: not found
/usr/bin/xdg-open: 882: links2: not found
/usr/bin/xdg-open: 882: elinks: not found
/usr/bin/xdg-open: 882: links: not found
/usr/bin/xdg-open: 882: lynx: not found
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening 'http://127.0.0.1:9119'
RAW_BUFFERClick to expand / collapse

What's Going Wrong?

Just finished all the installation and started working on it, then tried to run the "Hermes Dashboard" without success. Here are the error messages:

kelvin@Hermes:~$ hermes dashboard → Building web UI... ✓ Web UI built Hermes Web UI → http://127.0.0.1:9119 /usr/bin/xdg-open: 882: x-www-browser: not found /usr/bin/xdg-open: 882: firefox: not found /usr/bin/xdg-open: 882: iceweasel: not found /usr/bin/xdg-open: 882: seamonkey: not found /usr/bin/xdg-open: 882: mozilla: not found /usr/bin/xdg-open: 882: epiphany: not found /usr/bin/xdg-open: 882: konqueror: not found /usr/bin/xdg-open: 882: chromium: not found /usr/bin/xdg-open: 882: chromium-browser: not found /usr/bin/xdg-open: 882: google-chrome: not found /usr/bin/xdg-open: 882: www-browser: not found /usr/bin/xdg-open: 882: links2: not found /usr/bin/xdg-open: 882: elinks: not found /usr/bin/xdg-open: 882: links: not found /usr/bin/xdg-open: 882: lynx: not found /usr/bin/xdg-open: 882: w3m: not found xdg-open: no method available for opening 'http://127.0.0.1:9119'

System Config: Windows 11 pro 25h2, WSL with Ubuntu. Hermes version v0.11.0 Using Edge to open it, but can't reach the page. Asked Hermes to perform a quick check and said, "The dashboard component is missing. Where to download the components? Thx

Steps Taken

Ran the Hermes Dashboard

Installation Method

Install script (curl | bash)

Operating System

Ubuntu 24.04

Python Version

No response

Hermes Version

No response

Debug Report

Full Error Output

kelvin@Hermes:~$ hermes dashboard
→ Building web UI...
  ✓ Web UI built
  Hermes Web UI → http://127.0.0.1:9119
/usr/bin/xdg-open: 882: x-www-browser: not found
/usr/bin/xdg-open: 882: firefox: not found
/usr/bin/xdg-open: 882: iceweasel: not found
/usr/bin/xdg-open: 882: seamonkey: not found
/usr/bin/xdg-open: 882: mozilla: not found
/usr/bin/xdg-open: 882: epiphany: not found
/usr/bin/xdg-open: 882: konqueror: not found
/usr/bin/xdg-open: 882: chromium: not found
/usr/bin/xdg-open: 882: chromium-browser: not found
/usr/bin/xdg-open: 882: google-chrome: not found
/usr/bin/xdg-open: 882: www-browser: not found
/usr/bin/xdg-open: 882: links2: not found
/usr/bin/xdg-open: 882: elinks: not found
/usr/bin/xdg-open: 882: links: not found
/usr/bin/xdg-open: 882: lynx: not found
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening 'http://127.0.0.1:9119'

What I've Already Tried

Hermes said 'missing dashboard components"

extent analysis

TL;DR

The issue can be resolved by installing a web browser on the Ubuntu system or configuring the default browser for xdg-open.

Guidance

  • The error messages indicate that xdg-open is unable to find a web browser to open the Hermes Dashboard URL.
  • Verify that a web browser is installed on the Ubuntu system and configured as the default browser.
  • Consider installing a web browser such as Firefox or Chromium using apt-get or apt package manager.
  • Alternatively, try opening the Hermes Dashboard URL manually in a web browser by copying and pasting the URL http://127.0.0.1:9119 into the browser's address bar.

Notes

The issue seems to be related to the absence of a default web browser on the Ubuntu system, which is preventing xdg-open from opening the Hermes Dashboard URL.

Recommendation

Apply workaround: Install a web browser on the Ubuntu system or configure the default browser for xdg-open, as this will allow the Hermes Dashboard to be opened successfully.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix Hermes Dashboard no method available for opening 'http://127.0.0.1:9119' in WSL [2 pull requests, 1 participants]