xDrip-Experimental icon indicating copy to clipboard operation
xDrip-Experimental copied to clipboard

MongoLab not receiving data

Open jage123 opened this issue 8 years ago • 5 comments

Heloo, we have xdrip with DiY receiver and basically its working fine but after some time Mongo stops to receive data from xdrip (there are no new entries)? Then i delete entries database and restart app in Azure portal and its working again for several hours but then it happens again. Phone that is connected to xdrip is showing readings all the time but after a while i seems to stop sending data to Mongo?

jage123 avatar Oct 09 '16 08:10 jage123

How long have you been using xDrip?

I'm aware of what you have said, but it did happen to me after about 2 years.

The soloution is probably to backup the collections and delete them all together.

Thanks Tzachi

On Sun, Oct 9, 2016 at 11:38 AM, jage123 [email protected] wrote:

Heloo, we have xdrip with DiY receiver and basically its working fine but after some time Mongo stops to receive data from xdrip (there are no new entries)? Then i delete entries database and restart app in Azure portal and its working again for several hours but then it happens again. Phone that is connected to xdrip is showing readings all the time but after a while i seems to stop sending data to Mongo?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/397, or mute the thread https://github.com/notifications/unsubscribe-auth/AHkw5AGvV4BiO9LQoolvzrnZfNcQ6KPEks5qyKgagaJpZM4KR8gv .

tzachi-dar avatar Oct 09 '16 09:10 tzachi-dar

Hi Tzachi I have the same issue, but only with BETA version 2.0.6. Mlabs receives no data. However as soon as I switch back to an earlier release, the Mlabs data uploads fine. The android app is receiving data fine, but the mlab upload is not working. I do not think the issue is with mlab because previous beta versions all work fine. I have been using the system for a year. Thanks

dq1967 avatar Dec 02 '16 14:12 dq1967

Can you switch to xDrip+ and see if it will solve your issue?

Thanks Tzachi

tzachi-dar avatar Dec 03 '16 16:12 tzachi-dar

Hi TzachiThanks - I like the xDrip+.  My issue is solved.I think the issue is around the MongoDB URI  format.  For those of us using a shared cluster plan the format looks like this  mongodb://:@ds0nnnn-a0.mlab.com:nnnnn,ds0nnnnn-a1.mlab.com:nnnnn/?replicaSet=rs-ds0nnnn

But the app seems to be looking for the free version; mongodb://:@ds0nnnnn.mlab.com:nnnnn

Using the free version format has solved the issue about not uploading to mlabs.  Note previous versions of the experimental xDrip were fine with the long format (mongodb://:@ds0nnnn-a0.mlab.com:nnnnn,ds0nnnnn-a1.mlab.com:nnnnn/?replicaSet=rs-ds0nnnn) Many Thanks

On Saturday, 3 December 2016, 16:18, tzachi-dar <[email protected]> wrote:

Can you switch to xDrip+ and see if it will solve your issue?Thanks Tzachi— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

dq1967 avatar Dec 13 '16 16:12 dq1967

Happy to hear that issue is solved.

tzachi-dar avatar Dec 13 '16 16:12 tzachi-dar