# Can’t log into Dexcom while using Heroku and Nightscout - Possible Solution Provided

**URL:** https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159
**Category:** C/GM
**Created:** [August 21, 2020, 11:01pm UTC](https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159 "2020-08-21T23:01:04Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ClaudnDaye](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.fudiabetes.org/claudndaye/32/5_2.png) [@ClaudnDaye](https://forum.fudiabetes.org/u/ClaudnDaye)
#### Post date: [August 21, 2020, 11:01pm UTC](https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159/1 "2020-08-21T23:01:04Z")

</div>

After the hassles I had today with getting a Transmitter/Sensor to work, I was finally able to reset the last transmitter and its working now. The problem I’m having now…and I’ve never had this issue before, is that I can’t log into Dexcom on browser or the app. Here’s what I see when I attempt to log in.

“The maximum number of login attempts of 5 has been exceeded. Please try again in 10 minutes.”

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fudiabetes/original/2X/5/564d85411744d622a9e75c35b413369bc8d7bb53.png)

I have done 2 reset passwords and have been given the message “Password reset successfully”. I’ve verified I know my username (which I had no doubt I knew…same as my pwd.)

But no matter how long I wait, I get this message on the very first login attempt. I called Dexcom twice…first time the guy put me on hold and then I was disconnected. Second time the rep said she hadn’t seen it before and put me on hold to talk to a manager then she came back and first said all the servers appear to be up and running fine, then she said I should uninstall the dexcom G5 mobile app and re-install, then try again. I said…“Uh…that wouldn’t explain why I can’t login on the PC web browser.” Then she actually said “I’m being told this just sometimes happens and you should wait a few hours and try again.”

Huh???

Anyone ever encounter this and were you able to fix it anyway or is it something that will eventually just fix itself (hours/days)…the explanation they gave me just had me scratching my head…this is TECHNICAL SUPPORT…I’m surprised I wasn’t told it was voohoo or black magic.

Anyway, thought I’d ping the smartest D-community in the world.

What this is mainly impacting is my ability to use SugarMate since I need to be logged in…also the G5 mobile app sharing doesn’t work until I log in.

---

<div class="post-metadata">

### Author: ![jim26](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.fudiabetes.org/jim26/32/9780_2.png) [@jim26](https://forum.fudiabetes.org/u/jim26)
#### Post date: [August 21, 2020, 11:56pm UTC](https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159/2 "2020-08-21T23:56:31Z")

</div>

I’ve don’t recall ever having that issue. Try clearing your browser cache?

---

<div class="post-metadata">

### Author: ![ClaudnDaye](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.fudiabetes.org/claudndaye/32/5_2.png) [@ClaudnDaye](https://forum.fudiabetes.org/u/ClaudnDaye)
#### Post date: [August 22, 2020, 12:09am UTC](https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159/3 "2020-08-22T00:09:47Z")

</div>

Yeah. It’s a problem on multiple platforms (G5 Mobile App + browsers). Very strange. I’m going to try it again at bedtime to give it 4 or 5 hours hopefully to reset. I like to have SugarMate alarms during the night and w/o being able to log into to Dexcom, can’t make use of it.

---

<div class="post-metadata">

### Author: ![elver](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.fudiabetes.org/elver/32/8772_2.png) [@elver](https://forum.fudiabetes.org/u/elver)
#### Post date: [August 22, 2020, 6:48pm UTC](https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159/4 "2020-08-22T18:48:28Z")

</div>

@ClaudnDaye I’m no expert, but that sounds like a cache\server issue.

---

<div class="post-metadata">

### Author: ![ClaudnDaye](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.fudiabetes.org/claudndaye/32/5_2.png) [@ClaudnDaye](https://forum.fudiabetes.org/u/ClaudnDaye)
#### Post date: [August 24, 2020, 4:35pm UTC](https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159/5 "2020-08-24T16:35:46Z")

</div>

I was finally able to figure out what was causing it. So, I at first thought maybe it was SugarMate making repeated calls to the login info since we all connect as followers to Liams G5 Mobile app. But after removing that data it still didn’t work. Then I asked on the Looped group and one of the users helped me figured it out.

So, Heroku was making calls to Nightscout that was locking the Dexcom accounts. The two configuration variables were making continued attempts to login and was locking me before I was ever able to manually attempt the log in.

![image](https://canada1.discourse-cdn.com/flex030/uploads/fudiabetes/original/2X/f/f9911d35b1b3e0b0e97c4ceea53f47a7332377d4.png)

After I removed the variables, everything started working again almost immediately.

Making sure to get this info here in case there is anyone else in the future that has this problem!

---

<div class="post-metadata">

### Author: ![Trying](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.fudiabetes.org/trying/32/4078_2.png) [@Trying](https://forum.fudiabetes.org/u/Trying)
#### Post date: [August 24, 2020, 8:15pm UTC](https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159/6 "2020-08-24T20:15:53Z")

</div>

Great investigation and resolution! Thanks for posting!!

---

<div class="post-metadata">

### Author: ![ClaudnDaye](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.fudiabetes.org/claudndaye/32/5_2.png) [@ClaudnDaye](https://forum.fudiabetes.org/u/ClaudnDaye)
#### Post date: [October 15, 2020, 7:08pm UTC](https://forum.fudiabetes.org/t/can-t-log-into-dexcom-while-using-heroku-and-nightscout-possible-solution-provided/10159/7 "2020-10-15T19:08:21Z")

</div>

So to be clear, the fix is as follows:

_Procedure_ :  
**Delete the actual bridge variables in Heroku, save, reset Dexcom pwd, log into dexcom, change Dexcom password, add back the Heroku bridge variables with the correct info, save, done.**
