I have Bloom setup and working for an API.
However, when I request that the API server gzips its responses Bloom errors with "failed unwrapping body value for key".
Bloom v1.28.
2020-01-07T12:47:01.578493131Z (DEBUG) - accepted new connection (10.21.80.3:53826)
2020-01-07T12:47:01.578498587Z (DEBUG) - handled new request
2020-01-07T12:47:01.578509145Z (DEBUG) - scheduling Read for: 0
2020-01-07T12:47:01.578513162Z (DEBUG) - adding I/O source: 2122317837
2020-01-07T12:47:01.578517346Z (DEBUG) - scheduling Read for: 13
2020-01-07T12:47:01.578522173Z (DEBUG) - loop poll - 56.781µs
2020-01-07T12:47:01.578528055Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 554344367 }
2020-01-07T12:47:01.578536241Z (DEBUG) - loop process, 5.171µs
2020-01-07T12:47:01.578543324Z (DEBUG) - read 840 bytes
2020-01-07T12:47:01.57855415Z (DEBUG) - parsed 13 headers (840 bytes)
2020-01-07T12:47:01.578560065Z (DEBUG) - incoming body is content-length (0 bytes)
2020-01-07T12:47:01.578565802Z (DEBUG) - called proxy serve
2020-01-07T12:47:01.578587346Z (INFO) - handled request: GET on /api/foobar
2020-01-07T12:47:01.578594454Z (DEBUG) - hashing value:
2020-01-07T12:47:01.578600584Z (DEBUG) - hashing value: [HTTP/1.1|GET|/api/foobar|foo=bar|null]
2020-01-07T12:47:01.578609508Z (DEBUG) - generated bucket: [HTTP/1.1|GET|/api/foobar|foo=bar|null] with hash: 18fa98d6
2020-01-07T12:47:01.578617019Z (INFO) - tunneling for ns = bloom:0:c:dc56d17a:18fa98d6
2020-01-07T12:47:01.578623002Z (DEBUG) - key: bloom:0:c:dc56d17a:18fa98d6 cacheable, reading cache
2020-01-07T12:47:01.578628817Z (DEBUG) - loop poll - 102.255µs
2020-01-07T12:47:01.578632984Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 554454399 }
2020-01-07T12:47:01.578637083Z (DEBUG) - loop process, 12.033µs
2020-01-07T12:47:01.580016286Z (INFO) - acquired empty meta value from cache
2020-01-07T12:47:01.580038525Z (DEBUG) - reuse idle connection for "http://localhost:8080"
2020-01-07T12:47:01.580054487Z (DEBUG) - loop poll - 1.46448ms
2020-01-07T12:47:01.580058337Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 555933469 }
2020-01-07T12:47:01.580061846Z (DEBUG) - loop process, 6.832µs
2020-01-07T12:47:01.580065531Z (DEBUG) - scheduling Read for: 3
2020-01-07T12:47:01.580075462Z (DEBUG) - flushed 840 bytes
2020-01-07T12:47:01.580078819Z (DEBUG) - loop poll - 56.685µs
2020-01-07T12:47:01.580082126Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 556001391 }
2020-01-07T12:47:01.58008547Z (DEBUG) - loop process, 5.068µs
2020-01-07T12:47:01.584704063Z (DEBUG) - read 0 bytes
2020-01-07T12:47:01.584723689Z (DEBUG) - read eof
2020-01-07T12:47:01.584728056Z (DEBUG) - dropping I/O source: 12
2020-01-07T12:47:01.584733428Z (DEBUG) - loop poll - 4.652152ms
2020-01-07T12:47:01.58473694Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 560661347 }
2020-01-07T12:47:01.584740703Z (DEBUG) - loop process, 6.55µs
2020-01-07T12:47:01.585265Z (DEBUG) - read 203 bytes
2020-01-07T12:47:01.585281022Z (DEBUG) - parsed 5 headers (175 bytes)
2020-01-07T12:47:01.585291208Z (DEBUG) - incoming body is chunked encoded
2020-01-07T12:47:01.585296811Z (DEBUG) - incoming chunked header: 0xA (10 bytes)
2020-01-07T12:47:01.58530176Z (DEBUG) - loop poll - 474.793µs
2020-01-07T12:47:01.585307266Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561146833 }
2020-01-07T12:47:01.585316641Z (DEBUG) - loop process, 5.872µs
2020-01-07T12:47:01.585321409Z (DEBUG) - loop poll - 19.84µs
2020-01-07T12:47:01.585326183Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561175675 }
2020-01-07T12:47:01.585331302Z (DEBUG) - loop process, 6.353µs
2020-01-07T12:47:01.585336267Z (DEBUG) - incoming chunked header: 0x8 (8 bytes)
2020-01-07T12:47:01.585341077Z (DEBUG) - loop poll - 8.796µs
2020-01-07T12:47:01.585345769Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561193262 }
2020-01-07T12:47:01.585350845Z (DEBUG) - loop process, 4.999µs
2020-01-07T12:47:01.58535592Z (DEBUG) - loop poll - 2.884µs
2020-01-07T12:47:01.585359941Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561203406 }
2020-01-07T12:47:01.585363344Z (DEBUG) - loop process, 4.851µs
2020-01-07T12:47:01.58536669Z (DEBUG) - scheduling Read for: 3
2020-01-07T12:47:01.585370242Z (DEBUG) - loop poll - 13.513µs
2020-01-07T12:47:01.585373624Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561224078 }
2020-01-07T12:47:01.585376951Z (DEBUG) - loop process, 4.896µs
2020-01-07T12:47:01.585431492Z (DEBUG) - read 20 bytes
2020-01-07T12:47:01.585436611Z (DEBUG) - incoming chunked header: 0xA (10 bytes)
2020-01-07T12:47:01.585449507Z (DEBUG) - loop poll - 97.012µs
2020-01-07T12:47:01.585453095Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561328231 }
2020-01-07T12:47:01.585456393Z (DEBUG) - loop process, 4.604µs
2020-01-07T12:47:01.585459677Z (DEBUG) - loop poll - 2.959µs
2020-01-07T12:47:01.585462891Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561338129 }
2020-01-07T12:47:01.585466252Z (DEBUG) - loop process, 4.42µs
2020-01-07T12:47:01.585469561Z (DEBUG) - incoming body completed
2020-01-07T12:47:01.585472779Z (DEBUG) - scheduling Read for: 3
2020-01-07T12:47:01.585476009Z (DEBUG) - scheduling Read for: 3
2020-01-07T12:47:01.585479312Z (DEBUG) - loop poll - 14.018µs
2020-01-07T12:47:01.585482968Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561358694 }
2020-01-07T12:47:01.585486271Z (DEBUG) - loop process, 4.654µs
2020-01-07T12:47:01.585489525Z (DEBUG) - pooling idle connection for "http://localhost:8080"
2020-01-07T12:47:01.585492991Z (DEBUG) - loop poll - 8.463µs
2020-01-07T12:47:01.585496335Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561373717 }
2020-01-07T12:47:01.585499628Z (DEBUG) - loop process, 3.551µs
2020-01-07T12:47:01.585502931Z (ERROR) - failed unwrapping body value for key: bloom:0:c:dc56d17a:18fa98d6, ignoring
2020-01-07T12:47:01.585625181Z (DEBUG) - flushed 141 bytes
2020-01-07T12:47:01.585649631Z (DEBUG) - scheduling Read for: 13
2020-01-07T12:47:01.585656823Z (DEBUG) - loop poll - 107.049µs
2020-01-07T12:47:01.585662765Z (DEBUG) - loop time - Instant { tv_sec: 9052, tv_nsec: 561486028 }
2020-01-07T12:47:01.585667954Z (DEBUG) - loop process, 4.566µs
2020-01-07T12:47:06.96199733Z (DEBUG) - loop poll - 5.376220633s
2020-01-07T12:47:06.962037899Z (DEBUG) - loop time - Instant { tv_sec: 9057, tv_nsec: 937713671 }
2020-01-07T12:47:06.962043674Z (DEBUG) - loop process, 31.664µs
[server]
log_level = "debug"
inet = "0.0.0.0:8081"
[control]
inet = "127.0.0.1:8811"
tcp_timeout = 300
[proxy]
[[proxy.shard]]
shard = 0
host = "localhost"
port = 8080
[cache]
ttl_default = 60 # seconds
executor_pool = 64
disable_read = false
disable_write = false
compress_body = true
[redis]
host = "xxxxxx"
port = 6379
database = 0
pool_size = 80
max_lifetime_seconds = 60
idle_timeout_seconds = 500
connection_timeout_seconds = 1
max_key_size = 1048576 # bytes
max_key_expiration = 600 # seconds
Any help would be appreciated 🙂 .