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

Azure PostgreSQL server connect - psycopg2

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure, postgresql, python, typescript
Domain
ci-cd, cloud, databases

Research direction

Start with the AzureCLI@2 inline script in the issue and inspect Error_PostgreSQL.txt, focusing on the psycopg2 installation failure during az postgres flexible-server connect. Confirm whether the same connection step still fails on the listed Ubuntu 20.04 VM image; done means the task installs its dependency and connects successfully.

Written by the indexing model from the issue text.

Description

I am trying to run below task in Azure Pipeline. However the task is failing during server connect step as its unable to install psycopg2.
FYI - The task is failing since yesterday only. It was working as expected earlier. I have attached the log file as well.

task: AzureCLI@2
displayName: "create db schema"
inputs:
azureSubscription: "${{ parameters.armServiceConnection }}"
scriptType: "bash"
scriptLocation: "inlineScript"
inlineScript: |
az config set extension.use_dynamic_install=yes_without_prompt
az postgres flexible-server connect

Configuration:
vmss_image_reference = {  publisher = "Canonical"      offer     = "0001-com-ubuntu-server-focal"      sku       = "20_04-lts-gen2"      version   = "20.04.202207050"    }

Error_PostgreSQL.txt

Dominant language
TypeScript
Stars
25
Forks
22
PR merge metrics
No merged PRs in 30d

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 Azure/postgresql

All issues in Azure/postgresql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.