AWS Python Lambda with Oracle - OID Generation Failed even after adding HOSTALIASES
问题 I am trying to connect to oracle on rds using lambda with python using cx_oracle package but i get: ORA-21561: OID generation failed: DatabaseError. Even after adding file /tmp/HOSTALIASES with the lambda-server-name localhost . Also added HOSTALIASES to lambda environment variables . Referd from: AWS Python Lambda with Oracle - OID Generation Failed. How to resolve this OID generation problem in aws lambda Here is my code import cx_Oracle import os import sys import time # sys.path.append(