Template error
muety opened this issue · 0 comments
muety commented
This error keeps appearing in the logs:
Sep 06 10:11:27 muetsch.io kitsquid[471]: 2021/09/06 10:11:27 [Recovery] 2021/09/06 - 10:11:27 panic recovered:
Sep 06 10:11:27 muetsch.io kitsquid[471]: ViewEngine execute template error: write tcp 127.0.0.1:3004->127.0.0.1:46182: write: broken pipe
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:842 (0x9b0dbb)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:851 (0x9b0e78)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/src/github.com/n1try/kitsquid/app/events/routes.go:133 (0x9edc04)
Sep 06 10:11:27 muetsch.io kitsquid[471]: getEvents.func1: c.HTML(http.StatusOK, "index", gin.H{
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0xa88072)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/src/github.com/n1try/kitsquid/app/web/middleware.go:61 (0xa88052)
Sep 06 10:11:27 muetsch.io kitsquid[471]: TemplateContext.func1: c.Next()
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0x9acf3a)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/src/github.com/n1try/kitsquid/app/users/middleware.go:23 (0x9dc6f4)
Sep 06 10:11:27 muetsch.io kitsquid[471]: ExtractUser.func1: return
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0xa87861)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/src/github.com/n1try/kitsquid/app/web/middleware.go:13 (0xa8783e)
Sep 06 10:11:27 muetsch.io kitsquid[471]: ErrorHandle.func1: c.Next()
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0xa88242)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/src/github.com/n1try/kitsquid/app/web/middleware.go:79 (0xa88225)
Sep 06 10:11:27 muetsch.io kitsquid[471]: RemoteIp.func1: c.Next()
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0xa8243d)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/n1try/limiter/v3@v3.5.0/drivers/middleware/gin/middleware.go:57 (0xa8241c)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/n1try/limiter/v3@v3.5.0/drivers/middleware/gin/middleware.go:33 (0xa826b3)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0x9c0c50)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/recovery.go:83 (0x9c0c37)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0x9c0c50)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/recovery.go:83 (0x9c0c37)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0x9bfcd3)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/logger.go:241 (0x9bfc92)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/context.go:161 (0x9b6e0f)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:409 (0x9b6df6)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /home/ferdinand/go/pkg/mod/github.com/gin-gonic/gin@v1.6.3/gin.go:367 (0x9b68ac)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /opt/go/src/net/http/server.go:2887 (0x7beaa2)
Sep 06 10:11:27 muetsch.io kitsquid[471]: serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /opt/go/src/net/http/server.go:1952 (0x7b9ecc)
Sep 06 10:11:27 muetsch.io kitsquid[471]: (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
Sep 06 10:11:27 muetsch.io kitsquid[471]: /opt/go/src/runtime/asm_amd64.s:1371 (0x46e540)
Sep 06 10:11:27 muetsch.io kitsquid[471]: goexit: BYTE $0x90 // NOP