Closed nbauernfeind closed 1 year ago
I can more easily get these:
io.grpc.StatusRuntimeException: CANCELLED: Stream canceled on the server
at io.grpc.Status.asRuntimeException(Status.java:539)
at io.grpc.protobuf.StatusProto.toStatusRuntimeException(StatusProto.java:52)
at io.deephaven.proto.util.Exceptions.statusRuntimeException(Exceptions.java:14)
at io.deephaven.server.browserstreaming.BrowserStream$1.onCancel(BrowserStream.java:85)
at io.deephaven.server.browserstreaming.BrowserStream.close(BrowserStream.java:249)
at io.deephaven.server.session.SessionState.lambda$onExpired$1(SessionState.java:486)
at java.util.ArrayList.forEach(ArrayList.java:1511)
at io.deephaven.server.session.SessionState.onExpired(SessionState.java:484)
at io.deephaven.server.session.SessionService$SessionCleanupJob.run(SessionService.java:399)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at io.deephaven.server.runner.scheduler.SchedulerModule$ThreadFactory.lambda$newThread$0(SchedulerModule.java:78)
at java.lang.Thread.run(Thread.java:832)
Seems to happen if I open a slowly ticking table, then refresh the page. When the older session times out it prints this log message, but I'm not sure from where!
Adding -Dhttp.session.durationMs=10000
forces an SRE very quickly on refresh opening this table:
import io.deephaven.engine.util.TableTools
t = TableTools.timeTable("PT1s")
Not sure exactly how to reproduce, but something is logging CANCEL status runtime exceptions when it's probably OK to not log at all.