vhs: panic: Get "http://127.0.0.1:63299/json/version": dial tcp 127.0.0.1:63299: connect: connection refused

Tried to follow the tutorial and got this error. I’m on WSL Fedora 37, installed vhs and ttyd trough brew. ttyd is working fine.

panic: Get "http://127.0.0.1:63299/json/version": dial tcp 127.0.0.1:63299: connect: connection refused

goroutine 1 [running]:
github.com/go-rod/rod/lib/utils.glob..func2({0xdf2b40?, 0xc000467110?})
	github.com/go-rod/rod@v0.112.0/lib/utils/utils.go:60 +0x25
github.com/go-rod/rod/lib/utils.E(...)
	github.com/go-rod/rod@v0.112.0/lib/utils/utils.go:66
github.com/go-rod/rod/lib/launcher.(*Launcher).MustLaunch(0xc000197030?)
	github.com/go-rod/rod@v0.112.0/lib/launcher/launcher.go:351 +0x67
main.New()
	github.com/charmbracelet/vhs/vhs.go:91 +0x2e5
main.Evaluate({0x1481120, 0xc000426b00}, {0xc0001af500, 0x923}, {0x147cbc0, 0xc000014018}, {0xc0005bfcd0, 0x1, 0x0?})
	github.com/charmbracelet/vhs/evaluator.go:25 +0x1a5
main.glob..func1(0x1a6c260, {0x1ac0210, 0x0, 0x0?})
	github.com/charmbracelet/vhs/main.go:67 +0x24a
github.com/spf13/cobra.(*Command).execute(0x1a6c260, {0xc000024230, 0x0, 0x0})
	github.com/spf13/cobra@v1.6.1/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0x1a6c260)
	github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.6.1/command.go:968
github.com/spf13/cobra.(*Command).ExecuteContext(...)
	github.com/spf13/cobra@v1.6.1/command.go:961
main.main()
	github.com/charmbracelet/vhs/main.go:186 +0xf1

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 26 (15 by maintainers)

Most upvoted comments

@brneor I have a windows 11 vm set up with WSL. Would like more information on your exact fedora 37 install. Are you in the charm discord? If you can, ping me @ WaRPTuX in #help

Are you able to install a browser in your WSL @brneor, since VHS uses a headless browser it should work.