Troubleshooting Nightscout


Before troubleshooting

  1. Check your email (maybe you missed an important announcement)

  2. Check your internet provider / SIM credit (can all devices browse internet?)

  3. Try another browser/computer (if building your Nightscout site)


Overall third party services

Check the services you’re using are available

Vendor

Check here:

Dexcom
Dexcom US account
Dexcom non-US account

https://status.dexcom.com/
https://clarity.dexcom.com/
https://clarity.dexcom.eu/

Carelink US account
Carelink non-US account

https://carelink.minimed.com/
https://carelink.minimed.eu/app/login

GitHub

https://www.githubstatus.com/

Heroku

https://status.heroku.com/

Railway

https://railway.instatus.com/

MongoDB Atlas

https://status.cloud.mongodb.com/

Northflank

https://status.northflank.com/

Azure

https://azure.status.microsoft/

NS10BE

https://ns.10be.de/en/status.html



Application crashed

Not knowing if it’s a permanent issue, first try to restart it…


If it’s crashing again, and you use the Atlas database, make sure i’s not full

If your database is not full, you might have your profiles table corrupted.

  • With Atlas, just drop them.

  • With another accessible database, use a computer app like Studio 3T to delete the profiles table. Connect using your MONGODB_URI string.

GitHub

Follow these instructions.

Heroku

Search your issue there.

There’s nothing here, yet can be due to billing issues.

An Application error means Heroku crashed. Restart it and check database size.

Atlas

Issues during database creation look there.

The usual reason for failure at build time is a bad connection string (Atlas).

If you encounter a Boot Error - Unable to connect to Mongo it might be due to a Database Full

Railway

Mind you can’t deploy Railway if you just created a new GitHub account.

Nothing there is usually because you forgot to subscribe to a Developer plan.

Else go there.

Fly.io

Fly.io troubleshooting is complex if you didn’t save your fly.toml configuration. Check in your local clone of the cgm-remote-monitor project. If you can’t find it, recover it first.

Try to redeploy your app.

Once done, issues are most probably due to your fly.toml contents or variables.



Other issues

Reports

Reports slow loading or timeout

No data in Nightscout

Check your uploader is configured correctly.

Make sure your Nightscout time zone is correct.

If you use a DIY closed loop system make sure it’s setup correctly.

Dexcom data not showing

See this dedicated page.

Data timing issues

Basal is shifted in time

  • Check the time zone is correct for your currently active profile in your Nightscout Profile editor.

../../_images/TShoot30.png

Data in the future

  • Check you don’t have data in the future with the Admin tools. Remove them if existing.

../../_images/TShoot31.png
  • If this isn’t working, or shows no future data, check in your database (Atlas see here)


Basal / IOB / COB missing after DST

  • Setup again your time zone in profile editor (authenticate and save).


Error code instead of a BG value

Nightscout implements Dexcom error codes as listed below:

Code

Corresponding error

?SN

Sensor not active

?MD

Minimal deviation

?NA

No antenna

?NC

Sensor not calibrated

?CD

Counts deviation

?AD

Absolute deviation

???

Power deviation

?RF

Bad RF