Synology NAS: unexpect httpcode


#1

Hi there,

I want to add LE cert to my Synology NAS device with the DSM built-in wizard, but during the setup I got “The operation failed. Please log in to DSM again and retry” error message. I have 80 and 443 ports open and forwarded. In my browser my site loads successfully.

I checked the /var/log/messages file, and that’s what I found:

synoscgi_SYNO.Core.Certificate.LetsEncrypt_1_create: certificate.cpp:957 syno-letsencrypt failed. 200 [new-cert: Unexpect httpcode. (new-cert)]
synoscgi_SYNO.Core.Certificate.LetsEncrypt_1_create: certificate.cpp:1359 Failed to create Let'sEncrypt certificate. [200][new-cert: Unexpect httpcode. (new-cert)]

My DSM verison is 6.1.1.

What did I do wrong?


#2

Hi @Balur

Please fill out the fields below so we can help you better.

My domain is:

I ran this command:

It produced this output:

My operating system is (include version):

My web server is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

Andrei


#3

My domain is: [putnamehere].synology.me
I ran this command: I ran no command at all, just the dsm web based built in wizard.
It produced this output: -
My operating system is (include version): DSM 6.1.1.
My web server is (include version): Apache 2.2
My hosting provider, if applicable, is: -
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no


I have just tried to register LE with my own purchased domain and it’s 100% working.

So it’s something about Synology domains: synology.me, i234.me, myds.me
But back in the days I had able to register LE with a [putnamehere].myds.me domain.

Any ideas?


#4

Hi @Balur

The Synology DSM Wizzard is developed by them. When 3rd Parties develop plugins it’s hard to troubleshoot errors unless they have the source code that is open source.

The second challenge is that DSM runs on synology equipment only so testing it is quite hard without a synology box.

I would suggest posting this question in the Synology forums as it will most likely have people who can assist you.

Andrei


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.