We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub announced a new token format: https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats.
After updating the GH personal token to the new format, this error will show up:
{ "time": "2021-10-19T20:43:01.712703657Z", "level": "-", "prefix": "echo", "file": "recover.go", "line": "73", "message": "[PANIC RECOVER] runtime error: index out of range [0] with length 0 goroutine 3701753 [running]:\ngithub.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1.1(0x13594e8, 0x1000, 0x0, 0x1717ec0, 0xc003ae84d0)\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/middleware/recover.go:71 +0xee\npanic(0x128aea0, 0xc001818c40)\n\t/usr/local/go/src/runtime/panic.go:679 +0x1b2\ngithub.com/turnerlabs/udeploy/component/commit.BuildRelease(0xc0044c9990, 0xa, 0xc0044a4860, 0x16, 0xc0048b6af0, 0x9, 0x0, 0x0, 0x132be93, 0x16, ...)\n\t/deploy/component/commit/build.go:67 +0xcb6\ngithub.com/turnerlabs/udeploy/handler.GetInstanceCommits(0x1717ec0, 0xc003ae84d0, 0xc00320623d, 0x1e)\n\t/deploy/handler/commit.go:37 +0x34c\ngithub.com/turnerlabs/udeploy/component/cache.EnsureCache.func1(0x1717ec0, 0xc003ae84d0, 0x3, 0x12aec40)\n\t/deploy/component/cache/ensure.go:24 +0x123\ngithub.com/turnerlabs/udeploy/component/request.RouteContext.func1.2(0x170b500, 0xc002175c40, 0x1173ce0, 0x1fb33b0)\n\t/deploy/component/request/context.go:51 +0x98\ngo.mongodb.org/mongo-driver/mongo.WithSession(0x16fa400, 0xc003a62030, 0x1707980, 0xc002f538c0, 0xc0020bf928, 0x0, 0x0)\n\t/go/pkg/mod/go.mongodb.org/[email protected]/mongo/client.go:498 +0xed\ngithub.com/turnerlabs/udeploy/component/request.RouteContext.func1(0x1717ec0, 0xc003ae84d0, 0x0, 0x0)\n\t/deploy/component/request/context.go:48 +0x279\ngithub.com/turnerlabs/udeploy/component/auth.UnAuthError.func1(0x1717ec0, 0xc003ae84d0, 0xc003c4d110, 0x1341358)\n\t/deploy/component/auth/authentication.go:64 +0xdc\ngithub.com/labstack/echo/v4.(*Echo).Add.func1(0x1717ec0, 0xc003ae84d0, 0x28, 0x12ae8e0)\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:490 +0x8a\ngithub.com/turnerlabs/udeploy/component/session.NewWithConfig.func1.1(0x1717ec0, 0xc003ae84d0, 0x40d800, 0xc003ce7140)\n\t/deploy/component/session/echo.go:70 +0x19f\ngithub.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1(0x1717ec0, 0xc003ae84d0, 0x0, 0x0)\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/middleware/recover.go:78 +0x10e\ngithub.com/turnerlabs/udeploy/component/logger.LogErrors.func1(0x1717ec0, 0xc003ae84d0, 0x3, 0xc003206234)\n\t/deploy/component/logger/error.go:14 +0x43\ngithub.com/labstack/echo/v4.(*Echo).ServeHTTP(0xc000104000, 0x16f15c0, 0xc002fe60e0, 0xc0044a6100)\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:593 +0x222\nnet/http.serverHandler.ServeHTTP(0xc0002c0700, 0x16f15c0, 0xc002fe60e0, 0xc0044a6100)\n\t/usr/local/go/src/net/http/server.go:2831 +0xa4\nnet/http.(*conn).serve(0xc0038f40a0, 0x16fa340, 0xc003ce7000)\n\t/usr/local/go/src/net/http/server.go:1919 +0x875\ncreated by net/http.(*Server).Serve\n\t/usr/local/go/src/net/http/server.go:2957 +0x384\n\ngoroutine 1 [IO wait]:\ninternal/poll.runtime_pollWait(0x7fd8ec5854e8, 0x72, 0x0)\n\t/usr/local/go/src/runtime/netpoll.go:184 +0x55\ninternal/poll.(*pollDesc).wait(0xc000424518, 0x72, 0x0, 0x0, 0x131e21a)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45\ninternal/poll.(*pollDesc).waitRead(...)\n\t/usr/local/go/src/internal/poll/fd_poll_runtime.go:92\ninternal/poll.(*FD).Accept(0xc000424500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\n\t/usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8\nnet.(*netFD).accept(0xc000424500, 0x203000, 0x203000, 0x203000)\n\t/usr/local/go/src/net/fd_unix.go:238 +0x42\nnet.(*TCPListener).accept(0xc0004cc0e0, 0xc000305870, 0xaf262dc9, 0x7989f1d013ab5d13)\n\t/usr/local/go/src/net/tcpsock_posix.go:139 +0x32\nnet.(*TCPListener).AcceptTCP(0xc0004cc0e0, 0xc0002c07a0, 0xc00083e4b0, 0x44d5b8)\n\t/usr/local/go/src/net/tcpsock.go:248 +0x47\ngithub.com/labstack/echo/v4.tcpKeepAliveListener.Accept(0xc0004cc0e0, 0xc0003058d0, 0x4821e6, 0x616f2dd4, 0x438bee)\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:767 +0x2f\nnet/http.(*Server).Serve(0xc0002c0700, 0x16f1140, 0xc0000b8880, 0x0, 0x0)\n\t/usr/local/go/src/net/http/server.go:2925 +0x280\ngithub.com/labstack/echo/v4.(*Echo).StartServer(0xc000104000, 0xc0002c0700, 0x131c1c9, 0x2)\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:663 +0x385\ngithub.com/labstack/echo/v4.(*Echo).Start(...)\n\t/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:604\nmain.startRouter(0xc000510de0)\n\t/deploy/routes.go:140 +0x1828\n" }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
GitHub announced a new token format: https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats.
After updating the GH personal token to the new format, this error will show up:
The text was updated successfully, but these errors were encountered: