Take a look at this thread: Using Let's encrypt certificate of Synology NAS
Check that you’ve enabled websockets: