"The system has encountered an error." and "No connection with server"

Application ID: 79120728-0332-EF30-FF13-28C8FAD15A00
Error UID: DBCC5851-28F2-DB51-FF3A-7D8B1BAB8400

Backendless encountered an error while handling the request. An internal trouble ticket with ID DBCC5851-28F2-DB51-FF3A-7D8B1BAB8400 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

Hi, there seems to be a server problem. Similar to https://support.backendless.com/t/cant-connect-to-server/12450

Api says:

error while logging in: Error: Backendless encountered an error while handling the request. An internal trouble ticket with ID 3CF4D421-5716-BF81-FF08-C66BDE37FB00 has been created and we will be investigating the issue.
Could not get a resource from the pool
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

Web Console says “The system has encountered an error.” and “No connection with server”

Steps to reproduce

Please describe steps to reproduce starting from the first action.

Any Login on Web Console or API use

Please help, thx :slight_smile:

1 Like

EU-services seem do be down …

2 Likes