-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netty is hanging inside AWS Lambda #449
Comments
I tried to replicate this on AWS but was unable to. My guess would be that you have a dependency conflict, but with the limited set of dependnecies posted above I can't see where that would come from. Could you put together a minimum failing example that I could debug? |
Actually, thinking about it, this is possibly being caused by the OAuth credentials being invalid. Could you check that valid credentials that are being loaded on AWS? |
@nwbirnie This the minimum required set of dependencies so that we can have an AWS Java runtime with Lambda using the Google Ads API. <dependency>
<groupId>io.perfmark</groupId>
<artifactId>perfmark-api</artifactId>
<version>0.24.0</version>
</dependency> then the SSL connection was successful and the Lambda was getting Google Ads data. |
Nice, thanks for posting the solution and glad to hear you got it fixed. |
Which version of the client library are you using?
The latest 13.0.0 and the v8 for the resources
Which version of Java are you using?
Java 11
Which operating system (Linux, Windows, ...) and version?
AWS Linux Distro and MacOSx as local
Actions taken
Using the provided examples, I have tried to run them locally first and then run them inside an AWS Lambda.
Expected result
Is that both local and AWS will provide the same results.
Actual result
Locally the code is executed correctly. On AWS, the code freezes on
googleAdsServiceClient.search(request)
due to some netty malfunction.The pom dependencies are:
AWS Stacktrace:
remote stacktrace.txt
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See troubleshooting for how to diagnose problems better.
Anything else we should know about your project / environment
AWS Lambda, with 512 RAM
The text was updated successfully, but these errors were encountered: