# 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://status.dexcom.com/)
[https://clarity.dexcom.com/](https://clarity.dexcom.com/)
[https://clarity.dexcom.eu/](https://clarity.dexcom.eu/) | | Carelink US account
Carelink non-US account | [https://carelink.minimed.com/](https://carelink.minimed.com/)
[https://carelink.minimed.eu/app/login](https://carelink.minimed.eu/app/login) | | GitHub | [https://www.githubstatus.com/](https://www.githubstatus.com/) | | Heroku | [https://status.heroku.com/](https://status.heroku.com/) | | Railway | [https://railway.instatus.com/](https://railway.instatus.com/) | | MongoDB Atlas | [https://status.cloud.mongodb.com/](https://status.cloud.mongodb.com/) | | Northflank | [https://status.northflank.com/](https://status.northflank.com/) | | Azure | [https://azure.status.microsoft/](https://azure.status.microsoft/) | | NS10BE | [https://ns.10be.de/en/status.html](https://ns.10be.de/en/status.html) |
------ ## Application crashed Not knowing if it's a permanent issue, first try to restart it... ```{tab-set} :::{tab-item} Heroku [Restart all dynos](/troubleshoot/heroku.md#restart-all-dynos) ::: :::{tab-item} Railway [Restart your web app](/troubleshoot/railway.md#restart-your-app) ::: :::{tab-item} Azure [Restart app](/troubleshoot/azure.md#restart-app) ::: :::{tab-item} Northflank [Restart](/troubleshoot/northflank.md#restart) ::: :::{tab-item} Fly.io [Restart your app](/troubleshoot/fly.io.md#restart-your-app) ::: :::{tab-item} Render [Restart service](/troubleshoot/render.md#restart-service) ::: ``` ----------- If it's crashing again, and you use the Atlas database, make sure i's not [full](/troubleshoot/atlas.md#database-full)... If your database is not full, you might have your profiles table corrupted. - With Atlas, just [drop](/troubleshoot/atlas/#reports-slow-loading-or-timeout) them. - With another accessible database, use a computer app like [Studio 3T](https://studio3t.com/) to delete the profiles table. Connect using your MONGODB_URI string. ## GitHub Follow [these](/troubleshoot/github) instructions. ## Heroku Search your issue [there](/troubleshoot/heroku). [There's nothing here, yet](heroku-nothing-here) can be due to billing issues. An [Application error](/troubleshoot/heroku.md#application-error) means Heroku crashed. Restart it and check database size. ## Atlas Issues during database creation look [there](/troubleshoot/atlas). The usual reason for failure at build time is a [bad connection string](/troubleshoot/atlas.md#bad-connection-string) (Atlas). If you encounter a [Boot Error - Unable to connect to Mongo](/troubleshoot/atlas.md#unable-to-connect-to-mongo) it might be due to a [Database Full](/troubleshoot/atlas.md#database-full) ## Railway Mind you [can't deploy Railway](/vendors/railway/new_user.md#step-1-fork-cgm-remote-monitor) if you just created a new GitHub account. [Nothing there](/troubleshoot/railway.md#nothing-here) is usually because you forgot to subscribe to a Developer plan. Else go [there](/troubleshoot/railway). ## 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](recover-fly-toml) first. Try to redeploy your app. Once done, issues are most probably due to your `fly.toml` contents or variables.
------ ## Other issues ### Known issues in Nightscout 15.0.9 The [15.0.9 release notes](https://github.com/nightscout/cgm-remote-monitor/releases/tag/v15.0.9) list these limitations. They are not configuration errors. - A treatment deleted through API v1 or the websocket (the careportal, Loop, Trio, xDrip+) does not reach AAPS. - Two careportal entries in the same minute with the same amount are stored as one. So are an AAPS bolus and carbs recorded in the same millisecond as `Meal Bolus`. - After AAPS takes over a v1 record at the same time and event type, a later re-send of the v1 entry can be stored again. - A page with no current glucose reading does not present server alarms, including device alarms (cannula, sensor, battery, pump). - An uploader whose clock runs ahead delays the stale-data warning by about the size of the error. - An alarm threshold entered in mmol/L on a site that is not set to mmol/L is read as mg/dl, so a low threshold like `3.9` never fires. See [BG thresholds](/nightscout/setup_variables.md#alarms). - The Bolus Wizard and the Bolus Wizard Preview use the profile's sensitivity and targets without unit conversion: keep the profile and the display in the same units. See [`boluscalc`](/nightscout/setup_variables.md#boluscalc-bolus-wizard). - The careportal can prefill `Entered By` with `undefined`. - During an AAPS percentage profile switch, the basal pill shows ISF and carb ratio unrounded. - For about a minute after a new phone or a reinstalled Loop uploads its settings, a remote command can still be sent to the old device. - While `TRUST_PROXY` is unset, the failed-login delay can be avoided by supplying a forwarded address. See [`TRUST_PROXY`](/nightscout/setup_variables.md#trust_proxy-empty).
### Reports [Reports slow loading or timeout](/troubleshoot/atlas.md#reports-slow-loading-or-timeout) ### No data in Nightscout Check your [uploader](/uploader/setup) is configured correctly. Make sure your Nightscout [time zone](/nightscout/profile_editor/) is correct. If you use a [DIY closed loop](/nightscout/close_loop) system make sure it's setup correctly. ### Dexcom data not showing See [this dedicated page](/troubleshoot/dexcom_bridge/). ### Dexcom or CareLink data stopping after a while ```{hint} CareLink with mmconnect data source stopped functioning for 7xx pumps. The `mmconnect` plugin is deprecated and will be removed in a later release. **Remove the `mmconnect` plugin from `ENABLE`. ```
First verify you can see your BG in Clarity. If you're using Heroku, check the web app is not [sleeping](/troubleshoot/heroku.md#sleeping-app). You might need to setup an Uptime robot for Heroku Eco plan and Render. ```{admonition} UpTime Robot Using an uptime robot with a bad password, or other issues originating from Nightscout can lead to a locked account ([Dexcom](/troubleshoot/dexcom_bridge.md#account-lock)). ```
### Data timing issues #### Basal is shifted in time - Check the time zone is correct for your currently active profile in your Nightscout [`Profile editor`](/nightscout/profile_editor/).
#### Data in the future - Check you don't have data in the future with the `Admin tools`. Remove them if existing.
- If this isn't working, or shows no future data, check in your database (Atlas see [here](/troubleshoot/atlas.md#data-in-the-future))
#### Basal / IOB / COB missing after DST - Setup again your time zone in [profile editor](/nightscout/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 |