Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and Run failed ( vault) #322

Open
salisbury-espinosa opened this issue Oct 5, 2022 · 4 comments
Open

Build and Run failed ( vault) #322

salisbury-espinosa opened this issue Oct 5, 2022 · 4 comments

Comments

@salisbury-espinosa
Copy link

salisbury-espinosa commented Oct 5, 2022

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
Copy link
Author

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
Copy link
Author

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

@maryarm
Copy link
Contributor

maryarm commented Oct 6, 2022

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.

@Marchosiax
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants