tilt-dev / tilt-dev/tilt

opening a browser fails with "exit status 3"

Open
#4,435 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

We received a report that when hitting space at the tilt prompt, they get an error:

Opening browser: http://localhost:10350/
Error: exit status 3

The underlying browser code is just doing xdg-open http://localhost:10350/, exit code 3 means xdg-open wasn't able to find a browser
https://linux.die.net/man/1/xdg-open

but the person reports that xdg-open outside of tilt works ok....hmmmm...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure when pressing space at the Tilt prompt and inspect the browser-opening path that runs xdg-open http://localhost:10350/. Compare its environment with running xdg-open outside Tilt; done means identifying why the contexts differ and making browser opening work in the reported case, with a regression check if the relevant test location is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.