I am working on a video conference application. I inspired my video conference handling with the sfu-ws example.
But I am using echo framework instead in my application, which causing some problems.
When I get to the meeting page, everything works fine but when I leave the meeting page, the server logs this hijack error for the echo response writer:
echo: http: response.WriteHeader on hijacked connection from github.com/labstack/echo/v4.(*Response).WriteHeader (response.go:63)
echo: http: response.Write on hijacked connection from github.com/labstack/echo/v4.(*Response).Write (response.go:75)
{"time":"2023-09-22T01:26:57.800164+05:30","level":"ERROR","prefix":"echo","file":"echo.go","line":"463","message":"http: connection has been hijacked"}
Hey
I am working on a video conference application. I inspired my video conference handling with the
sfu-ws
example.But I am using
echo
framework instead in my application, which causing some problems.When I get to the meeting page, everything works fine but when I leave the meeting page, the server logs this
hijack error
for the echo response writer:Help needed in finding out what am I missing here, since relatively newer to working with echo.