org.hibernate.exception.GenericJDBCException: Error calling Driver#connect

GitHub | lefevre00 | 6 months ago
  1. 0

    Connection Postgres

    GitHub | 6 months ago | lefevre00
    org.hibernate.exception.GenericJDBCException: Error calling Driver#connect
  2. 0

    GitHub comment 489#170566860

    GitHub | 11 months ago | HazCod
    org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "2.170.238.32", user "test", database "test", SSL off
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    PSQLException: password-based authentication

    Stack Overflow | 11 months ago | Palak Chugh
    org.postgresql.util.PSQLException: The server requested password-based authentication, but no password was provided.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.postgresql.util.PSQLException

    FATAL: too many connections for role "mssbzhocnhzlzu"

    at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages()
  2. PostgreSQL JDBC Driver
    ConnectionFactory.openConnection
    1. org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:712)
    2. org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:213)
    3. org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:67)
    3 frames
  3. org.postgresql.jdbc
    PgConnection.<init>
    1. org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:216)
    1 frame
  4. PostgreSQL JDBC Driver
    Driver.connect
    1. org.postgresql.Driver.makeConnection(Driver.java:406)
    2. org.postgresql.Driver.connect(Driver.java:274)
    2 frames
  5. org.hibernate.engine
    DriverManagerConnectionProviderImpl.getConnection
    1. org.hibernate.engine.jdbc.connections.internal.DriverConnectionCreator.makeConnection(DriverConnectionCreator.java:38)
    2. org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.createConnection(BasicConnectionCreator.java:58)
    3. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.getConnection(DriverManagerConnectionProviderImpl.java:189)
    3 frames
  6. Hibernate
    AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection
    1. org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:386)
    1 frame
  7. org.hibernate.resource
    LogicalConnectionManagedImpl.getPhysicalConnection
    1. org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:84)
    2. org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:109)
    2 frames
  8. Hibernate
    CriteriaImpl.uniqueResult
    1. org.hibernate.engine.jdbc.internal.StatementPreparerImpl.connection(StatementPreparerImpl.java:47)
    2. org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:146)
    3. org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:172)
    4. org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:148)
    5. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1927)
    6. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1896)
    7. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1874)
    8. org.hibernate.loader.Loader.doQuery(Loader.java:919)
    9. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:336)
    10. org.hibernate.loader.Loader.doList(Loader.java:2610)
    11. org.hibernate.loader.Loader.doList(Loader.java:2593)
    12. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2422)
    13. org.hibernate.loader.Loader.list(Loader.java:2417)
    14. org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:109)
    15. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1787)
    16. org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:363)
    17. org.hibernate.internal.CriteriaImpl.uniqueResult(CriteriaImpl.java:385)
    17 frames
  9. org.friends.app
    AuthenticatedRoute.handle
    1. org.friends.app.dao.PlaceDao.findPlaceByCriterions(PlaceDao.java:88)
    2. org.friends.app.service.impl.PlaceServiceBean.isPlaceShared(PlaceServiceBean.java:219)
    3. org.friends.app.view.route.ShareRoute.doHandle(ShareRoute.java:42)
    4. org.friends.app.view.route.AuthenticatedRoute.handle(AuthenticatedRoute.java:26)
    4 frames
  10. Spark
    JettyHandler.doHandle
    1. spark.TemplateViewRouteImpl$1.handle(TemplateViewRouteImpl.java:66)
    2. spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:162)
    3. spark.webserver.JettyHandler.doHandle(JettyHandler.java:61)
    3 frames
  11. Jetty
    SelectChannelEndPoint$2.run
    1. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
    2. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    3. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
    4. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    5. org.eclipse.jetty.server.Server.handle(Server.java:517)
    6. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:302)
    7. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
    8. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
    9. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    10. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    10 frames
  12. org.eclipse.jetty
    ExecuteProduceConsume.run
    1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    2 frames
  13. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    2 frames
  14. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame