iisnode encountered an error when processing the request.

HRESULT: 0x6d
HTTP status: 500
HTTP reason: Internal Server Error

You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The last 64k of the output generated by the node.exe process to stdout and stderr is shown below:

Express server listening on port \\.\pipe\67ed7f83-3a58-49c7-a3b5-fa6e8fe94d90
Airbrake: Uncaught exception, sending notification for:
Error: Error setting TTL index on collection : sessions
    at D:\SpeakerStack\node_modules\connect-mongo\lib\connect-mongo.js:161:23
    at D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\db.js:1404:28
    at D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\db.js:1542:30
    at D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\cursor.js:159:22
    at D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\cursor.js:685:39
    at Cursor.close (D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\cursor.js:959:5)
    at commandHandler (D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\cursor.js:685:21)
    at D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\db.js:1806:9
    at Server.Base._callHandler (D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\connection\base.js:442:41)
    at D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\connection\server.js:485:18
TypeError: Object Error: Cannot write to a secondary has no method 'isCompatible'
    at __executeInsertCommand (D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\db.js:1828:18)
    at Db._executeInsertCommand (D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\db.js:1930:5)
    at Collection.update (D:\SpeakerStack\node_modules\connect-mongo\node_modules\mongodb\lib\mongodb\collection\core.js:626:13)
    at D:\SpeakerStack\node_modules\connect-mongo\lib\connect-mongo.js:263:20
    at MongoStore._get_collection (D:\SpeakerStack\node_modules\connect-mongo\lib\connect-mongo.js:148:21)
    at MongoStore.set (D:\SpeakerStack\node_modules\connect-mongo\lib\connect-mongo.js:262:12)
    at Session.save (D:\SpeakerStack\node_modules\express\node_modules\connect\lib\middleware\session\session.js:63:25)
    at ServerResponse.res.end (D:\SpeakerStack\node_modules\express\node_modules\connect\lib\middleware\session.js:285:19)
    at ServerResponse.res.send (D:\SpeakerStack\node_modules\express\lib\response.js:154:8)
    at Promise.<anonymous> (D:\SpeakerStack\controllers\profileController.js:24:29)
[x1B][90mGET /robots.txt [x1B][31m500 [x1B][90m34ms - 28b[x1B][0m
Airbrake: Notified service: https://airbrake.io/locate/1476132880269456260