diff --git a/next-tavla/firestore-debug.log b/next-tavla/firestore-debug.log deleted file mode 100644 index 5b2193bb4..000000000 --- a/next-tavla/firestore-debug.log +++ /dev/null @@ -1,693 +0,0 @@ -Sep 12, 2023 10:33:52 AM com.google.cloud.datastore.emulator.firestore.websocket.WebSocketServer start -INFO: Started WebSocket server on ws://127.0.0.1:9150 -API endpoint: http://127.0.0.1:8080 -If you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run: - - export FIRESTORE_EMULATOR_HOST=127.0.0.1:8080 - -Dev App Server is now running. - -Sep 12, 2023 10:34:24 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected HTTP/2 connection. -Sep 12, 2023 10:34:30 AM com.google.cloud.datastore.emulator.impl.util.WrappedStreamObserver onError -WARNING: Operation failed: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - -com.google.cloud.datastore.core.exception.DatastoreException: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - - at com.google.cloud.datastore.core.exception.DatastoreException.withProblem(DatastoreException.java:185) - at com.google.cloud.datastore.emulator.impl.util.FirestoreEmulatorConverters.checkMutation(FirestoreEmulatorConverters.java:179) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commitHelper(CloudFirestoreV1.java:1047) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.internalCommit(CloudFirestoreV1.java:952) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commit(CloudFirestoreV1.java:457) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1Router.commit(CloudFirestoreV1Router.java:167) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.lambda$commit$8(FirestoreV1GrpcAdapter.java:160) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter.unary(FirestoreV1GrpcAdapter.java:70) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.commit(FirestoreV1GrpcAdapter.java:160) - at com.google.firestore.v1.FirestoreGrpc$MethodHandlers.invoke(FirestoreGrpc.java:1179) - at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:346) - at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:860) - at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) - at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) - at java.base/java.lang.Thread.run(Thread.java:833) - -Sep 12, 2023 10:34:37 AM com.google.cloud.datastore.emulator.impl.util.WrappedStreamObserver onError -WARNING: Operation failed: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - -com.google.cloud.datastore.core.exception.DatastoreException: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - - at com.google.cloud.datastore.core.exception.DatastoreException.withProblem(DatastoreException.java:185) - at com.google.cloud.datastore.emulator.impl.util.FirestoreEmulatorConverters.checkMutation(FirestoreEmulatorConverters.java:179) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commitHelper(CloudFirestoreV1.java:1047) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.internalCommit(CloudFirestoreV1.java:952) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commit(CloudFirestoreV1.java:457) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1Router.commit(CloudFirestoreV1Router.java:167) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.lambda$commit$8(FirestoreV1GrpcAdapter.java:160) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter.unary(FirestoreV1GrpcAdapter.java:70) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.commit(FirestoreV1GrpcAdapter.java:160) - at com.google.firestore.v1.FirestoreGrpc$MethodHandlers.invoke(FirestoreGrpc.java:1179) - at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:346) - at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:860) - at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) - at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) - at java.base/java.lang.Thread.run(Thread.java:833) - -Sep 12, 2023 10:35:01 AM com.google.cloud.datastore.emulator.impl.util.WrappedStreamObserver onError -WARNING: Operation failed: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - -com.google.cloud.datastore.core.exception.DatastoreException: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - - at com.google.cloud.datastore.core.exception.DatastoreException.withProblem(DatastoreException.java:185) - at com.google.cloud.datastore.emulator.impl.util.FirestoreEmulatorConverters.checkMutation(FirestoreEmulatorConverters.java:179) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commitHelper(CloudFirestoreV1.java:1047) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.internalCommit(CloudFirestoreV1.java:952) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commit(CloudFirestoreV1.java:457) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1Router.commit(CloudFirestoreV1Router.java:167) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.lambda$commit$8(FirestoreV1GrpcAdapter.java:160) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter.unary(FirestoreV1GrpcAdapter.java:70) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.commit(FirestoreV1GrpcAdapter.java:160) - at com.google.firestore.v1.FirestoreGrpc$MethodHandlers.invoke(FirestoreGrpc.java:1179) - at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:346) - at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:860) - at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) - at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) - at java.base/java.lang.Thread.run(Thread.java:833) - -Sep 12, 2023 10:36:18 AM com.google.cloud.datastore.emulator.firestore.websocket.WebSocketChannelHandler initChannel -INFO: Connected to new websocket client -Sep 12, 2023 10:36:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:36:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected HTTP/2 connection. -Sep 12, 2023 10:36:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:36:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:36:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:36:30 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:36:30 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:36:39 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:36:39 AM com.google.cloud.datastore.emulator.firestore.webchannel.FirestoreV1WebChannelAdapter$FirestoreListenHandler onClose -INFO: channel closed -Sep 12, 2023 10:37:44 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:37:44 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:37:44 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:37:44 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:37:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:37:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:38:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:39:17 AM com.google.cloud.datastore.emulator.impl.util.WrappedStreamObserver onError -WARNING: Operation failed: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - -com.google.cloud.datastore.core.exception.DatastoreException: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - - at com.google.cloud.datastore.core.exception.DatastoreException.withProblem(DatastoreException.java:185) - at com.google.cloud.datastore.emulator.impl.util.FirestoreEmulatorConverters.checkMutation(FirestoreEmulatorConverters.java:179) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commitHelper(CloudFirestoreV1.java:1047) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.internalCommit(CloudFirestoreV1.java:952) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commit(CloudFirestoreV1.java:457) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1Router.commit(CloudFirestoreV1Router.java:167) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.lambda$commit$8(FirestoreV1GrpcAdapter.java:160) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter.unary(FirestoreV1GrpcAdapter.java:70) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.commit(FirestoreV1GrpcAdapter.java:160) - at com.google.firestore.v1.FirestoreGrpc$MethodHandlers.invoke(FirestoreGrpc.java:1179) - at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:346) - at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:860) - at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) - at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) - at java.base/java.lang.Thread.run(Thread.java:833) - -Sep 12, 2023 10:39:47 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:40:47 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:41:40 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:41:40 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:41:40 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:41:44 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:41:44 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:41:49 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:41:49 AM com.google.cloud.datastore.emulator.firestore.webchannel.FirestoreV1WebChannelAdapter$FirestoreListenHandler onClose -INFO: channel closed -Sep 12, 2023 10:42:06 AM com.google.cloud.datastore.emulator.firestore.websocket.WebSocketChannelHandler channelClosed -INFO: Websocket client disconnected -Sep 12, 2023 10:42:06 AM com.google.cloud.datastore.emulator.firestore.websocket.WebSocketChannelHandler initChannel -INFO: Connected to new websocket client -Sep 12, 2023 10:42:20 AM com.google.cloud.datastore.emulator.impl.util.WrappedStreamObserver onError -WARNING: Operation failed: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "DeXLVZJNdf0tkEfHj9K6eUahcfQ1" - } -> - -com.google.cloud.datastore.core.exception.DatastoreException: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "DeXLVZJNdf0tkEfHj9K6eUahcfQ1" - } -> - - at com.google.cloud.datastore.core.exception.DatastoreException.withProblem(DatastoreException.java:185) - at com.google.cloud.datastore.emulator.impl.util.FirestoreEmulatorConverters.checkMutation(FirestoreEmulatorConverters.java:179) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commitHelper(CloudFirestoreV1.java:1047) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.internalCommit(CloudFirestoreV1.java:952) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commit(CloudFirestoreV1.java:457) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1Router.commit(CloudFirestoreV1Router.java:167) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.lambda$commit$8(FirestoreV1GrpcAdapter.java:160) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter.unary(FirestoreV1GrpcAdapter.java:70) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.commit(FirestoreV1GrpcAdapter.java:160) - at com.google.firestore.v1.FirestoreGrpc$MethodHandlers.invoke(FirestoreGrpc.java:1179) - at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:346) - at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:860) - at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) - at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) - at java.base/java.lang.Thread.run(Thread.java:833) - -Sep 12, 2023 10:48:31 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:31 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:31 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:32 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:39 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:40 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:47 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:48:47 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:49:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:50:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:51:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:52:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:53:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:54:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:55:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:56:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:57:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:58:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 10:59:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:00:41 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:01:42 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:02:42 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:03:42 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:04:42 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:05:42 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:06:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:07:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:08:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:09:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:10:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:11:28 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:12:29 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:13:29 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:14:29 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:15:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:16:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:17:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:18:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:19:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:20:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:21:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:22:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:23:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:24:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:25:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:26:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:27:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:28:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:29:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:30:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:31:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:32:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:33:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:34:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:35:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:36:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:37:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:38:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:39:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:40:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:41:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:42:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:43:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:44:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:45:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:46:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:47:45 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:48:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:49:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:50:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:51:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:52:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:53:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:54:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:55:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:56:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:57:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 11:58:46 AM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:00:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:01:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:02:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:03:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:04:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:05:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:06:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:07:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:08:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:09:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:10:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:11:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:12:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:13:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:14:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:15:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:16:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:17:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:18:28 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:19:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:20:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:21:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:22:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:23:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:24:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:25:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:26:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:27:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:28:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:29:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:30:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:31:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:32:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:33:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:34:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:35:52 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:36:53 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:36:54 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:36:54 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:36:54 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:36:54 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected HTTP/2 connection. -Sep 12, 2023 12:36:58 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:36:58 PM com.google.cloud.datastore.emulator.firestore.webchannel.FirestoreV1WebChannelAdapter$FirestoreListenHandler onClose -INFO: channel closed -Sep 12, 2023 12:37:15 PM com.google.cloud.datastore.emulator.impl.util.WrappedStreamObserver onError -WARNING: Operation failed: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - -com.google.cloud.datastore.core.exception.DatastoreException: no entity to update: app: "dev~entur-tavla-staging" -path < - Element { - type: "users" - name: "MTMT6lSZx2xnNIFtT6QIC53Rsrjj" - } -> - - at com.google.cloud.datastore.core.exception.DatastoreException.withProblem(DatastoreException.java:185) - at com.google.cloud.datastore.emulator.impl.util.FirestoreEmulatorConverters.checkMutation(FirestoreEmulatorConverters.java:179) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commitHelper(CloudFirestoreV1.java:1047) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.internalCommit(CloudFirestoreV1.java:952) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1.commit(CloudFirestoreV1.java:457) - at com.google.cloud.datastore.emulator.impl.CloudFirestoreV1Router.commit(CloudFirestoreV1Router.java:167) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.lambda$commit$8(FirestoreV1GrpcAdapter.java:160) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter.unary(FirestoreV1GrpcAdapter.java:70) - at com.google.cloud.datastore.emulator.firestore.v1.FirestoreV1GrpcAdapter$1.commit(FirestoreV1GrpcAdapter.java:160) - at com.google.firestore.v1.FirestoreGrpc$MethodHandlers.invoke(FirestoreGrpc.java:1179) - at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) - at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) - at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) - at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86) - at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:346) - at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:860) - at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) - at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) - at java.base/java.lang.Thread.run(Thread.java:833) - -Sep 12, 2023 12:37:22 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:37:22 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:37:22 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:37:23 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:37:24 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:37:25 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:37:25 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:37:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:38:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:39:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:40:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:41:24 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:41:24 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:41:24 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:41:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:42:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:43:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:44:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:45:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:46:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:47:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:48:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:49:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:50:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:51:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:52:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:53:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:54:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:55:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:56:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:57:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:58:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 12:59:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:00:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:01:26 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:02:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:03:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:04:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:05:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:06:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:07:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:08:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:09:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:10:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:11:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:12:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:13:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:14:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:15:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:16:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:17:13 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:18:14 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:19:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:19:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:19:11 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:19:14 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -Sep 12, 2023 1:20:14 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead -INFO: Detected non-HTTP/2 connection. -*** shutting down gRPC server since JVM is shutting down -*** server shut down diff --git a/next-tavla/pages/api/ping/[id].ts b/next-tavla/pages/api/ping/[id].ts index 6e2c4ec37..c0cf7ecf1 100644 --- a/next-tavla/pages/api/ping/[id].ts +++ b/next-tavla/pages/api/ping/[id].ts @@ -1,4 +1,8 @@ -import { initializeAdminApp, setLastActive } from 'Admin/utils/firebase' +import { + getBoard, + initializeAdminApp, + setLastActive, +} from 'Admin/utils/firebase' import { NextApiRequest, NextApiResponse } from 'next' import { TBoardID } from 'types/settings' @@ -9,10 +13,20 @@ export default async function handler( response: NextApiResponse, ) { const { id } = request.query - try { - await setLastActive(id as TBoardID) - return response.status(200).json({ message: 'Successfully updated!' }) - } catch (error) { - return response.status(400).json({ error: 'Could not update!' }) + const board = (await getBoard(id as TBoardID)) || undefined + if (!board) { + return response.status(404).json({ error: 'Board not found!' }) + } + const active = board?.meta?.lastActive ?? 0 + const lastActiveDate = new Date(active).getTime() + if (Date.now() - lastActiveDate > 1000 * 60 * 60 * 24) { + try { + await setLastActive(id as TBoardID) + return response + .status(200) + .json({ message: 'Successfully updated!' }) + } catch (error) { + return response.status(400).json({ error: 'Could not update!' }) + } } } diff --git a/next-tavla/src/Admin/scenarios/BoardList/components/Row/index.tsx b/next-tavla/src/Admin/scenarios/BoardList/components/Row/index.tsx index c6e63fdb0..2a57cbd73 100644 --- a/next-tavla/src/Admin/scenarios/BoardList/components/Row/index.tsx +++ b/next-tavla/src/Admin/scenarios/BoardList/components/Row/index.tsx @@ -8,6 +8,7 @@ import { useEffect, useState } from 'react' import { Cell } from 'Admin/scenarios/BoardList/components/Cell' import { Tooltip } from '@entur/tooltip' import { Info } from 'Admin/scenarios/Info' +import { formatDate } from 'utils/time' function Row({ board }: { board: TBoard }) { const { addToast } = useToast() @@ -22,18 +23,6 @@ function Row({ board }: { board: TBoard }) { await router.push('/edit/' + board.id) } - function toLocaleString(date: Date) { - return date - .toLocaleDateString('no-NB', { - day: '2-digit', - month: '2-digit', - year: 'numeric', - hour: '2-digit', - minute: '2-digit', - }) - .replace(',', '') - } - return (
{board?.meta?.title ?? 'Tavla'} @@ -61,7 +50,7 @@ function Row({ board }: { board: TBoard }) { {board?.meta?.dateModified && - toLocaleString(new Date(board.meta.dateModified))} + formatDate(new Date(board.meta.dateModified))}
) diff --git a/next-tavla/src/Admin/utils/firebase.ts b/next-tavla/src/Admin/utils/firebase.ts index 64c9222bb..6e80d0a25 100644 --- a/next-tavla/src/Admin/utils/firebase.ts +++ b/next-tavla/src/Admin/utils/firebase.ts @@ -75,7 +75,10 @@ export async function setBoard(board: TBoard, uid: TUserID) { return await firestore() .collection('boards') .doc(boardId) - .set(sanitizedBoard) + .set({ + ...sanitizedBoard, + meta: { ...sanitizedBoard.meta, dateModified: Date.now() }, + }) } export async function setLastActive(bid: TBoardID) { diff --git a/next-tavla/src/Shared/hooks/useUpdateLastActive.ts b/next-tavla/src/Shared/hooks/useUpdateLastActive.ts index c87e16082..c60e19070 100644 --- a/next-tavla/src/Shared/hooks/useUpdateLastActive.ts +++ b/next-tavla/src/Shared/hooks/useUpdateLastActive.ts @@ -1,18 +1,11 @@ import { useCallback, useEffect } from 'react' import { TBoardID } from 'types/settings' -import { getBoard } from 'utils/firebase' function useUpdateLastActive(documentId: TBoardID) { const updateLastActive = useCallback(async () => { - const board = (await getBoard(documentId)) || undefined - if (!board) return - const lastActive = board?.meta?.lastActive ?? 0 - const lastActiveDate = new Date(lastActive).getTime() - if (Date.now() - lastActiveDate > 1000 * 60 * 60 * 24) { - await fetch(`/api/ping/${documentId}`, { - method: 'POST', - }) - } + await fetch(`/api/ping/${documentId}`, { + method: 'POST', + }) }, [documentId]) useEffect(() => { diff --git a/next-tavla/src/Shared/utils/time.ts b/next-tavla/src/Shared/utils/time.ts index 3a40eea14..a08f99012 100644 --- a/next-tavla/src/Shared/utils/time.ts +++ b/next-tavla/src/Shared/utils/time.ts @@ -20,3 +20,15 @@ export function formatTimeStamp(timestamp: number) { minute: '2-digit', }).format(timestamp) } + +export function formatDate(date: Date) { + return date + .toLocaleDateString('no-NB', { + day: '2-digit', + month: '2-digit', + year: 'numeric', + hour: '2-digit', + minute: '2-digit', + }) + .replace(',', '') +}