forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
334 lines (334 loc) · 37.8 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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
Network rinha-nginx-2024q1 Creating
Network rinha-nginx-2024q1 Created
Container carlsonsantana-springboot-db-1 Creating
Container carlsonsantana-springboot-db-1 Created
Container carlsonsantana-springboot-api01-1 Creating
Container carlsonsantana-springboot-api02-1 Creating
Container carlsonsantana-springboot-api01-1 Created
Container carlsonsantana-springboot-api02-1 Created
Container carlsonsantana-springboot-nginx-1 Creating
Container carlsonsantana-springboot-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
api01-1 |
db-1 | selecting default time zone ... UTC
db-1 | creating configuration files ... ok
api01-1 | . ____ _ __ _ _
api01-1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
api01-1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
api01-1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
api01-1 | ' |____| .__|_| |_|_| |_\__, | / / / /
api01-1 | =========|_|==============|___/=/_/_/_/
api01-1 | :: Spring Boot :: (v3.2.2)
api01-1 |
api01-1 | 2024-02-25T22:49:56.534Z INFO 1 --- [ main] i.g.r.springboot.SpringbootApplication : Starting AOT-processed SpringbootApplication using Java 21.0.2 with PID 1 (/workspace/io.github.rinhabackend2.springboot.SpringbootApplication started by cnb in /workspace)
api01-1 | 2024-02-25T22:49:56.534Z INFO 1 --- [ main] i.g.r.springboot.SpringbootApplication : No active profile set, falling back to 1 default profile: "default"
api02-1 |
api02-1 | . ____ _ __ _ _
api02-1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
api02-1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
api02-1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
api02-1 | ' |____| .__|_| |_|_| |_\__, | / / / /
api02-1 | =========|_|==============|___/=/_/_/_/
api02-1 | :: Spring Boot :: (v3.2.2)
api02-1 |
api02-1 | 2024-02-25T22:49:56.547Z INFO 1 --- [ main] i.g.r.springboot.SpringbootApplication : Starting AOT-processed SpringbootApplication using Java 21.0.2 with PID 1 (/workspace/io.github.rinhabackend2.springboot.SpringbootApplication started by cnb in /workspace)
api02-1 | 2024-02-25T22:49:56.547Z INFO 1 --- [ main] i.g.r.springboot.SpringbootApplication : No active profile set, falling back to 1 default profile: "default"
api01-1 | 2024-02-25T22:49:56.554Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8081 (http)
api01-1 | 2024-02-25T22:49:56.555Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api01-1 | 2024-02-25T22:49:56.555Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18]
api02-1 | 2024-02-25T22:49:56.563Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8082 (http)
api02-1 | 2024-02-25T22:49:56.564Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api02-1 | 2024-02-25T22:49:56.564Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18]
api01-1 | 2024-02-25T22:49:56.565Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api01-1 | 2024-02-25T22:49:56.565Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 31 ms
api02-1 | 2024-02-25T22:49:56.573Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api02-1 | 2024-02-25T22:49:56.573Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 25 ms
api02-1 | 2024-02-25T22:49:56.691Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8082 (http) with context path ''
api02-1 | 2024-02-25T22:49:56.692Z INFO 1 --- [ main] i.g.r.springboot.SpringbootApplication : Started SpringbootApplication in 0.179 seconds (process running for 0.183)
api01-1 | 2024-02-25T22:49:56.726Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8081 (http) with context path ''
api01-1 | 2024-02-25T22:49:56.726Z INFO 1 --- [ main] i.g.r.springboot.SpringbootApplication : Started SpringbootApplication in 0.212 seconds (process running for 0.216)
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
db-1 | sh: locale: not found
db-1 | 2024-02-25 22:49:57.719 UTC [30] WARNING: no usable system locales were found
db-1 | performing post-bootstrap initialization ... ok
db-1 | initdb: warning: enabling "trust" authentication for local connections
db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --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-25 22:49:59.630 UTC [36] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
db-1 | 2024-02-25 22:49:59.633 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-02-25 22:49:59.642 UTC [39] LOG: database system was shut down at 2024-02-25 22:49:59 UTC
db-1 | 2024-02-25 22:49:59.648 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 | CREATE INDEX
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 |
db-1 |
db-1 | waiting for server to shut down....2024-02-25 22:49:59.936 UTC [36] LOG: received fast shutdown request
db-1 | 2024-02-25 22:49:59.938 UTC [36] LOG: aborting any active transactions
db-1 | 2024-02-25 22:49:59.941 UTC [36] LOG: background worker "logical replication launcher" (PID 42) exited with exit code 1
db-1 | 2024-02-25 22:49:59.941 UTC [37] LOG: shutting down
db-1 | 2024-02-25 22:49:59.944 UTC [37] LOG: checkpoint starting: shutdown immediate
api01-1 | 2024-02-25T22:50:00.027Z INFO 1 --- [nio-8081-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api01-1 | 2024-02-25T22:50:00.027Z INFO 1 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api01-1 | 2024-02-25T22:50:00.027Z INFO 1 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms
api01-1 | 2024-02-25T22:50:00.028Z INFO 1 --- [nio-8081-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
db-1 | 2024-02-25 22:50:00.494 UTC [37] LOG: checkpoint complete: wrote 935 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.392 s, sync=0.078 s, total=0.553 s; sync files=307, longest=0.053 s, average=0.001 s; distance=4293 kB, estimate=4293 kB; lsn=0/1921BF8, redo lsn=0/1921BF8
db-1 | 2024-02-25 22:50:00.499 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-25 22:50:00.560 UTC [1] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
db-1 | 2024-02-25 22:50:00.560 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db-1 | 2024-02-25 22:50:00.560 UTC [1] LOG: listening on IPv6 address "::", port 5432
db-1 | 2024-02-25 22:50:00.565 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-02-25 22:50:00.572 UTC [54] LOG: database system was shut down at 2024-02-25 22:50:00 UTC
db-1 | 2024-02-25 22:50:00.578 UTC [1] LOG: database system is ready to accept connections
api01-1 | 2024-02-25T22:50:01.029Z ERROR 1 --- [nio-8081-exec-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
api01-1 |
api01-1 | org.postgresql.util.PSQLException: Connection to db:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
api01-1 | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:342) ~[na:na]
api01-1 | at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:263) ~[na:na]
api01-1 | at org.postgresql.Driver.makeConnection(Driver.java:443) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at org.postgresql.Driver.connect(Driver.java:297) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[na:na]
api01-1 | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) ~[na:na]
api01-1 | at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) ~[na:na]
api01-1 | at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100) ~[na:na]
api01-1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:160) ~[na:na]
api01-1 | at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:118) ~[na:na]
api01-1 | at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81) ~[na:na]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:653) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:723) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:754) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:767) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:825) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at io.github.rinhabackend2.springboot.repository.TransacaoRepository.findAllByIdCliente(TransacaoRepository.java:62) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at io.github.rinhabackend2.springboot.service.ClienteService.gerarExtrato(ClienteService.java:40) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at io.github.rinhabackend2.springboot.controller.ClienteController.gerarExtrato(ClienteController.java:43) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at [email protected]/java.lang.reflect.Method.invoke(Method.java:580) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:261) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:189) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:917) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:829) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.0]
api01-1 | at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.0]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) ~[na:na]
api01-1 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[na:na]
api01-1 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) ~[na:na]
api01-1 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[na:na]
api01-1 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340) ~[na:na]
api01-1 | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) ~[na:na]
api01-1 | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) ~[na:na]
api01-1 | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) ~[na:na]
api01-1 | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[na:na]
api01-1 | at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[na:na]
api01-1 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[na:na]
api01-1 | at [email protected]/java.lang.Thread.runWith(Thread.java:1596) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at [email protected]/java.lang.Thread.run(Thread.java:1583) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:838) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:211) ~[na:na]
api01-1 | Caused by: java.net.ConnectException: Connection refused
api01-1 | at [email protected]/sun.nio.ch.Net.pollConnect(Native Method) ~[na:na]
api01-1 | at [email protected]/sun.nio.ch.Net.pollConnectNow(Net.java:682) ~[na:na]
api01-1 | at [email protected]/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542) ~[na:na]
api01-1 | at [email protected]/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592) ~[na:na]
api01-1 | at [email protected]/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[na:na]
api01-1 | at [email protected]/java.net.Socket.connect(Socket.java:751) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.postgresql.core.PGStream.createSocket(PGStream.java:243) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at org.postgresql.core.PGStream.<init>(PGStream.java:98) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132) ~[na:na]
api01-1 | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258) ~[na:na]
api01-1 | ... 72 common frames omitted
api01-1 |
api01-1 | 2024-02-25T22:50:01.031Z ERROR 1 --- [nio-8081-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection] with root cause
api01-1 |
api01-1 | java.net.ConnectException: Connection refused
api01-1 | at [email protected]/sun.nio.ch.Net.pollConnect(Native Method) ~[na:na]
api01-1 | at [email protected]/sun.nio.ch.Net.pollConnectNow(Net.java:682) ~[na:na]
api01-1 | at [email protected]/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542) ~[na:na]
api01-1 | at [email protected]/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592) ~[na:na]
api01-1 | at [email protected]/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[na:na]
api01-1 | at [email protected]/java.net.Socket.connect(Socket.java:751) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.postgresql.core.PGStream.createSocket(PGStream.java:243) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at org.postgresql.core.PGStream.<init>(PGStream.java:98) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:132) ~[na:na]
api01-1 | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:258) ~[na:na]
api01-1 | at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:263) ~[na:na]
api01-1 | at org.postgresql.Driver.makeConnection(Driver.java:443) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at org.postgresql.Driver.connect(Driver.java:297) ~[io.github.rinhabackend2.springboot.SpringbootApplication:42.6.0]
api01-1 | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[na:na]
api01-1 | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470) ~[na:na]
api01-1 | at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) ~[na:na]
api01-1 | at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100) ~[na:na]
api01-1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:160) ~[na:na]
api01-1 | at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:118) ~[na:na]
api01-1 | at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81) ~[na:na]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:653) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:723) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:754) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:767) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:825) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at io.github.rinhabackend2.springboot.repository.TransacaoRepository.findAllByIdCliente(TransacaoRepository.java:62) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at io.github.rinhabackend2.springboot.service.ClienteService.gerarExtrato(ClienteService.java:40) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at io.github.rinhabackend2.springboot.controller.ClienteController.gerarExtrato(ClienteController.java:43) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at [email protected]/java.lang.reflect.Method.invoke(Method.java:580) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:261) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:189) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:917) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:829) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.0]
api01-1 | at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.0]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[io.github.rinhabackend2.springboot.SpringbootApplication:6.1.3]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) ~[na:na]
api01-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) ~[na:na]
api01-1 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) ~[na:na]
api01-1 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[na:na]
api01-1 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) ~[na:na]
api01-1 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[na:na]
api01-1 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340) ~[na:na]
api01-1 | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) ~[na:na]
api01-1 | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) ~[na:na]
api01-1 | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) ~[na:na]
api01-1 | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[io.github.rinhabackend2.springboot.SpringbootApplication:10.1.18]
api01-1 | at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[na:na]
api01-1 | at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[na:na]
api01-1 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[na:na]
api01-1 | at [email protected]/java.lang.Thread.runWith(Thread.java:1596) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at [email protected]/java.lang.Thread.run(Thread.java:1583) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:838) ~[io.github.rinhabackend2.springboot.SpringbootApplication:na]
api01-1 | at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:211) ~[na:na]
api01-1 |
api02-1 | 2024-02-25T22:50:03.041Z INFO 1 --- [nio-8082-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api02-1 | 2024-02-25T22:50:03.041Z INFO 1 --- [nio-8082-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api02-1 | 2024-02-25T22:50:03.041Z INFO 1 --- [nio-8082-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms
api02-1 | 2024-02-25T22:50:03.041Z INFO 1 --- [nio-8082-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api02-1 | 2024-02-25T22:50:03.057Z INFO 1 --- [nio-8082-exec-1] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@7896c94c
api02-1 | 2024-02-25T22:50:03.057Z INFO 1 --- [nio-8082-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
api01-1 | 2024-02-25T22:50:03.066Z INFO 1 --- [nio-8081-exec-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api01-1 | 2024-02-25T22:50:03.075Z INFO 1 --- [nio-8081-exec-3] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@65f42947
api01-1 | 2024-02-25T22:50:03.076Z INFO 1 --- [nio-8081-exec-3] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
api01-1 | 2024-02-25T22:50:11.921Z WARN 1 --- [io-8081-exec-10] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot coerce Floating-point value (1.2) to `java.lang.Long` value (but could if coercion was enabled using `CoercionConfig`)]
api01-1 | 2024-02-25T22:50:11.924Z WARN 1 --- [nio-8081-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot coerce Floating-point value (1.2) to `java.lang.Long` value (but could if coercion was enabled using `CoercionConfig`)]
api02-1 | 2024-02-25T22:50:11.930Z WARN 1 --- [io-8082-exec-10] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot coerce Floating-point value (1.2) to `java.lang.Long` value (but could if coercion was enabled using `CoercionConfig`)]
api02-1 | 2024-02-25T22:50:11.940Z WARN 1 --- [nio-8082-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot coerce Floating-point value (1.2) to `java.lang.Long` value (but could if coercion was enabled using `CoercionConfig`)]
api01-1 | 2024-02-25T22:50:11.946Z WARN 1 --- [nio-8081-exec-9] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot coerce Floating-point value (1.2) to `java.lang.Long` value (but could if coercion was enabled using `CoercionConfig`)]
nginx-1 exited with code 0
nginx-1 exited with code 0
api01-1 | 2024-02-25T22:54:16.500Z INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
api01-1 | 2024-02-25T22:54:16.507Z INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
api02-1 | 2024-02-25T22:54:16.508Z INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
api02-1 | 2024-02-25T22:54:16.509Z INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
api01-1 exited with code 0
api01-1 exited with code 143
api02-1 exited with code 0
api02-1 exited with code 143
db-1 | 2024-02-25 22:54:17.667 UTC [1] LOG: received fast shutdown request
db-1 | 2024-02-25 22:54:17.670 UTC [1] LOG: aborting any active transactions
db-1 | 2024-02-25 22:54:17.673 UTC [1] LOG: background worker "logical replication launcher" (PID 57) exited with exit code 1
db-1 | 2024-02-25 22:54:17.673 UTC [52] LOG: shutting down
db-1 | 2024-02-25 22:54:17.677 UTC [52] LOG: checkpoint starting: shutdown immediate
db-1 | 2024-02-25 22:54:17.868 UTC [52] LOG: checkpoint complete: wrote 729 buffers (4.4%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.011 s, sync=0.166 s, total=0.195 s; sync files=29, longest=0.160 s, average=0.006 s; distance=16356 kB, estimate=16356 kB; lsn=0/291AD10, redo lsn=0/291AD10
db-1 | 2024-02-25 22:54:17.873 UTC [1] LOG: database system is shut down
db-1 exited with code 0