Caleb9 / syno-photo-frame

Build a digital photo frame for Synology Photos with Raspberry Pi
GNU General Public License v3.0
47 stars 3 forks source link

Slideshow password error from within a virtualmachine #20

Closed dracodormiento closed 3 weeks ago

dracodormiento commented 1 month ago

Installed rust and syno-photo-frame successfully on a debian bookworm virtualmachine. Attempted to connect to a synology photos shared album from the same network, both with and without a password. Command returns "Login to Synology Photos failed. Make sure the share link is pointed to a publicly shared album

I've confirmed that a browser within the virtual machine can access the shared link.

image

Caleb9 commented 1 month ago

Hi @dracodormiento.

Are you using Quick Connect link? If yes, the app doesn't support it, for now you'll need some other way to access the NAS. If you're accessing it on LAN then use IP address instead of Quick Connect.

If not, then please prepend the command with RUST_LOG=trace and let's try to see what does it spit out to the console.

dracodormiento commented 1 month ago

I was in fact using the quickconnect link, but even with the ip address I'm getting the error. Please find the logs attached below. (P.S. I love what you're doing, and really hope I can get this working)

SynoFrame RUST LOG.txt

Caleb9 commented 1 month ago

Thanks :).

It seems there's some connectivity problem. First, please check if you're able to open the album in a browser using the sharing link with IP address - just the same link you use as an argument to syno-photo-frame. The port number looks customized, so make sure everything is correct there (also in regard to HTTP vs HTTPS ports). I would also try to ping the IP address from the VM, and if that works then e.g. use curl to see if you get a HTML response from https://{your_ip_address}:{port}. Lastly, see if firewall is not blocking the HTTP(S) traffic from the VM to DSM where Photos is running. Let me know your findings.

Caleb9 commented 1 month ago

@dracodormiento did you manage to solve your issue?

dracodormiento commented 3 weeks ago

Sorry, I ended up not using this project, as my use case is more for external access rather than internal. Thanks for the help however!