SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-07-2022, 10:41 AM
egeller egeller is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Drexel Hill, PA
Posts: 334
IMDB Search Failures "No PSK available"

I am seeing intermittent, but frequent, failures of the IMDB plugin. The Sage TV log has Java error messages that look like this, below. The error message was generated by searching IMDB for the Title "The Mentalist".

[ParentalGuide@7634ba9] IMDB Background update thread ParentalGuide failed: Exception: javax.net.ssl.SSLException: No PSK available. Unable to resume.
[Quotes@6cdcc678] IMDB Background update thread Quotes failed: Exception: javax.net.ssl.SSLException: No PSK available. Unable to resume.
ParentalGuide@7634ba9] javax.net.ssl.SSLException: No PSK available. Unable to resume.


Besides ParentalGuide, this is repeated for Episodes, Goofs, and Full Credits. The returned results for those sections are blank.

It does not seem to happen on the Windows client, but rather HDx00 and FireStick clients. I am running Java 11 Dockers.

Is anyone else seeing this? Is there anything I can to to test further or, possibly, fix it? What's a PSK?
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT
SageTV Extender:3x HD200 1x HD300 1xFireTV
Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon
All in lovely Drexel Hill, PA
Reply With Quote
  #2  
Old 06-07-2022, 10:55 AM
KeithAbbott KeithAbbott is online now
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,375
A PSK is a pre-shared key: https://en.wikipedia.org/wiki/Pre-shared_key
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7)
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner
Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #3  
Old 06-07-2022, 08:58 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Might be worth trying this on a Java 8 docker to see if it is a Java 11 issue.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #4  
Old 06-09-2022, 12:40 PM
egeller egeller is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Drexel Hill, PA
Posts: 334
I may try that, but I want to take some time to plan it out.

I have been on Java 11 for a number of months and the IMDB search symptoms only appeared in the last 2 or 3 weeks.

UPDATE: I do not know why I did not do an internet search on the error message. It IS a Java 11 thing.

Here's a link to a direct hit on someone who saw it and the explanation of what is going on.

I am going to see if I can figure out how to implement any of the workarounds.

-Erv
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT
SageTV Extender:3x HD200 1x HD300 1xFireTV
Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon
All in lovely Drexel Hill, PA

Last edited by egeller; 06-09-2022 at 12:45 PM. Reason: update
Reply With Quote
  #5  
Old 06-13-2022, 01:38 PM
egeller egeller is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Drexel Hill, PA
Posts: 334
Fixed, for now

I can't believe I actually fixed this. Remember - This applies to the Java 11 Docker ONLY.

The chosen solution from this link is
"As Adam from WALCZAK.IT's answer didn't work for me, I found out that the final solution is to add
, TLSv1.3
to the jdk.tls.disabledAlgorithms in java.security file under conf in your java directory."
  1. Telnet / Putty into the Docker
  2. Find /lib/jvm/jdk-11.0.2/conf/security/java.security
  3. Add , TLSv1.3 to line 656
  4. Restart SageTV
Alternatively, unzip the attached, modified, file and copy it to /lib/jvm/jdk-11.0.2/conf/security/java.security in the Docker.

When the Docker updates to a newer version of Sage, plan on redoing this.

For Step 3, I actually copied the file to /opt/sagetv, modified there with Notepad++, and copied it back from there. Outside the docker /opt/sagetv is ../appdata/sagetv so editing it with WinSCP was easy for me.

At the link it says to find %JAVA_HOME%/conf. That did not work for me, hence, the above instructions.

-Erv
Attached Files
File Type: zip java.security.zip (12.5 KB, 35 views)
__________________
Server:UnRaid;2x Intel Xeon E5; SuperMicro moboard;Also:BM3000 w/ WMC; 2x Ceton ETH 6; OpenDCT
SageTV Extender:3x HD200 1x HD300 1xFireTV
Sage TV: 9.2 on Java 11, Standard STVi, Comskip Playback, Web Interface, 24 Hour Clock, SRE, Playon
All in lovely Drexel Hill, PA
Reply With Quote
  #6  
Old 06-13-2022, 03:51 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
@jusjoken - Any chance it is the same issue that is causing TVDB to not work with Java 11?

And maybe one of the Sage devs can make this change in future SageTV releases?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #7  
Old 06-15-2022, 07:10 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
I believe this is now fixed in the Java 11 docker. I have uploaded a new docker version as well as the unraid templates so they should be available soon... will show as version 2.0.5

I updated the Java 11 docker to use JDK 11.0.15 which is reported to include the TLS 1.3 bug fix. I tested the updated docker with CMT IMDB Search for "The Mentalist" and had no errors.

Let me know if you update and what the results were.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #8  
Old 06-15-2022, 07:12 AM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
Quote:
Originally Posted by wayner View Post
@jusjoken - Any chance it is the same issue that is causing TVDB to not work with Java 11?

And maybe one of the Sage devs can make this change in future SageTV releases?
I do not believe this JDK change for TLS fix will fix the TVDB issue you were having. Let me know if it does but I suspect I need to rebuild the old TVDB api wrapper to support Java 11.

K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Search "unusual traffic" only with SageTV searches jt4242 General Discussion 8 09-19-2016 07:36 AM
Problem with "Search for TV Airing" - Only Past Results R_Andersen SageTV Software 3 04-20-2010 02:20 PM
Google Video - Problem with "more search results" dissappearing Rezolution SageTV Software 5 10-14-2009 09:18 AM
"Set defaults" for Series forgets "Keep"/"Auto-delete" setting maxpower SageMC Custom Interface 9 05-14-2008 09:44 PM
How can I prevent/delete Imported files listed in the "Search for Programs to Record" ke6guj SageTV Beta Test Software 4 10-10-2005 01:52 PM


All times are GMT -6. The time now is 11:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.