jwoglom / tconnectsync

Syncs data from Tandem Source (formerly t:connect) to Nightscout for the t:slim X2 and Mobi insulin pumps
MIT License
112 stars 61 forks source link

ControlIQ API HTTP 500 response #85

Closed case-palmarium closed 1 year ago

case-palmarium commented 1 year ago

I've been running tconnectsync-heroku in Northflank successfully for about two weeks now, but a couple of days ago started receiving a HTTP 500 error and have stopped receiving data. Nothing has changed on my end, so I'm unsure how to further troubleshoot.

I also installed tconnectsync on another machine and did a check login and received the same error. I've attached both log files. tconnectsync-7d4fbdb847-fvpdt_Invalid date-Invalid date.log tconnectsync-check-output.log

EDIT this seems this resolved on its own, sorry.

jwoglom commented 1 year ago

Glad this is working for you now -- from the output it looks like tconnect was indeed returning 500s and also your Nightscout site returned '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'.

case-palmarium commented 1 year ago

That was my bad, I was testing on a machine behind a corporate proxy so expected that but forgot to cut it from the log file. Thanks!