Error in the RabbitMQ connection. Reconnecting....

1,710 views
Skip to first unread message

Steven Chow

unread,
Feb 11, 2015, 8:44:24 PM2/11/15
to o...@apereo.org
Dear all, 

When I was trying to start Hilary today, I got some error message saying as follows:

Stevens-MacBook-Pro:Hilary Steven$ node app.js | node_modules/.bin/bunyan
[2015-02-12T01:38:21.946Z]  INFO: oae/1529 on Stevens-MacBook-Pro.local: Starting OAE
[2015-02-12T01:38:22.018Z]  INFO: oae-modules/1529 on Stevens-MacBook-Pro.local: Starting modules: oae-util, oae-logger, oae-telemetry, oae-tenants, oae-config, oae-authentication, oae-search, oae-discussions, oae-email, oae-folders, oae-following, oae-google-analytics, oae-library, oae-activity, oae-content, oae-messagebox, oae-mixpanel, oae-preview-processor, oae-principals, oae-release-tools, oae-rest, oae-context, oae-authz, oae-doc, oae-tests, oae-tincanapi, oae-ui, oae-uservoice, oae-mediacore
[2015-02-12T01:38:22.092Z]  WARN: signature/1529 on Stevens-MacBook-Pro.local:
   You are using the default key to sign URLs, this is *NOT* secure and should be changed immediately.
   The system will continue to function, but it is strongly recommended that you change your key.

[2015-02-12T01:38:22.092Z]  INFO: oae-cleaner/1529 on Stevens-MacBook-Pro.local: Starting clean job. (interval=7200)
   directory: /var/folders/75/5pjb6_451njc40b9_0nl6cyh0000gn/T/oae
[2015-02-12T01:38:22.092Z]  INFO: mq/1529 on Stevens-MacBook-Pro.local: Initializing RabbitMQ connector
[2015-02-12T01:38:22.129Z] ERROR: mq/1529 on Stevens-MacBook-Pro.local: Error in the RabbitMQ connection. Reconnecting. (err.code=ENOTFOUND)
   Error: getaddrinfo ENOTFOUND
       at errnoException (dns.js:37:11)
       at Object.onanswer [as oncomplete] (dns.js:124:16)
[2015-02-12T01:38:22.133Z] ERROR: mq/1529 on Stevens-MacBook-Pro.local: Error in the RabbitMQ connection. Reconnecting.
   TypeError: Cannot read property '1' of undefined
       at Connection.generateChannelId (/Users/Steven/oae/Hilary/node_modules/amqp/lib/connection.js:757:22)
       at Connection.exchange (/Users/Steven/oae/Hilary/node_modules/amqp/lib/connection.js:295:24)
       at EventEmitter.module.exports.declareExchange (/Users/Steven/oae/Hilary/node_modules/oae-util/lib/mq.js:234:16)
       at Object.module.exports.init (/Users/Steven/oae/Hilary/node_modules/oae-util/lib/taskqueue.js:62:8)
       at /Users/Steven/oae/Hilary/node_modules/oae-util/lib/init.js:65:23
       at Connection.<anonymous> (/Users/Steven/oae/Hilary/node_modules/oae-util/lib/mq.js:168:24)
       at Connection.EventEmitter.emit (events.js:117:20)
       at Socket.EventEmitter.emit (events.js:95:17)
       at net.js:830:16
       at process._tickCallback (node.js:415:13)
[2015-02-12T01:38:23.132Z] ERROR: mq/1529 on Stevens-MacBook-Pro.local: Error in the RabbitMQ connection. Reconnecting. (err.code=ENOTFOUND)
   Error: getaddrinfo ENOTFOUND
       at errnoException (dns.js:37:11)
       at Object.onanswer [as oncomplete] (dns.js:124:16)

I started all the other servers include RabbitMQ successfully.

Can you remind me what are the possible reasons that can cause this issue to happen?

Thank you!

Steven.

Simon Gaeremynck

unread,
Feb 12, 2015, 11:43:43 AM2/12/15
to Steven Chow, o...@apereo.org
Hi Steven,

A couple of things:
- Did you change anything in Hilary’s config file in the `config.mq` object?
If you’re running it locally you should probably connect on localhost.
- Although unlikely, can you resolve `localhost`?
- Did you install another version of amqp? It looks like amqp published a new
release yesterday, but we shouldn’t be pulling that one in.

Hope that helps,

Simon
> --
> You received this message because you are subscribed to the Google Groups "Open Academic Environment (OAE)" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to oae+uns...@apereo.org.
> To post to this group, send email to o...@apereo.org.
> Visit this group at http://groups.google.com/a/apereo.org/group/oae/.

Reply all
Reply to author
Forward
0 new messages