All Questions
906
questions
0
votes
0
answers
68
views
Increase the limited file upload size on deployed environment (Heroku + Cloudflare)
I'm dealing with an issue which hinders us uploading files to our platform. The point is that when I upload a file with any size from local development environment, files are uploaded without problem. ...
0
votes
1
answer
58
views
ImageKit works fine on local but doesn't work on heroku why?
puts "Uploading image #{@game_id}"
kit = IMGKit.new(@game_url, quality: 50)
image_data = kit.to_png
obj = S3.object(File.join(@bucket_path, "#{@game_id}.png"))
obj.put(body: ...
0
votes
1
answer
132
views
How to set up aws s3 with Heroku?
I followed this tutorial to link my aws s3 bucket with my Heroku app.
In my s3 bucket I have a zip file called model.zip. I need to use this model in my app (Python). So after linking the bucket ...
0
votes
0
answers
62
views
Django collectstatic ends up with "AWS S3 Boto3 Python - An error occurred (AccessDenied) when calling the DeleteObject operation: Access Denied"
I'm using Heroku+S3+Cloudfront and I'm facing the titled error when trying to collectstatic.
I'm having all the necessary IAM permissions, including AmazonS3FullAccess.
The django settings set ...
1
vote
0
answers
184
views
I am trying to connect a Spring Boot file with S3, but I am getting an error. The file is currently being deployed to Heroku
The logic is that the server creates a pre-signed URL and returns it to the client when it receives a file name from the client.
I set IAM credentials & Region in IntelliJ local environment, and ...
0
votes
0
answers
46
views
Images not loading on heroku hosted site
I built out a ruby on rails backend/react frontend/ postgres database. This app is using AWS/S3 storage for photos and is being hosted on heroku. When running the site on local host 3000,the images ...
1
vote
0
answers
172
views
unable to access S3 buckets using bucketeer with heroku
I have a Django project that stores some media files in AWS S3. As this is deployed on heroku I am using the bucketeer addon for this. But when I try to list the contents of my bucket (either in ...
0
votes
1
answer
456
views
TypeError: Cannot read properties of undefined (reading 'pipe') in Production(Heroku server)
I have the whole thing working locally but fails as soon as its on heroku server.
implementation
await pdf.create(pdfTemplate(data)).toStream(async function (err, stream) {
await stream.pipe(fs....
1
vote
0
answers
33
views
How to have Heroku Application or iOS App communicate with S3 Server via Bucketeer so images can be saved?
I have a Heroku Application with a Parse Server deployed remotely on it and fully functional and connected to my iOS App. However, I have a current issue where in my app when a user makes a post, the ...
0
votes
0
answers
34
views
heroku doesn't let me create a file even temporarly
i just discovered that Heroku uses an Ephemeral File System, so i opted to use AWS S3 to store images and upload them. the problem i encountered is creating the file to upload it.
my app is built with ...
1
vote
0
answers
326
views
SignatureDoesNotMatch when calling PutObject with Django, Django-Storage, AWS S3, boto3
I created a Django App and host it on Heroku where I specified all setting vars such as Access Key ID (see Settings file).
# Amazon S3 Settings
AWS_ACCESS_KEY_ID= config("AWS_ACCESS_KEY_ID")
...
0
votes
1
answer
4k
views
S3Exception: The bucket you are attempting to access must be addressed using the specified endpoint
I know that there are many similar questions, and this one is no exception
But unfortunately I can't decide on the region for my case, how can I decide on the right region?
For example, when making a ...
0
votes
0
answers
48
views
aws-sdk Signed URL Failing on Heroku during production but works in development
I have my code written below, and all of this generates my signed URL perfectly fine when on development and the files that I want to get and upload locally work.
const S3 = require("aws-sdk/...
-1
votes
1
answer
249
views
WP Offload Media Lite to S3 and Heroku
I am trying to upload images to S3 using WP offload Media Lite from WordPress (version 6.1) deployed in heroku. but it is not uploading anything in S3. But with same configuration and setup, it is ...
0
votes
1
answer
176
views
Heroku & AWS - Error while running '$ python manage.py collectstatic --noinput'
Trying to push my code from github to Heroku after setting up S3 for statics. I am using Django.
I tried different solutions I found on here, but no success.
Here are the different things I did.
...