I'm new to Google Cloud Functions and reCAPTCHA. I've built my site using AngularJS and Express.js for the back-end. I've used express-recaptcha v5.0.1 for the Express.js.
I've tested the reCAPTCHA (both front-end and back-end) and it works fine when I run locally.
But when I deploy the back-end, I'm getting the following error from Google Cloud Functions:
Error: getaddrinfo EAI_AGAIN www.google.com:443
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
Is reCAPTCHA verify method blocked by the free plan of Google Cloud Functions?
This S/O seems to indicate that should be fine: Do I need a paid plan for using recaptcha on firebase function?
How can I debug this further?