2019-12-04 11:45:13.170 INFO 20984 --- [ost-startStop-1] b.c.ideiasaleatorias.eleicaoonline.Boot : Started Boot in 11.233 seconds (JVM running for 18.272)
2019-12-04 11:47:36.093 INFO 20984 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet'
2019-12-04 11:47:36.094 INFO 20984 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started
2019-12-04 11:47:36.128 INFO 20984 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 33 ms
2019-12-04 11:47:36.311 INFO 20984 --- [nio-8080-exec-1] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
2019-12-04 11:47:50.827 ERROR 20984 --- [nio-8080-exec-9] o.s.b.w.servlet.support.ErrorPageFilter : Forwarding to error page from request [/votingbooth/vote] due to exception [I/O error on POST request for "http://localhost:8084/register/vote": Connection reset; nested exception is java.net.SocketException: Connection reset]
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:8084/register/vote": Connection reset; nested exception is java.net.SocketException: Connection reset
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:738) ~[spring-web-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:681) ~[spring-web-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:463) ~[spring-web-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at br.com.ideiasaleatorias.eleicaoonline.service.VoterBlockchainService.execute(VoterBlockchainService.java:22) ~[classes/:1.0.0]
at br.com.ideiasaleatorias.eleicaoonline.controllers.VotingBoothController.vote(VotingBoothController.java:104) ~[classes/:1.0.0]
at br.com.ideiasaleatorias.eleicaoonline.controllers.VotingBoothController$$FastClassBySpringCGLIB$$1234af38.invoke(<generated>) ~[classes/:1.0.0]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-5.0.2.RELEASE.jar:5.0.2.RELEASE]
...
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[na:1.8.0_201]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_201]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[na:1.8.0_201]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[na:1.8.0_201]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[na:1.8.0_201]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) ~[na:1.8.0_201]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) ~[na:1.8.0_201]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) ~[na:1.8.0_201]
... 108 common frames omitted