mitol does not play nice with http-proxy. missing pipe?
Opened this issue · 0 comments
trashhalo commented
➜ cache-proxy-service node index.js
Example app listening on port 8080!
TypeError: (options.buffer || req).pipe is not a function
at Array.stream (/home/stephen/dev/cache-proxy-service/node_modules/http-proxy/lib/http-proxy/passes/web-incoming.js:161:29)
at ProxyServer.<anonymous> (/home/stephen/dev/cache-proxy-service/node_modules/http-proxy/lib/http-proxy/index.js:80:21)
at redis.get.then (/home/stephen/dev/cache-proxy-service/index.js:31:13)
at tryCatcher (/home/stephen/dev/cache-proxy-service/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/stephen/dev/cache-proxy-service/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/home/stephen/dev/cache-proxy-service/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/home/stephen/dev/cache-proxy-service/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/home/stephen/dev/cache-proxy-service/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/home/stephen/dev/cache-proxy-service/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/home/stephen/dev/cache-proxy-service/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/home/stephen/dev/cache-proxy-service/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:781:20)
at tryOnImmediate (timers.js:743:5)
at processImmediate [as _immediateCallback] (timers.js:714:5)