timoschlueter / nightscout-librelink-up

Script written in TypeScript that uploads CGM readings from LibreLink Up to Nightscout.
MIT License
192 stars 246 forks source link

error code=H10 desc="App crashed" #46

Closed MaxPressure closed 2 years ago

MaxPressure commented 2 years ago

Hi Timo,

First, thanks for having posted this script.

I have deployed it on Heroku, double checked variables, hashed Nightscout password as requested, but I keep on logging the following error:

2022-06-12T14:50:00.688125+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/api/v1/entries" host=.herokuapp.com request_id=d2e00448-58fa-4726-abd4-7fce16876b3a fwd="54.228.36.199" dyno= connect= service= status=503 bytes= protocol=https

Any idea ?

Thanks

Andrea

cubybox commented 2 years ago

Hi Andrea,

you have to hash the API-token - not the password. Could that be the problem? I have used this generator and it works with it:

sha generator

greets Dirk

MaxPressure commented 2 years ago

Hi Dirk, Thanks for your input, it really drove me in the right direction. Actually , I now receive FSL3 BG readings on Nightscout. Regards Andrea