core icon indicating copy to clipboard operation
core copied to clipboard

Build and Run failed ( vault)

Open salisbury-espinosa opened this issue 3 years ago • 4 comments

core-vault-1 | Error enabling: Post "http://0.0.0.0:8200/v1/sys/mounts/secret": dial tcp 0.0.0.0:8200: connect: connection refused

core-vault-1 | 2022-10-05T18:53:35.669Z [WARN] unknown or unsupported field file found in configuration at /vault/config/vault.json core-vault-1 | 2022-10-05T18:53:35.669Z [WARN] unknown or unsupported field tcp found in configuration at /vault/config/vault.json

core-eventlog-1 | 17:46:12.496 [main] ERROR org.springframework.boot.SpringApplication - Application run failed core-eventlog-1 | org.springframework.vault.authentication.VaultLoginException: Cannot retrieve VaultToken from authentication chain; nested exception is org.springframework.web.reactive.function.client.WebClientResponseException$ServiceUnavailable: 503 Service Unavailable from POST http://vault:8200/v1/auth/app-id/login

core-market-1 | 17:46:20.379 [main] ERROR org.springframework.boot.SpringApplication - Application run failed core-market-1 | org.springframework.vault.authentication.VaultLoginException: Cannot retrieve VaultToken from authentication chain; nested exception is org.springframework.web.reactive.function.client.WebClientResponseException$ServiceUnavailable: 503 Service Unavailable from POST http://vault:8200/v1/auth/app-id/login

core-api-1 | 17:46:21.115 [main] ERROR org.springframework.boot.SpringApplication - Application run failed core-api-1 | org.springframework.vault.authentication.VaultLoginException: Cannot retrieve VaultToken from authentication chain; nested exception is org.springframework.web.reactive.function.client.WebClientResponseException$ServiceUnavailable: 503 Service Unavailable from POST http://vault:8200/v1/auth/app-id/login

salisbury-espinosa avatar Oct 05 '22 18:10 salisbury-espinosa

core-matching-engine-1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderKafkaConfig': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: An array of topics must be provided

salisbury-espinosa avatar Oct 06 '22 00:10 salisbury-espinosa

database schema not initialized during installation:

postgres-accountant:
    <<: *postgres-db
    volumes:
      - ./accountant-data:/var/lib/postgresql/data/
    ports:
      - 127.0.0.1:5433:5432

=>

$ PGPASSWORD=hiopex PGUSER=opex PGHOST=localhost PGPORT=5433 PGDATABASE=postgres PGDATABASE=opex psql 
psql (12.12 (Ubuntu 12.12-0ubuntu0.20.04.1), server 14.5)
WARNING: psql major version 12, server major version 14.
         Some psql features might not work.
Type "help" for help.

opex=# \dt
Did not find any relations.
opex=# \l

salisbury-espinosa avatar Oct 06 '22 00:10 salisbury-espinosa

Hey @salisbury-espinosa to help us manage your issues properly, please put all these comments into one and add some info about the OS/ arch/ docker version and how you have started the Opex. Thank you.

maryarm avatar Oct 06 '22 06:10 maryarm

@salisbury-espinosa could you please also provide the commands you're using to build/run the application?

Marchosiax avatar Oct 06 '22 07:10 Marchosiax

The documentation is now updated and includes all the necessary step to build and run the project.

Marchosiax avatar Feb 18 '25 13:02 Marchosiax