unhandled promise rejection #379
Unanswered
4592adarsh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have 2 s3 buckets in different accounts , in 1st account the index .html size is in kbs and the gateway works fine , while in the 2nd account my index.html size is 26mb and i keep getting error :-
Error: unhandled promise rejection: Error: fetch content length is too large 46 epoll_wait() reported that client prematurely closed connection while reading upstream,
I tried custom nginx.conf file
` server {
still getting the same error
docekerfile env variables :-
ENV S3_BUCKET_NAME=s3-bucket AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxx AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx S3_SERVER=s3.us-east-1.amazonaws.com S3_REGION=us-east-1 S3_SERVER_PORT=443 S3_SERVER_PROTO=https AWS_SIGS_VERSION=4 ALLOW_DIRECTORY_LIST=true S3_STYLE=virtual-v2 S3_SERVICE=s3 DEBUG=true PROVIDE_INDEX_PAGE=true NGINX_TEMP_PATH=/tmp/nginx/temp NGINX_CACHE_PATH=/tmp/nginx/cache NGINX_CONF_PATH=/tmp/nginx/conf.d NGINX_TEMPLATES_PATH=/tmp/nginx/templates
Beta Was this translation helpful? Give feedback.
All reactions