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

docker container webapi not started #17897

Open
maikhir opened this issue Apr 20, 2024 · 1 comment
Open

docker container webapi not started #17897

maikhir opened this issue Apr 20, 2024 · 1 comment

Comments

@maikhir
Copy link

maikhir commented Apr 20, 2024

Hi,
i have started the docker container with docker compose but webapi container has some errors:

16:22:06.471 [C3P0PooledConnectionPoolManager[identityToken->1bqq1hib21y0ax8dwm5y67|dfd3711, dataSourceName->metasfreshDS]-HelperThread-#1] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - An exception occurred while acquiring a poolable resource. Will retry.
webapi_1 | org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "172.17.0.6", user "metasfresh", database "metasfresh", no encryption
webapi_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:646)
webapi_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:180)
webapi_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:235)
webapi_1 | at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
webapi_1 | at org.postgresql.jdbc.PgConnection.(PgConnection.java:223)
webapi_1 | at org.postgresql.Driver.makeConnection(Driver.java:400)
webapi_1 | at org.postgresql.Driver.connect(Driver.java:259)
webapi_1 | at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
webapi_1 | at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
webapi_1 | at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:214)
webapi_1 | at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1176)
webapi_1 | at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1163)
webapi_1 | at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
webapi_1 | at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1908)
webapi_1 | at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
webapi_1 | Suppressed: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "172.17.0.6", user "metasfresh", database "metasfresh", no encryption
webapi_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:646)
webapi_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:180)
webapi_1 | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:244)
webapi_1 | ... 12 common frames omitted

@maikhir
Copy link
Author

maikhir commented Apr 20, 2024

docker-compose.yml.txt

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

1 participant