NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support macOS v
« Previous 1 2 3 4 Next »
Unexpected error in SAT>IP discovery, Address already in use

 
  • 0 Vote(s) - 0 Average
Unexpected error in SAT>IP discovery, Address already in use
Matthias
Offline

Junior Member

Germany
Posts: 7
Threads: 2
Joined: Jun 2020
#1
2022-01-14, 08:38 AM
Hi,

just installed NPVR on a Mac mini (Intel) with Big Sur, started it and got the error message:

Unexpected error in SAT>IP discovery(1): System.Net.Sockets.SocketException (48): Address already in use

I've done the same on a different machine (same OS) but didn't get that error there, so it seems that there is some software conflict on the Mac mini.
But how would I identify the conflict?

Cheers
Matt


Attached Files
.zip   logs-20220114-0931.zip (Size: 12.2 KB / Downloads: 3)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#2
2022-01-14, 05:38 PM
Does it do it after a reboot?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,797
Threads: 954
Joined: May 2006
#3
2022-01-14, 07:24 PM
I reported this last week from the RPi, it always did it even after a reboot.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#4
2022-01-14, 09:19 PM
If you run the following, is 1901 listed in the fourth column?

sudo netstat -tulpn | grep LISTEN
Matthias
Offline

Junior Member

Germany
Posts: 7
Threads: 2
Joined: Jun 2020
#5
2022-01-15, 08:22 PM
OK, a reboot fixed the problem.

Interessting fact: I've got a VirtualBox installed with an Ubuntu VM and a TVHeadend installation inside - that's the reason I would like to change to NextPVR because I don't like that overhead.

BUT: When I run into the issue the first time I hat stopped everything and quit VirtualBox before I started NextPVR.

I can reprodure the issue.
- reboot the Mac and just start NextPVR. Fine, no problem
- stop NextPVR
- start VirtualBox with VM and TVHeadend
- stop VirtualBox with VM and TVHeadend
- start NextPVR again. Error!

So it isn't a problem with NextPVR. For some reason the needed address (port) is not released when I stop the VirtualBox/VM/TVH.

BTW: "sudo netstat -tulpn | grep LISTEN " does not work on a mac. I did a "sudo netstat -anv -p tcp | grep LISTEN" instead. But no 1901 in the list anyway...


Attached Files Thumbnail(s)
   
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#6
2022-01-15, 08:38 PM
It sounds like that port isn’t being cleaned up when virtualbox is stopped. At least you know what causes it to happen. If you decide to go with NextPVR, and don’t need to switch between the two, you should be ok.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,797
Threads: 954
Joined: May 2006
#7
2022-01-15, 09:18 PM
You didn't check UDP. NextPVR is clearly listening on 1901 on my macOS

sudo lsof -i -P | grep 1901
dotnet 902 martin 81u IPv4 0x 0t0 UDP *:1901

Martin
Matthias
Offline

Junior Member

Germany
Posts: 7
Threads: 2
Joined: Jun 2020
#8
2022-01-15, 09:40 PM
(2022-01-15, 08:38 PM)sub Wrote: It sounds like that port isn’t being cleaned up when virtualbox is stopped. At least you know what causes it to happen. If you decide to go with NextPVR, and don’t need to switch between the two, you should be ok.

Yes, I'm fine with that. Thank's anyway Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Internal server error Tony-S 5 2,435 2023-10-06, 12:25 PM
Last Post: mvallevand
  Error starting transcode: error: Internal Server Error Scrutch 10 3,434 2021-06-09, 06:12 PM
Last Post: mvallevand
  Mac Install Error mcragoe 2 3,097 2019-11-09, 06:39 PM
Last Post: mcragoe

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

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

Linear Mode
Threaded Mode