wild-workouts-go-ddd-example
wild-workouts-go-ddd-example copied to clipboard
Not able to run code with the Docker-Compose method
Hi all,
Update: it's working fine on a mac. The problem seems to be on Window's machines.
I've cloned the repo and followed the instructions in the README.md
for the Docker method using docker-compose up
(I've tried on windows 10, via powershell 5, and through Window's WSL2 via ubuntu 18.04) to start this application. The Docker method's web_1 service dies early (please see output below).
Perhaps there is a git clone
param I'm missing? (There's a suspcious error below | /start.sh: set: line 1: illegal option -
), and google seems to indicate it's a line-ending issue.
Here's the docker-compose
output:
[+] Running 10/10
- Network wild-workouts-go-ddd-example_default Created 0.8s
- Container wild-workouts-go-ddd-example_mysql_1 Created 4.1s
- Container wild-workouts-go-ddd-example_web_1 Created 0.2s
- Container wild-workouts-go-ddd-example_firestore_1 Created 4.1s
- Container wild-workouts-go-ddd-example_firestore-component-tests_1 Created 5.2s
- Container wild-workouts-go-ddd-example_users-http_1 Created 2.0s
- Container wild-workouts-go-ddd-example_trainer-http_1 Created 1.2s
- Container wild-workouts-go-ddd-example_trainings-http_1 Created 3.1s
- Container wild-workouts-go-ddd-example_trainer-grpc_1 Created 1.2s
- Container wild-workouts-go-ddd-example_users-grpc_1 Created 1.2s
Attaching to firestore-component-tests_1, firestore_1, mysql_1, trainer-grpc_1, trainer-http_1, trainings-http_1, users-grpc_1, users-http_1, web_1
web_1 | /start.sh: set: line 1: illegal option -
mysql_1 | 2021-12-30 21:55:19+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.27-1debian10 started.
mysql_1 | 2021-12-30 21:55:19+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1 | 2021-12-30 21:55:19+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.27-1debian10 started.
mysql_1 | 2021-12-30 21:55:20+00:00 [Note] [Entrypoint]: Initializing database files
mysql_1 | 2021-12-30T21:55:20.114353Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.27) initializing of server in progress as process 43
mysql_1 | 2021-12-30T21:55:20.138797Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
web_1 exited with code 2
mysql_1 | 2021-12-30T21:55:22.041116Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
firestore-component-tests_1 | ⚠ emulators: You are not currently authenticated so some features may not work correctly. Please run firebase login to authenticate the CLI.
firestore-component-tests_1 | i emulators: Starting emulators: firestore
firestore-component-tests_1 | ⚠ firestore: Did not find a Cloud Firestore rules file specified in a firebase.json config file.
firestore-component-tests_1 | ⚠ firestore: The emulator will default to allowing all reads and writes. Learn more about this option: https://firebase.google.com/docs/emulator-suite/install_and_configure#security_rules_configuration.
firestore-component-tests_1 | i firestore: Firestore Emulator logging to firestore-debug.log
firestore_1 | ⚠ emulators: You are not currently authenticated so some features may not work correctly. Please run firebase login to authenticate the CLI.
firestore_1 | i emulators: Starting emulators: firestore
firestore_1 | ⚠ firestore: Did not find a Cloud Firestore rules file specified in a firebase.json config file.
firestore_1 | ⚠ firestore: The emulator will default to allowing all reads and writes. Learn more about this option: https://firebase.google.com/docs/emulator-suite/install_and_configure#security_rules_configuration.
firestore_1 | i firestore: Firestore Emulator logging to firestore-debug.log
trainer-grpc_1 | [00] Starting service
trainer-grpc_1 | [00] go: downloading github.com/go-chi/chi/v5 v5.0.5
trainer-grpc_1 | [00] go: downloading google.golang.org/grpc v1.40.0
trainer-grpc_1 | [00] go: downloading github.com/sirupsen/logrus v1.5.0
trainer-grpc_1 | [00] go: downloading github.com/pkg/errors v0.9.1
trainer-grpc_1 | [00] go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2
trainings-http_1 | [00] Starting service
trainer-grpc_1 | [00] go: downloading firebase.google.com/go v3.12.0+incompatible
trainer-grpc_1 | [00] go: downloading github.com/go-chi/cors v1.0.1
trainer-grpc_1 | [00] go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
trainer-grpc_1 | [00] go: downloading google.golang.org/api v0.21.0
trainer-grpc_1 | [00] go: downloading github.com/golang/protobuf v1.5.2
trainings-http_1 | [00] go: downloading github.com/go-chi/chi/v5 v5.0.5
trainings-http_1 | [00] go: downloading firebase.google.com/go v3.12.0+incompatible
trainer-http_1 | [00] Starting service
trainings-http_1 | [00] go: downloading github.com/go-chi/cors v1.0.1
trainings-http_1 | [00] go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
users-http_1 | [00] Starting service
trainings-http_1 | [00] go: downloading github.com/sirupsen/logrus v1.5.0
firestore-component-tests_1 | i ui: Emulator UI logging to ui-debug.log
trainings-http_1 | [00] go: downloading google.golang.org/api v0.21.0
trainings-http_1 | [00] go: downloading google.golang.org/grpc v1.40.0
trainings-http_1 | [00] go: downloading cloud.google.com/go v0.38.0
users-grpc_1 | [00] Starting service
trainer-http_1 | [00] go: downloading github.com/go-chi/chi/v5 v5.0.5
trainer-http_1 | [00] go: downloading github.com/pkg/errors v0.9.1
trainer-http_1 | [00] go: downloading google.golang.org/grpc v1.40.0
trainer-http_1 | [00] go: downloading github.com/sirupsen/logrus v1.5.0
trainer-http_1 | [00] go: downloading cloud.google.com/go/firestore v1.2.0
trainings-http_1 | [00] go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2
trainer-http_1 | [00] go: downloading firebase.google.com/go v3.12.0+incompatible
firestore-component-tests_1 |
firestore-component-tests_1 | ┌─────────────────────────────────────────────────────────────────────┐
firestore-component-tests_1 | │ ✔ All emulators ready! View status and logs at http://0.0.0.0:4000 │
firestore-component-tests_1 | └─────────────────────────────────────────────────────────────────────┘
firestore-component-tests_1 |
firestore-component-tests_1 | ┌───────────┬──────────────┬───────────────────────────────┐
firestore-component-tests_1 | │ Emulator │ Host:Port │ View in Emulator UI │
firestore-component-tests_1 | ├───────────┼──────────────┼───────────────────────────────┤
firestore-component-tests_1 | │ Firestore │ 0.0.0.0:8787 │ http://0.0.0.0:4000/firestore │
firestore-component-tests_1 | └───────────┴──────────────┴───────────────────────────────┘
firestore-component-tests_1 | Other reserved ports: 4400, 4500
firestore-component-tests_1 |
firestore-component-tests_1 | Issues? Report them at https://github.com/firebase/firebase-tools/issues and attach the *-debug.log files.
firestore-component-tests_1 |
trainings-http_1 | [00] go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
users-http_1 | [00] go: downloading cloud.google.com/go/firestore v1.2.0
users-http_1 | [00] go: downloading firebase.google.com/go v3.12.0+incompatible
trainer-http_1 | [00] go: downloading github.com/go-chi/cors v1.0.1
trainer-http_1 | [00] go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
users-http_1 | [00] go: downloading github.com/go-chi/chi/v5 v5.0.5
users-http_1 | [00] go: downloading github.com/go-chi/render v1.0.1
users-http_1 | [00] go: downloading github.com/golang/protobuf v1.5.2
users-http_1 | [00] go: downloading github.com/pkg/errors v0.9.1
trainer-http_1 | [00] go: downloading google.golang.org/api v0.21.0
users-http_1 | [00] go: downloading github.com/sirupsen/logrus v1.5.0
trainings-http_1 | [00] go: downloading github.com/deepmap/oapi-codegen v1.9.0
users-http_1 | [00] go: downloading google.golang.org/api v0.21.0
users-grpc_1 | [00] go: downloading firebase.google.com/go v3.12.0+incompatible
users-grpc_1 | [00] go: downloading cloud.google.com/go/firestore v1.2.0
users-grpc_1 | [00] go: downloading github.com/go-chi/chi/v5 v5.0.5
users-http_1 | [00] go: downloading google.golang.org/grpc v1.40.0
users-grpc_1 | [00] go: downloading github.com/go-chi/render v1.0.1
users-grpc_1 | [00] go: downloading github.com/golang/protobuf v1.5.2
trainings-http_1 | [00] go: downloading github.com/go-chi/render v1.0.1
users-grpc_1 | [00] go: downloading github.com/pkg/errors v0.9.1
trainer-grpc_1 | [00] go: downloading google.golang.org/protobuf v1.27.1
users-grpc_1 | [00] go: downloading github.com/sirupsen/logrus v1.5.0
trainings-http_1 | [00] go: downloading github.com/google/uuid v1.1.2
firestore_1 | i ui: Emulator UI logging to ui-debug.log
trainer-grpc_1 | [00] go: downloading cloud.google.com/go/firestore v1.2.0
trainer-grpc_1 | [00] go: downloading github.com/deepmap/oapi-codegen v1.9.0
trainer-grpc_1 | [00] go: downloading github.com/go-chi/render v1.0.1
trainer-grpc_1 | [00] go: downloading cloud.google.com/go v0.55.0
users-http_1 | [00] go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
users-grpc_1 | [00] go: downloading google.golang.org/api v0.21.0
firestore_1 |
firestore_1 | ┌─────────────────────────────────────────────────────────────────────┐
firestore_1 | │ ✔ All emulators ready! View status and logs at http://0.0.0.0:4000 │
firestore_1 | └─────────────────────────────────────────────────────────────────────┘
firestore_1 |
firestore_1 | ┌───────────┬──────────────┬───────────────────────────────┐
firestore_1 | │ Emulator │ Host:Port │ View in Emulator UI │
firestore_1 | ├───────────┼──────────────┼───────────────────────────────┤
firestore_1 | │ Firestore │ 0.0.0.0:8787 │ http://0.0.0.0:4000/firestore │
firestore_1 | └───────────┴──────────────┴───────────────────────────────┘
users-grpc_1 | [00] go: downloading cloud.google.com/go v0.55.0
firestore_1 | Other reserved ports: 4400, 4500
firestore_1 |
firestore_1 | Issues? Report them at https://github.com/firebase/firebase-tools/issues and attach the *-debug.log files.
firestore_1 |
users-grpc_1 | [00] go: downloading google.golang.org/grpc v1.40.0
users-http_1 | [00] go: downloading github.com/go-chi/cors v1.0.1
trainings-http_1 | [00] go: downloading golang.org/x/sys v0.0.0-20211031064116-611d5d643895
users-http_1 | [00] go: downloading cloud.google.com/go v0.55.0
users-grpc_1 | [00] go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
trainer-http_1 | [00] go: downloading github.com/golang/protobuf v1.5.2
trainings-http_1 | [00] go: downloading github.com/golang/protobuf v1.5.2
trainer-http_1 | [00] go: downloading cloud.google.com/go v0.55.0
users-grpc_1 | [00] go: downloading github.com/go-chi/cors v1.0.1
trainer-http_1 | [00] go: downloading google.golang.org/protobuf v1.27.1
trainer-http_1 | [00] go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2
trainer-http_1 | [00] go: downloading github.com/deepmap/oapi-codegen v1.9.0
trainer-http_1 | [00] go: downloading github.com/go-chi/render v1.0.1
users-http_1 | [00] go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
trainer-grpc_1 | [00] go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
trainer-grpc_1 | [00] go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
trainer-grpc_1 | [00] go: downloading golang.org/x/sys v0.0.0-20211031064116-611d5d643895
trainings-http_1 | [00] go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
trainer-grpc_1 | [00] go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
users-grpc_1 | [00] go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
users-http_1 | [00] go: downloading google.golang.org/protobuf v1.27.1
users-http_1 | [00] go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2
users-grpc_1 | [00] go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2
trainer-grpc_1 | [00] go: downloading go.uber.org/multierr v1.1.0
trainer-http_1 | [00] go: downloading golang.org/x/sys v0.0.0-20211031064116-611d5d643895
trainer-grpc_1 | [00] go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
trainer-http_1 | [00] go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
users-http_1 | [00] go: downloading golang.org/x/sys v0.0.0-20211031064116-611d5d643895
users-http_1 | [00] go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
users-grpc_1 | [00] go: downloading google.golang.org/protobuf v1.27.1
trainings-http_1 | [00] go: downloading github.com/pkg/errors v0.9.1
trainings-http_1 | [00] go: downloading google.golang.org/protobuf v1.27.1
mysql_1 | 2021-12-30T21:55:33.948379Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
mysql_1 | 2021-12-30T21:55:33.948442Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
users-grpc_1 | [00] go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
users-grpc_1 | [00] go: downloading golang.org/x/sys v0.0.0-20211031064116-611d5d643895
trainer-grpc_1 | [00] go: downloading golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
mysql_1 | 2021-12-30T21:55:34.211173Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the
--initialize-insecure option.
trainer-grpc_1 | [00] go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
trainer-grpc_1 | [00] go: downloading github.com/go-sql-driver/mysql v1.4.0
trainings-http_1 | [00] go: downloading golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
trainings-http_1 | [00] go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
trainings-http_1 | [00] go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
trainer-http_1 | [00] go: downloading github.com/go-sql-driver/mysql v1.4.0
trainer-http_1 | [00] go: downloading github.com/jmoiron/sqlx v1.2.0
trainer-grpc_1 | [00] go: downloading github.com/jmoiron/sqlx v1.2.0
users-grpc_1 | [00] go: downloading github.com/googleapis/gax-go/v2 v2.0.5
users-grpc_1 | [00] go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
users-http_1 | [00] go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
users-http_1 | [00] go: downloading golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
trainer-http_1 | [00] go: downloading go.uber.org/multierr v1.1.0
users-http_1 | [00] go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
trainer-http_1 | [00] go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
users-http_1 | [00] go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
trainings-http_1 | [00] go: downloading github.com/googleapis/gax-go/v2 v2.0.5
users-grpc_1 | [00] go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
users-grpc_1 | [00] go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
users-grpc_1 | [00] go: downloading cloud.google.com/go/storage v1.6.0
trainings-http_1 | [00] go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
trainer-grpc_1 | [00] go: downloading github.com/mattn/go-colorable v0.1.8
users-http_1 | [00] go: downloading cloud.google.com/go/storage v1.6.0
trainer-grpc_1 | [00] go: downloading github.com/googleapis/gax-go/v2 v2.0.5
trainer-http_1 | [00] go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
trainer-grpc_1 | [00] go: downloading cloud.google.com/go/storage v1.6.0
trainer-http_1 | [00] go: downloading golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
trainer-http_1 | [00] go: downloading github.com/googleapis/gax-go/v2 v2.0.5
users-http_1 | [00] go: downloading github.com/googleapis/gax-go/v2 v2.0.5
trainer-grpc_1 | [00] go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
trainer-grpc_1 | [00] go: downloading go.uber.org/atomic v1.4.0
trainer-grpc_1 | [00] go: downloading github.com/mattn/go-isatty v0.0.14
users-grpc_1 | [00] go: downloading golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
trainer-http_1 | [00] go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
trainer-http_1 | [00] go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
trainings-http_1 | [00] go: downloading github.com/mattn/go-colorable v0.1.8
users-http_1 | [00] go: downloading github.com/mattn/go-colorable v0.1.8
trainer-http_1 | [00] go: downloading cloud.google.com/go/storage v1.6.0
trainer-http_1 | [00] go: downloading go.uber.org/atomic v1.4.0
trainings-http_1 | [00] go: downloading go.opencensus.io v0.22.3
trainings-http_1 | [00] go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
trainings-http_1 | [00] go: downloading github.com/mattn/go-isatty v0.0.14
trainings-http_1 | [00] go: downloading golang.org/x/text v0.3.7
users-http_1 | [00] go: downloading go.opencensus.io v0.22.3
users-http_1 | [00] go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
users-http_1 | [00] go: downloading github.com/mattn/go-isatty v0.0.14
users-grpc_1 | [00] go: downloading go.opencensus.io v0.22.3
users-grpc_1 | [00] go: downloading github.com/mattn/go-colorable v0.1.8
users-grpc_1 | [00] go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
users-http_1 | [00] go: downloading golang.org/x/text v0.3.7
users-grpc_1 | [00] go: downloading github.com/mattn/go-isatty v0.0.14
users-grpc_1 | [00] go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
users-grpc_1 | [00] go: downloading github.com/google/go-cmp v0.5.5
users-grpc_1 | [00] go: downloading golang.org/x/text v0.3.7
trainer-http_1 | [00] go: downloading go.opencensus.io v0.22.3
trainer-http_1 | [00] go: downloading github.com/mattn/go-colorable v0.1.8
trainer-http_1 | [00] go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
users-http_1 | [00] go: downloading github.com/google/go-cmp v0.5.5
users-http_1 | [00] go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
trainings-http_1 | [00] go: downloading github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6
trainings-http_1 | [00] go: downloading github.com/google/go-cmp v0.5.5
trainer-http_1 | [00] go: downloading github.com/mattn/go-isatty v0.0.14
trainer-http_1 | [00] go: downloading golang.org/x/text v0.3.7
trainer-grpc_1 | [00] go: downloading go.opencensus.io v0.22.3
trainer-grpc_1 | [00] go: downloading golang.org/x/text v0.3.7
mysql_1 | 2021-12-30 21:55:59+00:00 [Note] [Entrypoint]: Database files initialized
mysql_1 | 2021-12-30 21:55:59+00:00 [Note] [Entrypoint]: Starting temporary server
mysql_1 | 2021-12-30T21:56:00.212693Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.27) starting as process 92
mysql_1 | 2021-12-30T21:56:00.276397Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
trainer-http_1 | [00] go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
trainer-http_1 | [00] go: downloading github.com/google/go-cmp v0.5.5
trainer-grpc_1 | [00] go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
trainer-grpc_1 | [00] go: downloading github.com/google/go-cmp v0.5.5
mysql_1 | 2021-12-30T21:56:02.042656Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql_1 | 2021-12-30T21:56:03.746068Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
mysql_1 | 2021-12-30T21:56:03.746110Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
mysql_1 | 2021-12-30T21:56:03.747354Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql_1 | 2021-12-30T21:56:03.747410Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported
for this channel.
mysql_1 | 2021-12-30T21:56:03.944622Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1 | 2021-12-30T21:56:04.024520Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.27' socket: '/var/run/mysqld/mysqld.sock' port: 0 MySQL Community Server - GPL.
mysql_1 | 2021-12-30T21:56:04.025241Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
mysql_1 | 2021-12-30 21:56:04+00:00 [Note] [Entrypoint]: Temporary server started.
mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
mysql_1 | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
mysql_1 | 2021-12-30 21:56:18+00:00 [Note] [Entrypoint]: GENERATED ROOT PASSWORD: gaK8Iepahw8eicee8quip1vuoQu4vohd
mysql_1 | 2021-12-30 21:56:19+00:00 [Note] [Entrypoint]: Creating database db
mysql_1 | 2021-12-30 21:56:19+00:00 [Note] [Entrypoint]: Creating user user
mysql_1 | 2021-12-30 21:56:20+00:00 [Note] [Entrypoint]: Giving user user access to schema db
mysql_1 |
mysql_1 | 2021-12-30 21:56:20+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/schema.sql
mysql_1 |
mysql_1 |
mysql_1 | 2021-12-30 21:56:21+00:00 [Note] [Entrypoint]: Stopping temporary server
mysql_1 | 2021-12-30T21:56:21.787831Z 14 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.27).
mysql_1 | 2021-12-30T21:56:35.520565Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.27) MySQL Community Server - GPL.
mysql_1 | 2021-12-30 21:56:35+00:00 [Note] [Entrypoint]: Temporary server stopped
mysql_1 |
mysql_1 | 2021-12-30 21:56:35+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
mysql_1 |
mysql_1 | 2021-12-30T21:56:36.187154Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.27) starting as process 1
mysql_1 | 2021-12-30T21:56:36.224049Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql_1 | 2021-12-30T21:56:37.420449Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql_1 | 2021-12-30T21:56:38.583462Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
mysql_1 | 2021-12-30T21:56:38.583508Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
mysql_1 | 2021-12-30T21:56:38.584980Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql_1 | 2021-12-30T21:56:38.585050Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported
for this channel.
mysql_1 | 2021-12-30T21:56:38.640498Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1 | 2021-12-30T21:56:38.716164Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
mysql_1 | 2021-12-30T21:56:38.716365Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.27' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
users-http_1 | [00] [0000] INFO core: parsed scheme: "" system=system
users-http_1 | [00] [0000] INFO core: scheme "" not registered, fallback to default scheme system=system
users-http_1 | [00] [0000] INFO core: ccResolverWrapper: sending update to cc: {[{firestore:8787 <nil> 0 <nil>}] <nil> <nil>} system=system
users-http_1 | [00] [0000] INFO core: ClientConn switching balancer to "pick_first" system=system
users-http_1 | [00] [0000] INFO core: Channel switches to new LB policy "pick_first" system=system
users-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to CONNECTING system=system
users-http_1 | [00] [0000] INFO Starting HTTP server
users-http_1 | [00] [0000] DEBUG Waiting for users service
users-http_1 | [00] [0000] INFO core: Channel Connectivity change to CONNECTING system=system
users-http_1 | [00] [0000] INFO core: Subchannel picks a new address "firestore:8787" to connect system=system
users-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to READY system=system
users-http_1 | [00] [0000] INFO core: Channel Connectivity change to READY system=system
trainings-http_1 | [00] [0000] INFO core: parsed scheme: "" system=system
trainings-http_1 | [00] [0000] INFO core: scheme "" not registered, fallback to default scheme system=system
trainings-http_1 | [00] [0000] INFO core: ccResolverWrapper: sending update to cc: {[{trainer-grpc:3000 <nil> 0 <nil>}] <nil> <nil>} system=system
trainings-http_1 | [00] [0000] INFO core: ClientConn switching balancer to "pick_first" system=system
trainings-http_1 | [00] [0000] INFO core: Channel switches to new LB policy "pick_first" system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0000] INFO core: parsed scheme: "" system=system
trainings-http_1 | [00] [0000] INFO core: scheme "" not registered, fallback to default scheme system=system
trainings-http_1 | [00] [0000] INFO core: ccResolverWrapper: sending update to cc: {[{users-grpc:3000 <nil> 0 <nil>}] <nil> <nil>} system=system
trainings-http_1 | [00] [0000] INFO core: ClientConn switching balancer to "pick_first" system=system
trainings-http_1 | [00] [0000] INFO core: Channel switches to new LB policy "pick_first" system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0000] INFO core: parsed scheme: "" system=system
trainings-http_1 | [00] [0000] INFO core: scheme "" not registered, fallback to default scheme system=system
trainings-http_1 | [00] [0000] INFO core: ccResolverWrapper: sending update to cc: {[{firestore:8787 <nil> 0 <nil>}] <nil> <nil>} system=system
trainings-http_1 | [00] [0000] INFO core: ClientConn switching balancer to "pick_first" system=system
trainings-http_1 | [00] [0000] INFO core: Channel switches to new LB policy "pick_first" system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0000] INFO Starting HTTP server
trainings-http_1 | [00] [0000] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel picks a new address "firestore:8787" to connect system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel picks a new address "trainer-grpc:3000" to connect system=system
trainings-http_1 | [00] [0000] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel picks a new address "users-grpc:3000" to connect system=system
trainings-http_1 | [00] [0000] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0000] WARN core: grpc: addrConn.createTransport failed to connect to {trainer-grpc:3000 trainer-grpc:3000 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.4:3000: connect: connection refused". Reconnecting... system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0000] INFO core: Channel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0000] WARN core: grpc: addrConn.createTransport failed to connect to {users-grpc:3000 users-grpc:3000 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.9:3000: connect: connection refused". Reconnecting... system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0000] INFO core: Channel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to READY system=system
trainings-http_1 | [00] [0000] INFO core: Channel Connectivity change to READY system=system
trainings-http_1 | [00] [0001] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0001] INFO core: Subchannel picks a new address "trainer-grpc:3000" to connect system=system
trainings-http_1 | [00] [0001] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0001] WARN core: grpc: addrConn.createTransport failed to connect to {trainer-grpc:3000 trainer-grpc:3000 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.4:3000: connect: connection refused". Reconnecting... system=system
trainings-http_1 | [00] [0001] INFO core: Subchannel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0001] INFO core: Channel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0001] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0001] INFO core: Subchannel picks a new address "users-grpc:3000" to connect system=system
trainings-http_1 | [00] [0001] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0001] WARN core: grpc: addrConn.createTransport failed to connect to {users-grpc:3000 users-grpc:3000 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.9:3000: connect: connection refused". Reconnecting... system=system
trainings-http_1 | [00] [0001] INFO core: Subchannel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0001] INFO core: Channel Connectivity change to TRANSIENT_FAILURE system=system
users-grpc_1 | [00] [0000] INFO core: parsed scheme: "" system=system
users-grpc_1 | [00] [0000] INFO core: scheme "" not registered, fallback to default scheme system=system
users-grpc_1 | [00] [0000] INFO core: ccResolverWrapper: sending update to cc: {[{firestore:8787 <nil> 0 <nil>}] <nil> <nil>} system=system
users-grpc_1 | [00] [0000] INFO core: ClientConn switching balancer to "pick_first" system=system
users-grpc_1 | [00] [0000] INFO core: Channel switches to new LB policy "pick_first" system=system
users-grpc_1 | [00] [0000] INFO core: Subchannel Connectivity change to CONNECTING system=system
users-grpc_1 | [00] [0000] INFO Starting: gRPC Listener grpcEndpoint=:3000
users-grpc_1 | [00] [0000] INFO core: Subchannel picks a new address "firestore:8787" to connect system=system
users-grpc_1 | [00] [0000] INFO core: Channel Connectivity change to CONNECTING system=system
users-grpc_1 | [00] [0000] INFO core: Subchannel Connectivity change to READY system=system
users-grpc_1 | [00] [0000] INFO core: Channel Connectivity change to READY system=system
users-http_1 | [00] [0004] DEBUG Users service is available after=4.5285621s
users-http_1 | [00] [0004] INFO core: parsed scheme: "" system=system
users-http_1 | [00] [0004] INFO core: scheme "" not registered, fallback to default scheme system=system
users-http_1 | [00] [0004] INFO core: ccResolverWrapper: sending update to cc: {[{users-grpc:3000 <nil> 0 <nil>}] <nil> <nil>} system=system
users-http_1 | [00] [0004] INFO core: ClientConn switching balancer to "pick_first" system=system
users-http_1 | [00] [0004] INFO core: Channel switches to new LB policy "pick_first" system=system
users-http_1 | [00] [0004] INFO core: Subchannel Connectivity change to CONNECTING system=system
users-grpc_1 | [00] [0000] WARN core: grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: read tcp 172.18.0.9:3000->172.18.0.8:46410: read: connection reset by peer" system=system
users-http_1 | [00] [0004] INFO core: Subchannel picks a new address "users-grpc:3000" to connect system=system
users-http_1 | [00] [0004] INFO core: blockingPicker: the picked transport is not ready, loop back to repick system=system
users-http_1 | [00] [0004] INFO core: Channel Connectivity change to CONNECTING system=system
users-http_1 | [00] [0004] INFO core: Subchannel Connectivity change to READY system=system
users-http_1 | [00] [0004] INFO core: Channel Connectivity change to READY system=system
trainings-http_1 | [00] [0002] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0002] INFO core: Subchannel picks a new address "trainer-grpc:3000" to connect system=system
trainings-http_1 | [00] [0002] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0002] WARN core: grpc: addrConn.createTransport failed to connect to {trainer-grpc:3000 trainer-grpc:3000 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.4:3000: connect: connection refused". Reconnecting... system=system
trainings-http_1 | [00] [0002] INFO core: Subchannel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0002] INFO core: Channel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0002] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0002] INFO core: Subchannel picks a new address "users-grpc:3000" to connect system=system
trainings-http_1 | [00] [0002] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0002] INFO core: Subchannel Connectivity change to READY system=system
trainings-http_1 | [00] [0002] INFO core: Channel Connectivity change to READY system=system
users-grpc_1 | [00] [0001] INFO finished unary call with code OK grpc.code=OK grpc.method=GetTrainingBalance grpc.service=users.UsersService grpc.start_time=2021-12-30T21:56:57Z grpc.time_ms=1745.835 peer.address=172.18.0.8:46412 span.kind=server system=grpc
users-http_1 | [00] [0006] DEBUG Credits set to attendee attendee_uuid=2
users-http_1 | [00] [0006] INFO core: Channel Connectivity change to SHUTDOWN system=system
users-http_1 | [00] [0006] INFO core: Subchannel Connectivity change to SHUTDOWN system=system
users-http_1 | [00] [0006] DEBUG Users fixtures loaded after=6.6761767s
users-grpc_1 | [00] [0002] INFO finished unary call with code OK grpc.code=OK grpc.method=UpdateTrainingBalance grpc.service=users.UsersService grpc.start_time=2021-12-30T21:56:58Z grpc.time_ms=374.209 peer.address=172.18.0.8:46412 span.kind=server system=grpc
trainings-http_1 | [00] [0004] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0004] INFO core: Subchannel picks a new address "trainer-grpc:3000" to connect system=system
trainings-http_1 | [00] [0004] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0004] WARN core: grpc: addrConn.createTransport failed to connect to {trainer-grpc:3000 trainer-grpc:3000 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp 172.18.0.4:3000: connect: connection refused". Reconnecting... system=system
trainings-http_1 | [00] [0004] INFO core: Subchannel Connectivity change to TRANSIENT_FAILURE system=system
trainings-http_1 | [00] [0004] INFO core: Channel Connectivity change to TRANSIENT_FAILURE system=system
trainer-http_1 | [00] [0000] INFO core: parsed scheme: "" system=system
trainer-http_1 | [00] [0000] INFO core: scheme "" not registered, fallback to default scheme system=system
trainer-http_1 | [00] [0000] INFO core: ccResolverWrapper: sending update to cc: {[{firestore:8787 <nil> 0 <nil>}] <nil> <nil>} system=system
trainer-http_1 | [00] [0000] INFO core: ClientConn switching balancer to "pick_first" system=system
trainer-http_1 | [00] [0000] INFO core: Channel switches to new LB policy "pick_first" system=system
trainer-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainer-http_1 | [00] [0000] INFO Starting HTTP server
trainer-http_1 | [00] [0000] INFO core: Channel Connectivity change to CONNECTING system=system
trainer-http_1 | [00] [0000] INFO core: Subchannel picks a new address "firestore:8787" to connect system=system
trainer-http_1 | [00] [0000] DEBUG Waiting for trainer service
trainer-http_1 | [00] [0000] INFO core: Subchannel Connectivity change to READY system=system
trainer-http_1 | [00] [0000] INFO core: Channel Connectivity change to READY system=system
trainer-grpc_1 | [00] [0000] INFO core: parsed scheme: "" system=system
trainer-grpc_1 | [00] [0000] INFO core: scheme "" not registered, fallback to default scheme system=system
trainer-grpc_1 | [00] [0000] INFO core: ccResolverWrapper: sending update to cc: {[{firestore:8787 <nil> 0 <nil>}] <nil> <nil>} system=system
trainer-grpc_1 | [00] [0000] INFO core: ClientConn switching balancer to "pick_first" system=system
trainer-grpc_1 | [00] [0000] INFO core: Channel switches to new LB policy "pick_first" system=system
trainer-grpc_1 | [00] [0000] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainer-grpc_1 | [00] [0000] INFO core: Channel Connectivity change to CONNECTING system=system
trainer-grpc_1 | [00] [0000] INFO core: Subchannel picks a new address "firestore:8787" to connect system=system
trainer-grpc_1 | [00] [0000] INFO Starting: gRPC Listener grpcEndpoint=:3000
trainer-grpc_1 | [00] [0000] INFO core: Subchannel Connectivity change to READY system=system
trainer-grpc_1 | [00] [0000] INFO core: Channel Connectivity change to READY system=system
trainer-http_1 | [00] [0000] DEBUG Trainer service is available after=806.6604ms
trainer-grpc_1 | [00] [0000] WARN core: grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: read tcp 172.18.0.4:3000->172.18.0.7:46702: read: connection reset by peer" system=system
trainer-http_1 | [00] [0000] DEBUG AvailableHoursHandler executed duration=90.9724ms error=<nil>
trainer-http_1 | [00] [0002] DEBUG Trainer fixtures loaded after=2.532037s
trainings-http_1 | [00] [0008] INFO core: Subchannel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0008] INFO core: Subchannel picks a new address "trainer-grpc:3000" to connect system=system
trainings-http_1 | [00] [0008] INFO core: Channel Connectivity change to CONNECTING system=system
trainings-http_1 | [00] [0008] INFO core: Subchannel Connectivity change to READY system=system
trainings-http_1 | [00] [0008] INFO core: Channel Connectivity change to READY system=system
@paulterinho Have you found a solution to this problem?