StephenBlackWasAlreadyTaken / xDrip-Experimental

Experimental Branches for Collaboration on DexDrip
GNU General Public License v3.0
25 stars 62 forks source link

MongoLab not receiving data #397

Open jage123 opened 7 years ago

jage123 commented 7 years ago

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?

tzachi-dar commented 7 years ago

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 notifications@github.com 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 .

dq1967 commented 7 years ago

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

tzachi-dar commented 7 years ago

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

Thanks Tzachi

dq1967 commented 7 years ago

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://dbuser>:<dbpassword>@ds0nnnn-a0.mlab.com:nnnnn,ds0nnnnn-a1.mlab.com:nnnnn/<dbname?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://dbuser>:<dbpassword>@ds0nnnn-a0.mlab.com:nnnnn,ds0nnnnn-a1.mlab.com:nnnnn/<dbname?replicaSet=rs-ds0nnnn) Many Thanks

On Saturday, 3 December 2016, 16:18, tzachi-dar <notifications@github.com> 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.

tzachi-dar commented 7 years ago

Happy to hear that issue is solved.