Skip to content

Google reCAPTCHA return 404 error in ec2 server issue

0

Dear AWS Support Team,

I hope this message finds you well.

we are currently using AWS services for our hosting needs. We recently encountered an issue while hosting an application on an EC2 instance. Specifically, the Google reCAPTCHA, which was functioning correctly when deployed via Amplify Hosting, is now returning a 404 error for the reCAPTCHA API when hosted on the EC2 instance. please find the below attachment

'Enter image description here Enter image description here

We would greatly appreciate your assistance in identifying and resolving the cause of this issue.

asked a year ago138 views
1 Answer
0

This could cause problems if reCAPTCHA requires credentials to be sent or a more specific CORS policy.

To troubleshoot:

  1. Check if the domain hosting the reCAPTCHA API requires credentials or a stricter CORS policy.
  2. Ensure that the URL and API calls for reCAPTCHA are correct and reachable from the EC2 instance.
  3. Review your security group settings and network configuration to ensure no connectivity issues between the EC2 instance and the external reCAPTCHA API.
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.