Azure data studio with postgres cannot connect to server

נימרוד ונדר 1 Reputation point
2022-07-24T05:21:27.643+00:00

I am trying to connect to azure data studio to a postgresql database on azure, and the liading spinner loads forever (even for more than a day).

This seems wierd to me because I was able to connect without any issues a few days ago using the same credentials.

Same problem occures while conecting to my local postgres db.

Also tried to reinstall azure data studio.

I have installed the following extensions:

  1. Postgresql
  2. Mssql (installed in vs cose)
  3. Db projects
  4. T-sql

Thanks for your help!

Azure Database for PostgreSQL
{count} votes

2 answers

Sort by: Most helpful
  1. Anurag Sharma 17,606 Reputation points
    2022-07-25T08:01:08.107+00:00

    Hi @נימרוד ונדר , welcome to Microsoft Q&A forum.

    I tried connecting to Azure PostgreSQL - Single Server through Azure Data Studio and was able to connect without any issue.

    Can you please run the command 'Developer: Open Logs Folder' as shown below and check the latest logs if that gives any information:

    224260-image.png

    1 person found this answer helpful.
    0 comments No comments

  2. ericOnline 21 Reputation points
    2024-07-23T21:05:53.2333333+00:00

    Nothing obvious shown in the logs. I get the error:

    connection failed: could not receive data from server: Socket is not connected (0x00002749/10057)
    could not send SSL negotiation packet: Socket is not connected (0x00002749/10057)
    
    

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.