Hello I am experiencing a problem with mongodb native when running an application on windows azure websites.
This code creates a connection to mongodb, authenticate it, and then it starts a web server that does a query to the db on each request using the same connection instance.
This works fine for about 10 minutes but after that it seems that azure recycle the application or something alike, and then the query fails. The error message and the stack trace are in the page of the reproduction i made.
So, my question is... even if azure is closing the socket of the connection, shouldn't auto_reconnect reconnect it ? Anyone experienced a problem like this?
Thank you very much.