Google Storage: Creation of google bucket does not work

Bug #981521 reported by lasombra on 2012-04-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Syncany
New
Undecided
Unassigned

Bug Description

I'tried to create a bucket using "Setup a new remote storage", which failed with the following message

Connecting to cloud storage ...org.jets3t.service.ServiceException: S3 Error Message. GET '/' on Host 'XXXXXXX.commondatastorage.googleapis.com' @ 'Sat, 14 Apr 2012 11:00:46 GMT' -- ResponseCode: 403, ResponseStatus: Forbidden, XML Error Message: <?xml version='1.0' encoding='UTF-8'?><Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.</Message><StringToSign>GETSat, 14 Apr 2012 11:01:53 GMT/XXXXXXX/</StringToSign></Error>org.syncany.exceptions.StorageException: org.jets3t.service.ServiceException: S3 Error Message. GET '/' on Host 'XXXXXXX.commondatastorage.googleapis.com' @ 'Sat, 14 Apr 2012 11:00:46 GMT' -- ResponseCode: 403, ResponseStatus: Forbidden, XML Error Message: <?xml version='1.0' encoding='UTF-8'?><Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.</Message><StringToSign>GETSat, 14 Apr 2012 11:01:53 GMT/XXXXXXX/</StringToSign></Error>
 at org.syncany.connection.plugins.rest.RestTransferManager.list(RestTransferManager.java:185)
 at org.syncany.config.Repository.update(Repository.java:137)
 at org.syncany.config.Repository.update(Repository.java:131)
 at org.syncany.gui.wizard.RepositoryTestPanel$1.run(RepositoryTestPanel.java:92)
 at java.lang.Thread.run(Thread.java:722)
Caused by: org.jets3t.service.ServiceException: S3 Error Message. GET '/' on Host 'XXXXXXX.commondatastorage.googleapis.com' @ 'Sat, 14 Apr 2012 11:00:46 GMT' -- ResponseCode: 403, ResponseStatus: Forbidden, XML Error Message: <?xml version='1.0' encoding='UTF-8'?><Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.</Message><StringToSign>GETSat, 14 Apr 2012 11:01:53 GMT/XXXXXXX/</StringToSign></Error>
 at org.jets3t.service.impl.rest.httpclient.RestStorageService.performRequest(RestStorageService.java:453)
 at org.jets3t.service.impl.rest.httpclient.RestStorageService.performRestGet(RestStorageService.java:911)
 at org.jets3t.service.impl.rest.httpclient.RestStorageService.listObjectsInternal(RestStorageService.java:1367)
 at org.jets3t.service.impl.rest.httpclient.RestStorageService.listObjectsImpl(RestStorageService.java:1326)
 at org.jets3t.service.StorageService.listObjects(StorageService.java:625)
 at org.jets3t.service.StorageService.listObjects(StorageService.java:390)
 at org.jets3t.service.impl.rest.httpclient.GoogleStorageService.listObjects(GoogleStorageService.java:259)
 at org.jets3t.service.impl.rest.httpclient.GoogleStorageService.listObjects(GoogleStorageService.java:46)
 at org.syncany.connection.plugins.rest.RestTransferManager.getList(RestTransferManager.java:207)
 at org.syncany.connection.plugins.rest.RestTransferManager.list(RestTransferManager.java:165)
 ... 4 more

Connecting to cloud storage ...Connection successful, but no repository found:org.syncany.exceptions.NoRepositoryFoundException: No repository-* file found.org.syncany.exceptions.NoRepositoryFoundException: org.syncany.exceptions.NoRepositoryFoundException: No repository-* file found.
 at org.syncany.config.Repository.update(Repository.java:168)
 at org.syncany.config.Repository.update(Repository.java:138)
 at org.syncany.config.Repository.update(Repository.java:131)
 at org.syncany.gui.wizard.RepositoryTestPanel$1.run(RepositoryTestPanel.java:92)
 at java.lang.Thread.run(Thread.java:722)
Caused by: org.syncany.exceptions.NoRepositoryFoundException: No repository-* file found.
 at org.syncany.config.Repository.update(Repository.java:155)
 ... 4 more

When I create the bucket manually first, then "Setup a new remote storage" works fine

lasombra (lasombra) wrote :

Interesting, restarted syncany and re-tried. This time it worked (no changes made to key or secret).

lasombra (lasombra) on 2012-04-15
description: updated
tags: added: googlestorage
summary: - Access to Google Storage does not work
+ Google Storage: Creation of google bucket does not work
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers