Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-compose logs
server_1 | 20:40:59.330 DEBUG http.waiting version route enabled: /version
server_1 | 20:40:59.330 DEBUG http.waiting health check route enabled: /healthcheck
server_1 | [Sentry] 2022/05/23 20:40:59 Integration installed: ContextifyFrames
server_1 | [Sentry] 2022/05/23 20:40:59 Integration installed: Environment
server_1 | [Sentry] 2022/05/23 20:40:59 Integration installed: Modules
server_1 | [Sentry] 2022/05/23 20:40:59 Integration installed: IgnoreErrors
server_1 | 20:40:59.338 INFO http starting HTTP server {"path-prefix": "/", "address": "0.0.0.0:80"}
server_1 | 20:40:59.472 DEBUG store.rdbms opening connection {"driver": "postgres", "dsn": "p****s:B****k@crm-corteza.ccten64bdcp3.eu-west-1.rds.amazonaws.com/corteza?sslmode=disable"}
server_1 | 20:40:59.472 DEBUG store.rdbms setting connection parameters {"MaxOpenConns": 256, "MaxLifetime": "10m0s", "MaxIdleConns": 32}
server_1 | 20:40:59.545 DEBUG store.rdbms connected to the database
server_1 | 20:40:59.545 INFO running store update
server_1 | 20:40:59.545 INFO store.upgrade store upgrade running in debug mode (UPGRADE_DEBUG=true)
server_1 | 20:40:59.557 DEBUG store.upgrade skipping sys_actionlog table rename, old table does not exist
server_1 | 20:40:59.559 DEBUG store.upgrade skipping sys_reminder table rename, old table does not exist
server_1 | 20:40:59.565 DEBUG store.upgrade skipping sys_user table rename, old table does not exist
server_1 | 20:40:59.567 DEBUG store.upgrade skipping sys_role table rename, old table does not exist
server_1 | 20:40:59.573 DEBUG store.upgrade skipping sys_role_member table rename, old table does not exist
server_1 | 20:40:59.581 DEBUG store.upgrade skipping sys_credentials table rename, old table does not exist
server_1 | 20:40:59.583 DEBUG store.upgrade skipping sys_application table rename, old table does not exist
server_1 | 20:40:59.706 DEBUG store.upgrade skipping rbac rules merge, table sys_permission_rules already Deleted
server_1 | 20:40:59.713 DEBUG store.upgrade skipping rbac rules merge, table compose_permission_rules already Deleted
server_1 | 20:40:59.717 DEBUG store.upgrade skipping settings merge, table sys_settings already removed
server_1 | 20:40:59.721 DEBUG store.upgrade skipping settings merge, table compose_settings already removed
server_1 | 20:40:59.911 INFO updating system role {"handle": "super-admin", "ID": 0}
server_1 | 20:40:59.911 INFO updating system role {"handle": "authenticated", "ID": 0}
server_1 | 20:40:59.911 INFO updating system role {"handle": "anonymous", "ID": 0}
server_1 | 20:40:59.957 DEBUG system entities set {"users": [268373446688243714, 268373446688309250, 268373446705020930], "roles": [268373446671466498, 268373446671532034, 268373446671597570]}
server_1 | 20:41:00.109 INFO provision.pre-202109-roles migrating pre-2021.9 roles
server_1 | 20:41:00.119 INFO provision.pre-202109-rbac-rules migrating RBAC rules to new format {"rules": 301}
server_1 | 20:41:00.602 INFO provision.pre-202109-settings cleaning up pre-2021.9 settings
server_1 | 20:41:00.656 INFO provision.resource-translations migrating resource locales
server_1 | 20:41:00.699 INFO provision.report-identifiers migrating report identifiers
server_1 | 20:41:00.713 INFO provision.post-202203-rbac-resource-rules-fix migrating RBAC resource rules to proper format {"rules": 301}
server_1 | 20:41:09.929 DEBUG crashed on http request {"error": "runtime error: invalid memory address or nil pointer dereference", "stack": "goroutine 505 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x65\ngithub.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery({0x342b530, 0xc000131e00}, {0x3412430, 0xc0002d21c0})\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/middleware.go:44 +0x2ef\npanic({0x29774e0, 0x45764a0})\n\truntime/panic.go:1038 +0x215\ngoogle.golang.org/grpc.(*ClientConn).GetState(...)\n\tgoogle.golang.org/grpc@v1.45.0/clientconn.go:527\ngithub.com/cortezaproject/corteza-server/pkg/corredor.Healthcheck({0x457c060, 0xc0002d21c0})\n\tgithub.com/cortezaproject/corteza-server/pkg/corredor/healthcheck.go:22 +0x35\ngithub.com/cortezaproject/corteza-server/pkg/healthcheck.(*checks).Run(0xc00047aba0, {0x342b5d8, 0xc0013741e0})\n\tgithub.com/cortezaproject/corteza-server/pkg/healthcheck/check.go:68 +0x135\ngithub.com/cortezaproject/corteza-server/pkg/api/server.waitingRoutes.func2({0x3412430, 0xc0002d21c0}, 0xc003cf9300)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/handlers.go:47 +0x170\nnet/http.HandlerFunc.ServeHTTP(0x29589e0, {0x3412430, 0xc0002d21c0}, 0xc0078320b4)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d21c0}, 0xc003cf9300)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:442 +0x216\nnet/http.HandlerFunc.ServeHTTP(0xc0003daf00, {0x3412430, 0xc0002d21c0}, 0xc003cf9300)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/cors.(*Cors).Handler.func1({0x3412430, 0xc0002d21c0}, 0xc003cf9300)\n\tgithub.com/go-chi/cors@v1.2.0/cors.go:228 +0x1bd\nnet/http.HandlerFunc.ServeHTTP(0x342b530, {0x3412430, 0xc0002d21c0}, 0x4575f40)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d21c0}, 0xc003cf9200)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:88 +0x442\ngithub.com/cortezaproject/corteza-server/pkg/api/server.(*demux).ServeHTTP(0x0, {0x3412430, 0xc0002d21c0}, 0xc003cf9200)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/demux.go:51 +0x11c\nnet/http.serverHandler.ServeHTTP({0xc0013740f0}, {0x3412430, 0xc0002d21c0}, 0xc003cf9200)\n\tnet/http/server.go:2879 +0x43b\nnet/http.(*conn).serve(0xc00193e000, {0x342b5d8, 0xc0002784e0})\n\tnet/http/server.go:1930 +0xb08\ncreated by net/http.(*Server).Serve\n\tnet/http/server.go:3034 +0x4e8\n"}
server_1 | 2022/05/23 20:41:09 http: superfluous response.WriteHeader call from github.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery (middleware.go:46)
server_1 | 20:41:09.991 DEBUG crashed on http request {"error": "runtime error: invalid memory address or nil pointer dereference", "stack": "goroutine 508 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x65\ngithub.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery({0x342b530, 0xc0009ac340}, {0x3412430, 0xc0002d22a0})\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/middleware.go:44 +0x2ef\npanic({0x29774e0, 0x45764a0})\n\truntime/panic.go:1038 +0x215\ngoogle.golang.org/grpc.(*ClientConn).GetState(...)\n\tgoogle.golang.org/grpc@v1.45.0/clientconn.go:527\ngithub.com/cortezaproject/corteza-server/pkg/corredor.Healthcheck({0x457c060, 0xc0002d22a0})\n\tgithub.com/cortezaproject/corteza-server/pkg/corredor/healthcheck.go:22 +0x35\ngithub.com/cortezaproject/corteza-server/pkg/healthcheck.(*checks).Run(0xc00047aba0, {0x342b5d8, 0xc001374450})\n\tgithub.com/cortezaproject/corteza-server/pkg/healthcheck/check.go:68 +0x135\ngithub.com/cortezaproject/corteza-server/pkg/api/server.waitingRoutes.func2({0x3412430, 0xc0002d22a0}, 0xc003cf9a00)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/handlers.go:47 +0x170\nnet/http.HandlerFunc.ServeHTTP(0x29589e0, {0x3412430, 0xc0002d22a0}, 0xc007832424)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d22a0}, 0xc003cf9a00)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:442 +0x216\nnet/http.HandlerFunc.ServeHTTP(0xc0003daf00, {0x3412430, 0xc0002d22a0}, 0xc003cf9a00)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/cors.(*Cors).Handler.func1({0x3412430, 0xc0002d22a0}, 0xc003cf9a00)\n\tgithub.com/go-chi/cors@v1.2.0/cors.go:228 +0x1bd\nnet/http.HandlerFunc.ServeHTTP(0x342b530, {0x3412430, 0xc0002d22a0}, 0x4575f40)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d22a0}, 0xc003cf9900)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:88 +0x442\ngithub.com/cortezaproject/corteza-server/pkg/api/server.(*demux).ServeHTTP(0x0, {0x3412430, 0xc0002d22a0}, 0xc003cf9900)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/demux.go:51 +0x11c\nnet/http.serverHandler.ServeHTTP({0xc001374390}, {0x3412430, 0xc0002d22a0}, 0xc003cf9900)\n\tnet/http/server.go:2879 +0x43b\nnet/http.(*conn).serve(0xc00193e140, {0x342b5d8, 0xc0002784e0})\n\tnet/http/server.go:1930 +0xb08\ncreated by net/http.(*Server).Serve\n\tnet/http/server.go:3034 +0x4e8\n"}
server_1 | 2022/05/23 20:41:09 http: superfluous response.WriteHeader call from github.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery (middleware.go:46)
corredor_1 | [1653338475712] DEBUG (check): configuring cServer system API
corredor_1 | apiBaseURL: "server:80/api/system"
corredor_1 | [1653338475719] DEBUG (check): configuring cServer compose API
corredor_1 | apiBaseURL: "server:80/api/compose"
corredor_1 | [1653338475760] INFO (check): checking API endpoints
corredor_1 | [1653338475761] DEBUG (check): frontend settings
corredor_1 | baseURL: "https://http://sary-crm-corteza-automation.eu-west-1.elasticbeanstalk.com/"
corredor_1 | [1653338475768] INFO (check): making bundler output directory
corredor_1 | output: "/tmp/corredor/bundler-dist"
corredor_1 | [1653338475770] DEBUG (check): bundler enabled
corredor_1 | output: "/tmp/corredor/bundler-dist"
corredor_1 | [1653338475772] DEBUG (services.client-scripts): initializing
corredor_1 | [1653338475772] DEBUG (services.server-scripts): initializing
corredor_1 | [1653338475773] DEBUG (services.dependencies): initializing
corredor_1 | [1653338475774] INFO (services.dependencies): initializing watcher
corredor_1 | [1653338476222] INFO (services.server-scripts): reloading server scripts
corredor_1 | searchPaths: [
corredor_1 | "/extensions",
corredor_1 | "/extensions/*",
corredor_1 | "/automations"
corredor_1 | ]
corredor_1 | [1653338476287] INFO (services.client-scripts): reloading client scripts
corredor_1 | searchPaths: [
corredor_1 | "/extensions",
corredor_1 | "/extensions/*",
corredor_1 | "/automations"
corredor_1 | ]
corredor_1 | [1653338476380] INFO (services.client-scripts): processed
corredor_1 | valid: 0
corredor_1 | total: 0
corredor_1 | [1653338476390] WARN (services.server-scripts): script error: SyntaxError: expecting default export
corredor_1 | src: "/automations/server-scripts/user/after_manager_changed.js"
corredor_1 | [1653338479356] INFO (services.server-scripts): processed
corredor_1 | valid: 4
corredor_1 | total: 5
corredor_1 | [1653338479390] ERROR (check): check your Corteza API settings: expecting valid response for server:80/version got: Error: connect EINVAL 0.0.0.80:80 - Local (0.0.0.0:0)
corredor_1 | [1653338479487] DEBUG (gRPC): starting server
corredor_1 | [1653338479509] INFO (gRPC): server running at corredor:53051
server_1 | 20:41:24.946 DEBUG crashed on http request {"error": "runtime error: invalid memory address or nil pointer dereference", "stack": "goroutine 511 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x65\ngithub.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery({0x342b530, 0xc0044be380}, {0x3412430, 0xc0002d2380})\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/middleware.go:44 +0x2ef\npanic({0x29774e0, 0x45764a0})\n\truntime/panic.go:1038 +0x215\ngoogle.golang.org/grpc.(*ClientConn).GetState(...)\n\tgoogle.golang.org/grpc@v1.45.0/clientconn.go:527\ngithub.com/cortezaproject/corteza-server/pkg/corredor.Healthcheck({0x457c060, 0xc0002d2380})\n\tgithub.com/cortezaproject/corteza-server/pkg/corredor/healthcheck.go:22 +0x35\ngithub.com/cortezaproject/corteza-server/pkg/healthcheck.(*checks).Run(0xc00047aba0, {0x342b5d8, 0xc001374660})\n\tgithub.com/cortezaproject/corteza-server/pkg/healthcheck/check.go:68 +0x135\ngithub.com/cortezaproject/corteza-server/pkg/api/server.waitingRoutes.func2({0x3412430, 0xc0002d2380}, 0xc0044aad00)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/handlers.go:47 +0x170\nnet/http.HandlerFunc.ServeHTTP(0x29589e0, {0x3412430, 0xc0002d2380}, 0xc0078326a4)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2380}, 0xc0044aad00)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:442 +0x216\nnet/http.HandlerFunc.ServeHTTP(0xc0003daf00, {0x3412430, 0xc0002d2380}, 0xc0044aad00)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/cors.(*Cors).Handler.func1({0x3412430, 0xc0002d2380}, 0xc0044aad00)\n\tgithub.com/go-chi/cors@v1.2.0/cors.go:228 +0x1bd\nnet/http.HandlerFunc.ServeHTTP(0x342b530, {0x3412430, 0xc0002d2380}, 0x4575f40)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2380}, 0xc0044aac00)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:88 +0x442\ngithub.com/cortezaproject/corteza-server/pkg/api/server.(*demux).ServeHTTP(0x0, {0x3412430, 0xc0002d2380}, 0xc0044aac00)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/demux.go:51 +0x11c\nnet/http.serverHandler.ServeHTTP({0xc0013745a0}, {0x3412430, 0xc0002d2380}, 0xc0044aac00)\n\tnet/http/server.go:2879 +0x43b\nnet/http.(*conn).serve(0xc00193e1e0, {0x342b5d8, 0xc0002784e0})\n\tnet/http/server.go:1930 +0xb08\ncreated by net/http.(*Server).Serve\n\tnet/http/server.go:3034 +0x4e8\n"}
server_1 | 2022/05/23 20:41:24 http: superfluous response.WriteHeader call from github.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery (middleware.go:46)
server_1 | 20:41:25.006 DEBUG crashed on http request {"error": "runtime error: invalid memory address or nil pointer dereference", "stack": "goroutine 514 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x65\ngithub.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery({0x342b530, 0xc0044be7c0}, {0x3412430, 0xc0002d2460})\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/middleware.go:44 +0x2ef\npanic({0x29774e0, 0x45764a0})\n\truntime/panic.go:1038 +0x215\ngoogle.golang.org/grpc.(*ClientConn).GetState(...)\n\tgoogle.golang.org/grpc@v1.45.0/clientconn.go:527\ngithub.com/cortezaproject/corteza-server/pkg/corredor.Healthcheck({0x457c060, 0xc0002d2460})\n\tgithub.com/cortezaproject/corteza-server/pkg/corredor/healthcheck.go:22 +0x35\ngithub.com/cortezaproject/corteza-server/pkg/healthcheck.(*checks).Run(0xc00047aba0, {0x342b5d8, 0xc001374870})\n\tgithub.com/cortezaproject/corteza-server/pkg/healthcheck/check.go:68 +0x135\ngithub.com/cortezaproject/corteza-server/pkg/api/server.waitingRoutes.func2({0x3412430, 0xc0002d2460}, 0xc0044ab900)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/handlers.go:47 +0x170\nnet/http.HandlerFunc.ServeHTTP(0x29589e0, {0x3412430, 0xc0002d2460}, 0xc007832984)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2460}, 0xc0044ab900)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:442 +0x216\nnet/http.HandlerFunc.ServeHTTP(0xc0003daf00, {0x3412430, 0xc0002d2460}, 0xc0044ab900)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/cors.(*Cors).Handler.func1({0x3412430, 0xc0002d2460}, 0xc0044ab900)\n\tgithub.com/go-chi/cors@v1.2.0/cors.go:228 +0x1bd\nnet/http.HandlerFunc.ServeHTTP(0x342b530, {0x3412430, 0xc0002d2460}, 0x4575f40)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2460}, 0xc0044ab800)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:88 +0x442\ngithub.com/cortezaproject/corteza-server/pkg/api/server.(*demux).ServeHTTP(0x0, {0x3412430, 0xc0002d2460}, 0xc0044ab800)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/demux.go:51 +0x11c\nnet/http.serverHandler.ServeHTTP({0xc0013747b0}, {0x3412430, 0xc0002d2460}, 0xc0044ab800)\n\tnet/http/server.go:2879 +0x43b\nnet/http.(*conn).serve(0xc00193e280, {0x342b5d8, 0xc0002784e0})\n\tnet/http/server.go:1930 +0xb08\ncreated by net/http.(*Server).Serve\n\tnet/http/server.go:3034 +0x4e8\n"}
server_1 | 2022/05/23 20:41:25 http: superfluous response.WriteHeader call from github.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery (middleware.go:46)
server_1 | 20:41:29.823 DEBUG crashed on http request {"error": "runtime error: invalid memory address or nil pointer dereference", "stack": "goroutine 517 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x65\ngithub.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery({0x342b530, 0xc0048322c0}, {0x3412430, 0xc0002d2540})\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/middleware.go:44 +0x2ef\npanic({0x29774e0, 0x45764a0})\n\truntime/panic.go:1038 +0x215\ngoogle.golang.org/grpc.(*ClientConn).GetState(...)\n\tgoogle.golang.org/grpc@v1.45.0/clientconn.go:527\ngithub.com/cortezaproject/corteza-server/pkg/corredor.Healthcheck({0x11a1717, 0xc00006d7f0})\n\tgithub.com/cortezaproject/corteza-server/pkg/corredor/healthcheck.go:22 +0x35\ngithub.com/cortezaproject/corteza-server/pkg/healthcheck.(*checks).Run(0xc00047aba0, {0x342b5d8, 0xc001374ab0})\n\tgithub.com/cortezaproject/corteza-server/pkg/healthcheck/check.go:68 +0x135\ngithub.com/cortezaproject/corteza-server/pkg/healthcheck.HttpHandler.func1({0x3412430, 0xc0002d2540}, 0xc000391420)\n\tgithub.com/cortezaproject/corteza-server/pkg/healthcheck/http_handler.go:7 +0x59\nnet/http.HandlerFunc.ServeHTTP(0x29589e0, {0x3412430, 0xc0002d2540}, 0xc007800204)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2540}, 0xc004821e00)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:442 +0x216\nnet/http.HandlerFunc.ServeHTTP(0xc0003daf00, {0x3412430, 0xc0002d2540}, 0xc004821e00)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/cors.(*Cors).Handler.func1({0x3412430, 0xc0002d2540}, 0xc004821e00)\n\tgithub.com/go-chi/cors@v1.2.0/cors.go:228 +0x1bd\nnet/http.HandlerFunc.ServeHTTP(0x342b530, {0x3412430, 0xc0002d2540}, 0x4575f40)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2540}, 0xc004821d00)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:88 +0x442\ngithub.com/cortezaproject/corteza-server/pkg/api/server.(*demux).ServeHTTP(0x0, {0x3412430, 0xc0002d2540}, 0xc004821d00)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/demux.go:51 +0x11c\nnet/http.serverHandler.ServeHTTP({0xc0013749c0}, {0x3412430, 0xc0002d2540}, 0xc004821d00)\n\tnet/http/server.go:2879 +0x43b\nnet/http.(*conn).serve(0xc00193e320, {0x342b5d8, 0xc0002784e0})\n\tnet/http/server.go:1930 +0xb08\ncreated by net/http.(*Server).Serve\n\tnet/http/server.go:3034 +0x4e8\n"}
server_1 | 20:41:39.955 DEBUG crashed on http request {"error": "runtime error: invalid memory address or nil pointer dereference", "stack": "goroutine 520 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x65\ngithub.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery({0x342b530, 0xc0051396c0}, {0x3412430, 0xc0002d2620})\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/middleware.go:44 +0x2ef\npanic({0x29774e0, 0x45764a0})\n\truntime/panic.go:1038 +0x215\ngoogle.golang.org/grpc.(*ClientConn).GetState(...)\n\tgoogle.golang.org/grpc@v1.45.0/clientconn.go:527\ngithub.com/cortezaproject/corteza-server/pkg/corredor.Healthcheck({0x457c060, 0xc0002d2620})\n\tgithub.com/cortezaproject/corteza-server/pkg/corredor/healthcheck.go:22 +0x35\ngithub.com/cortezaproject/corteza-server/pkg/healthcheck.(*checks).Run(0xc00047aba0, {0x342b5d8, 0xc001374cf0})\n\tgithub.com/cortezaproject/corteza-server/pkg/healthcheck/check.go:68 +0x135\ngithub.com/cortezaproject/corteza-server/pkg/api/server.waitingRoutes.func2({0x3412430, 0xc0002d2620}, 0xc00519a500)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/handlers.go:47 +0x170\nnet/http.HandlerFunc.ServeHTTP(0x29589e0, {0x3412430, 0xc0002d2620}, 0xc007832e54)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2620}, 0xc00519a500)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:442 +0x216\nnet/http.HandlerFunc.ServeHTTP(0xc0003daf00, {0x3412430, 0xc0002d2620}, 0xc00519a500)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/cors.(*Cors).Handler.func1({0x3412430, 0xc0002d2620}, 0xc00519a500)\n\tgithub.com/go-chi/cors@v1.2.0/cors.go:228 +0x1bd\nnet/http.HandlerFunc.ServeHTTP(0x342b530, {0x3412430, 0xc0002d2620}, 0x4575f40)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2620}, 0xc00519a400)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:88 +0x442\ngithub.com/cortezaproject/corteza-server/pkg/api/server.(*demux).ServeHTTP(0x0, {0x3412430, 0xc0002d2620}, 0xc00519a400)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/demux.go:51 +0x11c\nnet/http.serverHandler.ServeHTTP({0xc001374c00}, {0x3412430, 0xc0002d2620}, 0xc00519a400)\n\tnet/http/server.go:2879 +0x43b\nnet/http.(*conn).serve(0xc00193e3c0, {0x342b5d8, 0xc0002784e0})\n\tnet/http/server.go:1930 +0xb08\ncreated by net/http.(*Server).Serve\n\tnet/http/server.go:3034 +0x4e8\n"}
server_1 | 2022/05/23 20:41:39 http: superfluous response.WriteHeader call from github.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery (middleware.go:46)
server_1 | 20:41:40.015 DEBUG crashed on http request {"error": "runtime error: invalid memory address or nil pointer dereference", "stack": "goroutine 523 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x65\ngithub.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery({0x342b530, 0xc005139b00}, {0x3412430, 0xc0002d2700})\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/middleware.go:44 +0x2ef\npanic({0x29774e0, 0x45764a0})\n\truntime/panic.go:1038 +0x215\ngoogle.golang.org/grpc.(*ClientConn).GetState(...)\n\tgoogle.golang.org/grpc@v1.45.0/clientconn.go:527\ngithub.com/cortezaproject/corteza-server/pkg/corredor.Healthcheck({0x457c060, 0xc0002d2700})\n\tgithub.com/cortezaproject/corteza-server/pkg/corredor/healthcheck.go:22 +0x35\ngithub.com/cortezaproject/corteza-server/pkg/healthcheck.(*checks).Run(0xc00047aba0, {0x342b5d8, 0xc001374f00})\n\tgithub.com/cortezaproject/corteza-server/pkg/healthcheck/check.go:68 +0x135\ngithub.com/cortezaproject/corteza-server/pkg/api/server.waitingRoutes.func2({0x3412430, 0xc0002d2700}, 0xc00519b100)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/handlers.go:47 +0x170\nnet/http.HandlerFunc.ServeHTTP(0x29589e0, {0x3412430, 0xc0002d2700}, 0xc007833184)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2700}, 0xc00519b100)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:442 +0x216\nnet/http.HandlerFunc.ServeHTTP(0xc0003daf00, {0x3412430, 0xc0002d2700}, 0xc00519b100)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/cors.(*Cors).Handler.func1({0x3412430, 0xc0002d2700}, 0xc00519b100)\n\tgithub.com/go-chi/cors@v1.2.0/cors.go:228 +0x1bd\nnet/http.HandlerFunc.ServeHTTP(0x342b530, {0x3412430, 0xc0002d2700}, 0x4575f40)\n\tnet/http/server.go:2047 +0x2f\ngithub.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004bdaa0, {0x3412430, 0xc0002d2700}, 0xc00519b000)\n\tgithub.com/go-chi/chi/v5@v5.0.7/mux.go:88 +0x442\ngithub.com/cortezaproject/corteza-server/pkg/api/server.(*demux).ServeHTTP(0x0, {0x3412430, 0xc0002d2700}, 0xc00519b000)\n\tgithub.com/cortezaproject/corteza-server/pkg/api/server/demux.go:51 +0x11c\nnet/http.serverHandler.ServeHTTP({0xc001374e40}, {0x3412430, 0xc0002d2700}, 0xc00519b000)\n\tnet/http/server.go:2879 +0x43b\nnet/http.(*conn).serve(0xc00193e460, {0x342b5d8, 0xc0002784e0})\n\tnet/http/server.go:1930 +0xb08\ncreated by net/http.(*Server).Serve\n\tnet/http/server.go:3034 +0x4e8\n"}
server_1 | 2022/05/23 20:41:40 http: superfluous response.WriteHeader call from github.com/cortezaproject/corteza-server/pkg/api/server.panicRecovery (middleware.go:46)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment