Connection of glue with rds database isn't working

0

I am trying to connect AWS glue crawler with a postgres db on RDS. Both the crawler and DB are in the same region. steps followed:

  1. created a connection with jdbc url username and password(credentials are correct and working in other applications)
  2. in the VPC I created an endpoint within a particular subnet.
  3. created a NAT gateway
  4. edited the route tables to target the NAT gateway
  5. in the security group of the rds db added self-referencing inbound rule for all TCP ports.
  6. added the security group in the glue connection Now when I test the connection i get Failed to test connection flip_rds-23 due to FAILED status. on checking the logs i get 2024-04-24T16:00:17.670+05:30 ERROR StatusLogger Unrecognized format specifier [d] 2024-04-24T16:00:17.671+05:30 ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern. what am i missing here?
1 Antwort
1
Akzeptierte Antwort

The problem is not network related.

It's probably due to AWS GLUE JDBC driver that doesn't support the scram-sha-256 encryption type which is the default password starting from Postgres 14.

Please follow the guide here:

https://repost.aws/questions/QU5ZDUGnvnREWUT0CA-a6rSw/aws-glue-connects-to-rds-postgresql#AN3H4Bw4O9R4iNcfPTMxycfQ

profile pictureAWS
EXPERTE
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen