Skip to content

No longer working on FreeBSD #114

Description

@Matias314

It broke for me a long time ago because headless Chromium broke in FreeBSD. But I updated everything and now the issue seems to be chromedp?
info:
FreeBSD 13.1-RELEASE-p9
wrp-amd64-freebsd 4.6.2
Chromium 122.0.6261.111

root@WRP:~ # ./wrp-amd64-freebsd
2024/03/18 21:41:46 Web Rendering Proxy Version 4.6.0
2024/03/18 21:41:46 Args: ["./wrp-amd64-freebsd"]
2024/03/18 21:41:46 Default Img Type: gif, Geometry: {w:1152 h:600 c:216}
2024/03/18 21:41:46 Got UI template from built-in
2024/03/18 21:41:46 Starting WRP http server on :8080
2024/03/18 21:41:55 192.168.0.113:55742 Page Request for / []
2024/03/18 21:41:55 192.168.0.113:55742 WrpReq from UI Form: &{url: width:1152 height:600 zoom:1 colors:216 mouseX:0 mouseY:0 keys: buttons: imgType:gif w:0xc00023c000 r:0xc00022c100}
2024/03/18 21:41:58 192.168.0.113:55743 Page Request for / []
2024/03/18 21:41:58 192.168.0.113:55743 WrpReq from UI Form: &{url:http://www.google.com/search?q=test width:1152 height:600 zoom:1 colors:216 mouseX:0 mouseY:0 keys: buttons: imgType:gif w:0xc0000d60e0 r:0xc00003e200}
2024/03/18 21:41:58 192.168.0.113:55743 Processing Capture Request for http://www.google.com/search?q=test
2024/03/18 21:41:59 192.168.0.113:55743 could not dial "ws://127.0.0.1:34090/devtools/browser/07d82f59-a8a6-4dc6-8e07-756dc2560279": EOF
2024/03/18 21:41:59 192.168.0.113:55743 Landed on: http://www.google.com/search?q=test, Height: 0
panic: close of closed channel

goroutine 35 [running]:
github.com/chromedp/chromedp.(*ExecAllocator).Allocate.func2()
        /Users/tenox/go/pkg/mod/github.com/chromedp/chromedp@v0.8.6/allocate.go:235 +0xe5
created by github.com/chromedp/chromedp.(*ExecAllocator).Allocate
        /Users/tenox/go/pkg/mod/github.com/chromedp/chromedp@v0.8.6/allocate.go:216 +0xdea
root@WRP:~ #

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions