Self Signed certificate problems

Issue #47 resolved
Former user created an issue

Hi!

i'm getting the following errors trying to download wallpapers:

[13:36:44] SwingWorker-pool-1-thread-2 ERROR ProviderException:36 - Error during Provider operation. Error: There was a problem downloading a wallpaper. Complete URL -> https://www.wallpaperfusion.com/Ajax/BuildFeaturedImagesHTML/. Message:

sun.security.validator.ValidatorException: PKIX path building failed:

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Any help with it?

Comments (9)

  1. Eloy García Almadén repo owner

    Hi!

    Thank you very much for reporting the problem. Could you give me your exact configuration? (keywords, download policy, providers…)

    Is this issue only related to WallpaperFusion or does it apply to another one?

    Thank you very much for your help!

  2. ramon perez

    Shure!

    The problem happens with all other providers. Maybe this could be solved with a way to ignore certificates…

    here are a dump of ~/snap/wallpaperdownloader/current/.wallpaperdownloader/config.txt:

    #FilePreferences
    #Wed Nov 13 09:26:05 BRST 2019
    es.estoes.wallpaperDownloader.window.wallpaper-search-type=3
    es.estoes.wallpaperDownloader.window.provider-socialWallpapering-ignore-keywords=no
    es.estoes.wallpaperDownloader.window.application-changer-mode-sort-last-wallpaper=NONE
    es.estoes.wallpaperDownloader.window.application-changer-units=m
    es.estoes.wallpaperDownloader.window.provider-devianart=yes
    es.estoes.wallpaperDownloader.window.provider-bing=yes
    es.estoes.wallpaperDownloader.window.move-favorite-folder=NONE
    es.estoes.wallpaperDownloader.window.application-timer-units=s
    es.estoes.wallpaperDownloader.window.time-to-minimize=3
    es.estoes.wallpaperDownloader.window.downloading-process=yes
    es.estoes.wallpaperDownloader.window.wallpaper-resolution=3000x1920
    es.estoes.wallpaperDownloader.window.download-policy=0
    es.estoes.wallpaperDownloader.window.application-changer-multimonitor=0
    es.estoes.wallpaperDownloader.window.provider-dualMonitorBackgrounds-search-type=0
    es.estoes.wallpaperDownloader.window.provider-dualMonitorBackgrounds-resolution=NONE
    es.estoes.wallpaperDownloader.window.application-changer=10
    es.estoes.wallpaperDownloader.window.wallpaper-devianart-search-type=0
    es.estoes.wallpaperDownloader.window.application-max-download-folder-size=40
    es.estoes.wallpaperDownloader.window.provider-wallhaven=yes
    es.estoes.wallpaperDownloader.window.move-favorite=no
    es.estoes.wallpaperDownloader.window.provider-socialWallpapering=yes
    es.estoes.wallpaperDownloader.window.application-changer-mode=0
    es.estoes.wallpaperDownloader.window.application-notifications=2
    es.estoes.wallpaperDownloader.window.application-timer=10
    es.estoes.wallpaperDownloader.window.application-i18n=0
    es.estoes.wallpaperDownloader.window.provider-dualMonitorBackgrounds=yes
    es.estoes.wallpaperDownloader.window.system-tray-icon=no
    es.estoes.wallpaperDownloader.window.application-first-time-downloads-folder=/home/ramonrrp/snap/wallpaperdownloader/26/.wallpaperdownloader/downloads
    es.estoes.wallpaperDownloader.window.start-minimized=NONE
    es.estoes.wallpaperDownloader.window.application-downloads-folder=/home/ramonrrp/snap/wallpaperdownloader/current/.wallpaperdownloader/downloads
    es.estoes.wallpaperDownloader.window.provider-wallpaperFusion=yes
    es.estoes.wallpaperDownloader.window.application-changer-folder=/home/ramonrrp/snap/wallpaperdownloader/current/.wallpaperdownloader/downloads

    And here, an excerpt of /home/ramonrrp/snap/wallpaperdownloader/current/.wallpaperdownloader/wallpaperdownloader.log:

    [09:58:00] SwingWorker-pool-1-thread-6 ERROR ProviderException:36 - Error during Provider operation. Error: There was a problem downloading a wallpaper. Complete URL -> https://www.socwall.com/wallpapers/page:1/. Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    [09:58:00] SwingWorker-pool-1-thread-8 INFO Provider:134 - Checking download directory. Removing some wallpapers if it is necessary...
    [09:58:00] SwingWorker-pool-1-thread-8 INFO BingProvider:57 - Downloading Bing daily wallpaper
    [09:58:00] SwingWorker-pool-1-thread-8 ERROR ProviderException:36 - Error during Provider operation. Error: There was a problem downloading a wallpaper. Complete URL -> https://www.bing.com/HPImageArchive.aspx?format=rss&idx=0&n=1&mkt=en-. Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    [09:58:00] SwingWorker-pool-1-thread-4 INFO DevianartProvider:270 - https://www.deviantart.com/customization/wallpaper/newest/?order=5&offset=0
    [09:58:00] SwingWorker-pool-1-thread-4 INFO Provider:134 - Checking download directory. Removing some wallpapers if it is necessary...
    [09:58:00] SwingWorker-pool-1-thread-4 INFO DevianartProvider:115 - Downloading wallpaper with keyword -> NONE
    [09:58:00] SwingWorker-pool-1-thread-7 INFO DevianartProvider:270 - https://www.deviantart.com/customization/wallpaper/newest/?order=5&offset=0
    [09:58:00] SwingWorker-pool-1-thread-7 INFO Provider:134 - Checking download directory. Removing some wallpapers if it is necessary...
    [09:58:00] SwingWorker-pool-1-thread-7 INFO DevianartProvider:115 - Downloading wallpaper with keyword -> NONE
    [09:58:00] SwingWorker-pool-1-thread-5 INFO Provider:134 - Checking download directory. Removing some wallpapers if it is necessary...
    [09:58:00] SwingWorker-pool-1-thread-5 INFO BingProvider:57 - Downloading Bing daily wallpaper
    [09:58:00] SwingWorker-pool-1-thread-5 ERROR ProviderException:36 - Error during Provider operation. Error: There was a problem downloading a wallpaper. Complete URL -> https://www.bing.com/HPImageArchive.aspx?format=rss&idx=0&n=1&mkt=en-. Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    [09:58:00] SwingWorker-pool-1-thread-3 INFO WallhavenProvider:234 - https://wallhaven.cc/search?categories=111&purity=110&order=desc&sorting=favorites
    [09:58:00] SwingWorker-pool-1-thread-3 INFO Provider:134 - Checking download directory. Removing some wallpapers if it is necessary...
    [09:58:00] SwingWorker-pool-1-thread-3 INFO WallhavenProvider:71 - Downloading wallpaper with keyword -> NONE
    [09:58:00] SwingWorker-pool-1-thread-3 ERROR ProviderException:36 - Error during Provider operation. Error: There was a problem downloading a wallpaper. Complete URL -> https://wallhaven.cc/search?categories=111&purity=110&order=desc&sorting=favorites. Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  3. Eloy García Almadén repo owner

    Hi Ramon!

    Thank you very much for the information. I need something else to test it in a similar environment (I use Arch so i have the application installed via AUR and it works fine):

    • What is the distro you have?
    • And what version?
    • Seeing the logs I can assume you installed WallpaperDownloader via snap package, right?

    Thanks again!

  4. ramon perez

    result for /etc/*-release

    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=18.04
    DISTRIB_CODENAME=bionic
    DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
    NAME="Ubuntu"
    VERSION="18.04.3 LTS (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 18.04.3 LTS"
    VERSION_ID="18.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic
    

    I downloaded the app from ubuntu gnome packet manager

  5. Eloy García Almadén repo owner

    Thank you very much! I’ll install Ubuntu 18.04 on a Virtual Machine and test it 🙂

    I’ll keep you inform!

  6. Eloy García Almadén repo owner

    Hi Ramon,

    I’ve installed Ubuntu proper 18.04.3 on VirtualBox and WallpaperDownloader from the store and it downloads wallpapers without any problem. I have another PC with Ubuntu 19.10 and it works too. I cannot reproduce the error.

    Are you behind a proxy or a firewall that maybe can forbid the access to some URLs?

  7. Log in to comment