Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Message hub service goes down everyday #2

Open
harishvarma8055 opened this issue Oct 20, 2016 · 0 comments
Open

Message hub service goes down everyday #2

harishvarma8055 opened this issue Oct 20, 2016 · 0 comments

Comments

@harishvarma8055
Copy link

Iam using message hub service for a project.Iam running in to an issue that message hub service goes down everyday and the app needs to be started everyday.How can I handle this.

We are using the same logic as you used.

run: function(callback){
var that = this;
consumerInstance.get(topic)
.then(function(data){
that.consume(data);
return callback();
})
.fail(function(error){
console.log("got error: ", error);
return callback(error);
})
},

Every next day it is going in to fail block and it is giving the following issue

2016-10-16T17:41:42.66+0100 [App/0] OUT Unable to consume topic: Error: Req
uest returned status code 404 but it was not in the accepted list. The REST API
responded with the following message: Consumer instance not found.
2016-10-16T17:41:46.66+0100 [App/0] OUT got error: { [Error: Request retur
ned status code 404 but it was not in the accepted list. The REST API responded
with the following message: Consumer instance not found.] statusCode: 404, error
Code: 40403 }

How can we handle this situation such that we dont need to start the app everyday.We are facing thsi issue during the production.
Can someone respond to this at the earliest.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant