How to use NPM Rest API to get audit (npm audit) result
Introduction Npm has a tool called: npm audit which reports if your packages or…
August 22, 2017
After 2 days, there was my demo. I deployed my nodejs code on lambda function, and trying testing it. It abruptly stops in between, and no error or exception trace.
My application looked suspicious. I looked at my code, all looked good. I put a new try-catch statement, and some promised catch blocks. Deployed it again. Same behavior.
I started blaming newly developed components. Few days back, I incorporated newrelic components. I tried lot of modifications, debug statements, and even removed this component. But, still problem persists.
I tried running same application from my machine, it worked well. I wonder what is going on. I even thought of spinning an AWS EC2 instance, and try it there.
Each time, my application runs, and it stopped at one line only, with no trace, or error message.
I was scanning through the configurations of lambda function. Suddenly, I found that the execution time value of lambda function was set to 1 min only.
Holy Crap!
I increased that time, and deployed my application again, it worked. My bad.
Always check lambda timeout value.
Introduction Npm has a tool called: npm audit which reports if your packages or…
To download this code from git: See: Gyanblog Github
Introduction Drupal provides a powerful comment module, which comes as a part of…
Introduction In this post, I will show several ways to use conditionals while…
Agenda I will cover following in this post: Prepare Docker image for Next.js app…
This library is ES6, promise compatible. Or, in your package.json file, include…
Introduction In this post we will see following: How to schedule a job on cron…
Introduction There are some cases, where I need another git repository while…
Introduction In this post, we will see how to fetch multiple credentials and…
Introduction I have an automation script, that I want to run on different…
Introduction I had to write a CICD system for one of our project. I had to…
Introduction Java log4j has many ways to initialize and append the desired…