Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

External storage amazon s3 doesn't mount #54

Closed
MTRichards opened this issue Oct 28, 2012 · 12 comments
Closed

External storage amazon s3 doesn't mount #54

MTRichards opened this issue Oct 28, 2012 · 12 comments

Comments

@MTRichards
Copy link
Contributor

Enter all the info for Amazon s3 storage in the app. Then click on the files page, it loads a blank page.

Error log says:

[Sun Oct 28 13:04:39 2012] [error] [client 192.168.149.75] PHP Fatal error:  Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #73; cURL error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (cURL error code 60). See http://curl.haxx.se/libcurl/c/libcurl-errors.html for an explanation of error codes.' in /srv/www/htdocs/owncloud/3rdparty/aws-sdk/lib/requestcore/requestcore.class.php:824
Stack trace:
#0 /srv/www/htdocs/owncloud/3rdparty/aws-sdk/services/s3.class.php(903): RequestCore->send_request()
#1 /srv/www/htdocs/owncloud/3rdparty/aws-sdk/services/s3.class.php(1624): AmazonS3->authenticate('oc3_test_storag...', Array)
#2 /srv/www/htdocs/owncloud/apps/files_external/lib/amazons3.php(86): AmazonS3->list_objects('oc3_test_storag...', Array)
#3 /srv/www/htdocs/owncloud/lib/filesystemview.php(586): OC_Filestorage_AmazonS3->opendir(false)
#4 /srv/www/htdocs/owncloud/lib/filesystemview.php(173): OC_FilesystemView->basicOperation('opendir', '/AmazonS3/', Array)
#5 in /srv/www/htdocs/owncloud/3rdparty/aws-sdk/lib/requestcore/requestcore.class.php on line 824, referer: http://192.168.149.90/owncloud/settings/admin.php

Running SUSE 12.2.

@MTRichards
Copy link
Contributor Author

Still having this problem with s3 mounting with the latest stable build, Dec 6 evening build
help!

@ghost ghost assigned icewind1991 Dec 11, 2012
@MTRichards
Copy link
Contributor Author

Still have the same problem mounting Dec 9 build. PLEASE HELP!

@ghost ghost assigned MTGap Dec 11, 2012
@icewind1991
Copy link
Contributor

@MTGap can you have a look at this

@MTRichards
Copy link
Contributor Author

This time it completely crashed my server, and i had to go back and remove it so i could see the files app. should be real easy, there are only 3 settings...but still doesnt work for me. Seems like a CURL error and an uncaught security exception?

[Mon Dec 10 19:24:34 2012] [error] [client 192.168.1.36] PHP Fatal error: Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #98; cURL error: SSL certificate problem, verify that the CA cert is OK. Details:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (cURL error code 60). See http://curl.haxx.se/libcurl/c/libcurl-errors.html for an explanation of error codes.' in /srv/www/htdocs/owncloud/3rdparty/aws-sdk/lib/requestcore/requestcore.class.php:824\nStack trace:\n#0 /srv/www/htdocs/owncloud/3rdparty/aws-sdk/services/s3.class.php(903): RequestCore->send_request()\n#1 /srv/www/htdocs/owncloud/3rdparty/aws-sdk/services/s3.class.php(1624): AmazonS3->authenticate('testbucket', Array)\n#2 /srv/www/htdocs/owncloud/apps/files_external/lib/amazons3.php(86): AmazonS3->list_objects('testbucket', Array)\n#3 /srv/www/htdocs/owncloud/lib/filesystemview.php(605): OC_Filestorage_AmazonS3->opendir(false)\n#4 /srv/www/htdocs/owncloud/lib/filesystemview.php(170): OC_FilesystemView->basicOperation('opendir', '/amazons3/', Array)\n#5 /srv/www/htdocs in /srv/www/htdocs/owncloud/3rdparty/aws-sdk/lib/requestcore/requestcore.class.php on line 824, referer: http://192.168.1.43/owncloud/settings/admin.php
[Mon Dec 10 19:24:34 2012] [error] [client 192.168.1.36] File does not exist: /srv/www/htdocs/favicon.ico
[Mon Dec 10 19:24:36 2012] [error] [client 192.168.1.36] PHP Fatal error: Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #83; cURL error: SSL certificate problem, verify that the CA cert is OK. Details:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (cURL error code 60). See http://curl.haxx.se/libcurl/c/libcurl-errors.html for an explanation of error codes.' in /srv/www/htdocs/owncloud/3rdparty/aws-sdk/lib/requestcore/requestcore.class.php:824\nStack trace:\n#0 /srv/www/htdocs/owncloud/3rdparty/aws-sdk/services/s3.class.php(903): RequestCore->send_request()\n#1 /srv/www/htdocs/owncloud/3rdparty/aws-sdk/services/s3.class.php(1624): AmazonS3->authenticate('testbucket', Array)\n#2 /srv/www/htdocs/owncloud/apps/files_external/lib/amazons3.php(86): AmazonS3->list_objects('testbucket', Array)\n#3 /srv/www/htdocs/owncloud/lib/filesystemview.php(605): OC_Filestorage_AmazonS3->opendir(false)\n#4 /srv/www/htdocs/owncloud/lib/filesystemview.php(170): OC_FilesystemView->basicOperation('opendir', '/amazons3/', Array)\n#5 /srv/www/htdocs in /srv/www/htdocs/owncloud/3rdparty/aws-sdk/lib/requestcore/requestcore.class.php on line 824
[Mon Dec 10 19:24:50 2012] [error] [client 192.168.1.36] PHP Notice: Undefined index: mountType in /srv/www/htdocs/owncloud/apps/files_external/ajax/removeMountPoint.php on line 13, referer: http://192.168.1.43/owncloud/settings/admin.php
[Mon Dec 10 19:24:50 2012]

@rinne
Copy link

rinne commented Jan 31, 2013

On OpenSUSE 12.2 you have to install ca-certificate packages in order to resolve this issue.

# zypper install ca-certificates ca-certificates-mozilla ca-certificates-cacert

should do the trick.

@brentjanderson
Copy link

I'm experiencing the same issue here with the following exception:

Aws\S3\Exception\SignatureDoesNotMatchException: The request signature we calculated does not match the signature you provided. Check your key and signing method.

@cdamken
Copy link
Contributor

cdamken commented Jul 8, 2014

@MTRichards I'm not sure, but I think this could help: owncloud/core#9509

Works for me :)

@PVince81
Copy link
Contributor

Please try again with this PR: owncloud/core#9509
(or try with the stable7 branch where it's in)

@MTRichards
Copy link
Contributor Author

@gomgomgom Is this happening in ownCloud 7 still?

@gomgomgom
Copy link

@MTRichards .. oh sorry.. I'm happening this when connect to dynamo db..

@cdamken
Copy link
Contributor

cdamken commented Aug 5, 2015

I think this is solved, reopen if needed.

@cdamken cdamken closed this as completed Aug 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants