Cannot connect to database

I am having trouble connecting to any database using pocketquery. On my sandbox site for confluence, I am able to connect with no problem. Version 2.0.4. On the same version on the regular confluence, I am getting the following error. "IO Error: The Network Adapter could not establish the connection"

 

 pocketqueryerror.PNG

5 answers

Hi Phillip! First of all, thank you for your interest in PocketQuery! Could you please click on the "Stack Trace" link and post the content of the dialog that will appear?

It is a very long dialog, I am going to attach it. Let me know if you need it posted in the actual comment though. 

Hi Phillip, the root cause of your exception is actually this:

Caused by: java.net.UnknownHostException: VMDEVDB01.PowerPlan.ppc.com

It seems your Confluence cannot connect to that host, but it wants to when it establishes the DB connection.

It turns out that our production instance of Confluence is hosted by another company offsite, and that is why we could not reach my databases from there. Have you ever run into this situation? I am not sure that I will be able to easily ping outside of their domain.

Hi Phillip! If your database server is not pingable from your Confluence server, PocketQuery won't be able to connect to the database either. You'll definitely make sure a connection between Confluence and the DB server is possible... 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

372 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you