{"level":"info","ts":"2023-12-20T14:16:59.721Z","caller":"gateway/main.go:174","msg":"starting stellar-gateway","version":"586034e9be1ec0645341b30c8ed2e4645e7b34f5"} {"level":"info","ts":"2023-12-20T14:16:59.721Z","caller":"gateway/main.go:176","msg":"parsed launch configuration","config":"","watch-config":false,"daemon":true} {"level":"info","ts":"2023-12-20T14:16:59.721Z","caller":"gateway/main.go:205","msg":"parsed gateway configuration","logLevelStr":"info","cbHost":"127.0.0.1","cbUser":"Administrator","bindAddress":"0.0.0.0","dataPort":18098,"sdPort":18099,"webPort":9091,"selfSign":false,"certPath":"/var/run/secrets/couchbase.com/couchbase-cng-tls/tls.crt","keyPath":"/var/run/secrets/couchbase.com/couchbase-cng-tls/tls.key","cacertPath":"","otlpEndpoint":"","debug":false,"cpuprofile":""} {"level":"warn","ts":"2023-12-20T14:16:59.721Z","caller":"gateway/main.go:106","msg":"failed to setup some part of opentelemetry resource","error":"1 errors occurred detecting resource:\n\t* user: Current requires cgo or $USER set in environment"} {"level":"info","ts":"2023-12-20T14:16:59.721Z","logger":"gateway","caller":"gateway/gateway.go:168","msg":"linking to couchbase cluster","connectionString":"127.0.0.1","User":"Administrator"} {"level":"info","ts":"2023-12-20T14:16:59.721Z","logger":"gateway","caller":"gateway/gateway.go:176","msg":"identified couchbase server address","address":"127.0.0.1:8091"} {"level":"info","ts":"2023-12-20T14:16:59.721Z","logger":"gateway","caller":"gateway/gateway.go:179","msg":"waiting for couchbase server to become available","address":"127.0.0.1:8091"} {"level":"warn","ts":"2023-12-20T14:16:59.722Z","logger":"gateway","caller":"gateway/gateway.go:185","msg":"failed to ping cluster","error":"failed to execute ping operation: Get \"http://127.0.0.1:8091/pools\": dial tcp 127.0.0.1:8091: connect: connection refused","errorVerbose":"Get \"http://127.0.0.1:8091/pools\": dial tcp 127.0.0.1:8091: connect: connection refused\nfailed to execute ping operation\ngithub.com/couchbase/stellar-gateway/gateway.pingCouchbaseCluster\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:133\ngithub.com/couchbase/stellar-gateway/gateway.(*Gateway).Run\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:183\nmain.startGateway\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:376\nmain.glob..func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:46\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:386\nruntime.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszgGyA/go1.21.3/src/runtime/proc.go:267\nruntime.goexit\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszgGyA/go1.21.3/src/runtime/asm_amd64.s:1650"} {"level":"info","ts":"2023-12-20T14:16:59.722Z","logger":"gateway","caller":"gateway/gateway.go:194","msg":"sleeping before trying to ping cluster again","period":5} {"level":"warn","ts":"2023-12-20T14:17:04.726Z","logger":"gateway","caller":"gateway/gateway.go:185","msg":"failed to ping cluster","error":"failed to execute ping operation: Get \"http://127.0.0.1:8091/pools\": dial tcp 127.0.0.1:8091: connect: connection refused","errorVerbose":"Get \"http://127.0.0.1:8091/pools\": dial tcp 127.0.0.1:8091: connect: connection refused\nfailed to execute ping operation\ngithub.com/couchbase/stellar-gateway/gateway.pingCouchbaseCluster\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:133\ngithub.com/couchbase/stellar-gateway/gateway.(*Gateway).Run\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:183\nmain.startGateway\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:376\nmain.glob..func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:46\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:386\nruntime.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszgGyA/go1.21.3/src/runtime/proc.go:267\nruntime.goexit\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszgGyA/go1.21.3/src/runtime/asm_amd64.s:1650"} {"level":"info","ts":"2023-12-20T14:17:04.726Z","logger":"gateway","caller":"gateway/gateway.go:194","msg":"sleeping before trying to ping cluster again","period":5} {"level":"warn","ts":"2023-12-20T14:17:09.731Z","logger":"gateway","caller":"gateway/gateway.go:185","msg":"failed to ping cluster","error":"failed to decode response: json: cannot unmarshal array into Go struct field .uuid of type string","errorVerbose":"json: cannot unmarshal array into Go struct field .uuid of type string\nfailed to decode response\ngithub.com/couchbase/stellar-gateway/gateway.pingCouchbaseCluster\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:146\ngithub.com/couchbase/stellar-gateway/gateway.(*Gateway).Run\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:183\nmain.startGateway\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:376\nmain.glob..func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:46\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:386\nruntime.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszgGyA/go1.21.3/src/runtime/proc.go:267\nruntime.goexit\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszgGyA/go1.21.3/src/runtime/asm_amd64.s:1650"} {"level":"info","ts":"2023-12-20T14:17:09.731Z","logger":"gateway","caller":"gateway/gateway.go:194","msg":"sleeping before trying to ping cluster again","period":5} {"level":"warn","ts":"2023-12-20T14:17:14.735Z","logger":"gateway","caller":"gateway/gateway.go:185","msg":"failed to ping cluster","error":"failed to decode response: json: cannot unmarshal array into Go struct field .uuid of type string","errorVerbose":"json: cannot unmarshal array into Go struct field .uuid of type string\nfailed to decode response\ngithub.com/couchbase/stellar-gateway/gateway.pingCouchbaseCluster\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:146\ngithub.com/couchbase/stellar-gateway/gateway.(*Gateway).Run\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/gateway/gateway.go:183\nmain.startGateway\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:376\nmain.glob..func1\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:46\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:987\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/couchbase/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/couchbase-cloud-native-gateway/cmd/gateway/main.go:386\nruntime.main\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszgGyA/go1.21.3/src/runtime/proc.go:267\nruntime.goexit\n\t/home/couchbase/jenkins/workspace/couchbase-k8s-microservice-build/toolszgGyA/go1.21.3/src/runtime/asm_amd64.s:1650"} {"level":"info","ts":"2023-12-20T14:17:14.735Z","logger":"gateway","caller":"gateway/gateway.go:194","msg":"sleeping before trying to ping cluster again","period":5} {"level":"info","ts":"2023-12-20T14:17:19.745Z","logger":"gateway","caller":"gateway/gateway.go:246","msg":"connected agent manager","agent":{}} {"level":"info","ts":"2023-12-20T14:17:19.745Z","logger":"gateway","caller":"gateway/gateway.go:249","msg":"connected to couchbase cluster"} {"level":"info","ts":"2023-12-20T14:17:19.745Z","logger":"gateway","caller":"gateway/gateway.go:330","msg":"initializing protostellar system"} {"level":"info","ts":"2023-12-20T14:17:19.745Z","logger":"gateway","caller":"gateway/gateway.go:417","msg":"starting to run protostellar system"} {"level":"info","ts":"2023-12-20T14:21:08.374Z","caller":"gateway/main.go:370","msg":"Received SIGTERM, attempting graceful shutdown..."} {"level":"info","ts":"2023-12-20T14:21:08.374Z","caller":"gateway/main.go:382","msg":"gateway shutdown gracefully"}