app connects to mongo locally, but it seems that session creation fails when deployed on heroku app connects to mongo locally, but it seems that session creation fails when deployed on heroku heroku heroku

app connects to mongo locally, but it seems that session creation fails when deployed on heroku


okay, so beyond some needed clean up of promises, the core issue was that when I entered the variable for MONGO_URI in heroku, I added an extra space at the end.

that was it.