nightscout / cgm-remote-monitor

nightscout web monitor
GNU Affero General Public License v3.0
2.43k stars 71.81k forks source link

Xdrip not uploading readings any more "marking record:failed" #7431

Open bionictom opened 2 years ago

bionictom commented 2 years ago

Hi, i have been having problems with xdrip not pushing my numbers to nightscout for a few days now.

Error message says: "unable to do REST API Upload: Failed to connect to ..... marking record:failed".

AAPS is still pushing treatments, and i've cleard the devicestatus on nightscout.

psonnera commented 2 years ago

Can you post your xDrip+ uploader status (hiding personal information) here?

bionictom commented 2 years ago

Crazily enough, just as I was about to take screenshots, i noticed that the error message was gone and all of the readings are now on nightscout, without me changing anything in the last 3 days. It fixed itself.

bionictom commented 2 years ago

Actually, the problem re-appeared. The old data got unploaded, but it stopped again, 4 hours ago.

bionictom commented 2 years ago

IMG_20220521_211258

peligrims commented 2 years ago

I have the same problem, please help!

peligrims commented 2 years ago

IMG_20220523_192145 (1)

Geoff85 commented 1 year ago

I'm having this issue too. Has anyone got a solution for it?

Root-Core commented 1 year ago

Same issue, I installed the latest update and it's still not working. So restarting the app does nothing and it is present in the current release. AAPS is working via local broadcasts.

EDIT: It works again, after Nightscout was restarted and the server was updated.. pretty sure it was a problem with NS.

psvtg commented 1 year ago

Same problem now

herzogmedia commented 1 year ago

Hi, I had that message a few times as well and in most cases is had to do with the mongo service not working. If you're on atlas you could try to login there and check if everything is alright

acember commented 7 months ago

I'm having this problem now and just read this whole thread, but it doesn't look like anyone figured out how to fix it... :/

My system status on xDrip says "Unable to do REST API Upload: Unexpected baseURI

But the REST API is typed correctly as is the URL, so I don't know what else to do to get NS running again.

psonnera commented 7 months ago

@acember can you open your Nightscout site page? Is it functional?

acember commented 7 months ago

@psonnera Yeah, the site itself is functional -- there just isn't any data there. But I can, for example, add a dummy treatment or something like that.

acember commented 7 months ago

Update: It turns out that if you're using ns.10be.de as your server, you need to add /api/v1/ to your API secret and URL to form the xDrip Base URL. So, for example, my URL is https://sputnik4abby.ns.10be.de/ , so I used:

https://MY_API_SECRET@https://sputnik4abby.ns.10be.de/api/v1/

Hopefully that helps someone else!