```[INFO ] c.l.a.s.l.LoggingService - [S][id: 0x02...
# kroto-plus
r
Copy code
[INFO ] c.l.a.s.l.LoggingService - [S][id: 0x02b871f4, L:/127.0.0.1:9090 - R:/127.0.0.1:54222][<h2c://richards-macbook-pro.local:9090/report.ReportService/GetReports#POST>] Request: {startTime=2020-03-26T07:55:46.064Z(1585209346064000), length=5B, duration=344µs(344068ns), scheme=gproto+h2c, name=report.ReportService/GetReports, headers=[:authority=localhost:8080, :path=/report.ReportService/GetReports, :method=POST, :scheme=http, x-user-agent=grpc-web-javascript/0.1, dnt=1, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36, content-type=application/grpc, accept=application/grpc-web-text, x-grpc-web=1, sec-fetch-dest=empty, grpc-timeout=2000m, origin=<http://localhost:3000>, sec-fetch-site=same-site, sec-fetch-mode=cors, referer=<http://localhost:3000/rcr_report>, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.9,fi;q=0.8, x-forwarded-proto=http, x-request-id=bbd8169b-b9c4-4db3-9b66-82d2093640bd, te=trailers, grpc-accept-encoding=identity,deflate,gzip, x-envoy-expected-rq-timeout-ms=2000], content=DefaultRpcRequest{serviceType=GrpcLogUtil, method=report.ReportService/GetReports, params=[]}}
[INFO ] c.l.a.s.l.LoggingService - [S][id: 0x6dbfd97c, L:/127.0.0.1:9090 - R:/127.0.0.1:54224][<h2c://richards-macbook-pro.local:9090/report.ReportService/GetStatus#POST>] Request: {startTime=2020-03-26T07:55:46.066Z(1585209346066000), length=5B, duration=528µs(528312ns), scheme=gproto+h2c, name=report.ReportService/GetStatus, headers=[:authority=localhost:8080, :path=/report.ReportService/GetStatus, :method=POST, :scheme=http, x-user-agent=grpc-web-javascript/0.1, dnt=1, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36, content-type=application/grpc, accept=application/grpc-web-text, x-grpc-web=1, sec-fetch-dest=empty, origin=<http://localhost:3000>, sec-fetch-site=same-site, sec-fetch-mode=cors, referer=<http://localhost:3000/rcr_report>, accept-encoding=gzip, deflate, br, accept-language=en-US,en;q=0.9,fi;q=0.8, x-forwarded-proto=http, x-request-id=e9abb891-73d8-40fc-a9f0-9ec319023af9, te=trailers, grpc-accept-encoding=identity,deflate,gzip], content=DefaultRpcRequest{serviceType=GrpcLogUtil, method=report.ReportService/GetStatus, params=[]}}
[INFO ] c.l.a.s.l.LoggingService - [S][id: 0x02b871f4, L:/127.0.0.1:9090 - R:/127.0.0.1:54222][<h2c://richards-macbook-pro.local:9090/report.ReportService/GetReports#POST>] Response: {startTime=2020-03-26T07:55:46.088Z(1585209346088000), length=5B, duration=1248µs(1248517ns), totalDuration=25366µs(25366491ns), headers=[:status=200, content-type=application/grpc, grpc-encoding=identity, grpc-accept-encoding=gzip, server=Armeria/0.98.0, date=Thu, 26 Mar 2020 07:55:46 GMT], content=DefaultRpcResponse{}, trailers=[grpc-status=0]}
[WARN ] c.l.a.s.l.LoggingService - [S][id: 0x6dbfd97c, L:/127.0.0.1:9090 - R:/127.0.0.1:54224][<h2c://richards-macbook-pro.local:9090/report.ReportService/GetStatus#POST>] Response: {startTime=2020-03-26T07:55:56.067Z(1585209356067000), length=0B, duration=1577µs(1577015ns), totalDuration=10003ms(10003333672ns), cause=io.grpc.StatusException: CANCELLED, headers=[EOS, :status=200, content-type=application/grpc+proto, grpc-status=1, server=Armeria/0.98.0, date=Thu, 26 Mar 2020 07:55:56 GMT], content=DefaultRpcResponse{cause=io.grpc.StatusException: CANCELLED}}
io.grpc.StatusException: CANCELLED
	at io.grpc.Status.asException(Status.java:541) ~[grpc-api-1.28.0.jar:1.28.0]
	at com.linecorp.armeria.internal.common.grpc.GrpcLogUtil.rpcResponse(GrpcLogUtil.java:58) ~[armeria-grpc-0.98.0.jar:?]
	at com.linecorp.armeria.server.grpc.ArmeriaServerCall.closeListener(ArmeriaServerCall.java:461) ~[armeria-grpc-0.98.0.jar:?]
	at com.linecorp.armeria.server.grpc.ArmeriaServerCall.doClose(ArmeriaServerCall.java:330) ~[armeria-grpc-0.98.0.jar:?]
	at com.linecorp.armeria.server.grpc.ArmeriaServerCall.close(ArmeriaServerCall.java:299) ~[armeria-grpc-0.98.0.jar:?]
	at com.linecorp.armeria.server.grpc.FramedGrpcService.lambda$doPost$1(FramedGrpcService.java:201) ~[armeria-grpc-0.98.0.jar:?]
	at com.linecorp.armeria.server.HttpResponseSubscriber$1.run(HttpResponseSubscriber.java:522) ~[armeria-0.98.0.jar:?]
	at com.linecorp.armeria.internal.common.DefaultTimeoutController.invokeTimeoutTask(DefaultTimeoutController.java:252) ~[armeria-0.98.0.jar:?]
	at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98) [netty-common-4.1.45.Final.jar:4.1.45.Final]
	at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170) [netty-common-4.1.45.Final.jar:4.1.45.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [netty-common-4.1.45.Final.jar:4.1.45.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [netty-common-4.1.45.Final.jar:4.1.45.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) [netty-transport-4.1.45.Final.jar:4.1.45.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-common-4.1.45.Final.jar:4.1.45.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.45.Final.jar:4.1.45.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.45.Final.jar:4.1.45.Final]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
g
Yup I had the same issue.
r
yeah if I was more of jvm dev I might dig in and try to find a solution. But I think we are going to get rid of Armeria.
g
Have you tried raising this with the Armeria team, they're generally pretty responsive.
r
yeah would be worth making an issue just for documentation for others if nothing else