Amazon S3 - GetRenditions Via API

I seem to be having an issue pulling the renditions from my S3 storage via API.

Razuna is functioning correctly I can upload assets and the appear in the S3 bucket as expected.

When I run the getrendition API call, the value for the path is incorrect, I am getting

http://ec2-XX-XXX-XXX-XXX.eu-west-1.compute.amazonaws.com:8080/assets/3/87F88A9E3B25474CB4C94623E2F33CD2/img/3C50C082DDBE4C81BD04487AE195939D/thumb_3C50C082DDBE4C81BD04487AE195939D.jpg

which is the assets folder on the Razuna host, but the assets are on S3

the rendition direct link is

https://s3-eu-west-1.amazonaws.com/XXXXXXX/87F88A9E3B25474CB4C94623E2F33CD2/img/1EEA08D520CD465186E1DB41F933212C/babys_with_angel_wings.jpg?AWSAccessKeyId=XXXXXXXXXXXXX&Expires=1751535675&Signature=XXXXXXXXXXXXX

I have tried configuring the DOCBase for /assets/ to point to S3, however tomcat won’t restart…

Will keep digging, but I wondered if anybody has got the API running with S3… and what have I missed ?

Many Thanks
Ollie

You obviously set the correct AWS keys and secret keys in the backend. Did
you also assign a bucket to the host? If all works within Razuna you should
be good.

I’m not aware of any issues with the API and S3, but your URL shows that
the API is not aware that it is hooked up to S3. I suggest that you restart
Tomcat and try again. It must be some caching issue.

Missed a bit !!! update the tenants with the S3 details…

Restarted an all is good

Many Thanks

Ollie

Great. I’m happy that this is solved. Happy Razuna’ing.