SageTV Community  

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

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-06-2017, 11:16 AM
chairmanmao's Avatar
chairmanmao chairmanmao is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: San Carlos, CA
Posts: 81
Recording Errors, Laggy Source Setup

Sage 9 has been working well for months, but recently started generating a whole slew of errors while attempting to record certain channels.

In beginning to diagnose the problem, I updated to the latest version (9.1.6.747; java 1.8.0_131). That didn't fix the problem, however.

I am using OpenDCT (latest version) to interface Sage to a pair of HdHomerun Prime cable card-enabled tuners. The OS is Windows 10 Pro 64 bit, with 16GB of RAM.

My cable TV provider is Comcast, which has a reputation, at least in my area, of changing their security stuff in such a way that it messes up either the HDHomerun tuners or OpenDCT. But I'm not sure how to assess whether that has happened.

Oddities I've noticed:

- Sluggish transitioning among the Setup Video Sources menus

- Can't preview channels, but no error message is produced (i.e., the process appears to be initializing correctly, I get a 100% signal strength reading, but no video or audio preview appears)

- multiple recording errors on at least some channels

- log file error messages:

Wed 9/6 9:43:36.443 [main@5ede7b] Error discovering servers:java.net.SocketTimeoutException: Receive timed out
Wed 9/6 9:43:37.474 [main@5ede7b] ERROR in network encoder server discovery of: java.net.ConnectException: Connection refused: connect

Wed 9/6 9:45:14.027 [MediaServerConnection@14594dd] Error communicating with encoding server:java.lang.NumberFormatException: For input string: "ERROR failed request"
Wed 9/6 9:45:14.033 [MediaServerConnection@14594dd] Error in MediaServerConnection of :java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:14.038 [MediaServerConnection@14594dd] java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:14.038 [MediaServerConnection@14594dd] at sun.nio.ch.SocketDispatcher.read0(Native Method)
Wed 9/6 9:45:14.038 [MediaServerConnection@14594dd] at sun.nio.ch.SocketDispatcher.read(Unknown Source)
Wed 9/6 9:45:14.039 [MediaServerConnection@14594dd] at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
Wed 9/6 9:45:14.039 [MediaServerConnection@14594dd] at sun.nio.ch.IOUtil.read(Unknown Source)
Wed 9/6 9:45:14.039 [MediaServerConnection@14594dd] at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
Wed 9/6 9:45:14.039 [MediaServerConnection@14594dd] at sage.MediaServer$Connection.readLineBytes(MediaServer.java:241)
Wed 9/6 9:45:14.039 [MediaServerConnection@14594dd] at sage.MediaServer$Connection.run(MediaServer.java:1410)
Wed 9/6 9:45:14.039 [MediaServerConnection@14594dd] at sage.Pooler$PooledThread.run(Pooler.java:254)
Wed 9/6 9:45:16.036 [MediaServerConnection@148088f] Error communicating with encoding server:java.lang.NumberFormatException: For input string: "ERROR failed request"
Wed 9/6 9:45:16.042 [MediaServerConnection@148088f] Error in MediaServerConnection of :java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:16.048 [MediaServerConnection@148088f] java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:16.048 [MediaServerConnection@148088f] at sun.nio.ch.SocketDispatcher.read0(Native Method)
Wed 9/6 9:45:16.048 [MediaServerConnection@148088f] at sun.nio.ch.SocketDispatcher.read(Unknown Source)
Wed 9/6 9:45:16.048 [MediaServerConnection@148088f] at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
Wed 9/6 9:45:16.048 [MediaServerConnection@148088f] at sun.nio.ch.IOUtil.read(Unknown Source)
Wed 9/6 9:45:16.048 [MediaServerConnection@148088f] at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
Wed 9/6 9:45:16.048 [MediaServerConnection@148088f] at sage.MediaServer$Connection.readLineBytes(MediaServer.java:241)
Wed 9/6 9:45:16.048 [MediaServerConnection@148088f] at sage.MediaServer$Connection.run(MediaServer.java:1410)
Wed 9/6 9:45:16.049 [MediaServerConnection@148088f] at sage.Pooler$PooledThread.run(Pooler.java:254)
Wed 9/6 9:45:18.038 [MediaServerConnection@14594dd] Error communicating with encoding server:java.lang.NumberFormatException: For input string: "ERROR failed request"
Wed 9/6 9:45:18.045 [MediaServerConnection@14594dd] Error in MediaServerConnection of :java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] at sun.nio.ch.SocketDispatcher.read0(Native Method)
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] at sun.nio.ch.SocketDispatcher.read(Unknown Source)
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] at sun.nio.ch.IOUtil.read(Unknown Source)
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] at sage.MediaServer$Connection.readLineBytes(MediaServer.java:241)
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] at sage.MediaServer$Connection.run(MediaServer.java:1410)
Wed 9/6 9:45:18.051 [MediaServerConnection@14594dd] at sage.Pooler$PooledThread.run(Pooler.java:254)
Wed 9/6 9:45:22.064 [MediaServerConnection@14594dd] Error communicating with encoding server:java.lang.NumberFormatException: For input string: "ERROR failed request"
Wed 9/6 9:45:22.071 [MediaServerConnection@14594dd] Error in MediaServerConnection of :java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:22.076 [MediaServerConnection@14594dd] java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:22.076 [MediaServerConnection@14594dd] at sun.nio.ch.SocketDispatcher.read0(Native Method)
Wed 9/6 9:45:22.076 [MediaServerConnection@14594dd] at sun.nio.ch.SocketDispatcher.read(Unknown Source)
Wed 9/6 9:45:22.076 [MediaServerConnection@14594dd] at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
Wed 9/6 9:45:22.076 [MediaServerConnection@14594dd] at sun.nio.ch.IOUtil.read(Unknown Source)
Wed 9/6 9:45:22.077 [MediaServerConnection@14594dd] at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
Wed 9/6 9:45:22.077 [MediaServerConnection@14594dd] at sage.MediaServer$Connection.readLineBytes(MediaServer.java:241)
Wed 9/6 9:45:22.077 [MediaServerConnection@14594dd] at sage.MediaServer$Connection.run(MediaServer.java:1410)
Wed 9/6 9:45:22.077 [MediaServerConnection@14594dd] at sage.Pooler$PooledThread.run(Pooler.java:254)
Wed 9/6 9:45:24.071 [MediaServerConnection@1eb3da2] Error communicating with encoding server:java.lang.NumberFormatException: For input string: "ERROR failed request"
Wed 9/6 9:45:24.076 [MediaServerConnection@1eb3da2] Error in MediaServerConnection of :java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:24.081 [MediaServerConnection@1eb3da2] java.io.IOException: An established connection was aborted by the software in your host machine
Wed 9/6 9:45:24.081 [MediaServerConnection@1eb3da2] at sun.nio.ch.SocketDispatcher.read0(Native Method)
Wed 9/6 9:45:24.081 [MediaServerConnection@1eb3da2] at sun.nio.ch.SocketDispatcher.read(Unknown Source)
Wed 9/6 9:45:24.082 [MediaServerConnection@1eb3da2] at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
Wed 9/6 9:45:24.082 [MediaServerConnection@1eb3da2] at sun.nio.ch.IOUtil.read(Unknown Source)
Wed 9/6 9:45:24.082 [MediaServerConnection@1eb3da2] at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
Wed 9/6 9:45:24.082 [MediaServerConnection@1eb3da2] at sage.MediaServer$Connection.readLineBytes(MediaServer.java:241)
Wed 9/6 9:45:24.082 [MediaServerConnection@1eb3da2] at sage.MediaServer$Connection.run(MediaServer.java:1410)
Wed 9/6 9:45:24.082 [MediaServerConnection@1eb3da2] at sage.Pooler$PooledThread.run(Pooler.java:254)

(that last set of error messages repeated a few times)

Advice or suggestions welcome!

- Mark
Reply With Quote
  #2  
Old 09-10-2017, 03:34 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Those are generalized errors from the encoding server that you posted. You may want to look at the encoding server logs themselves to see where things are failing (which would be OpenDCT in this case).

To determine if it's a DRM issue from your cable provider, you can do that with the HDHomeRun app to see if the channels you normally view are now restricted due to DRM. Generally this kind of error happening out of nowhere and also having other sluggish performance is usually some kind of hardware problem, the most likely is a failing hard disk, so that's something I'd definitely check.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #3  
Old 09-10-2017, 03:51 PM
chairmanmao's Avatar
chairmanmao chairmanmao is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: San Carlos, CA
Posts: 81
Thanx, very helpful. I'll definitely check out the drives, as I recently had one of the two drives that hold my Sage recordings go belly up.
Reply With Quote
  #4  
Old 09-11-2017, 03:46 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Narflex View Post
To determine if it's a DRM issue from your cable provider, you can do that with the HDHomeRun app to see if the channels you normally view are now restricted due to DRM. Generally this kind of error happening out of nowhere and also having other sluggish performance is usually some kind of hardware problem, the most likely is a failing hard disk, so that's something I'd definitely check.
Unless a user disables it, OpenDCT will actually stream a video that tells you if the content is Copy Once or Copy Never when the source is a CableCARD tuner. Your suggestion about the hard drive might be more on the nose given the symptoms and the OpenDCT log will likely provide much more data on what else is happening that might not be helping the situation.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #5  
Old 09-11-2017, 04:05 PM
chairmanmao's Avatar
chairmanmao chairmanmao is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: San Carlos, CA
Posts: 81
Hi EnterNoEscape! Thanx for writing OpenDCT, it's a great piece of software.

Here's an update on my situation, which is better but raises some other questions I'm curious about.

I ran chkdsk thru the graphical UI (this is under Windows 10 64 bit) and found no problems on either the system drive or the drive that stores my Sage-recorded videos. I'm tentatively considering the drives okay, although the Sage recordings drive is a several year old Seagate unit whose sibling died a few months ago. At that time I ran the in-depth DOS-based Seagate drive tester against both Seagates -- the good one and the bad one -- and the good one tested fine while the bad one tested, uh, dead .

I then tried Narflex's suggestion of using the Silicon Dust UI to see if the "raw" streams were available and unencrypted...and ran into something odd.

I didn't have the Silicon Dust software installed on the system. Somehow, when I built it a few months ago, I forgot to install it. Yet Sage, and OpenDCT, were recording fine from the Silicon Dust tuners until very recently.

So I'm curious as to whether OpenDCT requires the Silicon Dust software to be installed, or does it just access the tuners directly?

In any event, I installed the latest Silicon Dust software and, what do you know, it appears to have solved the problems I noted. I have no idea why that should have happened, although I noticed that the install routine updated the firmware in my tuners. Maybe that fixed things.

In any event, I think I'm good. I hope . Thanx for your's and Narflex's feedback, and thanx again for OpenDCT.
Reply With Quote
  #6  
Old 09-11-2017, 06:51 PM
Monedeath Monedeath is offline
Sage Expert
 
Join Date: Sep 2009
Location: Idaho
Posts: 514
OpenDCT doesn't need the SD software installed on the system for it to talk to SD tuners, it knows the protocols and doesn't need the go between like SageTV does.

That said, sounds like there may have been a CCard issue present which a firmware update fixed on the Prime.
Reply With Quote
  #7  
Old 09-11-2017, 07:10 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Monedeath View Post
OpenDCT doesn't need the SD software installed on the system for it to talk to SD tuners, it knows the protocols and doesn't need the go between like SageTV does.

That said, sounds like there may have been a CCard issue present which a firmware update fixed on the Prime.
Correct and I vote firmware update fix it too.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #8  
Old 09-11-2017, 07:32 PM
chairmanmao's Avatar
chairmanmao chairmanmao is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: San Carlos, CA
Posts: 81
Btw, quick related question: where are the OpenDCT logs stored?
Reply With Quote
  #9  
Old 09-11-2017, 09:18 PM
egeller egeller is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Drexel Hill, PA
Posts: 334
On windows, OpenDCT logs are in C:\program Files\opendct\something-or-other. I moved to Unraid in February, so I'm answering this from memory. Find C:\Program Files and follow your nose. You will find it. The OpenDCT config is there somewhere also.
__________________
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
  #10  
Old 09-12-2017, 04:20 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
Quote:
Originally Posted by egeller View Post
On windows, OpenDCT logs are in C:\program Files\opendct\something-or-other. I moved to Unraid in February, so I'm answering this from memory. Find C:\Program Files and follow your nose. You will find it. The OpenDCT config is there somewhere also.
In Windows, it is stored under "C:\ProgramData\OpenDCT\logs".
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #11  
Old 09-12-2017, 11:39 AM
chairmanmao's Avatar
chairmanmao chairmanmao is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: San Carlos, CA
Posts: 81
Thanx for all the helpful responses!
Reply With Quote
Reply

Tags
comcast, java error, opendct, sluggish


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
SageTV Recording Errors Taddeusz SageTV Software 15 04-09-2013 08:33 AM
Finding Recording Errors bsung SageTV Software 1 11-17-2009 08:30 AM
Laggy Setup artyzipp SageTV Software 2 05-27-2009 07:44 PM
Setup Freezes during source setup Rob SageTV Software 14 08-16-2007 05:17 PM
Source Setup PVR150 Setup 5 : Tuning Plugin MrD SageTV Linux 9 09-23-2006 10:52 AM


All times are GMT -6. The time now is 05:44 PM.


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