Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension issue - Failed to start PGSQL tools service on Ubuntu #407

Closed
bmuriithi1 opened this issue Jun 14, 2023 · 3 comments
Closed

Extension issue - Failed to start PGSQL tools service on Ubuntu #407

bmuriithi1 opened this issue Jun 14, 2023 · 3 comments
Labels
M2 Issues to be handled June 2023 Release-v0.4 Bug fix to be included in Release-v0.4 of PgSql extension

Comments

@bmuriithi1
Copy link

bmuriithi1 commented Jun 14, 2023

  • Issue Type: Bug
  • Extension Name: azuredatastudio-postgresql
  • Extension Version: 0.3.1
  • OS Version: Linux x64 5.19.0-35-generic
  • VS Code version: 1.44.1

Problem: I try to connect to postgres DBs in my Azure subscriptions using Azure Data Studio. My OS is Ubuntu 22.04. It looks like it's stuck trying to connect for a long period of time and I have to manually cancel the connection attempt. I think this might be linked to the PostgreSQL extension not working for me, see below.

endless_connection_ads

Debugging efforts:
When launching the ADS app on my ubuntu OS, I'm getting the error 'Failed to start PGSQL tools service'. I suspect this is a contributing factor, if not the main cause of the problem.
Failing_Postgres_extension

When I change the log level to 'Debug' and reload ADS, I get the following output in the terminal. Looks like a TypeError is occuring because it's trying to read something that's undefined.

Output_log

When I toggle developer settings in ADS after activating debug mode, I get the following output:

dev_console_output

Things I've tried:

  • Uninstalling and reinstalling the PostgreSQL extension
  • Uninstalling and reinstalling Azure Data Studio on my Ubuntu OS
  • Double-checking that libpq5 and openssl are installed in my OS (PostgreSQL extension dependencies)
  • Installing the extension using the 0.3.1 vsix file from https://github.com/Microsoft/azuredatastudio-postgresql/releases/ but this didn't work.

I found similar issues (#108, #122) but none of the solutions in there worked for me.

Any thoughts/suggestions?

@karabaja4
Copy link

Check #392, #395.

@nasc17 nasc17 added the M2 Issues to be handled June 2023 label Jun 21, 2023
@nasc17
Copy link
Collaborator

nasc17 commented Jun 22, 2023

Bug has been addressed in our unstable release of PostgreSQL extension v0.4.0-insiders. We would appreciate your verification that it has been handled appropriately.

@nasc17 nasc17 added the Release-v0.4 Bug fix to be included in Release-v0.4 of PgSql extension label Jun 22, 2023
@bmuriithi1
Copy link
Author

Can confirm v0.4.0 works fine for me now, thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M2 Issues to be handled June 2023 Release-v0.4 Bug fix to be included in Release-v0.4 of PgSql extension
Projects
None yet
Development

No branches or pull requests

3 participants