Open Matias314 opened 8 months ago
did they fix the chromium bug on freebsd?
It seems to be fixed? chrome --headless
works without crash for me now but WRP still fails:
root@WRP:~ # ./wrp-amd64-freebsd
2024/08/30 23:57:39 wrp.go:266: Web Rendering Proxy Version 4.8.0 (amd64)
2024/08/30 23:57:39 wrp.go:267: Using embedded ca-certs from github.com/breml/rootcerts
2024/08/30 23:57:39 wrp.go:268: Args: ["./wrp-amd64-freebsd"]
2024/08/30 23:57:39 util.go:20: Listen address: :8080
2024/08/30 23:57:39 util.go:37: My IP addresses: 172.16.0.6
2024/08/30 23:57:39 wrp.go:300: Default Img Type: gif, Geometry: {w:1152 h:600 c:216}
2024/08/30 23:57:39 wrp.go:258: Got HTML UI template from embed
2024/08/30 23:57:39 wrp.go:307: Starting WRP http server
2024/08/30 23:57:45 wrp.go:202: 192.168.0.139:34964 Page Request for / []
2024/08/30 23:57:45 wrp.go:164: 192.168.0.139:34964 WrpReq from UI Form: &{url:http://www.google.com/search?q=test width:1152 height:600 zoom:1 nColors:216 jQual:75 mouseX:0 mouseY:0 keys: buttons: imgType:gif wrpMode:ismap maxSize:200 w:0xc000158000 r:0xc00016e000}
2024/08/30 23:57:45 ismap.go:86: 192.168.0.139:34964 Processing Navigate Request for http://www.google.com/search?q=test
2024/08/30 23:57:45 ismap.go:102: Context error: could not dial "ws://127.0.0.1:53780/devtools/browser/3e7ae478-fc50-484d-86b2-ea09b5d92f1d": EOF
2024/08/30 23:57:45 ismap.go:147: 192.168.0.139:34964 Landed on: http://www.google.com/search?q=test, Height: 0
panic: close of closed channel
goroutine 54 [running]:
github.com/chromedp/chromedp.(*ExecAllocator).Allocate.func2()
/Users/tenox/go/pkg/mod/github.com/chromedp/chromedp@v0.10.0/allocate.go:236 +0xd6
created by github.com/chromedp/chromedp.(*ExecAllocator).Allocate in goroutine 42
/Users/tenox/go/pkg/mod/github.com/chromedp/chromedp@v0.10.0/allocate.go:217 +0xcf5
root@WRP:~ #
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