I've been developing an application for contract risk and compliance analysis that utilizes various AWS services, but I'm running into a 'connection refused' error every time I try to upload a contract and start the analysis. I've deployed it through GitHub to a custom URL, and it incorporates S3, Lambda, DynamoDB, and API Gateway. Although I have configured an IAM role with the necessary permissions for these services and integrated the Lambda functions and layers, I can't seem to get it to work. If anyone has suggestions or needs more details, let me know!
1 Answer
It looks like you might be missing some key info needed for diagnosing your issue. What exactly happens when you hit that button? Are you trying to connect to another service, like DynamoDB or your API Gateway? The 'connection refused' error can stem from various issues, so figuring out what connections are being attempted is crucial. Also, don't forget to check your logging for more insights!

The app is designed to extract text from uploads, analyze it for specific clauses, and assign risk values based on those clauses. It uses an API call to a language model for verification before generating a PDF. I just need to figure out why I'm getting that error.