Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 KB | None | 0 0
  1. uman":"3.891899ms","bytes_in":0,"bytes_out":93}
  2. {"time":"2019-01-20T20:21:21.126602628Z","id":"","remote_ip":"192.168.0.14","host":"192.168.0.28:8000","method":"GET","uri":"/v1/camera/list","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","status":200,"error":"","latency":1865952,"latency_human":"1.865952ms","bytes_in":0,"bytes_out":128}
  3. {"time":"2019-01-20T20:21:21.178085294Z","level":"-","prefix":"echo","file":"recover.go","line":"73","message":"[PANIC RECOVER] runtime error: invalid memory address or nil pointer dereference goroutine 31 [running]:\ngithub.com/labstack/echo/middleware.RecoverWithConfig.func1.1.1(0x7a5330, 0x1000, 0x360000, 0x807b10, 0x16d0440)\n\t/home/daniel/gocode/src/github.com/labstack/echo/middleware/recover.go:71 +0xa8\npanic(0x3ec668, 0xa72bc0)\n\t/usr/local/go/src/runtime/panic.go:513 +0x194\ngithub.com/mattn/go-mjpeg.(*Stream).add(0x0, 0x144a300)\n\t/home/daniel/gocode/src/github.com/mattn/go-mjpeg/mjpeg.go:108 +0x14\ngithub.com/mattn/go-mjpeg.(*Stream).ServeHTTP(0x0, 0x8054c0, 0x16d0400, 0x1416d00)\n\t/home/daniel/gocode/src/github.com/mattn/go-mjpeg/mjpeg.go:136 +0x4c\ngithub.com/labstack/echo.WrapHandler.func1(0x807b10, 0x16d0440, 0x43a568, 0xd)\n\t/home/daniel/gocode/src/github.com/labstack/echo/echo.go:719 +0x7c\ngithub.com/labstack/echo.(*Echo).Add.func1(0x807b10, 0x16d0440, 0xd, 0x445395)\n\t/home/daniel/gocode/src/github.com/labstack/echo/echo.go:490 +0x84\ngithub.com/dchote/gopicamera/server.StartServer.func1.1(0x807b10, 0x16d0440, 0x1b, 0x43631c)\n\t/home/daniel/gocode/src/github.com/dchote/gopicamera/server/server.go:53 +0x80\ngithub.com/labstack/echo/middleware.CORSWithConfig.func1.1(0x807b10, 0x16d0440, 0x16d0400, 0x805700)\n\t/home/daniel/gocode/src/github.com/labstack/echo/middleware/cors.go:117 +0x270\ngithub.com/labstack/echo/middleware.GzipWithConfig.func1.1(0x807b10, 0x16d0440, 0x0, 0x0)\n\t/home/daniel/gocode/src/github.com/labstack/echo/middleware/compress.go:92 +0x128\ngithub.com/labstack/echo/middleware.RecoverWithConfig.func1.1(0x807b10, 0x16d0440, 0x0, 0x0)\n\t/home/daniel/gocode/src/github.com/labstack/echo/middleware/recover.go:78 +0xc4\ngithub.com/labstack/echo/middleware.LoggerWithConfig.func2.1(0x807b10, 0x16d0440, 0x3, 0x18ae264)\n\t/home/daniel/gocode/src/github.com/labstack/echo/middleware/logger.go:118 +0x134\ngithub.com/labstack/echo.(*Echo).ServeHTTP(0x14d2400, 0x805700, 0x170a2d0, 0x1416d00)\n\t/home/daniel/gocode/src/github.com/labstack/echo/echo.go:593 +0x228\nnet/http.serverHandler.ServeHTTP(0x1416b00, 0x805700, 0x170a2d0, 0x1416d00)\n\t/usr/local/go/src/net/http/server.go:2741 +0x74\nnet/http.(*conn).serve(0x16541e0, 0x8058e0, 0x1706780)\n\t/usr/local/go/src/net/http/server.go:1847 +0x58c\ncreated by net/http.(*Server).Serve\n\t/usr/local/go/src/net/http/server.go:2851 +0x290\n\ngoroutine 1 [chan receive]:\nmain.main()\n\t/home/daniel/gocode/src/github.com/dchote/gopicamera/gopicamera.go:76 +0x1ac\n\ngoroutine 5 [syscall]:\nos/signal.signal_recv(0x0)\n\t/usr/local/go/src/runtime/sigqueue.go:139 +0x130\nos/signal.loop()\n\t/usr/local/go/src/os/signal/signal_unix.go:23 +0x14\ncreated by os/signal.init.0\n\t/usr/local/go/src/os/signal/signal_unix.go:29 +0x30\n\ngoroutine 6 [IO wait]:\ninternal/poll.runtime_pollWait(0x9bde2fc0, 0x72, 0x0)\n\t/usr/local/go/src/runtime/netpoll.go:173 +0x44\ninternal/poll.(*pollDesc).wait(0x14928d4, 0x72, 0x1448300, 0x0, 0x0)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c\ninternal/poll.(*pollDesc).waitRead(0x14928d4, 0xffffff00, 0x0, 0x0)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c\ninternal/poll.(*FD).Accept(0x14928c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\n\t/usr/local/go/src/internal/poll/fd_unix.go:384 +0x17c\nnet.(*netFD).accept(0x14928c0, 0x0, 0x27b9b8, 0x5c44d840)\n\t/usr/local/go/src/net/fd_unix.go:238 +0x20\nnet.(*TCPListener).accept(0x140f050, 0xc3c5e259, 0x7, 0x169b948)\n\t/usr/local/go/src/net/tcpsock_posix.go:139 +0x20\nnet.(*TCPListener).AcceptTCP(0x140f050, 0x26434, 0xaba200, 0x0)\n\t/usr/local/go/src/net/tcpsock.go:247 +0x3c\ngithub.com/labstack/echo.tcpKeepAliveListener.Accept(0x140f050, 0x44d84000, 0x58d2c, 0x27fb1c, 0x143dde0)\n\t/home/daniel/gocode/src/github.com/labstack/echo/echo.go:767 +0x1c\nnet/http.(*Server).Serve(0x1416b00, 0x8054e0, 0x140f058, 0x0, 0x0)\n\t/usr/local/go/src/net/http/server.go:2826 +0x1e0\ngithub.com/labstack/echo.(*Echo).StartServer(0x14d2400, 0x1416b00, 0x141d1c0, 0x11)\n\t/home/daniel/gocode/src/github.com/labstack/echo/echo.go:663 +0x2b8\ngithub.com/labstack/echo.(*Echo).Start(0x14d2400, 0x141d1c0, 0x11, 0x43632c, 0x1)\n\t/home/daniel/gocode/src/github.com/labstack/echo/echo.go:604 +0x48\ngithub.com/dchote/gopicamera/server.StartServer(0xffffffff, 0x141beb2, 0xb, 0\n"}
  4. {"time":"2019-01-20T20:21:21.183039166Z","id":"","remote_ip":"192.168.0.14","host":"192.168.0.28:8000","method":"GET","uri":"/camera.mjpeg","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","status":500,"error":"","latency":29395238,"latency_human":"29.395238ms","bytes_in":0,"bytes_out":36}
  5. ^[[1;2A^[[1;2A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement