NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 83 84 85 86 87 … 101 Next »
Recoding Issue - No connection could be made

 
  • 0 Vote(s) - 0 Average
Recoding Issue - No connection could be made
dlowe
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Dec 2012
#1
2020-03-18, 07:30 PM (This post was last modified: 2020-03-18, 07:42 PM by dlowe.)
Hello,

I have been using NextPVR reliably for awhile now (v4), but things started getting wonk when switching over the v5. I have had it working, but recently recordings where scheduled, but never recorder nor where marked as failed (seemingly the recording never got triggered).

Since I had both v4 and v5 binaries installed, and a new version of v5 to upgrade too -- I decided to do a clean slate re-install. After re-setup, the guide loaded as expected and i scheduled a current show to see if the recording would actually kick off.

It did, but the .ts file was a length of 0 -- the xml was fine.

Checking through the logs, I found the following key lines:

Code:
[9] Looking for recording directory with most space available
[9] Default Recording Directory has 2336798420992 bytes available space
[9] Preferred filename is 'The.Wendy.Williams.Show.S12E92.Fran.Drescher!'
[9] allocating recording target filename: W:\NextPVR\The Wendy Williams Show\Season 12\The.Wendy.Williams.Show.S12E92.Fran.Drescher!.ts
[9] About to start recording (902 on 21): W:\NextPVR\The Wendy Williams Show\Season 12\The.Wendy.Williams.Show.S12E92.Fran.Drescher!.ts...
[9] Free space 2336798420992  (W:\)
[9] HDHomeRunRecorder.StartStream()
[9] source@1
[9] Requesting: http://192.168.0.210:5004/tuner0/v4.1
[5] HTTP input source starting
[9] Creating writer: W:\NextPVR\The Wendy Williams Show\Season 12\The.Wendy.Williams.Show.S12E92.Fran.Drescher!.ts
[9] Created Mutex: Global\NPVR-mutex-5583656f67df6e3aec5c239cb11e0cd7
[9] Created map: System.IO.FileStream
[9] StartStream [W:\NextPVR\The Wendy Williams Show\Season 12\The.Wendy.Williams.Show.S12E92.Fran.Drescher!.ts] allocated handle: 1
[9] StartStream() returned handle=1
[9] Allocated Handle: 1
[9] Started recording (902:1:W:\NextPVR\The Wendy Williams Show\Season 12\The.Wendy.Williams.Show.S12E92.Fran.Drescher!.ts)
[9] No C:\Users\Public\NPVR-data\scripts\ParallelProcessing.bat
[30] found match
[29] got season info
[19] Done fanart.tv lookup
[5] Unexpected error in HTTP input source: System.Net.WebException: No connection could be made because the target machine actively refused it. No connection could be made because the target machine actively refused it.
---> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at System.Net.HttpWebRequest.SendRequest()
   at System.Net.HttpWebRequest.GetResponse()
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at NShared.Shim.InputSourceHTTP.WorkerThread()
[5] HTTP input source starting
[5] Unexpected error in HTTP input source: System.Net.WebException: No connection could be made because the target machine actively refused it. No connection could be made because the target machine actively refused it.
---> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at System.Net.HttpWebRequest.SendRequest()
   at System.Net.HttpWebRequest.GetResponse()
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at NShared.Shim.InputSourceHTTP.WorkerThread()
[5] HTTP input source starting
Application is shutting down...
[1] No C:\Users\Public\NPVR-data\scripts\PreShutdown.bat
[1] Flushing logs
[2] Unloading...
[2] Flushing logs

It's not 100% clear what the URL that is being refused, but I'm going to assume:

Code:
http://192.168.0.210:5004/tuner0/v4.1

This end point is one of my HdHomeRun Duo's which i can confirm does raise a connection not found error when I make this request  (port and context path) in my browser/curl call. Note, the regular HD Homerun TV view client shows the content just fine.

Looking through historical log files - I have never seen a call like this before - so I don't know if this is something to do with the most recent NextPVR release or possibly the fact that HdHomeRun firmware was updated to: 20200225.

I have also attached the full log files -- if that would help. Any suggestions would be appreciated.

Thanks
<david />


Attached Files
.zip   logs-20200318-1515.zip (Size: 62.17 KB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#2
2020-03-18, 07:35 PM
You should always include the zipped nrecord log from the web browser Settings page and not the debug output or log snippets.

For advise you should be running NextPVR as a service not from the command line as created by the installer.

Martin
dlowe
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Dec 2012
#3
2020-03-18, 07:54 PM
Hmm, I thought that I did. It is there now.

In terms of the using the service vs command line -- the service is what I normally use. I only used the command line because it seems to be easier to localize the issue and have more real-time logging.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#4
2020-03-18, 08:15 PM
Thanks that helps is that a legacy device? My HDHR doesn't refuse connections

Code:
curl http://172.16.3.84:5004/auto/v4.1 -v
*   Trying 172.16.3.84...
* TCP_NODELAY set
* Connected to 172.16.3.84 (172.16.3.84) port 5004 (#0)
> GET /auto/v4.1 HTTP/1.1
> Host: 172.16.3.84:5004
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 503 Service Unavailable
< Server: HDHomeRun/1.0
< Connection: close
< Content-Length: 0
< Cache-Control: no-cache
< Pragma: no-cache
< X-HDHomeRun-Error: 805 All Tuners In Use

Martin
dlowe
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Dec 2012
#5
2020-03-18, 08:23 PM
HDHomeRun DUAL
Model: HDHR3-US
Device ID: 10369F54
Firmware: 20200225


Code:
curl http://192.168.0.210:5004/auto/v4.1 -v
*  Trying 192.168.0.210...
* TCP_NODELAY set
* connect to 192.168.0.210 port 5004 failed: Connection refused
* Failed to connect to 192.168.0.210 port 5004: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 192.168.0.210 port 5004: Connection refused
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#6
2020-03-18, 08:28 PM
If you browse to http:/192.168.0.210/log.html what do you see logged.

Martin
dlowe
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Dec 2012
#7
2020-03-18, 08:35 PM
404 Error
Page Not Found

Do you have a duo as well? Or an extend? I know they have very different web service interfaces. Are you running the same firmware?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#8
2020-03-18, 08:41 PM
I just installed my legacy HDHR and it fails on the connection too. You might need to reinstall and use ATSC not HDHR mode.

Martin
dlowe
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Dec 2012
#9
2020-03-18, 09:04 PM
Performing a channel scan on the ATSC entry, and re-prioritizing the tuners seems to work. (A one off recording actually stored bits to the file system).

Doing so adds duplicate channel entries in the guide, so I'm going to presume that the scheduled records won't work -- so i will need to do a fresh reconfig. It does seem quite strange through that I had no issues using the HDHR entries in the past.

Schedules Direct seems to be having a maintenance issue right now -- so I'll wait for that clear up before doing another re-build.

Thanks for your ATSC suggestion.

<david />


Attached Files Thumbnail(s)
   
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#10
2020-03-18, 09:12 PM
If you merge them and then delete the HDHR tuners your recordings might work but sub would need to confirm.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  playback issue artmetz 4 344 2025-03-28, 07:47 PM
Last Post: artmetz
  Synchronization of video and audio still an issue Ricknextpvr 21 963 2025-03-08, 04:36 PM
Last Post: mvallevand
  Channel lock issue during recording erik123 1 188 2025-02-08, 03:35 AM
Last Post: BrettB
  Audio connection problem at TV jamesefrye 1 224 2025-01-18, 02:07 AM
Last Post: sub
  Transcoder issue dodgydart 2 261 2025-01-16, 10:56 PM
Last Post: dodgydart
  Issue changing channel to same IPTV connection curtisfeatures 18 1,051 2025-01-14, 04:22 PM
Last Post: mvallevand
  okay issue logging in at home... wonder41269 3 661 2025-01-03, 04:31 PM
Last Post: Bobins
  Subtitle delay issue dshoup 4 420 2024-10-27, 07:55 PM
Last Post: mvallevand
  Issue with Scheduled Recordings Not Starting on Windows 10 carpetpane 2 616 2024-07-03, 07:29 PM
Last Post: sub
  NextPVR/Kodi issue jzk 1 478 2024-05-07, 09:23 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode