[PR #11252] Catch exceptions in auto discovery #12812

Closed
opened 2026-02-07 07:02:10 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11252

State: closed
Merged: Yes


The exception was found when attempting to debug in-process restart issues

System.Net.Sockets.SocketException (98): Address already in use
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at Jellyfin.Networking.AutoDiscoveryHost.ListenForAutoDiscoveryMessage(IPAddress address, CancellationToken cancellationToken) in /home/crobibero/Code/jellyfin/src/Jellyfin.Networking/AutoDiscoveryHost.cs:line 83
**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11252 **State:** closed **Merged:** Yes --- The exception was found when attempting to debug in-process restart issues ``` System.Net.Sockets.SocketException (98): Address already in use at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Jellyfin.Networking.AutoDiscoveryHost.ListenForAutoDiscoveryMessage(IPAddress address, CancellationToken cancellationToken) in /home/crobibero/Code/jellyfin/src/Jellyfin.Networking/AutoDiscoveryHost.cs:line 83 ```
OVERLORD added the pull-request label 2026-02-07 07:02:10 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#12812