PoonLab/covizu

Proxy errors when trying to access the website

Closed this issue · 14 comments

I ran into the following errors when trying to access https://filogeneti.ca/CoVizu/

image

The proxy server could not handle the request
Reason: Error during SSL Handshake with remote server

I am able to log into the server via ssh. There are two node processes running 100% CPU each.

Did our SSL certificate expire?

Did our SSL certificate expire?

Could be that the certificate expired for shiny.filogeneti.ca:

image

I can connect to other websites on the server just fine.

I'm getting a different expiry date, did you just do a renewal @GopiGugan ?

It looks like there is a mismatch in certificates:

Navigating to https://filogeneti.ca/covizu/ displays the updated certificate, but accessing filogeneti.ca on the specific port for https requests for Covizu displays the expired certificate.

Looking into which certificate the node server is pointing to

looks like we're back up!

looks like we're back up!

Yes, had to restart the pm2 services. Need to investigate whether the pm2 services need to be restarted to read the updated SSL certificate.

thanks for the heads up @bonnielu

Leaving this issue open until we understand why pm2 failed to load the renewed certificate

This seems to be a known issue Unitech/pm2#5175. We may even be having issues reloading our other data files. The only workaround currently is to completely stop/kill and start pm2.

We should look at alternatives to pm2 for zero downtime deployments until #433 is complete

Let's go with a manual process kill and restart for now, thanks!

Closing this issue, write a new issue to look for a longer term solution (alternative to pm2)