microsoft / azuredatastudio-postgresql

azuredatastudio-postgresql is an extension for Azure Data Studio that enables you to work with PostgreSQL databases
Other
192 stars 37 forks source link

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

Closed bmuriithi1 closed 1 year ago

bmuriithi1 commented 1 year ago

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:

I found similar issues (https://github.com/microsoft/azuredatastudio-postgresql/issues/108, https://github.com/microsoft/azuredatastudio-postgresql/issues/122) but none of the solutions in there worked for me.

Any thoughts/suggestions?

karabaja4 commented 1 year ago

Check #392, #395.

nasc17 commented 1 year ago

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.

bmuriithi1 commented 1 year ago

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