MagicStack / MagicStack/asyncpg

Timeout Error on Ubuntu 20.04 LTS. asyncpg.create_pool

Open
#944 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.1k
Forks
468
PR merge metrics
No merged PRs in 30d

Description

* **asyncpg version**:0.26
* **PostgreSQL version**:14.2
* **Python version**:3.10
* **Platform**: Ubuntu 20.04
* **Do you use pgbouncer?**: No
* **Did you install asyncpg with pip?**: yes
* **Can the issue be reproduced under both asyncio and
[uvloop](https://github.com/magicstack/uvloop)?**:No idea

Ok so I just setup a RDS on AWS and can connect to it through my python code in my WINDOWS setup. When I setup a EC2 in AWS and literally copy pasted the code it would give me a timeouterror and I have no clue why. I have permitted trafic on all ports

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the asyncpg.create_pool call and reproduce the timeout with Python 3.10 on Ubuntu 20.04 connecting to the reported PostgreSQL 14.2 RDS instance from EC2. Capture the full traceback and compare the environment with the working Windows setup; done means the cause is isolated and documented or a narrowly scoped fix is identified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.