forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.logs
189 lines (189 loc) · 27.7 KB
/
docker-compose.logs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
Network rinha-backend-nginx Creating
Network rinha-backend-nginx Created
Container cacambito-db-1 Creating
Container cacambito-db-1 Created
Container cacambito-api02-1 Creating
Container cacambito-api01-1 Creating
Container cacambito-api01-1 Created
Container cacambito-api02-1 Created
Container cacambito-nginx-1 Creating
Container cacambito-nginx-1 Created
Attaching to api01-1, api02-1, db-1, nginx-1
db-1 | The files belonging to this database system will be owned by user "postgres".
db-1 | This user must also own the server process.
db-1 |
db-1 | The database cluster will be initialized with locale "en_US.utf8".
db-1 | The default database encoding has accordingly been set to "UTF8".
db-1 | The default text search configuration will be set to "english".
db-1 |
db-1 | Data page checksums are disabled.
db-1 |
db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
db-1 | creating subdirectories ... ok
db-1 | selecting dynamic shared memory implementation ... posix
db-1 | selecting default max_connections ... 100
db-1 | selecting default shared_buffers ... 128MB
db-1 | selecting default time zone ... UTC
db-1 | creating configuration files ... ok
nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
db-1 | running bootstrap script ... ok
api02-1 |
api02-1 | > [email protected] start:prod
api02-1 | > node dist/src/main
api02-1 |
api01-1 |
api01-1 | > [email protected] start:prod
api01-1 | > node dist/src/main
api01-1 |
api02-1 | [32m[Nest] 19 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[NestFactory] [39m[32mStarting Nest application...[39m
api02-1 | [32m[Nest] 19 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigHostModule dependencies initialized[39m[38;5;3m +61ms[39m
api02-1 | [32m[Nest] 19 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mAppModule dependencies initialized[39m[38;5;3m +1ms[39m
api02-1 | [32m[Nest] 19 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigModule dependencies initialized[39m[38;5;3m +0ms[39m
api02-1 | [32m[Nest] 19 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[RoutesResolver] [39m[32mAppController {/}:[39m[38;5;3m +8ms[39m
db-1 | sh: locale: not found
db-1 | 2024-02-19 02:29:22.532 UTC [30] WARNING: no usable system locales were found
api02-1 | [32m[Nest] 19 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[RouterExplorer] [39m[32mMapped {/clientes/:id/transacoes, POST} route[39m[38;5;3m +3ms[39m
api02-1 | [32m[Nest] 19 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[RouterExplorer] [39m[32mMapped {/clientes/:id/extrato, GET} route[39m[38;5;3m +0ms[39m
api01-1 | [32m[Nest] 18 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[NestFactory] [39m[32mStarting Nest application...[39m
api01-1 | [32m[Nest] 18 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigHostModule dependencies initialized[39m[38;5;3m +13ms[39m
api01-1 | [32m[Nest] 18 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mAppModule dependencies initialized[39m[38;5;3m +1ms[39m
api01-1 | [32m[Nest] 18 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigModule dependencies initialized[39m[38;5;3m +0ms[39m
api01-1 | [32m[Nest] 18 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[RoutesResolver] [39m[32mAppController {/}:[39m[38;5;3m +8ms[39m
api01-1 | [32m[Nest] 18 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[RouterExplorer] [39m[32mMapped {/clientes/:id/transacoes, POST} route[39m[38;5;3m +2ms[39m
api01-1 | [32m[Nest] 18 - [39m02/19/2024, 2:29:22 AM [32m LOG[39m [38;5;3m[RouterExplorer] [39m[32mMapped {/clientes/:id/extrato, GET} route[39m[38;5;3m +0ms[39m
api02-1 | /usr/src/api/node_modules/@prisma/client/runtime/library.js:116
api02-1 | You may have to run ${pt("prisma generate")} for your changes to take effect.`,this.config.clientVersion);return t}}parseEngineResponse(t){if(!t)throw new W("Response from the Engine was empty",{clientVersion:this.config.clientVersion});try{return JSON.parse(t)}catch{throw new W("Unable to JSON.parse response from engine",{clientVersion:this.config.clientVersion})}}async loadEngine(){if(!this.engine){this.QueryEngineConstructor||(this.library=await this.libraryLoader.loadLibrary(this.config),this.QueryEngineConstructor=this.library.QueryEngine);try{let t=new WeakRef(this),{adapter:r}=this.config;r&&qe("Using driver adapter: %O",r),this.engine=new this.QueryEngineConstructor({datamodel:this.datamodel,env:process.env,logQueries:this.config.logQueries??!1,ignoreEnvVarErrors:!0,datasourceOverrides:this.datasourceOverrides??{},logLevel:this.logLevel,configDir:this.config.cwd,engineProtocol:"json"},n=>{t.deref()?.logger(n)},r),Ml++}catch(t){let r=t,n=this.parseInitError(r.message);throw typeof n=="string"?r:new O(n.message,this.config.clientVersion,n.error_code)}}}logger(t){let r=this.parseEngineResponse(t);if(r){if("span"in r){this.config.tracingHelper.createEngineSpan(r);return}r.level=r?.level.toLowerCase()??"unknown",Gf(r)?this.logEmitter.emit("query",{timestamp:new Date,query:r.query,params:r.params,duration:Number(r.duration_ms),target:r.module_path}):Jf(r)?this.loggerRustPanic=new be(this.getErrorMessageWithLink(`${r.message}: ${r.reason} in ${r.file}:${r.line}:${r.column}`),this.config.clientVersion):this.logEmitter.emit(r.level,{timestamp:new Date,message:r.message,target:r.module_path})}}getErrorMessageWithLink(t){return gl({binaryTarget:this.binaryTarget,title:t,version:this.config.clientVersion,engineVersion:this.versionInfo?.commit,database:this.config.activeProvider,query:this.lastQuery})}parseInitError(t){try{return JSON.parse(t)}catch{}return t}parseRequestError(t){try{return JSON.parse(t)}catch{}return t}onBeforeExit(){throw new Error('"beforeExit" hook is not applicable to the library engine since Prisma 5.0.0, it is only relevant and implemented for the binary engine. Please add your event listener to the `process` object directly instead.')}async start(){if(await this.libraryInstantiationPromise,await this.libraryStoppingPromise,this.libraryStartingPromise)return qe(`library already starting, this.libraryStarted: ${this.libraryStarted}`),this.libraryStartingPromise;if(this.libraryStarted)return;let t=async()=>{qe("library starting");try{let r={traceparent:this.config.tracingHelper.getTraceParent()};await this.engine?.connect(JSON.stringify(r)),this.libraryStarted=!0,qe("library started")}catch(r){let n=this.parseInitError(r.message);throw typeof n=="string"?r:new O(n.message,this.config.clientVersion,n.error_code)}finally{this.libraryStartingPromise=void 0}};return this.libraryStartingPromise=this.config.tracingHelper.runInChildSpan("connect",t),this.libraryStartingPromise}async stop(){if(await this.libraryStartingPromise,await this.executingQueryPromise,this.libraryStoppingPromise)return qe("library is already stopping"),this.libraryStoppingPromise;if(!this.libraryStarted)return;let t=async()=>{await new Promise(n=>setTimeout(n,5)),qe("library stopping");let r={traceparent:this.config.tracingHelper.getTraceParent()};await this.engine?.disconnect(JSON.stringify(r)),this.libraryStarted=!1,this.libraryStoppingPromise=void 0,qe("library stopped")};return this.libraryStoppingPromise=this.config.tracingHelper.runInChildSpan("disconnect",t),this.libraryStoppingPromise}version(){return this.versionInfo=this.library?.version(),this.versionInfo?.version??"unknown"}debugPanic(t){return this.library?.debugPanic(t)}async request(t,{traceparent:r,interactiveTransaction:n}){qe(`sending request, this.libraryStarted: ${this.libraryStarted}`);let i=JSON.stringify({traceparent:r}),o=JSON.stringify(t);try{await this.start(),this.executingQueryPromise=this.engine?.query(o,i,n?.id),this.lastQuery=o;let s=this.parseEngineResponse(await this.executingQueryPromise);if(s.errors)throw s.errors.length===1?this.buildQueryError(s.errors[0]):new W(JSON.stringify(s.errors),{clientVersion:this.config.clientVersion});if(this.loggerRustPanic)throw this.loggerRustPanic;return{data:s,elapsed:0}}catch(s){if(s instanceof O)throw s;if(s.code==="GenericFailure"&&s.message?.startsWith("PANIC:"))throw new be(this.getErrorMessageWithLink(s.message),this.config.clientVersion);let a=this.parseRequestError(s.message);throw typeof a=="string"?s:new W(`${a.message}
api02-1 |
api02-1 |
api02-1 | PrismaClientInitializationError: Can't reach database server at `db`:`5432`
api02-1 |
api02-1 | Please make sure your database server is running at `db`:`5432`.
api02-1 | at t (/usr/src/api/node_modules/@prisma/client/runtime/library.js:116:2723)
api02-1 | at async Proxy.onModuleInit (/usr/src/api/dist/src/prisma.service.js:14:9)
api02-1 | at async Promise.all (index 0)
api02-1 | at async callModuleInitHook (/usr/src/api/node_modules/@nestjs/core/hooks/on-module-init.hook.js:43:5)
api02-1 | at async NestApplication.callInitHook (/usr/src/api/node_modules/@nestjs/core/nest-application-context.js:223:13)
api02-1 | at async NestApplication.init (/usr/src/api/node_modules/@nestjs/core/nest-application.js:100:9)
api02-1 | at async NestApplication.listen (/usr/src/api/node_modules/@nestjs/core/nest-application.js:169:33)
api02-1 | at async bootstrap (/usr/src/api/dist/src/main.js:7:5) {
api02-1 | clientVersion: '5.9.1',
api02-1 | errorCode: 'P1001'
api02-1 | }
api02-1 |
api02-1 | Node.js v18.19.0
api02-1 | npm notice
api02-1 | npm notice New minor version of npm available! 10.2.3 -> 10.4.0
api02-1 | npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
api02-1 | npm notice Run `npm install -g [email protected]` to update!
api02-1 | npm notice
api01-1 | /usr/src/api/node_modules/@prisma/client/runtime/library.js:116
api01-1 | You may have to run ${pt("prisma generate")} for your changes to take effect.`,this.config.clientVersion);return t}}parseEngineResponse(t){if(!t)throw new W("Response from the Engine was empty",{clientVersion:this.config.clientVersion});try{return JSON.parse(t)}catch{throw new W("Unable to JSON.parse response from engine",{clientVersion:this.config.clientVersion})}}async loadEngine(){if(!this.engine){this.QueryEngineConstructor||(this.library=await this.libraryLoader.loadLibrary(this.config),this.QueryEngineConstructor=this.library.QueryEngine);try{let t=new WeakRef(this),{adapter:r}=this.config;r&&qe("Using driver adapter: %O",r),this.engine=new this.QueryEngineConstructor({datamodel:this.datamodel,env:process.env,logQueries:this.config.logQueries??!1,ignoreEnvVarErrors:!0,datasourceOverrides:this.datasourceOverrides??{},logLevel:this.logLevel,configDir:this.config.cwd,engineProtocol:"json"},n=>{t.deref()?.logger(n)},r),Ml++}catch(t){let r=t,n=this.parseInitError(r.message);throw typeof n=="string"?r:new O(n.message,this.config.clientVersion,n.error_code)}}}logger(t){let r=this.parseEngineResponse(t);if(r){if("span"in r){this.config.tracingHelper.createEngineSpan(r);return}r.level=r?.level.toLowerCase()??"unknown",Gf(r)?this.logEmitter.emit("query",{timestamp:new Date,query:r.query,params:r.params,duration:Number(r.duration_ms),target:r.module_path}):Jf(r)?this.loggerRustPanic=new be(this.getErrorMessageWithLink(`${r.message}: ${r.reason} in ${r.file}:${r.line}:${r.column}`),this.config.clientVersion):this.logEmitter.emit(r.level,{timestamp:new Date,message:r.message,target:r.module_path})}}getErrorMessageWithLink(t){return gl({binaryTarget:this.binaryTarget,title:t,version:this.config.clientVersion,engineVersion:this.versionInfo?.commit,database:this.config.activeProvider,query:this.lastQuery})}parseInitError(t){try{return JSON.parse(t)}catch{}return t}parseRequestError(t){try{return JSON.parse(t)}catch{}return t}onBeforeExit(){throw new Error('"beforeExit" hook is not applicable to the library engine since Prisma 5.0.0, it is only relevant and implemented for the binary engine. Please add your event listener to the `process` object directly instead.')}async start(){if(await this.libraryInstantiationPromise,await this.libraryStoppingPromise,this.libraryStartingPromise)return qe(`library already starting, this.libraryStarted: ${this.libraryStarted}`),this.libraryStartingPromise;if(this.libraryStarted)return;let t=async()=>{qe("library starting");try{let r={traceparent:this.config.tracingHelper.getTraceParent()};await this.engine?.connect(JSON.stringify(r)),this.libraryStarted=!0,qe("library started")}catch(r){let n=this.parseInitError(r.message);throw typeof n=="string"?r:new O(n.message,this.config.clientVersion,n.error_code)}finally{this.libraryStartingPromise=void 0}};return this.libraryStartingPromise=this.config.tracingHelper.runInChildSpan("connect",t),this.libraryStartingPromise}async stop(){if(await this.libraryStartingPromise,await this.executingQueryPromise,this.libraryStoppingPromise)return qe("library is already stopping"),this.libraryStoppingPromise;if(!this.libraryStarted)return;let t=async()=>{await new Promise(n=>setTimeout(n,5)),qe("library stopping");let r={traceparent:this.config.tracingHelper.getTraceParent()};await this.engine?.disconnect(JSON.stringify(r)),this.libraryStarted=!1,this.libraryStoppingPromise=void 0,qe("library stopped")};return this.libraryStoppingPromise=this.config.tracingHelper.runInChildSpan("disconnect",t),this.libraryStoppingPromise}version(){return this.versionInfo=this.library?.version(),this.versionInfo?.version??"unknown"}debugPanic(t){return this.library?.debugPanic(t)}async request(t,{traceparent:r,interactiveTransaction:n}){qe(`sending request, this.libraryStarted: ${this.libraryStarted}`);let i=JSON.stringify({traceparent:r}),o=JSON.stringify(t);try{await this.start(),this.executingQueryPromise=this.engine?.query(o,i,n?.id),this.lastQuery=o;let s=this.parseEngineResponse(await this.executingQueryPromise);if(s.errors)throw s.errors.length===1?this.buildQueryError(s.errors[0]):new W(JSON.stringify(s.errors),{clientVersion:this.config.clientVersion});if(this.loggerRustPanic)throw this.loggerRustPanic;return{data:s,elapsed:0}}catch(s){if(s instanceof O)throw s;if(s.code==="GenericFailure"&&s.message?.startsWith("PANIC:"))throw new be(this.getErrorMessageWithLink(s.message),this.config.clientVersion);let a=this.parseRequestError(s.message);throw typeof a=="string"?s:new W(`${a.message}
api01-1 |
api01-1 |
api01-1 | PrismaClientInitializationError: Can't reach database server at `db`:`5432`
api01-1 |
api01-1 | Please make sure your database server is running at `db`:`5432`.
api01-1 | at t (/usr/src/api/node_modules/@prisma/client/runtime/library.js:116:2723)
api01-1 | at async Proxy.onModuleInit (/usr/src/api/dist/src/prisma.service.js:14:9)
api01-1 | at async Promise.all (index 0)
api01-1 | at async callModuleInitHook (/usr/src/api/node_modules/@nestjs/core/hooks/on-module-init.hook.js:43:5)
api01-1 | at async NestApplication.callInitHook (/usr/src/api/node_modules/@nestjs/core/nest-application-context.js:223:13)
api01-1 | at async NestApplication.init (/usr/src/api/node_modules/@nestjs/core/nest-application.js:100:9)
api01-1 | at async NestApplication.listen (/usr/src/api/node_modules/@nestjs/core/nest-application.js:169:33)
api01-1 | at async bootstrap (/usr/src/api/dist/src/main.js:7:5) {
api01-1 | clientVersion: '5.9.1',
api01-1 | errorCode: 'P1001'
api01-1 | }
api01-1 |
api01-1 | Node.js v18.19.0
api01-1 | npm notice
api01-1 | npm notice New minor version of npm available! 10.2.3 -> 10.4.0
api01-1 | npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
api01-1 | npm notice Run `npm install -g [email protected]` to update!
api01-1 | npm notice
api02-1 exited with code 1
api01-1 exited with code 1
db-1 | performing post-bootstrap initialization ... ok
db-1 | initdb: warning: enabling "trust" authentication for local connections
db-1 | You can change this by editing pg_hba.conf or using the option -A, or
db-1 | --auth-local and --auth-host, the next time you run initdb.
db-1 | syncing data to disk ... ok
db-1 |
db-1 |
db-1 | Success. You can now start the database server using:
db-1 |
db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
db-1 |
db-1 | waiting for server to start....2024-02-19 02:29:25.125 UTC [36] LOG: starting PostgreSQL 14.11 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
db-1 | 2024-02-19 02:29:25.130 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-02-19 02:29:25.139 UTC [37] LOG: database system was shut down at 2024-02-19 02:29:24 UTC
db-1 | 2024-02-19 02:29:25.146 UTC [36] LOG: database system is ready to accept connections
db-1 | done
db-1 | server started
db-1 | CREATE DATABASE
db-1 |
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
db-1 | CREATE TABLE
db-1 | CREATE TABLE
db-1 | ALTER TABLE
db-1 | INSERT 0 5
db-1 |
db-1 |
db-1 | waiting for server to shut down....2024-02-19 02:29:25.737 UTC [36] LOG: received fast shutdown request
db-1 | 2024-02-19 02:29:25.741 UTC [36] LOG: aborting any active transactions
db-1 | 2024-02-19 02:29:25.743 UTC [36] LOG: background worker "logical replication launcher" (PID 43) exited with exit code 1
db-1 | 2024-02-19 02:29:25.749 UTC [38] LOG: shutting down
db-1 | 2024-02-19 02:29:25.854 UTC [36] LOG: database system is shut down
db-1 | done
db-1 | server stopped
db-1 |
db-1 | PostgreSQL init process complete; ready for start up.
db-1 |
db-1 | 2024-02-19 02:29:25.960 UTC [1] LOG: starting PostgreSQL 14.11 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
db-1 | 2024-02-19 02:29:25.960 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db-1 | 2024-02-19 02:29:25.960 UTC [1] LOG: listening on IPv6 address "::", port 5432
db-1 | 2024-02-19 02:29:25.965 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-02-19 02:29:25.971 UTC [53] LOG: database system was shut down at 2024-02-19 02:29:25 UTC
db-1 | 2024-02-19 02:29:25.977 UTC [1] LOG: database system is ready to accept connections
nginx-1 | 2024/02/19 02:29:26 [error] 29#29: *1 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.4:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:29 [error] 29#29: *1 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.3:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:31 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:33 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:35 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:41 [error] 29#29: *7 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.4:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:44 [error] 29#29: *7 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.3:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:46 [error] 29#29: *10 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:48 [error] 29#29: *11 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:50 [error] 29#29: *12 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:55 [error] 29#29: *13 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.4:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:29:58 [error] 29#29: *13 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.3:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:00 [error] 29#29: *16 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:02 [error] 29#29: *17 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:04 [error] 29#29: *18 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:09 [error] 29#29: *19 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.4:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:12 [error] 29#29: *19 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.3:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:14 [error] 29#29: *22 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:16 [error] 29#29: *23 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:18 [error] 29#29: *24 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:23 [error] 29#29: *25 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.4:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:26 [error] 29#29: *25 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.240.3:3000/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:28 [error] 29#29: *28 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:30 [error] 29#29: *29 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 | 2024/02/19 02:30:32 [error] 29#29: *30 no live upstreams while connecting to upstream, client: 192.168.240.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999"
nginx-1 exited with code 0
nginx-1 exited with code 0
db-1 | 2024-02-19 02:30:35.459 UTC [1] LOG: received fast shutdown request
db-1 | 2024-02-19 02:30:35.464 UTC [1] LOG: aborting any active transactions
db-1 | 2024-02-19 02:30:35.466 UTC [1] LOG: background worker "logical replication launcher" (PID 59) exited with exit code 1
db-1 | 2024-02-19 02:30:35.466 UTC [54] LOG: shutting down
db-1 | 2024-02-19 02:30:35.515 UTC [1] LOG: database system is shut down
db-1 exited with code 0