NextPVR Forums

Full Version: nlite client fails to find server, then crashes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed the nlite client on my Windows 11 laptop. It connects to the same network as my NextPVR machine. I can contact the machine via the web interface, and watch TV that way fine. But, when I start Nlite it says "No NextPVR servers were detected on the network". When I close that dialog, I get a Microsoft .NET Framework Unhandled exception report as follows
```
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8866
  at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
  at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
  --- End of inner exception stack trace ---
  at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
  at System.Net.WebClient.DownloadString(Uri address)
  at System.Net.WebClient.DownloadString(String address)
  at NLite.MainForm.OnClosing(CancelEventArgs e)
  at System.Windows.Forms.Form.WmClose(Message& m)
  at System.Windows.Forms.Form.WndProc(Message& m)
  at NLite.MainForm.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
NLite
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/bin/nlite/NLite.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9172.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
SkiaSharp.Views.WindowsForms
    Assembly Version: 2.88.0.0
    Win32 Version: 2.88.6.0
    CodeBase: file:///C:/bin/nlite/SkiaSharp.Views.WindowsForms.DLL
----------------------------------------
Unmanaged
    Assembly Version: 1.0.8773.15470
    Win32 Version:
    CodeBase: file:///C:/bin/nlite/Unmanaged.DLL
----------------------------------------
NUtility
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/bin/nlite/NUtility.DLL
----------------------------------------
netstandard
    Assembly Version: 2.0.0.0
    Win32 Version: 4.8.9037.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
SkiaSharp.Views.Desktop.Common
    Assembly Version: 2.88.0.0
    Win32 Version: 2.88.6.0
    CodeBase: file:///C:/bin/nlite/SkiaSharp.Views.Desktop.Common.DLL
----------------------------------------
SkiaSharp
    Assembly Version: 2.88.0.0
    Win32 Version: 2.88.6.0
    CodeBase: file:///C:/bin/nlite/SkiaSharp.DLL
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9037.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.RuntimeInformation/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
rather than be handled by this dialog box.

```
You may have some firewall software blocking discovery.

You could try explicitly telling where it is with a command line like:

Code:
nlite.exe -server:192.168.1.12:8866:0000

replacing the ip address with that of your server
Thanks for that - I had changed the default PIN, so that's probably why it wouldn't connect. The command line incantation you suggested works fine (with the correct IP and PIN).

If I start nlite, then make it full screen, all the writing in the TV guide is a bit blurry. But if I start it full screen in the first place, it's OK. Odd.
(2024-02-18, 07:51 PM)nikkilocke Wrote: [ -> ]If I start nlite, then make it full screen, all the writing in the TV guide is a bit blurry. But if I start it full screen in the first place, it's OK. Odd.
You could try adding either of the following to help with that:

Code:
-half

or

Code:
-full -dpi