jaylagorio / Nightscout-on-Windows-Server

A walk-through showing Nightscout and all of its dependencies and services installed on Windows Server.
19 stars 25 forks source link

additional steps needed for androidaps #6

Closed sdolenc closed 1 year ago

sdolenc commented 1 year ago

Thank you for your tutorial. It saved me a ton of time! I noticed there were some additional steps that androidaps requires

  1. adding websockets to the reverse poxy. I learned about this from: https://github.com/nightscout/AndroidAPS/issues/2063#issuecomment-1242760982 and solved it for iis using this tutorial
  2. free https over IIS using let's encrypt. I used a couple tutorials like this one
sdolenc commented 1 year ago

i just noticed that the web.config in nightscout's root probably takes care of "1" already and adding info about "2" is optional. Feel free to close this issue

jaylagorio commented 1 year ago

@sdolenc Glad to hear this saved you time! I haven't had problems with websockets before and that's probably because of the web.config like you said. I think Let's Encrypt is out of scope for the time being but I'll consider adding it during the next revision. Thanks for your comments!

LoopLuke100 commented 1 year ago

Hello @sdolenc - can you help me with point 3 in the tutorial of IIS? I did points 1 and 2 but don't understand where to look for point 3 :( I'm having the issue with xhr poll error for quite a long time.

sdolenc commented 1 year ago

@LoopLuke100 , I uploaded this video - hope it helps solve this for you. https://www.youtube.com/watch?v=AC0YYU94xYc

I can't remember if I had to do other stuff offhand. I set this up so long ago