You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "http://localhost" is used in configuration, it can capture the wrong IP address. When FPP starts up, the localhost address is 192.168.8.1 until it connects to a wireless network. However, the worker application caches this address, even after connecting to wifi. This results in exceptions being throw for not being able to connect. Also requests submitted are not able to be processed as the IP address of the device has changed, and the application has the previous IP address.
Configuration was updated to confirm this issue and has been resolved. Creating issue for documentation.
Dec 22 22:30:33 fpphouse Almostengr.LightShowExtender.Worker[6196]: Almostengr.LightShowExtender.DomainService.FalconPiPlayer.GetCpuTemperaturesHandler[0] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Almostengr.LightShowExtender.DomainService.FalconPiPlayer.GetCpuTemperaturesHandler.ExecuteAsync(CancellationToken cancellationToken) in /mnt/d74511ce-4722-471d-8d27-05013fd521b3/projects/light-show-extender/extender/Almostengr.LightShowExtender.DomainService/FalconPiPlayer/GetCpuTemperaturesHandler.cs:line 42
Dec 22 22:30:34 fpphouse Almostengr.LightShowExtender.Worker[6196]: Almostengr.LightShowExtender.DomainService.Website.PostDisplayInfoHandler[0] Code: InternalServerError, Body: body
Dec 22 22:31:04 fpphouse Almostengr.LightShowExtender.Worker[6196]: Almostengr.LightShowExtender.DomainService.FalconPiPlayer.GetStatusHandler[0] Connection timed out (192.168.8.1:80) System.Net.Http.HttpRequestException: Connection timed out (192.168.8.1:80) ---> System.Net.Sockets.SocketException (110): Connection timed out at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Almostengr.Extensions.AeHttpClient.GetAsync[T](HttpClient httpClient, String route, CancellationToken cancellationToken) in /mnt/d74511ce-4722-471d-8d27-05013fd521b3/projects/light-show-extender/extender/Almostengr.Extensions/AeHttpClient.cs:line 66 at Almostengr.LightShowExtender.Infrastructure.FalconPiPlayer.FppHttpClient.GetFppdStatusAsync(CancellationToken cancellationToken, String hostname) in /mnt/d74511ce-4722-471d-8d27-05013fd521b3/projects/light-show-extender/extender/Almostengr.LightShowExtender.Infrastructure/FalconPiPlayer/FppHttpClient.cs:line 40 at Almostengr.LightShowExtender.DomainService.FalconPiPlayer.GetStatusHandler.ExecuteAsync(FppStatusRequest request, CancellationToken cancellationToken) in /mnt/d74511ce-4722-471d-8d27-05013fd521b3/projects/light-show-extender/extender/Almostengr.LightShowExtender.DomainService/FalconPiPlayer/GetStatusHandler.cs:line 28
The text was updated successfully, but these errors were encountered:
When "http://localhost" is used in configuration, it can capture the wrong IP address. When FPP starts up, the localhost address is 192.168.8.1 until it connects to a wireless network. However, the worker application caches this address, even after connecting to wifi. This results in exceptions being throw for not being able to connect. Also requests submitted are not able to be processed as the IP address of the device has changed, and the application has the previous IP address.
Configuration was updated to confirm this issue and has been resolved. Creating issue for documentation.
The text was updated successfully, but these errors were encountered: