Closed as not planned
Closed as not planned
Description
Synology 2 Factor Support Broken? - Unable to auth - Worked 1 Month Ago
This worked fine a month ago. Made sure correct SYNO_Device_ID is set and it is, Can see it in the URL requested.
Debug log
acme.sh --deploy --insecure -d mydomain.com --deploy-hook synology_dsm --debug 2
[Mon Jul 31 09:36:40 EDT 2023] Lets find script dir.
[Mon Jul 31 09:36:40 EDT 2023] _SCRIPT_='/usr/local/share/acme.sh/acme.sh'
[Mon Jul 31 09:36:40 EDT 2023] _script='/usr/local/share/acme.sh/acme.sh'
[Mon Jul 31 09:36:40 EDT 2023] _script_home='/usr/local/share/acme.sh'
[Mon Jul 31 09:36:40 EDT 2023] Using config home:/usr/local/share/acme.sh
[Mon Jul 31 09:36:40 EDT 2023] LE_WORKING_DIR='/usr/local/share/acme.sh'
https://github.com/acmesh-official/acme.sh
v3.0.7
[Mon Jul 31 09:36:40 EDT 2023] Running cmd: deploy
[Mon Jul 31 09:36:40 EDT 2023] Using config home:/usr/local/share/acme.sh
[Mon Jul 31 09:36:40 EDT 2023] default_acme_server
[Mon Jul 31 09:36:40 EDT 2023] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
[Mon Jul 31 09:36:40 EDT 2023] _ACME_SERVER_HOST='acme.zerossl.com'
[Mon Jul 31 09:36:40 EDT 2023] _ACME_SERVER_PATH='v2/DV90'
[Mon Jul 31 09:36:40 EDT 2023] DOMAIN_PATH='/usr/local/share/acme.sh/mydomain.com'
[Mon Jul 31 09:36:40 EDT 2023] DOMAIN_CONF='/usr/local/share/acme.sh/mydomain.com/mydomain.com.conf'
[Mon Jul 31 09:36:40 EDT 2023] _deployApi='/usr/local/share/acme.sh/deploy/synology_dsm.sh'
[Mon Jul 31 09:36:40 EDT 2023] _cdomain='mydomain.com'
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Username='Cert'
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Password='[hidden](please add '--output-insecure' to see this value)'
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Create
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Device_Name
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Device_ID='[hidden](please add '--output-insecure' to see this value)'
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Scheme='https'
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Hostname='localhost'
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Port='2053'
[Mon Jul 31 09:36:40 EDT 2023] SYNO_Certificate='nas.mydomain.com'
[Mon Jul 31 09:36:40 EDT 2023] _base_url='https://localhost:2053'
[Mon Jul 31 09:36:40 EDT 2023] Getting API version
[Mon Jul 31 09:36:40 EDT 2023] GET
[Mon Jul 31 09:36:40 EDT 2023] url='https://localhost:2053/webapi/query.cgi?api=SYNO.API.Info&version=1&method=query&query=SYNO.API.Auth'
[Mon Jul 31 09:36:40 EDT 2023] timeout=
[Mon Jul 31 09:36:40 EDT 2023] _CURL='curl --silent --dump-header /usr/local/share/acme.sh/http.header -L --trace-ascii /tmp/tmp.qU7Axm2GR2 -g --insecure '
[Mon Jul 31 09:36:41 EDT 2023] ret='0'
[Mon Jul 31 09:36:41 EDT 2023] Logging into localhost:2053
[Mon Jul 31 09:36:41 EDT 2023] GET
[Mon Jul 31 09:36:41 EDT 2023] url='https://localhost:2053/webapi/entry.cgi?api=SYNO.API.Auth&version=6&method=login&format=sid&account=accountt&passwd=passwd&enable_syno_token=yes&device_name=&device_id=device_id'
[Mon Jul 31 09:36:41 EDT 2023] timeout=
[Mon Jul 31 09:36:41 EDT 2023] _CURL='curl --silent --dump-header /usr/local/share/acme.sh/http.header -L --trace-ascii /tmp/tmp.JnYY0sYGxd -g --insecure '
[Mon Jul 31 09:36:41 EDT 2023] ret='0'
[Mon Jul 31 09:36:41 EDT 2023] Session ID
[Mon Jul 31 09:36:41 EDT 2023] SynoToken
[Mon Jul 31 09:36:41 EDT 2023] Unable to authenticate to https://localhost:2053 - check your username & password.
[Mon Jul 31 09:36:41 EDT 2023] If two-factor authentication is enabled for the user, set SYNO_Device_ID.
[Mon Jul 31 09:36:41 EDT 2023] Error deploy for domain:mydomain.com
[Mon Jul 31 09:36:41 EDT 2023] Deploy error.
Edit: Hell, even if I turn off 2 factor for the account I still get the same error. So for sure, something has broken. See in an email it was last successful back on July 10 with version 3.0.6. See now on version 3.0.7.
Edit 2: Confirmed, 3.0.7 breaks it. Went back to 3.0.6 and success.
Metadata
Metadata
Assignees
Labels
No labels