1024programmer Java googlecloud:GSGETrequestfailedstatus:429TooManyRequests

googlecloud:GSGETrequestfailedstatus:429TooManyRequests

camlistore keeps dying on startup with

1 GS GET request failed status: 429 Too Many Requests

relevant handlers from my

1 server-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
“/google-blob/”: {

“handler”: “storage-googlecloudstorage”,

“handlerArgs”: {

“auth”: {

“client_id”: “suchmuchsecret.apps.googleusercontent.com”,

“client_secret”: “suchmuchsecret”,

“refresh_token”: “suchmuchsecret”

“bucket”: “camli-blob”

}

},

“/google-meta/”: {

“handler”: “storage-googlecloudstorage”,

“handlerArgs”: {

“auth”: {

“client_id”: “suchmuchsecret.apps.googleusercontent.com”,

“client_secret”: “suchmuchsecret”,

           “refresh_token”: “suchmuchsecret”

                                            
                   ,

“/sync-to-googlecloudstorage/”: {

“handler”: “sync”,

“handlerArgs”: {

“from”: “/bs/”,

“queue”: {

“file”: “/srv/camlistore/var/camlistore/blobs/sync- to-googlecloud-queue.kv”,

“type”: “kv”

“to”: “/enc-google/”

}

},

“/enc-google/”: {

“handler”: “storage-encrypt”,

“handlerArgs”: {

“I_AGREE”: “that encryption support hasn’t been peer-reviewed, isn’t finished, and its format might change. “,

“meta”: “/google-meta/”,

“blobs”: “/google-blob/”,

“metaIndex” : { “type”: “memory” },

“key”: “xxxxxxxxxx”

}

},

Logs:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2016/05/23 04:26:20 Starting camlistored version 2015-12-30-7b78c50+; Go go1.6 (linux/amd64)

2016/05/23 04: 26:20 Starting to listen on http://localhost:3179

2016/05/23 04:26:20 Slurping corpus to memory from index…

2016/05 /23 04:26:20 Slurping corpus to memory from index… (1/9: meta rows)

2016/05/23 04:26: 23 Scanned prefix “imagesize”: 3180 rows, 382.049233ms

2016/05/23 04:26:23 Corpus stats: 58.640 MiB mem: 296655 blobs (15.734 GiB) (74443 schema (3216 permanode, 3232 file (3180 image), …)

2016/05/23 04:26:23 Corpus scanning CPU usage: 352ms

2016/05/23 04:26:23 ui: serving Closure from embedded resources

2016/05/23 04:26:24 Reading encryption metadata…

2016/05 /23 04:37:32 Adding meta: “sha1-72094ff48da474fa976cb5526f7a62ea27108ec8” = “70678/ff59f868303e5431e7fdfedda04f7fc6/sha1-503e8ac2764b4ad0de6f5ddd 117c81d6289be694/70694”

2016/05/23 04:37:32 processing meta blob sha1-01418f4b0702c198956b7fd7363f16c459131436: 195 bytes

2016/05/23 04:37:32 Adding meta: “sha1-7cbaecd515c7d3ff95bffd9d193ee769d559f201” &# 061; “68470/5257dba7a61d2b728038d8086ffee513/sha1-c240c2a8758deb0e78f981958475fa035aa3a0da/68486”

2016/05/23 04:37:32 processing meta blob sha1-013c767708431009c1833ad1a9e3f27d40dd0fb9: 191 bytes

2016/05/23 04:41:47 Caught panic installer handlers: error instantiating storage for prefix “/enc-google/”, type “encrypt”: Error scanning metadata on start-up: Error with meta blob sha1-04a5ba94ba36c51ad123ddde976996978a35264e: GS GET request failed status: 429 Too Many Requests

Error parsing config: Caught panic: error instantiating storage for prefix “/enc-google/”, type “encrypt”: Error scanning metadata on start-up: Error with meta blob sha1-04a5ba94ba36c51ad123ddde976996978a35264e: GS GET request failed status: 429 Too Many Requests

This question comes from the open source project: perkeep/perkeep

OK , workaround didn’t work.. I ended up with corrupted

1 kv

index in #786 and

1 levelDB

that is stuck in an endless startup/ crash loop: #790.

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/746482

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索