Background task failed: Failed to obtain JDBC Conn...
# gd-beginners
m
Background task failed: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (The TCP/IP connection to the host xxx.xx.xx.xx, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".): Cannot create PoolableConnectionFactory (The TCP/IP connection to the host xxx.xx.xx.xx, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".): The TCP/IP connection to the host xxx.xx.xx.xx, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.". can anyone help me what is the matter here
m
Hi Mohammed, Thanks for your question. Please see the following Community answer that may help with this: https://community.gooddata.com/got-a-question-69/failed-to-obtain-jdbc-connection-600?postid=1698#post1698
v
I have had this error when the container that GoodData was in could not connect to the db instance. You can use the API to get / set what the connection string is. Be mindful if GoodData is running in docker compose, then it might need to use a different hostname to connect to the db container.