You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a lambda app with two functions that connect to the same Aurora RDS. Lambda 1 connects fine and does an UPDATE.
Lambda 2 tries to do a SELECT and dies right at the mysql.query(). The strange thing is, the app runs fine locally with serverless-offline and Lambda 1 works fine locally and on AWS.
Normally because it dies without an error, I would think that it would be a network security issue, but lambda 1 connects fine.
I've logged out the sqlStmtand it's all there.
UPDATE: another developer working with this package just reported the same issue to me. The only thing we can figure is it's the connection.
I've got a lambda app with two functions that connect to the same Aurora RDS. Lambda 1 connects fine and does an UPDATE.
Lambda 2 tries to do a SELECT and dies right at the
mysql.query()
. The strange thing is, the app runs fine locally withserverless-offline
and Lambda 1 works fine locally and on AWS.Normally because it dies without an error, I would think that it would be a network security issue, but lambda 1 connects fine.
I've logged out the
sqlStmt
and it's all there.UPDATE: another developer working with this package just reported the same issue to me. The only thing we can figure is it's the connection.
Here's the code that appears to fail:
Here is the connection set up:
The text was updated successfully, but these errors were encountered: