Golang connect to Aurora issue

Has anyone tried to connect to aurora database use golang? (aws-sdk-go) I tried but was not successful.
when it try to ping the database, it keep getting operation timeout. but i tried to connect with lambda in python it has no problem. It has time out when called db.Pint()

db.Open(‘postgres’, dsn)

Are you checking if BuildAuthToken is returning an error?

Hi, there is no error when call BuildAuthToken I am able to get the token and print it out. When call sql.Open there is also no error. but when Ping, it hangs a long time then say timeout. I tried this in both local and lambda. same issue

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.