heapsource / mongoose-attachments-aws2js Goto Github PK
View Code? Open in Web Editor NEWS3 Storage Provider for mongoose-attachments backed by the aws2js library.
License: MIT License
S3 Storage Provider for mongoose-attachments backed by the aws2js library.
License: MIT License
Could you push a new version of this module to npm please? The one currently up doesn't have the code that fixes #1 in it.
Thanks.
{ [Error: API error with HTTP Code: 403]
headers:
{ 'x-amz-request-id': '72D240BCE707BA15',
'x-amz-id-2': 'W53JZ18bdyHvxWpvyutwf1MX8NxgLBcgmbafa7vjt+t8gPYSwTTHPx+lh4eegAoh',
'content-type': 'application/xml',
'transfer-encoding': 'chunked',
date: 'Wed, 23 Oct 2013 18:36:24 GMT',
connection: 'close',
server: 'AmazonS3' },
code: 403,
document:
{ Code: 'RequestTimeTooSkewed',
Message: 'The difference between the request time and the current time is too large.',
MaxAllowedSkewMilliseconds: '900000',
RequestId: '72D240BCE707BA15',
HostId: 'W53JZ18bdyHvxWpvyutwf1MX8NxgLBcgmbafa7vjt+t8gPYSwTTHPx+lh4eegAoh',
RequestTime: 'Wed, 23 Oct 2013 18:19:40 GMT',
ServerTime: '2013-10-23T18:36:26Z' } }
I get this error consistently since making changes to my setup in order to prepare for retina display. When all I was doing was resizing everything worked fine, however now that I need to double the image size and then scale the quality down, this error is plaguing my setup. The busier NodeJS is, the worse the situation gets.. eventually I hit 100% fail rate on all image uploads to S3 with this exact error.
This says to me that the request signature is being generated BEFORE imagemagick is called, so if imagemagick takes more than a few seconds, the request expires before making the attempt.. the signature should be generated afterwards, just before the request is sent to S3.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.