Aws S3 Inaccessible Host
Solution 1:
I already found where is problem. As I wrote in comments, we are using google firebase for sending file to AWS S3. Problem was that we were using wrong price plan (Spark instead Blaze) and that is why I could not make external call.
Solution 2:
This is going to sound really stupid, but I had that error because, in my .env
file, I had the values of my bucket and region mixed up.
After switching their values, my code was working again.
Check the access with AWS CLI tools. If you can access via AWS CLI (list, upload, sign URLs, delete, etc), but not via your code, chances are that you are having a similar problem.
Hope this helps someone like me.
Solution 3:
I have a similar case, I used .env file to store key, id and region.
This code in .env has error:
AWS_ID = 'AKIAW6LZAWQJYVSFY6MV'
When I removed the single quotes, the error Unknown Endpoint went away.
AWS_ID = AKIAW6LZAWQJYVSFY6MV
Post a Comment for "Aws S3 Inaccessible Host"