eclipse / openvsx

An open-source registry for VS Code extensions
https://open-vsx.org/
Eclipse Public License 2.0
1.21k stars 132 forks source link

Don't try to connect to ElasticSearch when it is disabled in application.yml #530

Closed jmorcate closed 1 year ago

jmorcate commented 1 year ago

I have tried to run a openvsx server container, tag f956110, My set up is:

services: openvsx-server: image: "ghcr.io/eclipse/openvsx-server:f956110" volumes:

spring: profiles: include: ovsx cache: jcache: config: classpath:ehcache.xml datasource: url: jdbc:postgresql://openvsx-db:5432/openvsx username: gitpod password: gitpod flyway: baseline-on-migrate: true baseline-version: 0.1.0 baseline-description: JobRunr tables jpa: open-in-view: false properties: hibernate: dialect: org.hibernate.dialect.PostgreSQLDialect hibernate: ddl-auto: none session: store-type: jdbc jdbc: initialize-schema: never

security: oauth2: client: registration: eclipse: authorization-grant-type: authorization_code redirect-uri: http://localhost/login/oauth2/code/eclipse scope: openvsx_publisher_agreement, profile provider: eclipse: authorization-uri: https://accounts.eclipse.org/oauth2/authorize token-uri: https://accounts.eclipse.org/oauth2/token user-info-uri: https://accounts.eclipse.org/oauth2/UserInfo user-name-attribute: name user-info-authentication-method: header

management: health: probes: enabled: true

springdoc: swagger-ui: docExpansion: list operationsSorter: alpha supportedSubmitMethods:

org: jobrunr: job-scheduler: enabled: true background-job-server: enabled: true worker-count: 2 dashboard: enabled: false miscellaneous: allow-anonymous-data-usage: false

bucket4j: enabled: true filters:

ovsx: databasesearch: enabled: false elasticsearch: enabled: false eclipse: base-url: https://api.eclipse.org publisher-agreement: timezone: US/Eastern

 and I get the following error:
```❯ docker compose up --build
[+] Running 3/3
 ⠿ Network open-vsx_default             Created                                                                              0.1s
 ⠿ Container open-vsx-openvsx-db-1      Created                                                                              0.1s
 ⠿ Container open-vsx-openvsx-server-1  Created                                                                              0.1s
Attaching to open-vsx-openvsx-db-1, open-vsx-openvsx-server-1
open-vsx-openvsx-server-1  | JVM_ARGS: ''
open-vsx-openvsx-db-1      |
open-vsx-openvsx-db-1      | PostgreSQL Database directory appears to contain a database; Skipping initialization
open-vsx-openvsx-db-1      |
open-vsx-openvsx-db-1      | 2022-09-27 07:57:18.720 UTC [1] LOG:  starting PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
open-vsx-openvsx-db-1      | 2022-09-27 07:57:18.720 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
open-vsx-openvsx-db-1      | 2022-09-27 07:57:18.720 UTC [1] LOG:  listening on IPv6 address "::", port 5432
open-vsx-openvsx-db-1      | 2022-09-27 07:57:18.725 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
open-vsx-openvsx-db-1      | 2022-09-27 07:57:18.742 UTC [26] LOG:  database system was shut down at 2022-09-27 07:56:55 UTC
open-vsx-openvsx-db-1      | 2022-09-27 07:57:18.748 UTC [1] LOG:  database system is ready to accept connections
open-vsx-openvsx-server-1  |
open-vsx-openvsx-server-1  |   .   ____          _            __ _ _
open-vsx-openvsx-server-1  |  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
open-vsx-openvsx-server-1  | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
open-vsx-openvsx-server-1  |  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
open-vsx-openvsx-server-1  |   '  |____| .__|_| |_|_| |_\__, | / / / /
open-vsx-openvsx-server-1  |  =========|_|==============|___/=/_/_/_/
open-vsx-openvsx-server-1  |  :: Spring Boot ::                (v2.7.0)
open-vsx-openvsx-server-1  |
open-vsx-openvsx-server-1  | 2022-09-27 07:57:20.021  INFO 1 --- [           main] org.eclipse.openvsx.RegistryApplication  : Starting RegistryApplication using Java 11.0.7 on 40b9d66ca1f7 with PID 1 (/home/openvsx/server/BOOT-INF/classes started by openvsx in /home/openvsx/server)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:20.024  INFO 1 --- [           main] org.eclipse.openvsx.RegistryApplication  : The following 1 profile is active: "ovsx"
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.113  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.116  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Elasticsearch repositories in DEFAULT mode.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.178  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.AdminStatisticsRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.179  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.AzureDownloadCountProcessedItemRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.183  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.ExtensionRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.185  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.ExtensionReviewRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.188  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.ExtensionVersionRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.189  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.ExtractResourcesMigrationItemRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.191  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.FileResourceRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.193  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.NamespaceMembershipRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.194  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.NamespaceRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.196  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.PersistedLogRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.198  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.PersonalAccessTokenRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.199  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.UserDataRepository. If you want this repository to be a Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ElasticsearchRepository, org.springframework.data.elasticsearch.repository.ElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.200  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 78 ms. Found 0 Elasticsearch repository interfaces.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.206  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.207  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Reactive Elasticsearch repositories in DEFAULT mode.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.217  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.AdminStatisticsRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.217  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.AzureDownloadCountProcessedItemRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.218  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.ExtensionRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.219  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.ExtensionReviewRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.220  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.ExtensionVersionRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.220  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.ExtractResourcesMigrationItemRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.221  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.FileResourceRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.222  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.NamespaceMembershipRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.223  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.NamespaceRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.223  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.PersistedLogRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.224  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.PersonalAccessTokenRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.225  INFO 1 --- [           main] .RepositoryConfigurationExtensionSupport : Spring Data Reactive Elasticsearch - Could not safely identify store assignment for repository candidate interface org.eclipse.openvsx.repositories.UserDataRepository. If you want this repository to be a Reactive Elasticsearch repository, consider annotating your entities with one of these annotations: org.springframework.data.elasticsearch.annotations.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.225  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 0 Reactive Elasticsearch repository interfaces.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.236  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.239  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.435  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 190 ms. Found 12 JPA repository interfaces.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.966  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.jobrunr.spring.autoconfigure.JobRunrAutoConfiguration' of type [org.jobrunr.spring.autoconfigure.JobRunrAutoConfiguration$$EnhancerBySpringCGLIB$$83095122] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.975  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration' of type [org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration$$EnhancerBySpringCGLIB$$8f08b417] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:22.984  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'searchConfig' of type [org.eclipse.openvsx.search.SearchConfig$$EnhancerBySpringCGLIB$$fcb3507d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.490  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'elasticsearchClient' of type [org.elasticsearch.client.RestHighLevelClient] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.505  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.jobrunr.spring.autoconfigure.JobRunrAutoConfiguration$JobRunrJacksonAutoConfiguration' of type [org.jobrunr.spring.autoconfigure.JobRunrAutoConfiguration$JobRunrJacksonAutoConfiguration$$EnhancerBySpringCGLIB$$d6c46216] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.533  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jobRunrJsonMapper' of type [org.jobrunr.utils.mapper.jackson.JacksonJsonMapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.541  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'jobMapper' of type [org.jobrunr.jobs.mappers.JobMapper] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.560  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.563  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'stringOrNumberMigrationVersionConverter' of type [org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$StringOrNumberToMigrationVersionConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.575  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.jobrunr-org.jobrunr.spring.autoconfigure.JobRunrProperties' of type [org.jobrunr.spring.autoconfigure.JobRunrProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.732  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'recurringJobPostProcessor' defined in class path resource [org/jobrunr/spring/autoconfigure/JobRunrAutoConfiguration.class]: Unsatisfied dependency expressed through method 'recurringJobPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobScheduler' defined in class path resource [org/jobrunr/spring/autoconfigure/JobRunrAutoConfiguration.class]: Unsatisfied dependency expressed through method 'jobScheduler' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storageProvider' defined in class path resource [org/jobrunr/spring/autoconfigure/storage/JobRunrElasticSearchStorageAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.jobrunr.storage.StorageProvider]: Factory method 'elasticSearchStorageProvider' threw exception; nested exception is ElasticsearchException[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused]; nested: ExecutionException[java.net.ConnectException: Connection refused]; nested: ConnectException[Connection refused];
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.765  INFO 1 --- [           main] ConditionEvaluationReportLoggingListener :
open-vsx-openvsx-server-1  |
open-vsx-openvsx-server-1  | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
open-vsx-openvsx-server-1  | 2022-09-27 07:57:23.796 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed
open-vsx-openvsx-server-1  |
open-vsx-openvsx-server-1  | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'recurringJobPostProcessor' defined in class path resource [org/jobrunr/spring/autoconfigure/JobRunrAutoConfiguration.class]: Unsatisfied dependency expressed through method 'recurringJobPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobScheduler' defined in class path resource [org/jobrunr/spring/autoconfigure/JobRunrAutoConfiguration.class]: Unsatisfied dependency expressed through method 'jobScheduler' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storageProvider' defined in class path resource [org/jobrunr/spring/autoconfigure/storage/JobRunrElasticSearchStorageAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.jobrunr.storage.StorageProvider]: Factory method 'elasticSearchStorageProvider' threw exception; nested exception is ElasticsearchException[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused]; nested: ExecutionException[java.net.ConnectException: Connection refused]; nested: ConnectException[Connection refused];
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:213) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:270) ~[spring-context-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:762) ~[spring-context-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:567) ~[spring-context-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.0.jar:2.7.0]
open-vsx-openvsx-server-1  |    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734) ~[spring-boot-2.7.0.jar:2.7.0]
open-vsx-openvsx-server-1  |    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.0.jar:2.7.0]
open-vsx-openvsx-server-1  |    at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) ~[spring-boot-2.7.0.jar:2.7.0]
open-vsx-openvsx-server-1  |    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) ~[spring-boot-2.7.0.jar:2.7.0]
open-vsx-openvsx-server-1  |    at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) ~[spring-boot-2.7.0.jar:2.7.0]
open-vsx-openvsx-server-1  |    at org.eclipse.openvsx.RegistryApplication.main(RegistryApplication.java:44) ~[classes/:na]
open-vsx-openvsx-server-1  | Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jobScheduler' defined in class path resource [org/jobrunr/spring/autoconfigure/JobRunrAutoConfiguration.class]: Unsatisfied dependency expressed through method 'jobScheduler' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storageProvider' defined in class path resource [org/jobrunr/spring/autoconfigure/storage/JobRunrElasticSearchStorageAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.jobrunr.storage.StorageProvider]: Factory method 'elasticSearchStorageProvider' threw exception; nested exception is ElasticsearchException[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused]; nested: ExecutionException[java.net.ConnectException: Connection refused]; nested: ConnectException[Connection refused];
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    ... 19 common frames omitted
open-vsx-openvsx-server-1  | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storageProvider' defined in class path resource [org/jobrunr/spring/autoconfigure/storage/JobRunrElasticSearchStorageAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.jobrunr.storage.StorageProvider]: Factory method 'elasticSearchStorageProvider' threw exception; nested exception is ElasticsearchException[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused]; nested: ExecutionException[java.net.ConnectException: Connection refused]; nested: ConnectException[Connection refused];
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    ... 33 common frames omitted
open-vsx-openvsx-server-1  | Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.jobrunr.storage.StorageProvider]: Factory method 'elasticSearchStorageProvider' threw exception; nested exception is ElasticsearchException[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused]; nested: ExecutionException[java.net.ConnectException: Connection refused]; nested: ConnectException[Connection refused];
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    ... 47 common frames omitted
open-vsx-openvsx-server-1  | Caused by: org.elasticsearch.ElasticsearchException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2695) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2171) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:2137) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:2105) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.ClusterClient.health(ClusterClient.java:151) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.migrations.ElasticSearchMigration.waitForHealthyCluster(ElasticSearchMigration.java:27) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.ElasticSearchDBCreator.<init>(ElasticSearchDBCreator.java:52) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.ElasticSearchStorageProvider.setUpStorageProvider(ElasticSearchStorageProvider.java:135) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.ElasticSearchStorageProvider.<init>(ElasticSearchStorageProvider.java:119) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.ElasticSearchStorageProvider.<init>(ElasticSearchStorageProvider.java:103) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration.elasticSearchStorageProvider(JobRunrElasticSearchStorageAutoConfiguration.java:28) ~[jobrunr-spring-boot-starter-5.1.2.jar:na]
open-vsx-openvsx-server-1  |    at org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration$$EnhancerBySpringCGLIB$$8f08b417.CGLIB$elasticSearchStorageProvider$0(<generated>) ~[jobrunr-spring-boot-starter-5.1.2.jar:na]
open-vsx-openvsx-server-1  |    at org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration$$EnhancerBySpringCGLIB$$8f08b417$$FastClassBySpringCGLIB$$4e4067eb.invoke(<generated>) ~[jobrunr-spring-boot-starter-5.1.2.jar:na]
open-vsx-openvsx-server-1  |    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration$$EnhancerBySpringCGLIB$$8f08b417.elasticSearchStorageProvider(<generated>) ~[jobrunr-spring-boot-starter-5.1.2.jar:na]
open-vsx-openvsx-server-1  |    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
open-vsx-openvsx-server-1  |    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
open-vsx-openvsx-server-1  |    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
open-vsx-openvsx-server-1  |    at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    ... 48 common frames omitted
open-vsx-openvsx-server-1  | Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
open-vsx-openvsx-server-1  |    at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:257) ~[elasticsearch-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:244) ~[elasticsearch-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:75) ~[elasticsearch-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2692) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    ... 68 common frames omitted
open-vsx-openvsx-server-1  | Caused by: java.net.ConnectException: Connection refused
open-vsx-openvsx-server-1  |    at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:na]
open-vsx-openvsx-server-1  |    at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) ~[na:na]
open-vsx-openvsx-server-1  |    at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174) ~[httpcore-nio-4.4.15.jar:4.4.15]
open-vsx-openvsx-server-1  |    at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148) ~[httpcore-nio-4.4.15.jar:4.4.15]
open-vsx-openvsx-server-1  |    at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351) ~[httpcore-nio-4.4.15.jar:4.4.15]
open-vsx-openvsx-server-1  |    at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221) ~[httpasyncclient-4.1.5.jar:4.1.5]
open-vsx-openvsx-server-1  |    at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64) ~[httpasyncclient-4.1.5.jar:4.1.5]
open-vsx-openvsx-server-1  |    at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
open-vsx-openvsx-server-1  |
open-vsx-openvsx-server-1 exited with code 1
amvanbaren commented 1 year ago

Hi @jmorcate, it looks like ElasticSearch isn't running.

open-vsx-openvsx-server-1  | Caused by: org.elasticsearch.ElasticsearchException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2695) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2171) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:2137) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:2105) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.ClusterClient.health(ClusterClient.java:151) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.migrations.ElasticSearchMigration.waitForHealthyCluster(ElasticSearchMigration.java:27) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.ElasticSearchDBCreator.<init>(ElasticSearchDBCreator.java:52) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.ElasticSearchStorageProvider.setUpStorageProvider(ElasticSearchStorageProvider.java:135) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.ElasticSearchStorageProvider.<init>(ElasticSearchStorageProvider.java:119) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.storage.nosql.elasticsearch.ElasticSearchStorageProvider.<init>(ElasticSearchStorageProvider.java:103) ~[jobrunr-5.1.2.jar:5.1.2]
open-vsx-openvsx-server-1  |    at org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration.elasticSearchStorageProvider(JobRunrElasticSearchStorageAutoConfiguration.java:28) ~[jobrunr-spring-boot-starter-5.1.2.jar:na]
open-vsx-openvsx-server-1  |    at org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration$$EnhancerBySpringCGLIB$$8f08b417.CGLIB$elasticSearchStorageProvider$0(<generated>) ~[jobrunr-spring-boot-starter-5.1.2.jar:na]
open-vsx-openvsx-server-1  |    at org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration$$EnhancerBySpringCGLIB$$8f08b417$$FastClassBySpringCGLIB$$4e4067eb.invoke(<generated>) ~[jobrunr-spring-boot-starter-5.1.2.jar:na]
open-vsx-openvsx-server-1  |    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    at org.jobrunr.spring.autoconfigure.storage.JobRunrElasticSearchStorageAutoConfiguration$$EnhancerBySpringCGLIB$$8f08b417.elasticSearchStorageProvider(<generated>) ~[jobrunr-spring-boot-starter-5.1.2.jar:na]
open-vsx-openvsx-server-1  |    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
open-vsx-openvsx-server-1  |    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
open-vsx-openvsx-server-1  |    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
open-vsx-openvsx-server-1  |    at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
open-vsx-openvsx-server-1  |    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.20.jar:5.3.20]
open-vsx-openvsx-server-1  |    ... 48 common frames omitted
open-vsx-openvsx-server-1  | Caused by: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
open-vsx-openvsx-server-1  |    at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.getValue(BaseFuture.java:257) ~[elasticsearch-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:244) ~[elasticsearch-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:75) ~[elasticsearch-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2692) ~[elasticsearch-rest-high-level-client-7.17.3.jar:7.17.3]
open-vsx-openvsx-server-1  |    ... 68 common frames omitted
jmorcate commented 1 year ago

Maybe, but it shouldn't be running. In the application.yml I have elasticsearch disabled:

ovsx:
  databasesearch:
    enabled: false
  elasticsearch:
    enabled: false
  eclipse:
    base-url: https://api.eclipse.org
    publisher-agreement:
      timezone: US/Eastern

But I will give it a try. Thanks @amvanbaren

amvanbaren commented 1 year ago

@jmorcate Just tested this again. It works now.