Created
November 13, 2018 13:52
-
-
Save fabiangarga/8fbb85ba92b7bc176b250994dfd35891 to your computer and use it in GitHub Desktop.
file upload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2018-11-13 02:25:50] sql: transaction has already been committed or rolled back | |
time="2018-11-13T02:25:50Z" level=error msg="Error on saving file in path: '00000000-0009-0000-0000-000000000004/student/00000000-0007-0000-0000-000000000001/1542075945.pdf'. Details: NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors" application=masterData file=/api-core/controllers/files/Files.go line=214 module=Helpers stack="[goroutine 585 [running]: runtime/debug.Stack(0x2, 0xceee65, 0x179b61d) /usr/local/go/src/runtime/debug/stack.go:24 +0xa7 github.com/itdept/api-core/helpers.loggerStackTrace(0xdd6f40, 0xc0004723c0) /api-core/helpers/errorsHelper.go:175 +0x10e github.com/itdept/api-core/helpers.NewCommonError(0xc00051a120, 0x10e, 0x0, 0x0, 0x0) /api-core/helpers/errorsHelper.go:36 +0x63 github.com/itdept/api-core/controllers/files.UploadStudentFile(0xc0000ae2c0) /api-core/controllers/files/Files.go:214 +0xaa6 github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.AuthenticateOkta(0xc0000ae2c0) /api-core/middlewares/authentication.go:92 +0x67c github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.TXInit(0xc0000ae2c0) /api-core/middlewares/database.go:29 +0x21d github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.DBInit.func1(0xc0000ae2c0) /api-core/middlewares/database.go:53 +0x13a github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.RecoveryWithWriter.func1(0xc0000ae2c0) /api-core/middlewares/recovery.go:44 +0x63 github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.Logger.func1(0xc0000ae2c0) /api-core/middlewares/logger.go:34 +0x220 github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00044c120, 0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:361 +0x5ab github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00044c120, 0x11147c0, 0xc000122fc0, 0xc0000fb100) /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:326 +0x132 net/http.serverHandler.ServeHTTP(0xc000072f70, 0x11147c0, 0xc000122fc0, 0xc0000fb100) /usr/local/go/src/net/http/server.go:2741 +0xab net/http.(*conn).serve(0xc00006e820, 0x1115500, 0xc000336cc0) /usr/local/go/src/net/http/server.go:1847 +0x646 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2851 +0x2f5 ]" | |
time="2018-11-13T02:25:50Z" level=error msg="internal server error" application=masterData file=/api-core/controllers/files/Files.go line=215 module=Helpers stack="[goroutine 585 [running]: runtime/debug.Stack(0x2, 0xceeeb8, 0x179b61d) /usr/local/go/src/runtime/debug/stack.go:24 +0xa7 github.com/itdept/api-core/helpers.loggerStackTrace(0xdd6f40, 0xc000472840) /api-core/helpers/errorsHelper.go:175 +0x10e github.com/itdept/api-core/helpers.NewUnexpectedError(0xc0002708a0, 0x15, 0x0, 0x0, 0x0, 0xc0002708a0) /api-core/helpers/errorsHelper.go:142 +0x13b github.com/itdept/api-core/controllers/files.UploadStudentFile(0xc0000ae2c0) /api-core/controllers/files/Files.go:215 +0xaf9 github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.AuthenticateOkta(0xc0000ae2c0) /api-core/middlewares/authentication.go:92 +0x67c github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.TXInit(0xc0000ae2c0) /api-core/middlewares/database.go:29 +0x21d github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.DBInit.func1(0xc0000ae2c0) /api-core/middlewares/database.go:53 +0x13a github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.RecoveryWithWriter.func1(0xc0000ae2c0) /api-core/middlewares/recovery.go:44 +0x63 github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/itdept/api-core/middlewares.Logger.func1(0xc0000ae2c0) /api-core/middlewares/logger.go:34 +0x220 github.com/gin-gonic/gin.(*Context).Next(0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:108 +0x43 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00044c120, 0xc0000ae2c0) /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:361 +0x5ab github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00044c120, 0x11147c0, 0xc000122fc0, 0xc0000fb100) /go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:326 +0x132 net/http.serverHandler.ServeHTTP(0xc000072f70, 0x11147c0, 0xc000122fc0, 0xc0000fb100) /usr/local/go/src/net/http/server.go:2741 +0xab net/http.(*conn).serve(0xc00006e820, 0x1115500, 0xc000336cc0) /usr/local/go/src/net/http/server.go:1847 +0x646 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2851 +0x2f5 ]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment