04:18:41.304 [main] INFO  o.c.o.test.engine.EnginePluginClient - Start cleaning engine
04:18:41.307 [main] INFO  o.c.o.test.engine.EnginePluginClient - Finished cleaning engine
04:18:41.392 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:41.392 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:41.397 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:18:41.397 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:18:41.398 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:18:41.398 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:18:41.405 [main] INFO  o.c.o.s.i.ImportSchedulerManagerService - Import was disabled by config for import source IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:41.405 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Start scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:41.419 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7121037) on 1 process definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:41.445 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7121059) on 1 decision definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:41.493 [EngineImportScheduler-1] ERROR o.c.o.s.i.e.f.i.CompletedUserTaskInstanceFetcher - Error during fetching of entities. Please check the connection with [camunda-bpm]! Make sure all required engine authorizations exist
javax.ws.rs.NotFoundException: HTTP 404 Not Found
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:948)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:794)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:687)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:432)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:323)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.performCompletedUserTaskInstanceRequest(CompletedUserTaskInstanceFetcher.java:108)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.lambda$fetchCompletedUserTaskInstancesForTimestamp$0(CompletedUserTaskInstanceFetcher.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.fetchCompletedUserTaskInstancesForTimestamp(CompletedUserTaskInstanceFetcher.java:55)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedUserTaskEngineImportMediator.getEntitiesLastTimestamp(CompletedUserTaskEngineImportMediator.java:53)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:41.603 [ImportJobExecutor-pool-RunningProcessInstanceImportService-0] INFO  o.c.o.s.e.s.ElasticSearchSchemaManager - Creating or updating template with name 2--camunda-activity-event-aprocess_v2
04:18:41.615 [ImportJobExecutor-pool-RunningProcessInstanceImportService-0] INFO  o.c.o.s.e.s.ElasticSearchSchemaManager - Creating index 2--camunda-activity-event-aprocess_v2-000001 from template with write alias 2--camunda-activity-event-aprocess
04:18:43.046 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - Resetting all MockServer expectations and logs
04:18:43.140 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - No longer using Engine MockServer
04:18:43.141 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:43.141 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:43.142 [EngineImportScheduler-1] ERROR o.c.o.s.i.AbstractImportScheduler - Scheduler was interrupted while sleeping.
java.lang.InterruptedException: sleep interrupted
	at java.base/java.lang.Thread.sleep(Native Method)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.doBackoff(AbstractImportScheduler.java:139)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:51)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:43.147 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:18:43.147 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:18:43.148 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:18:43.148 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:18:43.173 [main] INFO  o.c.o.s.i.ImportSchedulerManagerService - Import was disabled by config for import source IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:43.173 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Start scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:43.192 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7123649) on 1 process definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:43.225 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7123673) on 1 decision definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:43.289 [EngineImportScheduler-1] ERROR o.c.o.s.i.e.f.i.CompletedUserTaskInstanceFetcher - Error during fetching of entities. Please check the connection with [camunda-bpm]! Make sure all required engine authorizations exist
javax.ws.rs.ForbiddenException: HTTP 403 Forbidden
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:945)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:794)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:687)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:432)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:323)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.performCompletedUserTaskInstanceRequest(CompletedUserTaskInstanceFetcher.java:108)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.lambda$fetchCompletedUserTaskInstancesForTimestamp$0(CompletedUserTaskInstanceFetcher.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.fetchCompletedUserTaskInstancesForTimestamp(CompletedUserTaskInstanceFetcher.java:55)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedUserTaskEngineImportMediator.getEntitiesLastTimestamp(CompletedUserTaskEngineImportMediator.java:53)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:44.817 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - Resetting all MockServer expectations and logs
04:18:44.901 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - No longer using Engine MockServer
04:18:44.902 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:44.902 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:44.903 [EngineImportScheduler-1] ERROR o.c.o.s.i.e.f.i.CompletedProcessInstanceFetcher - Error during fetching of entities. Please check the connection with [camunda-bpm]!
org.glassfish.hk2.api.MultiException: A MultiException has 1 exceptions.  They are:
1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_8278,8278,46908836) has been shut down

	at org.jvnet.hk2.internal.FactoryCreator.getFactoryHandle(FactoryCreator.java:82)
	at org.jvnet.hk2.internal.FactoryCreator.dispose(FactoryCreator.java:149)
	at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:518)
	at org.glassfish.jersey.inject.hk2.RequestContext.lambda$findOrCreate$0(RequestContext.java:60)
	at org.glassfish.jersey.internal.inject.ForeignDescriptorImpl.dispose(ForeignDescriptorImpl.java:63)
	at org.glassfish.jersey.inject.hk2.Hk2RequestScope$Instance.remove(Hk2RequestScope.java:126)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at org.glassfish.jersey.inject.hk2.Hk2RequestScope$Instance.release(Hk2RequestScope.java:143)
	at org.glassfish.jersey.process.internal.RequestScope.release(RequestScope.java:246)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:392)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:432)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:323)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.performCompletedProcessInstanceRequest(CompletedProcessInstanceFetcher.java:90)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.lambda$fetchCompletedProcessInstances$1(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedProcessInstanceEngineImportMediator.getEntitiesNextPage(CompletedProcessInstanceEngineImportMediator.java:48)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_8278,8278,46908836) has been shut down
	at org.jvnet.hk2.internal.ServiceLocatorImpl.checkState(ServiceLocatorImpl.java:2383)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandleImpl(ServiceLocatorImpl.java:616)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:609)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:627)
	at org.jvnet.hk2.internal.FactoryCreator.getFactoryHandle(FactoryCreator.java:79)
	... 42 common frames omitted
04:18:44.907 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:18:44.907 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:18:44.908 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:18:44.908 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:18:44.926 [main] INFO  o.c.o.s.i.ImportSchedulerManagerService - Import was disabled by config for import source IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:44.926 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Start scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:44.940 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7125970) on 1 process definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:44.967 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7125992) on 1 decision definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:45.031 [EngineImportScheduler-1] ERROR o.c.o.s.i.e.f.i.CompletedUserTaskInstanceFetcher - Error during fetching of entities. Please check the connection with [camunda-bpm]! Make sure you have configured an authorized user
javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:942)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:794)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:687)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:432)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:323)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.performCompletedUserTaskInstanceRequest(CompletedUserTaskInstanceFetcher.java:108)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.lambda$fetchCompletedUserTaskInstancesForTimestamp$0(CompletedUserTaskInstanceFetcher.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.fetchCompletedUserTaskInstancesForTimestamp(CompletedUserTaskInstanceFetcher.java:55)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedUserTaskEngineImportMediator.getEntitiesLastTimestamp(CompletedUserTaskEngineImportMediator.java:53)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:46.403 [EngineImportScheduler-1] WARN  o.c.o.s.i.AbstractImportScheduler - Got into illegal state, will abort import round.
java.lang.IllegalStateException: Client instance has been closed.
	at org.glassfish.jersey.internal.guava.Preconditions.checkState(Preconditions.java:169)
	at org.glassfish.jersey.client.JerseyClient.checkNotClosed(JerseyClient.java:257)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:272)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.performCompletedProcessInstanceRequest(CompletedProcessInstanceFetcher.java:84)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.lambda$fetchCompletedProcessInstances$1(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedProcessInstanceEngineImportMediator.getEntitiesNextPage(CompletedProcessInstanceEngineImportMediator.java:48)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:46.403 [EngineImportScheduler-1] ERROR o.c.o.s.i.AbstractImportScheduler - Could not schedule next import round!
java.lang.IllegalStateException: Client instance has been closed.
	at org.glassfish.jersey.internal.guava.Preconditions.checkState(Preconditions.java:169)
	at org.glassfish.jersey.client.JerseyClient.checkNotClosed(JerseyClient.java:257)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:272)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.performCompletedProcessInstanceRequest(CompletedProcessInstanceFetcher.java:84)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.lambda$fetchCompletedProcessInstances$1(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedProcessInstanceEngineImportMediator.getEntitiesNextPage(CompletedProcessInstanceEngineImportMediator.java:48)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:46.568 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - Resetting all MockServer expectations and logs
04:18:46.659 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - No longer using Engine MockServer
04:18:46.660 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:46.661 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:46.661 [EngineImportScheduler-1] ERROR o.c.o.s.i.e.f.i.CompletedProcessInstanceFetcher - Error during fetching of entities. Please check the connection with [camunda-bpm]!
org.glassfish.hk2.api.MultiException: A MultiException has 1 exceptions.  They are:
1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_8279,8279,2088013051) has been shut down

	at org.jvnet.hk2.internal.FactoryCreator.getFactoryHandle(FactoryCreator.java:82)
	at org.jvnet.hk2.internal.FactoryCreator.dispose(FactoryCreator.java:149)
	at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:518)
	at org.glassfish.jersey.inject.hk2.RequestContext.lambda$findOrCreate$0(RequestContext.java:60)
	at org.glassfish.jersey.internal.inject.ForeignDescriptorImpl.dispose(ForeignDescriptorImpl.java:63)
	at org.glassfish.jersey.inject.hk2.Hk2RequestScope$Instance.remove(Hk2RequestScope.java:126)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at org.glassfish.jersey.inject.hk2.Hk2RequestScope$Instance.release(Hk2RequestScope.java:143)
	at org.glassfish.jersey.process.internal.RequestScope.release(RequestScope.java:246)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:392)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:432)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:323)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.performCompletedProcessInstanceRequest(CompletedProcessInstanceFetcher.java:90)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.lambda$fetchCompletedProcessInstances$1(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedProcessInstanceEngineImportMediator.getEntitiesNextPage(CompletedProcessInstanceEngineImportMediator.java:48)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_8279,8279,2088013051) has been shut down
	at org.jvnet.hk2.internal.ServiceLocatorImpl.checkState(ServiceLocatorImpl.java:2383)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandleImpl(ServiceLocatorImpl.java:616)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:609)
	at org.jvnet.hk2.internal.ServiceLocatorImpl.getServiceHandle(ServiceLocatorImpl.java:627)
	at org.jvnet.hk2.internal.FactoryCreator.getFactoryHandle(FactoryCreator.java:79)
	... 42 common frames omitted
04:18:46.665 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:18:46.665 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:18:46.666 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:18:46.666 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:18:46.685 [main] INFO  o.c.o.s.i.ImportSchedulerManagerService - Import was disabled by config for import source IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:46.685 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Start scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:46.698 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7128003) on 1 process definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:46.725 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7128025) on 1 decision definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:46.779 [EngineImportScheduler-1] ERROR o.c.o.s.i.e.f.i.CompletedUserTaskInstanceFetcher - Error during fetching of entities. Please check the connection with [camunda-bpm]!
javax.ws.rs.BadRequestException: HTTP 400 Bad Request
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:939)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:794)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:687)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:432)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:323)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.performCompletedUserTaskInstanceRequest(CompletedUserTaskInstanceFetcher.java:108)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.lambda$fetchCompletedUserTaskInstancesForTimestamp$0(CompletedUserTaskInstanceFetcher.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.fetchCompletedUserTaskInstancesForTimestamp(CompletedUserTaskInstanceFetcher.java:55)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedUserTaskEngineImportMediator.getEntitiesLastTimestamp(CompletedUserTaskEngineImportMediator.java:53)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:48.162 [EngineImportScheduler-1] WARN  o.c.o.s.i.AbstractImportScheduler - Got into illegal state, will abort import round.
java.lang.IllegalStateException: Client instance has been closed.
	at org.glassfish.jersey.internal.guava.Preconditions.checkState(Preconditions.java:169)
	at org.glassfish.jersey.client.JerseyClient.checkNotClosed(JerseyClient.java:257)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:272)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.performCompletedProcessInstanceRequest(CompletedProcessInstanceFetcher.java:84)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.lambda$fetchCompletedProcessInstances$1(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedProcessInstanceEngineImportMediator.getEntitiesNextPage(CompletedProcessInstanceEngineImportMediator.java:48)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:48.162 [EngineImportScheduler-1] ERROR o.c.o.s.i.AbstractImportScheduler - Could not schedule next import round!
java.lang.IllegalStateException: Client instance has been closed.
	at org.glassfish.jersey.internal.guava.Preconditions.checkState(Preconditions.java:169)
	at org.glassfish.jersey.client.JerseyClient.checkNotClosed(JerseyClient.java:257)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:272)
	at org.glassfish.jersey.client.JerseyClient.target(JerseyClient.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.performCompletedProcessInstanceRequest(CompletedProcessInstanceFetcher.java:84)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.lambda$fetchCompletedProcessInstances$1(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:69)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedProcessInstanceFetcher.fetchCompletedProcessInstances(CompletedProcessInstanceFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedProcessInstanceEngineImportMediator.getEntitiesNextPage(CompletedProcessInstanceEngineImportMediator.java:48)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:48.334 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - Resetting all MockServer expectations and logs
04:18:48.429 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - No longer using Engine MockServer
04:18:48.430 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:48.430 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:48.430 [EngineImportScheduler-1] ERROR o.c.o.s.i.AbstractImportScheduler - Scheduler was interrupted while sleeping.
java.lang.InterruptedException: sleep interrupted
	at java.base/java.lang.Thread.sleep(Native Method)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.doBackoff(AbstractImportScheduler.java:139)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:51)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:48.436 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:18:48.436 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:18:48.437 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:18:48.437 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:18:48.462 [main] INFO  o.c.o.s.i.ImportSchedulerManagerService - Import was disabled by config for import source IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:48.462 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Start scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:48.475 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7130155) on 1 process definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:48.509 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7130177) on 1 decision definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:48.569 [EngineImportScheduler-1] ERROR o.c.o.s.i.e.f.i.CompletedUserTaskInstanceFetcher - Error during fetching of entities. Please check the connection with [camunda-bpm]!
javax.ws.rs.client.ResponseProcessingException: Failed to convert a response into an exception.
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:974)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:794)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:687)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:432)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:323)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.performCompletedUserTaskInstanceRequest(CompletedUserTaskInstanceFetcher.java:108)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.lambda$fetchCompletedUserTaskInstancesForTimestamp$0(CompletedUserTaskInstanceFetcher.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.fetchCompletedUserTaskInstancesForTimestamp(CompletedUserTaskInstanceFetcher.java:55)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedUserTaskEngineImportMediator.getEntitiesLastTimestamp(CompletedUserTaskEngineImportMediator.java:53)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: javax.ws.rs.ProcessingException: Failed to buffer the message content input stream.
	at org.glassfish.jersey.message.internal.InboundMessageContext.bufferEntity(InboundMessageContext.java:942)
	at org.glassfish.jersey.client.InboundJaxrsResponse.bufferEntity(InboundJaxrsResponse.java:139)
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:928)
	... 40 common frames omitted
Caused by: java.io.IOException: Invalid Http response
	at java.base/jdk.internal.reflect.GeneratedConstructorAccessor237.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1974)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1969)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1968)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at org.glassfish.jersey.client.internal.HttpUrlConnector$2$1.get(HttpUrlConnector.java:163)
	at org.glassfish.jersey.client.internal.HttpUrlConnector$2$1.get(HttpUrlConnector.java:159)
	at org.glassfish.jersey.internal.util.collection.Values$LazyUnsafeValueImpl.get(Values.java:402)
	at org.glassfish.jersey.client.internal.HttpUrlConnector$2.read(HttpUrlConnector.java:203)
	at org.glassfish.jersey.message.internal.ReaderWriter.writeTo(ReaderWriter.java:92)
	at org.glassfish.jersey.message.internal.InboundMessageContext.bufferEntity(InboundMessageContext.java:929)
	... 42 common frames omitted
Caused by: java.io.IOException: Invalid Http response
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1634)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:378)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:267)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	... 39 common frames omitted
04:18:50.108 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - Resetting all MockServer expectations and logs
04:18:50.193 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - No longer using Engine MockServer
04:18:50.194 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:50.194 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:50.194 [EngineImportScheduler-1] ERROR o.c.o.s.i.AbstractImportScheduler - Scheduler was interrupted while sleeping.
java.lang.InterruptedException: sleep interrupted
	at java.base/java.lang.Thread.sleep(Native Method)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.doBackoff(AbstractImportScheduler.java:139)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:51)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
04:18:50.198 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:18:50.198 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:18:50.199 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:18:50.199 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
04:18:50.218 [main] INFO  o.c.o.s.i.ImportSchedulerManagerService - Import was disabled by config for import source IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:50.218 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Start scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:50.233 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7132202) on 1 process definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:50.260 [EngineImportScheduler-1] INFO  o.c.o.s.e.w.ElasticsearchWriterUtil - Progress of task (ID:axfcR2ziSOixYNsgv2YXng:7132224) on 1 decision definitions: 0% (total: 0, updated: 0, created: 0, deleted: 0). Completed is false
04:18:50.319 [EngineImportScheduler-1] ERROR o.c.o.s.i.e.f.i.CompletedUserTaskInstanceFetcher - Error during fetching of entities. Please check the connection with [camunda-bpm]!
javax.ws.rs.client.ResponseProcessingException: Failed to convert a response into an exception.
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:974)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:794)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:687)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:686)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:432)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:323)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.performCompletedUserTaskInstanceRequest(CompletedUserTaskInstanceFetcher.java:108)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.lambda$fetchCompletedUserTaskInstancesForTimestamp$0(CompletedUserTaskInstanceFetcher.java:56)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.RetryBackoffEngineEntityFetcher.fetchWithRetry(RetryBackoffEngineEntityFetcher.java:44)
	at org.camunda.optimize.service.importing.engine.fetcher.instance.CompletedUserTaskInstanceFetcher.fetchCompletedUserTaskInstancesForTimestamp(CompletedUserTaskInstanceFetcher.java:55)
	at org.camunda.optimize.service.importing.engine.mediator.CompletedUserTaskEngineImportMediator.getEntitiesLastTimestamp(CompletedUserTaskEngineImportMediator.java:53)
	at org.camunda.optimize.service.importing.TimestampBasedImportMediator.importNextPage(TimestampBasedImportMediator.java:28)
	at org.camunda.optimize.service.importing.BackoffImportMediator.importNextPageRetryOnError(BackoffImportMediator.java:79)
	at org.camunda.optimize.service.importing.BackoffImportMediator.runImport(BackoffImportMediator.java:27)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.lambda$executeImportRound$2(AbstractImportScheduler.java:99)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.executeImportRound(AbstractImportScheduler.java:108)
	at org.camunda.optimize.service.importing.engine.EngineImportScheduler.runImportRound(EngineImportScheduler.java:57)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.runImportRound(AbstractImportScheduler.java:65)
	at org.camunda.optimize.service.importing.AbstractImportScheduler.run(AbstractImportScheduler.java:35)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: javax.ws.rs.ProcessingException: Failed to buffer the message content input stream.
	at org.glassfish.jersey.message.internal.InboundMessageContext.bufferEntity(InboundMessageContext.java:942)
	at org.glassfish.jersey.client.InboundJaxrsResponse.bufferEntity(InboundJaxrsResponse.java:139)
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:928)
	... 40 common frames omitted
Caused by: java.io.IOException: Invalid Http response
	at java.base/jdk.internal.reflect.GeneratedConstructorAccessor237.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1974)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1969)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1968)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at org.glassfish.jersey.client.internal.HttpUrlConnector$2$1.get(HttpUrlConnector.java:163)
	at org.glassfish.jersey.client.internal.HttpUrlConnector$2$1.get(HttpUrlConnector.java:159)
	at org.glassfish.jersey.internal.util.collection.Values$LazyUnsafeValueImpl.get(Values.java:402)
	at org.glassfish.jersey.client.internal.HttpUrlConnector$2.read(HttpUrlConnector.java:203)
	at org.glassfish.jersey.message.internal.ReaderWriter.writeTo(ReaderWriter.java:92)
	at org.glassfish.jersey.message.internal.InboundMessageContext.bufferEntity(InboundMessageContext.java:929)
	... 42 common frames omitted
Caused by: java.io.IOException: Invalid Http response
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1634)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:378)
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:267)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
	... 39 common frames omitted
04:18:51.855 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - Resetting all MockServer expectations and logs
04:18:51.941 [main] INFO  o.c.o.t.i.e.EngineIntegrationExtension - No longer using Engine MockServer
04:18:51.942 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:51.942 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:51.942 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - resetting config, parsing defaultconfig and copying properties
04:18:51.945 [main] INFO  o.c.o.t.i.e.TestEmbeddedCamundaOptimize - done resetting config
04:18:51.946 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from IngestedDataSourceDto(super=DataSourceDto(type=ingested, name=null)).
04:18:51.946 [main] INFO  o.c.o.s.i.AbstractImportScheduler - Stop scheduling import from EngineDataSourceDto(super=DataSourceDto(type=engine, name=camunda-bpm)).
04:18:51.952 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Initializing TelemetryScheduler
04:18:51.952 [main] INFO  o.c.o.s.telemetry.TelemetryScheduler - Starting telemetry scheduling
04:18:51.953 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Initializing OptimizeCleanupScheduler
04:18:51.953 [main] INFO  o.c.o.s.cleanup.CleanupScheduler - Stopping cleanup scheduling
