[rabbitmq-discuss] Node.js -> RabbitMQ -> Couchbase issue
mklishin at gopivotal.com
Tue Jul 15 19:38:05 BST 2014
On 15 July 2014 at 19:54:27, Jason Broughton (jason at guard.ly) wrote:
> > I have a secondary app that is the consumer. It receives the json
> object, parses it and formats the data to be saved in couchbase.
> When I try to connect to couchbase or interact with couchbase
> at all from the consumer method, i get the following error amqp
> connection error:
> error: code=ECONNRESET, errno=ECONNRESET, syscall=read
> I then added LongJohn from NPM which gives longer stack trace.
> and the error i get is :
> var trustProxy = this.app.get('trust proxy');
> TypeError: Cannot call method 'get' of undefined
This error has nothing to do with the RabbitMQ client. See RabbitMQ log,
it may give a better clue what's going on.
Also, node-amqp is not really maintained, consider using amqp.lib:
Staff Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss