derrickchoi / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

s3fs 403 curl error #187

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I just setup a clean ubuntu 11.04 computer to test s3fs with.  I did this:

1. install ubuntu 11.04
2. update all packages
3. download s3fs-1.40.tar.gz
4. unpackage
5. install packages: libfuse-dev, libssl-dev, libxml2-dev, libcurl4-openssl-dev
6. in s3fs directory structure, run configure, make, and make install (all as 
root).
7. setup /etc/passwd-s3fs file with access key and secret key from aws
8. run sudo s3fs BUCKET MOUNT_POINT (with real values for BUCKET and 
MOUNT_POINT)

I get the following output:
s3fs: CURLE_HTTP_RETURNED_ERROR
s3fs: HTTPErrorCode: 403
s3fs: AWS Error Code: SignatureDoesNotMatch
s3fs: AWS Message: The request signature we calculated does not match the 
signature you provided.  Check your key and signing method.

I verified the keys in my passwd file are correct twice.  I am suspicious that 
maybe because ubuntu has 3 libcurl options, maybe I shouldn't have used openssl 
but I thought that was safe.  I have also read that s3fs maybe doesn't always 
report exactly what the error is, so maybe this is erroneous.  Anyway, I am out 
of ideas.  Any help is appreciated.

Original issue reported on code.google.com by pcr...@nexlearn.com on 13 May 2011 at 9:45

GoogleCodeExporter commented 8 years ago
I recently did a distro upgrade to 11.04 and just now did a fresh compile and 
install of the current SVN version of s3fs -- all worked as expected.

Please try the current SVN version. 

Original comment by dmoore4...@gmail.com on 29 May 2011 at 10:01

GoogleCodeExporter commented 8 years ago
I tried the latest source and it seems to be resolved.  Now, I am able to mount 
and write files to the mountpoint.  The files do appear online but I don't 
actually see files that are up there.  As in, the mount doesn't seem to read 
the existing file structure online.  Is that intended?  I'll poke through the 
documentation...

Original comment by pcr...@nexlearn.com on 7 Jun 2011 at 4:25

GoogleCodeExporter commented 8 years ago
Reporter was able to resolve this issue by using the SVN version - closing.

Original comment by dmoore4...@gmail.com on 22 Jun 2011 at 10:14