-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Bug Description
PostgreSQL IAM authentication works correctly when connecting to a Cloud SQL instance within the same GCP project, but fails with AttributeError: 'NoneType' object has no attribute 'decode' when connecting from a different GCP project.
Example code (or command)
Stacktrace
Steps to reproduce?
- ?
- ?
- ?
...
Environment
- Cloud SQL PostgreSQL instance in project A
- Connection attempt from project B using IAM authentication
- Connection type: PSC (Private Service Connect)
- Using Google Cloud SQL Python Connector with pg8000
Additional Details
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.