Support Topics Documentation Slack YouTube Blog

Can't connect to server!

Application ID: BBEB23FC-1C0D-950E-FFF6-EA121F3C7500
Error UID: B839A246-AD43-C912-FFE8-F66299EDCB00

Backendless encountered an error while handling the request. An internal trouble ticket with ID B839A246-AD43-C912-FFE8-F66299EDCB00 has been created and we will be investigating the issue.
java.sql.SQLException: Could not retrieve connection info from pool
java.lang.RuntimeException: java.sql.SQLException: Could not retrieve connection info from pool
	at com.backendless.db.connection.pool.ConnectionPool.getConnection(ConnectionPool.java:29)
	at com.backendless.db.connection.pool.DbCpConnectionPool.getConnection(DbCpConnectionPool.java:34)
	at com.backendless.db.connection.pool.ShardedConnectionPoolManager.buildConnection(ShardedConnectionPoolManager.java:97)
	at com.backendless.db.connection.pool.ShardedConnectionPoolManager.getConnection(ShardedConnectionPoolManager.java:57)
	at com.backendless.db.connection.pool.ShardedConnectionPoolManager.getConnection(ShardedConnectionPoolManager.java:52)
	at com.backendless.util.db.DbcpConnectionProviderImpl.getConnection(DbcpConnectionProviderImpl.java:60)
	at com.backendless.util.db.MultiTenantConnectionProviderImpl.getConnection(MultiTenantConnectionProviderImpl.java:41)
	at org.hibernate.internal.ContextualJdbcConnectionAccess.obtainConnection(ContextualJdbcConnectionAccess.java:43)
	at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:104)
	at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:134)
	at org.hibernate.internal.SessionImpl.connection(SessionImpl.java:478)
	at com.backendless.datamodel.dao.AbstractEntityManager.getDBName(AbstractEntityManager.java:70)
	at com.backendless.datamodel.dao.AbstractTransaction.rollback(AbstractTransaction.java:121)
	at com.backendless.datamodel.dao.JpaTransaction.executeSync(JpaTransaction.java:292)
	at com.backendless.datamodel.dao.JpaTransaction.executeAppSync(JpaTransaction.java:183)
	at com.backendless.datamodel.dao.JpaTransaction.executeApp(JpaTransaction.java:220)
	at com.backendless.datamodel.dao.JpaTransaction.execute(JpaTransaction.java:60)
	at com.backendless.datamodel.dao.JpaTransactionService.execute(JpaTransactionService.java:18)
	at com.backendless.datamodel.dao.AbstractEntityDAO.findAll(AbstractEntityDAO.java:125)
	at com.backendless.services.mail.MailServiceManagement.getEmailSettings(MailServiceManagement.java:65)
	at com.backendless.management.appsettings.ManageAppSettingsService.lambda$getEmailSettingsFromDB$7(ManageAppSettingsService.java:358)
	at com.backendless.datamodel.dao.JpaContext.executeAppSync(JpaContext.java:125)
	at com.backendless.datamodel.dao.JpaContext.lambda$executeApp$0(JpaContext.java:150)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
	Suppressed: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Could not retrieve connection info from pool
		at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
		at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
		at com.backendless.async.UncheckedCompletableFutureImpl.getUnchecked(UncheckedCompletableFutureImpl.java:158)
		at com.backendless.management.appsettings.ManageAppSettingsService.getEmailSettingsFromDB(ManageAppSettingsService.java:376)
		at com.backendless.management.appsettings.ManageAppSettingsService.getAppSettings(ManageAppSettingsService.java:183)
		at controllers.console.ManageAppSettings.lambda$getAppSettings$0(ManageAppSettings.java:119)
		at com.backendless.async.ExecutorService.lambda$submit$0(ExecutorService.java:64)
		... 4 more
Caused by: java.sql.SQLException: Could not retrieve connection info from pool
	at org.apache.commons.dbcp2.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataSource.java:147)
	at org.apache.commons.dbcp2.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:915)
	at org.apache.commons.dbcp2.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:892)
	at com.backendless.db.connection.pool.ConnectionPool.getConnection(ConnectionPool.java:25)
	... 26 more
Caused by: java.sql.SQLException: Lost connection to MySQL server during query
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
	at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836)
	at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
	at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246)
	at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:197)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189)
	at org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:369)
	at org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:347)
	at org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory.makeObject(KeyedCPDSConnectionFactory.java:122)
	at org.apache.commons.dbcp2.datasources.KeyedCPDSConnectionFactory.makeObject(KeyedCPDSConnectionFactory.java:46)
	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.create(GenericKeyedObjectPool.java:1051)
	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:347)
	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:270)
	at org.apache.commons.dbcp2.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataSource.java:145)
	... 29 more

Problem description

Describe what you did in console that led to the error. Please provide a description of what actually happens. Be descriptive: “it doesn’t work” does not describe what the behavior actually is. This will help us with reproducing the problem.

Steps to reproduce

Please describe steps to reproduce starting from the first action.

  1. I can’t connect to the server!!! It was working fine two hours ago and I haven’t changed anything - been on client calls.

Hi there
Connection has re-appeared… again without us changing anything
Was there a dropout on eu-develop this morning?
Would be good to understand why we had an issue please.
Thanks!
Andrew

Hello @Andrew_Lawrence

We’re aware of this issue. Our employees already working on fix. Sorry for the inconvenience

Regard, Vitkor