NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 16 17 18 19 20 … 34 Next »
Connection refused on live tv

 
  • 0 Vote(s) - 0 Average
Connection refused on live tv
jseagull1
Offline

Junior Member

United States
Posts: 8
Threads: 2
Joined: Oct 2021
#1
2021-10-26, 10:40 PM (This post was last modified: 2021-10-26, 10:42 PM by jseagull1.)
Hello, I am on Ubuntu server 20.10. Nextpvr installed nicely. As far as I can tell all folders have the necessary permissions and owner. I have the tuner card set up and all of my channels were brought in. When I click to play a channel from a networked computer I get the "Streaming failed transcoder exited". Looking at the logs I am seeing a "connection refused" but cannot figure out why. I have searched for two days trying to find the solution and if somebody could point me in the right direction, that would be great.
I attached my logs. If I may add, I have also tried to access it with Kodi and that did not work either.


Attached Files
.zip   logs-20211026-1833.zip (Size: 44.82 KB / Downloads: 3)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#2
2021-10-26, 10:48 PM
Did you install with the deb installer as a user?

Martin
jseagull1
Offline

Junior Member

United States
Posts: 8
Threads: 2
Joined: Oct 2021
#3
2021-10-27, 07:00 AM
I did this logged in as a user but had to use sudo.
curl https://nextpvr.com/nextpvr-helper.deb -O
sudo apt install ./nextpvr-helper.deb --install-recommends
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#4
2021-10-27, 12:49 PM (This post was last modified: 2021-10-27, 11:41 PM by mvallevand.)
Do you have any applications that are blocking services from opening ports on localhost? Maybe a VPN? It looks like DeviceHostLinux "server" socket cannot communicate with the NextPVR server. Also is localhost usable as ipv4 on 127.0.0.1? I see odd connections to the DeviceHostLinux server but not from NextPVR. What were you trying with those?

Try this after trying to tune a device to see what is being opened

sudo netstat -ltnp | grep Device

Also what do you mean by networked computer?

Martin
jseagull1
Offline

Junior Member

United States
Posts: 8
Threads: 2
Joined: Oct 2021
#5
2021-10-27, 10:57 PM
Hi Martin,

First, this is just a server with no GUI and no VPN. I was using it with MythTv for a few years and too much tinkering messed up the database and I did not want to start over. Network computer meaning it's in the house and I'm accessing it from my Linux desktop. After changing a couple things as you suggested for network access something changed. Now when I click on a live tv channel I see "Starting Device" and then receiving data (a lot of data) and then it fails. I attached another log file. If this helps NextPVR is on 192.168.0.102 and I'm accessing it from .101.

And finally, it is working on Kodi after changing the network settings and I really appreciate your help steering me in the right direction.


Attached Files
.zip   logs-20211027-1834.zip (Size: 154.46 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#6
2021-10-27, 11:33 PM
Unfortunately it appears that there continues to be a bug with the conf file creation when you copy rather scanning multiple tuners.


Check

/var/opt/nextpvr/adapter1-ATSC-channels.conf
/var/opt/nextpvr/adapter2-ATSC-channels.conf
/var/opt/nextpvr/adapter3-ATSC-channels.conf

and make sure they a) exist and b) look like

/var/opt/nextpvr/adapter0-ATSC-channels.conf

Martin
jseagull1
Offline

Junior Member

United States
Posts: 8
Threads: 2
Joined: Oct 2021
#7
2021-10-28, 07:22 AM
Hello Martin,

The other 3 adapter files were not in the folder. I added them and changed the permissions and yes, I did copy them originally. I did set it to record last night and it did that without a problem.
Is live tv or recordings supposed to play in a browser? I'm using Brave.
This log file is after a reboot.


Attached Files
.zip   logs-20211028-0312.zip (Size: 358.2 KB / Downloads: 1)
.zip   logs-20211028-0319.zip (Size: 116.81 KB / Downloads: 0)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#8
2021-10-28, 12:54 PM
NextPVR can't guarantee that Live TV will work in a browser since except for IPTV it relies on server-side transcoding which does take CPU and possibly GPU power. Makes sure it works for software (CPU) transcoding

It looks like you need to scan again. You may have lost a fringe channel on a rescan.

2021-10-28 02:44:58:897 [ERROR] Failed to get tuning params for (WBYD-CD) from /var/opt/nextpvr/adapter0-ATSC-channels.conf

As for other testing I don't see the tuner locking in to WTAE so reception is outside NextPVR control. On Linux you might want to look at the command line scanner dvbv5-scan to review what channels to expect. You can also cut the number of channels scanned by created a custom conf file that includes just the frequencies for your area. I won't be providing further guidance on those suggestions.

Martin
jseagull1
Offline

Junior Member

United States
Posts: 8
Threads: 2
Joined: Oct 2021
#9
2021-10-30, 08:21 AM
Good morning Martin,

I wanted to let you know that everything is working as it should, including adding commercial skip. Bottom line, changing my network host file adding 127.0.0.1 and making sure localhost was also in it solved the connection issue. 
Thank you for your help.

John
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Live stream not working while recording pciber 6 859 2024-06-10, 07:48 AM
Last Post: pciber
  NPVR stops playing live TV at about 6 mins Tnix 14 1,639 2024-04-01, 10:09 PM
Last Post: sub
  nextpvr iptv live play hangs ckruijntjens 1 709 2022-03-13, 05:16 PM
Last Post: sub
  Raspberry Pi 4 & Hauppauge 950Q - Stuck on Live TV jogeedaklown 2 907 2022-01-06, 04:26 PM
Last Post: jogeedaklown
  New Install can't record or play live TV SailTV 8 2,492 2020-11-08, 05:14 PM
Last Post: mvallevand
  New Linux install - can't watch live TV AMD 5 2,586 2020-07-13, 07:12 AM
Last Post: mvallevand
  Cannot stream live TV after new install rosede 16 5,122 2020-06-08, 11:44 AM
Last Post: rosede
  Output of Live TV via Kodi lost ceejayemm 5 1,909 2020-05-18, 01:50 PM
Last Post: ceejayemm
  Can't watch live tv in chrome drmargarit 7 2,587 2019-08-05, 11:44 PM
Last Post: shspvr

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

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

Linear Mode
Threaded Mode