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

Message hub service goes down everyday #2

@harishvarma8055

Description

@harishvarma8055

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions