Rocket.Chat 0.71.1 (Ubuntu 18.04, snap) stopped working over HTTPS.
You can connect over HTTP on port 3000, but not HTTPS on a domain name. Settings no has not changed, the processes all work.
What to do?
How to understand whether the redirect from port 443 to port 3000 works on the host?
What are you using to handle your ssl termination? The built in caddy? If so please check status and get logs to see what’s happening
Customized in accordance with the documentation on the site. Used by caddy.
https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/autossl/
https://example-domain.com
proxy / localhost:3000 {
websocket
transparent
}
Found in the documentation how to see the logs. Here is what is written in them:
– Logs begin at Wed 2018-11-21 00:50:06 CET. –
Dez 25 13:29:08 yuriy-Virtual-Machine systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-caddy.
Dez 25 13:29:08 yuriy-Virtual-Machine systemd[1]: Started Service for snap application rocketchat-server.rocketchat-caddy.
Dez 25 13:29:41 yuriy-Virtual-Machine rocketchat-server.rocketchat-caddy[3793]: Activating privacy features… 2018/12/25 13:29:41 too many renewal attempts; last error: acme : Error -> One or more domains had a problem:
Dez 25 13:29:41 yuriy-Virtual-Machine rocketchat-server.rocketchat-caddy[3793]: [chat.DOMENNAME.ru] acme: Error 403 - urn:ietf:params:acme:error:unauthorized - Invalid resp onse from http://chat.DOMENNAME.ru/.well-known/acme-challenge/0GpaUK4O4vSR4K60mqhICHYUaeVSpeRemNz_iCIq93E: “\n\n\n<meta name=“referrer” content =“origin-when-crossorigin”>\n/* eslint-disable */\n\n’use strict”
Dez 25 13:29:41 yuriy-Virtual-Machine systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Main process exited, code=exited, status=1/FAILURE
Dez 25 13:29:41 yuriy-Virtual-Machine systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Failed with result ‘exit-code’.
Dez 25 13:29:41 yuriy-Virtual-Machine systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Service hold-off time over, scheduling restart.
Dez 25 13:29:41 yuriy-Virtual-Machine systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Scheduled restart job, restart counter is at 39044.
Dez 25 13:29:41 yuriy-Virtual-Machine systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-caddy.
Dez 25 13:29:41 yuriy-Virtual-Machine systemd[1]: Started Service for snap application rocketchat-server.rocketchat-caddy.
Dez 25 13:30:02 yuriy-Virtual-Machine rocketchat-server.rocketchat-caddy[3829]: Activating privacy features… 2018/12/25 13:30:02 too many renewal attempts; last error: acme: Error 429 - urn:ietf:params:acme:error:rateLimited - Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/rate-limits/
Dez 25 13:30:02 yuriy-Virtual-Machine systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Main process exited, code=exited, status=1/FAILURE
Dez 25 13:30:02 yuriy-Virtual-Machine systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Failed with result ‘exit-code’.
Dez 25 13:30:02 yuriy-Virtual-Machine systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Service hold-off time over, scheduling restart.
Dez 25 13:30:02 yuriy-Virtual-Machine systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Scheduled restart job, restart counter is at 39045.
Dez 25 13:30:02 yuriy-Virtual-Machine systemd[1]: Stopped Service for snap application rocketchat-server.rocketchat-caddy.
Dez 25 13:30:02 yuriy-Virtual-Machine systemd[1]: Started Service for snap application rocketchat-server.rocketchat-caddy.