Open NutTom opened 2 years ago
Yes, same situation for me. Only recently started using NAS Download Manager (for Synology). Browser version: Firefox 99.0 (64-bit Windows). DSM version: DSM 7.0.1-42218 Update 3 (three different Synology machines) Extension version: 0.12.0
Apparently it's the "connection test" function who need to be fixed by first making an info request to Synology, I'm trying to install everything to compile the code with my modification to help fixing this issue
Description
Sometimes login doesn't work, had to log on DSM app with browser first to get the extension able to login then. Error is "unknown" without more information.
Be sending the request by hand (SYNO.API.Auth) it return error 103 ("The requested method does not exist" according to synology API documentation)
also according to synology's API (and many search on internet) : In order to make API requests, you should first request SYNO.API.Info to get the SYNO.API.Auth API info for session login and SYNO.DownloadStation.Task API info for download task list.
If I send first the SYNO.API.Info then I can then login with the extension and everything work great. I checked the code and this function request is implemented but looks like it's never called before login.
Steps to Reproduce the Issue
Try to login -> it fail send the SYNO.API.Info request (or web login with brower) login retry -> success
Failure Logs
Versions
Extension version: 0.12.0
Browser version: chrome 100.0.4896.60
DSM version: DSM 7.0.1-42218 Update 3