You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
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.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: