generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Driver version
2.0.0
Redshift version
([1372],)
Client Operating System
MacOS
Python version
Python 3.12.4
Table schema
not needed
Problem description
- Expected behaviour: Trying to connect to IDC using BrowserAuthPlugin, but running into various errors.
- Actual behaviour: Running into various errors
- Error message/stack trace: Error connecting to Redshift: {'S': 'FATAL', 'C': '28000', 'M': 'no PostgreSQL user name specified in startup packet', 'F': '/home/ec2-user/padb/src/pg/src/backend/postmaster/postmaster.c', 'L': '3518', 'R': 'ProcessStartupPacket'}
- Any other details that can be helpful:
-- CODE --
conn = redshift_connector.connect(
ssl=True,
host=cluster_endpoint,
port=port,
database=database,
idc_region=idc_region,
provider_name='BrowserIdcAuthPlugin',
issuer_url=issuer_url
)
Looking for code that connects to Redshift using IDC BrowserAuthPlugin, seems like I am missing some important params
Metadata
Metadata
Assignees
Labels
No labels