NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 220 221 222 223 224 … 433 Next »
Socket exception on upgrade to 3.2.9

Socket exception on upgrade to 3.2.9
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#1
2014-03-29, 06:11 PM
Getting exception after upgrade to 3.2.9. I've rebooted the machine and still have a problem. Is 8968 a new port? I have not touched the FW in months. I do however have HDHomeRun, not sure if that is a factor.

LOG:
Code:
2014-03-29 10:54:46.770 [DEBUG][4] OnStart()
2014-03-29 10:54:46.786 [INFO][4] Using local in-process recording service
2014-03-29 10:54:46.786 [DEBUG][6] Starting MVP server 1
2014-03-29 10:55:01.427 [DEBUG][4] RecordingServiceProxy@exit
2014-03-29 10:55:01.833 [INFO][4] RecordingService.Startup()
2014-03-29 10:55:01.833 [INFO][4] Starting remoting service (on port 8968)
....
2014-03-29 10:55:51.134 [DEBUG][16] checking: HDHomeRun Device 1318E35A
2014-03-29 10:55:51.134 [DEBUG][16] enabled and present
2014-03-29 10:55:51.134 [DEBUG][16] has channel
2014-03-29 10:55:51.134 [DEBUG][16] live tv is possible
2014-03-29 10:55:51.138 [DEBUG][16] [email=HDHomeRunRecorder@1]HDHomeRunRecorder@1[/email]
2014-03-29 10:55:51.138 [DEBUG][16] [email=HDHomeRunRecorder@2.0]HDHomeRunRecorder@2.0[/email]
2014-03-29 10:55:51.138 [DEBUG][16] [email=HDHomeRunRecorder@2.1]HDHomeRunRecorder@2.1[/email]
2014-03-29 10:55:51.138 [DEBUG][16] [email=HDHomeRunRecorder@2.2]HDHomeRunRecorder@2.2[/email] nextPort=36312
2014-03-29 10:55:51.138 [DEBUG][16] [email=HDHomeRunRecorder@2.2.0]HDHomeRunRecorder@2.2.0[/email]
2014-03-29 10:55:51.138 [DEBUG][16] HDHomeRunRecorder@2.2.0@allocated
2014-03-29 10:55:51.138 [DEBUG][16] [email=HDHomeRunRecorder@2.3]HDHomeRunRecorder@2.3[/email]
2014-03-29 10:55:51.138 [DEBUG][16] Allocated port: 36312
2014-03-29 10:55:51.138 [DEBUG][16] [email=HDHomeRunRecorder@3]HDHomeRunRecorder@3[/email]
2014-03-29 10:55:51.138 [DEBUG][16] About to start HDHR device. Checking status for information sake... (could tell if it's already in use elsewhere)
2014-03-29 10:55:51.138 [DEBUG][16] Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 1318E35A get /tuner0/status
2014-03-29 10:55:51.211 [DEBUG][16] Status: ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
2014-03-29 10:55:52.311 [DEBUG][16] [email=SetTarget@2]SetTarget@2[/email]
2014-03-29 10:55:52.311 [DEBUG][16] Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 1318E35A set /tuner0/vchannel 2
2014-03-29 10:55:52.885 [DEBUG][16] ForcedIP.xml does not exists
2014-03-29 10:55:52.912 [DEBUG][16] 1318E35A can be found via adapter with ip address: 192.168.1.30
2014-03-29 10:55:52.912 [DEBUG][16] Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 1318E35A set /tuner0/target rtp://192.168.1.30:36312
2014-03-29 10:55:52.913 [DEBUG][16] [email=SetTarget@2]SetTarget@2[/email]
2014-03-29 10:55:52.914 [DEBUG][16] Allocated Handle: 1
2014-03-29 10:55:52.915 [DEBUG][16] Live TV handle: 0x250001

EXCEPTION:
Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.0.0.1:8968
Server stack trace:
   at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
   at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)
   at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
   at System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
   at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at NShared.IRecordingService.RenewStream(Int32 handle)
   at NextPVR.Players.LiveTvPlayer.RefeshOSD()
   at NextPVR.ControllerForm.timer1_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
....
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2014-03-29, 07:04 PM
JavaWiz Wrote:Getting exception after upgrade to 3.2.9. I've rebooted the machine and still have a problem. Is 8968 a new port? I have not touched the FW in months.
No, it's not a new port. 8968 has always been used by the frontend to talk to the recording service.

It can only really be one of two things. Either the nrecord.exe isn't running, or you have a firewall blocking communication. Maybe something about the new release caused your firewall block it?
BrainStormer
Offline

Senior Member

Posts: 544
Threads: 38
Joined: Oct 2005
#3
2014-03-29, 07:26 PM (This post was last modified: 2014-03-29, 07:30 PM by BrainStormer.)
I'm getting these errors too. I'm wondering if its because Nrecord is communicating over 127.0.0.1 instead of localhost which causes issues in widows 8 & 8.1
Intel i5 3.2Ghz Quad Core, Windows 10 Pro 64Bit
12 GB RAM, Gigabit LAN,3TB SATA HD 8MB Cache Dedicated Recording Drive
SiliconDust Prime, PCH A-100 & C-200, Chromecast, FireTV
Raspberry Pi 3 Running OSMC, Samsung Smart TV UN32H5201AF
Cable Provider: Comcast in Oregon, USA
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2014-03-29, 07:29 PM
BrainStormer Wrote:I'm wondering if its because Nrecord is communicating over 127.0.0.1 instead of localhost
It's always used 127.0.0.1.

Quote:which causes issues in widows 8 & 8.1
I think you're referring to the sandboxing of win8 style metro/modern apps, which doesn't apply here, because NextPVR is a desktop app. For that sandboxing problem, localhost is also a problem, not just 127.0.0.1
BrainStormer
Offline

Senior Member

Posts: 544
Threads: 38
Joined: Oct 2005
#5
2014-03-29, 07:31 PM
sub Wrote:It's always used 127.0.0.1.

I think you're referring to the sandboxing of win8 style metro/modern apps, which doesn't apply here, because NextPVR is a desktop app. For that sandboxing problem, localhost is also a problem, not just 127.0.0.1

I saw ths in the PLEX forums, thought it pertained to services too.

"The 127.0.0.1 was replaced by localhost in recent update of Plex Media Server to overcome security lockdown in Windows 8.1 for 127.0.0.1"
Intel i5 3.2Ghz Quad Core, Windows 10 Pro 64Bit
12 GB RAM, Gigabit LAN,3TB SATA HD 8MB Cache Dedicated Recording Drive
SiliconDust Prime, PCH A-100 & C-200, Chromecast, FireTV
Raspberry Pi 3 Running OSMC, Samsung Smart TV UN32H5201AF
Cable Provider: Comcast in Oregon, USA
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#6
2014-03-29, 07:37 PM
I'm not aware of any other Windows problems with using 127.0.0.1. I'm using it here in Windows 8.1, and everyone else has been using the same with every other NextPVR release, and I don't remember any significant problems with it in the past.
BrainStormer
Offline

Senior Member

Posts: 544
Threads: 38
Joined: Oct 2005
#7
2014-03-29, 07:45 PM
So here is what I find.
When I go to Live TV I first get " An existing Connection was forcibly closed by the remote host"

Then I get " No Connection could be made because the target machine actively refused it 127.0.0.1:8968" Repeating. My Silicondust prime is stuck sending the stream to the
server and the file on the server never grows and the recording service appears stuck.
and Status is blank.
Intel i5 3.2Ghz Quad Core, Windows 10 Pro 64Bit
12 GB RAM, Gigabit LAN,3TB SATA HD 8MB Cache Dedicated Recording Drive
SiliconDust Prime, PCH A-100 & C-200, Chromecast, FireTV
Raspberry Pi 3 Running OSMC, Samsung Smart TV UN32H5201AF
Cable Provider: Comcast in Oregon, USA
BrainStormer
Offline

Senior Member

Posts: 544
Threads: 38
Joined: Oct 2005
#8
2014-03-29, 07:47 PM
It probably is related to the Silicondust Prime.
Intel i5 3.2Ghz Quad Core, Windows 10 Pro 64Bit
12 GB RAM, Gigabit LAN,3TB SATA HD 8MB Cache Dedicated Recording Drive
SiliconDust Prime, PCH A-100 & C-200, Chromecast, FireTV
Raspberry Pi 3 Running OSMC, Samsung Smart TV UN32H5201AF
Cable Provider: Comcast in Oregon, USA
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#9
2014-03-29, 07:48 PM
BrainStormer Wrote:So here is what I find.
When I go to Live TV I first get " An existing Connection was forcibly closed by the remote host"

Then I get " No Connection could be made because the target machine actively refused it 127.0.0.1:8968" Repeating.
Is nrecord.exe disappearing from the task list when that happens?

It looks like it's successfully sending the request to the recording service, but maybe the recording service is dying before it can respond.
BrainStormer
Offline

Senior Member

Posts: 544
Threads: 38
Joined: Oct 2005
#10
2014-03-29, 07:54 PM
In Task Manager I have NRecord (32 Bit) under that it says NPVR Recording Service.
After the hang it still has Nrecord (32 bit) but the Recording Service drop down is no longer there.
Intel i5 3.2Ghz Quad Core, Windows 10 Pro 64Bit
12 GB RAM, Gigabit LAN,3TB SATA HD 8MB Cache Dedicated Recording Drive
SiliconDust Prime, PCH A-100 & C-200, Chromecast, FireTV
Raspberry Pi 3 Running OSMC, Samsung Smart TV UN32H5201AF
Cable Provider: Comcast in Oregon, USA
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,396 2020-10-29, 09:40 PM
Last Post: mvallevand
  Unhandled Exception Error Message reedaf4 23 7,302 2020-03-13, 05:03 PM
Last Post: sub
  Recurring page causes exception error metrov 9 2,637 2019-02-07, 09:23 PM
Last Post: metrov
  Upgrade from 3.9.2 to 4.2.3 Going to full screen stop playing now! Handy.Man 45 7,990 2018-12-28, 12:58 AM
Last Post: Handy.Man
  New Server unhandled exception live tv donschjr 3 1,357 2018-12-09, 03:40 PM
Last Post: donschjr
  Not all channels streaming after upgrade rosede 66 17,423 2018-09-27, 12:35 PM
Last Post: BrettB
  Unhandled Exception kirschey 3 1,346 2018-08-21, 05:17 PM
Last Post: sub
  Exception Error driving me nuts! Help raylang 1 994 2018-08-05, 02:37 AM
Last Post: sub
  Unhandled exception occurs on Settings - Devices JEF 5 1,992 2018-07-30, 07:58 PM
Last Post: sub
  Playback not starting and exception causing no EPG update robbyp 2 1,367 2018-07-09, 03:31 PM
Last Post: robbyp

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode