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

SSL / TLS Error #9

Closed cyberseekerio closed 10 months ago

cyberseekerio commented 10 months ago

Hello

Great project initiative. Thank you!

Hope you can assist. I am getting the below error when following the instructions:

OS: bullseye lite (64 bit)

Error:

2024-01-07T02:48:00.688Z ERROR [syno_photo_frame] error sending request for url (https://192.168.0.200:5001/?launchApp=SYNO.Foto.AppInstance#/shared_space/folder/webapi/entry.cgi): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1919: (unable to get local issuer certificate)

cyberseekerio commented 10 months ago

I have uploaded a custom certificate to my DSM and all is working well.

However, I am now getting the following error:

2024-01-07T06:09:35.729Z ERROR [syno_photo_frame] error decoding response body: expected value at line 1 column 1

I have validated the TLS connection and certificate using the following command:

openssl s_client -connect 192.168.0.200:5443 (port changed from 5001 to 5443)

Caleb9 commented 10 months ago

Hi @cyberseekerio, is it possible that your sharing link is pointing to a folder in Synology Photos (while it should be a shared album link)?

cyberseekerio commented 10 months ago

Hi @Caleb9

Thank you. It is working perfect! Do you have a donations page?

Caleb9 commented 10 months ago

@cyberseekerio not yet but I'm working on setting one up, so stay tuned :). Thanks!

cyberseekerio commented 10 months ago

Nice. Please keep me posted.

Caleb9 commented 10 months ago

Nice. Please keep me posted.

@cyberseekerio it's up and running if you're still interested (link on the main page of the repo). :pray: