Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Connection to server got closed. Server will not be restarted.

Open
#230 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
postgresql, python, vscode
Domain
database, devtools

Research direction

Start with the extension logs linked in the issue and reproduce the failure in PostgreSQL extension 1.16 on macOS arm64. Trace the failed pgsqltoolsservice Python shared-library load; done means the connection window loads connections and the database context menu offers “Connect in Agent Mode” without the server connection closing.

Written by the indexing model from the issue text.

Description

Describe the bug

[PYI-78957:ERROR] Failed to load Python shared library '/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python': dlopen(/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python, 0x000A): tried: '/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python' (errno=62), '/System/Volumes/Preboot/Cryptexes/OS/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python' (no such file), '/Users/xxx/.vscode/extensions/ms-ossdata.vscode-pgsql-1.16.0-darwin-arm64/pgsqltoolsservice/v2.4.1/OSX/pgsqltoolsservice/_internal/Python' (errno=62)
[Error - 1:13:58 PM] Connection to server got closed. Server will not be restarted.

To Reproduce

Steps to reproduce the behavior:

  1. Click on PostgreSQL extension 1.16
  2. Output tab shows error
  3. Getting connections, load query history etc.. are stuck

Expected behavior

Connection windows shows all connections to various servers or give an option to add server. Once connected to a server, right click on database shows "Connect in Agent Mode" option

Screenshots

Image Image

VS Code version

Version: 1.109.5 (Universal)
Commit: 072586267e68ece9a47aa43f8c108e0dcbf44622
Date: 2026-02-19T19:43:32.382Z
Electron: 39.3.0
ElectronBuildId: 13313481
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Extension Logs

See: https://github.com/microsoft/vscode-pgsql?tab=readme-ov-file#usage-and-feedback

Add any other context about the problem here.

Dominant language
No language data
Stars
395
Forks
33
Avg merge
1h 46m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-pgsql

All issues in microsoft/vscode-pgsql

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.