Kovah / LinkAce

LinkAce is a self-hosted archive to collect links of your favorite websites.
https://www.linkace.org
GNU General Public License v3.0
2.64k stars 164 forks source link

500 - Server Error when adding Link with invalid SSL Certs #518

Closed lordfiSh closed 2 years ago

lordfiSh commented 2 years ago

Describe the bug 500 - Server Error when adding Link with invalid SSL Certs

To Reproduce Steps to reproduce the behavior:

  1. Go to Add New Link
  2. add a Link with a not-valid SSL Certs (eg https://forum.systemera.net/topic/53054-importing-and-converting-files-between-microsoft-microsoft-or-microsoft-steam/)

Expected behavior Get a Error Message that says can't add link since the SSL Cert is not valid (or do it anyway)

Screenshots image

LinkAce setup (please complete the following information):

Kovah commented 2 years ago

Thanks for the report. What is shown in the log files (accessible from "system logs" in the menu)?

lordfiSh commented 2 years ago

I didn't see any error in the system logs. I removed the Docker Mount to the Logs and restarted. Now the Links gets added (and the Error Log can be written) ... fixed for me 👍 need check the Folder Permission of the mounted logs folder.

image

Level | Context | Date | Content -- | -- | -- | -- error | production | 2022-07-24 08:22:08 | cURL error 28: Resolving timed out after 3035 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://forum.systemera.net/topic/53054-importing-and-converting-files-between-microsoft-microsoft-or-microsoft-steam/ {"userId":1,"exception":"[object] (Illuminate\\Http\\Client\\ConnectionException(code: 0): cURL error 28: Resolving timed out after 3035 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://forum.systemera.net/topic/53054-importing-and-converting-files-between-microsoft-microsoft-or-microsoft-steam/ at /app/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:711) warning | production | 2022-07-24 08:22:08 | https://forum.systemera.net/topic/53054-importing-and-converting-files-between-microsoft-microsoft-or-microsoft-steam/: https://forum.systemera.net/topic/53054-importing-and-converting-files-between-microsoft-microsoft-or-microsoft-steam/ is not reachable. cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://forum.systemera.net/topic/53054-importing-and-converting-files-between-microsoft-microsoft-or-microsoft-steam/