egov-filestore pod gives 400 error when i try to upload any document #266
Unanswered
mannansiddiqui
asked this question in
Q&A
Replies: 1 comment
-
This issue is resolved only i changed the region of s3 bucket from me-central-1 to us-east-1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone,
I have create digit infra on AWS using https://github.com/egovernments/DIGIT-DevOps/tree/kubernetes-1.22-changes branch. Also, all modules are deployed using same branch.
When i try to upload any document while registering any complaint it gives 400 error in egov-filestore logs.
What version of DIGIT are you using?
---> v2.7
Are you attempting quickstart (single node deploy) or full installation of Digit?
---> full installation
Is this installed using a laptop or AWS/GCP/Azure or State Data Centre?
---> AWS
Please provide link to the documentation used while installing.
---> https://core.digit.org/guides/installation-guide/production-setup/aws
Please provide specific step number where error was encountered.
---> All steps done and all pods up and running but when i upload any document while registering any complaint it give 400 error in pod logs
What is the OS? Provide version as well. For eg. Ubuntu 20.04
---> For running terraform script and deploying helm charts is used ubuntu 22.04 and EKS worked nodes are using amazon-eks-node-1.28-v20231002 AMI
Number of cores/vCPUs and RAM available?
---> 4 vCPU and 16GB RAM per node and total 4 nodes running
Free RAM currently available.(How to find free memory - )
---> sufficient RAM is available i checked with kubectl describe nodes
Description of the error along with a screenshot. Please paste the exact error encountered on the screen.
Kubernetes logs (if applicable) or other relevant logs.
---> Logs of egov-filestore pod
Below is the egov-demo.yml for egov-filestore
I tried adding minio.source: "minio" and changing minio.url from "http://minio.backbone:9000/" to "https://s3.amazonaws.com" as mentioned in document i.e. https://core.digit.org/platform/core-services/filestore-service
But 400 error is still there. So i removed minio.source: "minio" and revert minio.url to "http://minio.backbone:9000/" as it's not working
All pods are ruunning. I thing some issue in config of egov-filestore
Sharing the screenshot of kubectl describe pod egov-filestore -n egov for Environment variables:
Thanks in advance...
Beta Was this translation helpful? Give feedback.
All reactions