Yesterday, 01:11 AM
(This post was last modified: Yesterday, 01:13 AM by Felixtw. Edited 1 time in total.
Edit Reason: bad code formatting
)
Just registered to say I have the same issue. Logs from the minute of the error happening:
My bash script:
And the error:
Thanks for any help.
Code:
jellyfin-1 | [01:07:49] [ERR] [71] Rssdp.Infrastructure.SsdpCommunicationsServer: Error sending socket message from 172.21.0.1 to 239.255.255.250:1900
jellyfin-1 | System.Net.Sockets.SocketException (101): Network is unreachable
jellyfin-1 | at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
jellyfin-1 | at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendToAsync(Socket socket, CancellationToken cancellationToken)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendMulticastMessage(String message, Int32 sendCount, IPAddress fromLocalIPAddress, CancellationToken cancellationToken)
jellyfin-1 | at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendMulticastMessage(String message, IPAddress fromLocalIPAddress, CancellationToken cancellationToken)
jellyfin-1 | at Rssdp.Infrastructure.SsdpDeviceLocator.BroadcastDiscoverMessage(String serviceType, TimeSpan mxValue, CancellationToken cancellationToken)
jellyfin-1 | at Rssdp.Infrastructure.SsdpDeviceLocator.SearchAsync(String searchTarget, TimeSpan searchWaitTime, CancellationToken cancellationToken)
jellyfin-1 | at Rssdp.Infrastructure.SsdpDeviceLocator.OnBroadcastTimerCallback(Object state)
jellyfin-1 | at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
jellyfin-1 | at Rssdp.Infrastructure.SsdpDeviceLocator.OnBroadcastTimerCallback(Object state)
jellyfin-1 | at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
jellyfin-1 | at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
jellyfin-1 | at System.Threading.TimerQueue.FireNextTimers()
jellyfin-1 | at System.Threading.ThreadPoolWorkQueue.Dispatch()
jellyfin-1 | at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
jellyfin-1 | --- End of stack trace from previous location ---
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | [01:07:49] [ERR] [60] Rssdp.Infrastructure.SsdpCommunicationsServer: Error sending socket message from 172.21.0.1 to 239.255.255.250:1900
jellyfin-1 | System.Net.Sockets.SocketException (101): Network is unreachable
jellyfin-1 | at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
jellyfin-1 | at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendToAsync(Socket socket, CancellationToken cancellationToken)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendMulticastMessage(String message, Int32 sendCount, IPAddress fromLocalIPAddress, CancellationToken cancellationToken)
jellyfin-1 | at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
jellyfin-1 | at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
jellyfin-1 | at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
jellyfin-1 | at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
jellyfin-1 | at System.Threading.Tasks.Task.DelayPromise.CompleteTimedOut()
jellyfin-1 | at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
jellyfin-1 | at System.Threading.TimerQueue.FireNextTimers()
jellyfin-1 | at System.Threading.ThreadPoolWorkQueue.Dispatch()
jellyfin-1 | at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
jellyfin-1 | --- End of stack trace from previous location ---
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | [01:07:49] [ERR] [51] Rssdp.Infrastructure.SsdpCommunicationsServer: Error sending socket message from 172.21.0.1 to 239.255.255.250:1900
jellyfin-1 | System.Net.Sockets.SocketException (101): Network is unreachable
jellyfin-1 | at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
jellyfin-1 | at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendToAsync(Socket socket, CancellationToken cancellationToken)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks)
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendMulticastMessage(String message, Int32 sendCount, IPAddress fromLocalIPAddress, CancellationToken cancellationToken)
jellyfin-1 | at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
jellyfin-1 | at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
jellyfin-1 | at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
jellyfin-1 | at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
jellyfin-1 | at System.Threading.Tasks.Task.DelayPromise.CompleteTimedOut()
jellyfin-1 | at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
jellyfin-1 | at System.Threading.TimerQueue.FireNextTimers()
jellyfin-1 | at System.Threading.ThreadPoolWorkQueue.Dispatch()
jellyfin-1 | at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
jellyfin-1 | --- End of stack trace from previous location ---
jellyfin-1 | at Rssdp.Infrastructure.SsdpCommunicationsServer.SendFromSocket(Socket socket, Byte[] messageData, IPEndPoint destination, CancellationToken cancellationToken)
jellyfin-1 | [01:07:56] [ERR] [61] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL POST /Users/AuthenticateByName.
jellyfin-1 | System.ArgumentNullException: Value cannot be null. (Parameter 'request.App')
jellyfin-1 | at System.ArgumentNullException.Throw(String paramName)
jellyfin-1 | at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
jellyfin-1 | at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
jellyfin-1 | at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName)
jellyfin-1 | at Emby.Server.Implementations.Session.SessionManager.AuthenticateNewSessionInternal(AuthenticationRequest request, Boolean enforcePassword)
jellyfin-1 | at Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(AuthenticateUserByName request)
jellyfin-1 | at lambda_method1201(Closure, Object)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
jellyfin-1 | --- End of stack trace from previous location ---
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
jellyfin-1 | --- End of stack trace from previous location ---
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
My bash script:
Code:
JF="http://192.168.2.23:8096"
#Login
read -p "$JF | Username: " username
read -sp "$JF | Password: " password
data=$(cat <<EOF
{
"Username": "$username",
"Pw": "$password"
}
EOF
)
curl -X POST $JF/Users/AuthenticateByName \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d "$data" \
-vvv
And the error:
Code:
http://192.168.2.23:8096 | Username: felix
http://192.168.2.23:8096 | Password: Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 192.168.2.23:8096...
* Connected to 192.168.2.23 (192.168.2.23) port 8096 (#0)
> POST /Users/AuthenticateByName HTTP/1.1
> Host: 192.168.2.23:8096
> User-Agent: curl/7.88.1
> accept: application/json
> Content-Type: application/json
> Content-Length: 46
>
< HTTP/1.1 400 Bad Request
< Content-Type: text/plain
< Date: Sun, 10 Aug 2025 01:10:30 GMT
< Server: Kestrel
< Transfer-Encoding: chunked
< X-Response-Time-ms: 4.8835
<
* Connection #0 to host 192.168.2.23 left intact
Error processing request.
Thanks for any help.