iotagent-ul icon indicating copy to clipboard operation
iotagent-ul copied to clipboard

MongoError - Topology was destroyed

Open filgiuff opened this issue 5 years ago • 2 comments

Sometimes it happens that all calls to the agent don't work, The system returns this response

{
    "name": "MongoError",
    "message": "Topology was destroyed"
}

Restarting the agent the error disappears.

I'm using version 1.6.0

The same error happens with iotagent-json

filgiuff avatar Oct 28 '19 16:10 filgiuff

Thanks for the report!

It could be some kind of problem in the IOTA connection to DB or in the DB itself. Maybe the logs of the IOTA could provide some useful information to help debugging this issue (the log can be long and verbose... I'd suggest to look near the timestamp when the problem starts to happen).

fgalan avatar Oct 28 '19 16:10 fgalan

@filgiuff I encourage you to use the last versions, since mongodb drivers has been updated since 1.6.0 version.

AlvaroVega avatar Nov 08 '19 06:11 AlvaroVega