NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.61k stars 2.63k forks source link

Synology Drive download prompt after reverse proxy: Unable to perform this operation. Please sign in to DSM and try again later. #4023

Open cybaijie opened 3 weeks ago

cybaijie commented 3 weeks ago

Checklist

Describe the bug Synology Drive Clicking to download shows that this operation cannot be performed. Please log in to DSM and try again later.

Nginx Proxy Manager Version jc21/nginx-proxy-manager:2.11.3

Hello, I have some problems now. When I use npm reverse proxy to Synology, I can log in normally, but I cannot download when I click Synology Drive and execute download. The URL is https://xxxx.com:8888/?launchApp=SYNO.SDS.Drive.Application#TeamFolder (cannot download normally). When I click to download in My Drive, it prompts: Sorry, this user account has not been assigned proper privileges to perform this action 微信图片_20240927105039

When I click to download in Team Folder, it prompts: Unable to perform this operation. Please sign in to DSM and try again later. 微信图片_20240927105030

But I can download it directly using IP access. The URL is http://192.168.0.9:5000/?launchApp=SYNO.SDS.Drive.Application (can download normally) Then I try to log out of the account in the lower left corner of the Synology Drive page under normal reverse generation and log in again to download normally 2024-09-27 10 49 23

I found that Synology Photos can be downloaded normally when I reverse the version normally. Synology The URL of Photos is https://xxxx.com:8888/?launchApp=SYNO.Foto.AppInstance&SynoToken=xxxxxxxxx (can be downloaded normally), so I suspect it is related to SynoToken. I copied the SynoToken displayed by Synology Photos to Synology Drive and found that it can be downloaded normally. The URL is https://xxxx.com:8888/?launchApp=SYNO.SDS.Drive.Application&SynoToken=xxxxxxxxx#MyDrive (can be downloaded normally)

The above is the result of my own attempt. I infer that it is a problem caused by npm, and my friend can download normally using lucky reverse proxy. The summary is https://xxxx.com:8888/?launchApp=SYNO.SDS.Drive.Application#TeamFolder Click Synology Drive through the Synology homepage. The default domain name cannot be downloaded. Re-login on this page to download http://192.168.0.9:5000/?launchApp=SYNO.SDS.Drive.Application You can download it by clicking on the Synology homepage under the domain name or logging in again on this page https://xxxx.com:8888/?launchApp=SYNO.SDS.Drive.Application&SynoToken=xxxxxxxxx#MyDrive Manually fill in SynoToken and you can download it directly

Since English is not my native language, please forgive me for some inappropriate expressions. If you have any questions, please contact me. Thanks