Skip to content

I need to ignore socks proxy #340

@plavcik

Description

@plavcik
  • asyncpg version: 0.17.0
  • PostgreSQL version: 9.6.6
  • Do you use a PostgreSQL SaaS? If so, which? Can you reproduce
    the issue with a local PostgreSQL install?
    : Google PostgreSQL
  • Python version: 3.6.4
  • Platform: GCC 4.2.1 Compatible OpenBSD Clang 5.0.1 on OpenBSD 6.3 amd64
  • Do you use pgbouncer?: no
  • Did you install asyncpg with pip?: yes
  • If you built asyncpg locally, which version of Cython did you use?: N/A
  • Can the issue be reproduced under both asyncio and
    uvloop?
    : not tested

I'm using socks.set_default_proxy(socks.SOCKS5, "127.0.0.1", 8888) from PySocks.

psycopg2 ignored that setting and used direct connection to PostgreSQL

it looks like asyncpg is trying connect via socks proxy

can I avoid (not use) socks proxy? I'm using asyncpg.create_pool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions