Loop icon indicating copy to clipboard operation
Loop copied to clipboard

SSL cert issue during setup Nightscout as a service after Loop update

Open Aleksander86 opened this issue 1 year ago • 9 comments

  • iPhone 15 iOS 17.5.1
  • Loop v.3.2.3(4)
  • Dexcom G6
  • Medtronic 715

A few days ago I updated the Loop app in the standard way, after which Nightscout lost the connection between the app and the service. I tried to recreate the connection in various ways (re-enter credentials, restart Nightscout on the VM, re-deploy the VM, create a VM + Nightscout with scratch), but none of these actions helped me. Still i have that issue

b1a556d0-d28b-4a33-9b17-b0b22548aa90

Any of you had something similar? Any idea how to fix it?

Aleksander86 avatar Aug 29 '24 20:08 Aleksander86

I am having a similar issue "SSL error happened, impossible to establish a secured connection with the server". The first time it seems that Google cloud changed the IP. But this time, the server IP hasn't changed, I do not know where the issue comes from. Édit : after trying several solutions and changing my domain name, I am now have a code=-1022 error…

makenrot avatar Sep 03 '24 11:09 makenrot

looks like there's maybe a problem with the SSL certificate used by your nightscout server. Can you verify that the SSL certificate is valid for the domain being used?

@Aleksander86 looks like you are putting in an IP address for the nightscout server in the Loop settings, but the server is responding with an SSL certificate for the domain ...chickenkiller.com . Does it work if you use the ...chickenkiller.com domain in the nightscout settings in the Loop app??

the hostname/domain/IP address you use in the Loop settings for the Nightscout server needs to have a valid SSL certificate for that hostname/domain/IP address being used.

cachrisman avatar Sep 05 '24 08:09 cachrisman

looks like there's maybe a problem with the SSL certificate used by your nightscout server. Can you verify that the SSL certificate is valid for the domain being used?

@Aleksander86 looks like you are putting in an IP address for the nightscout server in the Loop settings, but the server is responding with an SSL certificate for the domain ...chickenkiller.com . Does it work if you use the ...chickenkiller.com domain in the nightscout settings in the Loop app??

the hostname/domain/IP address you use in the Loop settings for the Nightscout server needs to have a valid SSL certificate for that hostname/domain/IP address being used.

Thanks for your feedback ! I finally reached a solution yesterday after 24h of data interruption : I changed my domain name and started again the Nightscout Google Cloud configuration steps (Phase 1 and Phase 2). It took then about 1h to resume the data sending from Loop to nightscout. And now, the VM confirms that I have a valid certificate. Crossing finger that this will remain stable in the coming days. The question I cannot answer is why did it stop working ? But as long as it works ;-) Thanks again @cachrisman

EDIT : in fact, it crashed again, after less than 24H of stability...

makenrot avatar Sep 05 '24 08:09 makenrot

Actually, I have just noticed that the data is not being sent again... So there is a bigger issue that I cannot overcome But when I check my certificate on Google, it seems that it is valid (see screenshot) Then it outpasses my competencies. I really do not know what to do.

By the way, my configuration is the following : Browser Loop v3.4.1 IPhone 12 iOS 17.6.1 Nighscout 15.0.2

Capture d'écran 2024-09-05 110328

makenrot avatar Sep 05 '24 09:09 makenrot

@makenrot what exactly do you mean by 'data is not being sent again' ??

perhaps in Loop Settings -> Nightscout, you can try logging out and logging back in and see if that works?

cachrisman avatar Sep 05 '24 09:09 cachrisman

looks like there's maybe a problem with the SSL certificate used by your nightscout server. Can you verify that the SSL certificate is valid for the domain being used?

@Aleksander86 looks like you are putting in an IP address for the nightscout server in the Loop settings, but the server is responding with an SSL certificate for the domain ...chickenkiller.com . Does it work if you use the ...chickenkiller.com domain in the nightscout settings in the Loop app??

the hostname/domain/IP address you use in the Loop settings for the Nightscout server needs to have a valid SSL certificate for that hostname/domain/IP address being used.

Thank you! I used now the url instead of IP address and works for me.

Aleksander86 avatar Sep 05 '24 10:09 Aleksander86

Actually, I have just noticed that the data is not being sent again... So there is a bigger issue that I cannot overcome

But when I check my certificate on Google, it seems that it is valid (see screenshot)

Then it outpasses my competencies. I really do not know what to do.

By the way, my configuration is the following :

Browser Loop v3.4.1

IPhone 12 iOS 17.6.1

Nighscout 15.0.2

Capture d'écran 2024-09-05 110328

You need to wait like 10 mins. It's always some delays at begging.

Aleksander86 avatar Sep 05 '24 10:09 Aleksander86

Settings -> Nigh

I meant that Loop has lost connection with my nightscout server, because of a SSL error. On the other end, when I check my Google VM, everything seems all right. I tried to disconnect and connect again, and I am getting a SSL error. So the error may be from the Loop app ? Same message in Shuggah where I am monitoring my long term info from nightscout. I you have any idea of what could go wrong, it would be really helpful. Many thanks for your time !

WhatsApp Image 2024-09-05 at 12 13 20 WhatsApp Image 2024-09-05 at 12 19 03

makenrot avatar Sep 05 '24 10:09 makenrot

To complement : yesterday, it worked back at the end of the day. And now, the SSL issue happens again. It seems that there is a job happening somewhere around 8:30AM that creates the issue. Would you advise to go back to a previous version of Loop ? WhatsApp Image 2024-09-06 at 09 59 43

makenrot avatar Sep 06 '24 08:09 makenrot