> > 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.