I am using Wasabi storage for my images. Everything was working fine until last week. It seems my production environment can no longer connect to Wasabi but my development/local environment is working fine. What could be the issue here? I don’t remember changing anything in this part of the application.
I am getting the error below in prod (deployed in Digital Ocean):
I don’t know Wasabi, and I haven’t had this specific error but it looks like something is wrong with the s3 connector.
As you say it works fine in the dev environment (I suppose the storage there is local, not on s3?).
Perhaps you’ve updated node modules. You can check if your package.json has changed.
You can then try reset the node module (perhaps @aws-sdk) to a lower version with npm uninstall @aws-sdk and then npm install @aws-sdk@VERSIONNUMBER
Don’t forget to deploy again.
(In the same sense, you might need to actually update that package, or other s3 related packages)