RTSPtoWeb icon indicating copy to clipboard operation
RTSPtoWeb copied to clipboard

http: panic serving 192.168.1.160:51257: write tcp 192.168.1.142:8083->192.168.1.160:51257: write: broken pipe

Open sanderlv opened this issue 2 years ago • 0 comments

After a fresh install I get:

2023/09/08 08:47:56 http: panic serving 192.168.1.160:51257: write tcp 192.168.1.142:8083->192.168.1.160:51257: write: broken pipe
goroutine 79 [running]:
net/http.(*conn).serve.func1()
	/usr/lib/go/src/net/http/server.go:1802 +0xb9
panic({0xb60c00, 0xc000526690})
	/usr/lib/go/src/runtime/panic.go:1047 +0x266
github.com/gin-gonic/gin.(*Context).Render(0xc00065c200, 0x190, {0xd18b88, 0xc00b0ae370})
	/root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:911 +0x105
github.com/gin-gonic/gin.(*Context).IndentedJSON(...)
	/root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:928
main.HTTPAPIServerStreamHLSTS(0xc00065c200)
	/workspace/apiHTTPHLS.go:134 +0x126a
github.com/gin-gonic/gin.(*Context).Next(...)
	/root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
main.CrossOrigin.func1(0xc00065c200)
	/workspace/apiHTTPRouter.go:296 +0x2f9
github.com/gin-gonic/gin.(*Context).Next(...)
	/root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000520000, 0xc00065c200)
	/root/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:616 +0x671
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000520000, {0xd1a098, 0xc0003c08c0}, 0xc00052af00)
	/root/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:572 +0x1dd
net/http.serverHandler.ServeHTTP({0xc0006766c0}, {0xd1a098, 0xc0003c08c0}, 0xc00052af00)
	/usr/lib/go/src/net/http/server.go:2879 +0x43b
net/http.(*conn).serve(0xc00041a320, {0xd20d80, 0xc0003d19e0})
	/usr/lib/go/src/net/http/server.go:1930 +0xb08
created by net/http.(*Server).Serve
	/usr/lib/go/src/net/http/server.go:3034 +0x4e8

In the RTSPtoWEB dashboard all cam have been automatically detected. But when clicking the "all" link for each camera the WEBRTC stream stays black while all others (HLS, HLSLL, MSE) work well.

Using Homassistant OS RTSPtoWeb - WebRTC Current version: 1.4.0 Add-on

Whats wrong?

sanderlv avatar Sep 08 '23 06:09 sanderlv