Closed kalix-bot closed 11 months ago
Likely the same problem as
The Runtime seems to restart itself for some reason?
Delaying discovery until proxy port set
Error handling discovery Error: Delaying discovery until proxy port set
at Kalix.discoveryLogic (/home/circleci/project/testkit/node_modules/@kalix-io/kalix-javascript-sdk/src/kalix.ts:705:13)
at Object.Discover (/home/circleci/project/testkit/node_modules/@kalix-io/kalix-javascript-sdk/src/kalix.ts:592:31)
at handleUnary (/home/circleci/project/testkit/node_modules/@grpc/grpc-js/src/server.ts:925:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: 16:07:55.121 ERROR kalix.proxy.DiscoveryManager - Supervisor StopSupervisor saw failure: UNKNOWN: Delaying discovery until proxy port set +109ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: akka.grpc.GrpcServiceException: UNKNOWN: Delaying discovery until proxy port set +1ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.grpc.GrpcServiceException$.apply(GrpcServiceException.scala:59) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.grpc.internal.RequestBuilderImpl$.lift(RequestBuilderImpl.scala:481) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.grpc.internal.RequestBuilderImpl$$anonfun$richError$1.applyOrElse(RequestBuilderImpl.scala:477) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.grpc.internal.RequestBuilderImpl$$anonfun$richError$1.applyOrElse(RequestBuilderImpl.scala:476) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:490) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:64) +1ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:101) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:94) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:101) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: 16:07:55.123 INFO kalix.proxy.KalixRuntimeMain - Clearing out database tables +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: 16:07:55.125 INFO kalix.proxy.KalixRuntimeMain - Waiting for Kalix Runtime to stop +1ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: 16:07:55.193 INFO kalix.proxy.KalixRuntimeMain - System stopped, waiting for Kalix Runtime port to become available +63ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: 16:07:55.193 INFO kalix.proxy.KalixRuntimeMain - Restarting Kalix Runtime +0ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: 16:07:55.231 INFO kalix.proxy.KalixRuntimeMain - Starting Kalix Runtime version [1.1.25] +37ms
testcontainers:containers TRACE 2e747df78ec9629e4132c17a1a24bc8b6589f4374faf16736bdca0c51559823e: 16:07:55.237 INFO kalix.proxy.DiscoveryManager - Connecting to [host.testcontainers.internal:8080] to discover the user service specification +5ms
Still not working. We can merge
and rework the renaming this PR adds on top of it.
I will do this in smaller steps. First up
After the Kalix Runtime version reaches prod, please mark as ready, review and merge. 2aaca63ffcb1c00d67cecc8a5c81be9d83e5a24d