Error renaming in Filebot (Portable 4.7.7)

Support for Ubuntu and other Desktop Linux distributions
Post Reply
Antained
Posts: 7
Joined: 24 Jan 2017, 18:29

Error renaming in Filebot (Portable 4.7.7)

Post by Antained »

I finally managed to get Filebot on my Raspberry Pi 2 after some troubleshouting, but I can't seem to use the rename command. Here is the error:

Code: Select all

Fetch failed: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed [https://app.filebot.net/data/moviedb.txt.xz]
Fetch failed: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed [https://app.filebot.net/data/thetvdb.txt.xz]
Failed to load movie index: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
Failed to load series index: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
Fetch failed: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed [https://app.filebot.net/data/moviedb.txt.xz]
Failed to load movie index: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
Fetch failed: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed [https://app.filebot.net/data/series-mappings.txt.xz]
Failed to load series mappings: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
        at net.filebot.web.WebRequest.fetch(WebRequest.java:143)
        at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:216)
        at net.filebot.CachedResource.lambda$null$0(CachedResource.java:87)
        at net.filebot.CachedResource.retry(CachedResource.java:120)
        at net.filebot.CachedResource.retry(CachedResource.java:132)
        at net.filebot.CachedResource.retry(CachedResource.java:132)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.media.ReleaseInfo.lambda$resource$18(ReleaseInfo.java:489)
        at net.filebot.TransformedResource.get(Resource.java:54)
        at net.filebot.MemoizedResource.get(Resource.java:36)
        at net.filebot.media.ReleaseInfo.getSeriesMappings(ReleaseInfo.java:366)
        at net.filebot.media.MediaDetection.matchSeriesMappings(MediaDetection.java:471)
        at net.filebot.media.MediaDetection.detectSeriesNames(MediaDetection.java:357)
        at net.filebot.media.MediaDetection.detectSeriesNames(MediaDetection.java:327)
        at net.filebot.media.AutoDetection.getSeriesMatches(AutoDetection.java:188)
        at net.filebot.media.AutoDetection.detectGroup(AutoDetection.java:165)
        at net.filebot.media.AutoDetection.lambda$null$3(AutoDetection.java:143)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
        at net.filebot.web.WebRequest.fetch(WebRequest.java:140)
        ... 18 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
        ... 19 more
Caused by: java.security.cert.CertPathValidatorException: timestamp check failed
        ... 19 more
Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: Mon Jan 23 01:00:00 CET 2017
        ... 19 more
Java version I am running: Java(TM) SE Runtime Environment 1.8.0_111

Any idea what is causing this?
I found a pretty similar post: viewtopic.php?t=3609. However I am not sure if this is the same (and have to admit that I am a bit lost in that thread)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error renaming in Filebot (Portable 4.7.7)

Post by rednoah »

Have you tried using the Oracle JRE?
:idea: Please read the FAQ and How to Request Help.
Antained
Posts: 7
Joined: 24 Jan 2017, 18:29

Re: Error renaming in Filebot (Portable 4.7.7)

Post by Antained »

Code: Select all

pi@raspberrypi:~ $ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode)
Isn't that what I'm running?

Just in case I tried installing it again but it says that it is installed:

Code: Select all

sudo apt-get install oracle-java8-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
oracle-java8-jdk is already the newest version.
The following packages were automatically installed and are no longer required:
  libass5 libdc1394-22 libdca0 libdvdnav4 libdvdread4 libenca0 libfaad2 libfftw3-double3 libflite1 libgme0 libgtkglext1 libilmbase6 libkate1 libmimic0 libmjpegutils-2.1
  libmplex2-2.1-0 libofa0 libopencv-core2.4 libopencv-flann2.4 libopencv-imgproc2.4 libopencv-ml2.4 libopencv-video2.4 libopenexr6 libsbc1 libsoundtouch0 libspandsp2 li
  libwebrtc-audio-processing-0 libwildmidi-config libwildmidi1 libzbar0 rtkit
Use 'apt-get autoremove' to remove them.
Antained
Posts: 7
Joined: 24 Jan 2017, 18:29

Re: Error renaming in Filebot (Portable 4.7.7)

Post by Antained »

Just tried installing Filebot 4.5 Portable and that version seems to run fine.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error renaming in Filebot (Portable 4.7.7)

Post by rednoah »

Older versions might be using more HTTP and less HTTPS so if SSL isn't used you won't get SSL issues.
:idea: Please read the FAQ and How to Request Help.
Antained
Posts: 7
Joined: 24 Jan 2017, 18:29

Re: Error renaming in Filebot (Portable 4.7.7)

Post by Antained »

Ok, I guess I'll just use 4.5 then.
To get back to the previous comment: I do think that I have Oracle JRE installed. Am I mistaken?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error renaming in Filebot (Portable 4.7.7)

Post by rednoah »

What executable is called when you run java?

Code: Select all

ls -l `which java`
:idea: Please read the FAQ and How to Request Help.
Antained
Posts: 7
Joined: 24 Jan 2017, 18:29

Re: Error renaming in Filebot (Portable 4.7.7)

Post by Antained »

Code: Select all

pi@raspberrypi:~ $ ls -l `which java`
lrwxrwxrwx 1 root root 22 Sep 23 05:48 /usr/bin/java -> /etc/alternatives/java
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error renaming in Filebot (Portable 4.7.7)

Post by rednoah »

Well, that tells us nothing. Where does that link go?

Code: Select all

ls -l /etc/alternatives/java
Follow the links until you find out where the executable is.
:idea: Please read the FAQ and How to Request Help.
Antained
Posts: 7
Joined: 24 Jan 2017, 18:29

Re: Error renaming in Filebot (Portable 4.7.7)

Post by Antained »

Did

Code: Select all

 ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 39 Jan  5 21:58 /etc/alternatives/java -> /usr/lib/jvm/java-8-oracle/jre/bin/java
So I assume it's oracle java, right?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error renaming in Filebot (Portable 4.7.7)

Post by rednoah »

Yes, that confirms it's really using Oracle Java. Unfortunately, I have no idea why it's not working in this case.
:idea: Please read the FAQ and How to Request Help.
Antained
Posts: 7
Joined: 24 Jan 2017, 18:29

Re: Error renaming in Filebot (Portable 4.7.7)

Post by Antained »

I do have multiple versions of Java on my system, but Oracle 8 JRE is set as default:

Code: Select all

sudo update-alternatives --config java
There are 4 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                                   Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-8-oracle/jre/bin/java                 1081      auto mode
  1            /usr/lib/jvm/java-7-openjdk-armhf/jre/bin/java          1063      manual mode
* 2            /usr/lib/jvm/java-8-oracle/jre/bin/java                 1081      manual mode
  3            /usr/lib/jvm/jdk-7-oracle-arm-vfp-hflt/jre/bin/java     317       manual mode
  4            /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/bin/java   318       manual mode
Not sure if that changes anything.
Post Reply