Question:
What is a safe way to do a health check against the Plex Java Dispatcher when using a load balancer such as HAProxy ?
The dispatcher expects an ObjectStream and will throw an exception when we connect via HTTP, Telnet or plain socket. This should not be a problem as long as the session count is not affected.
Environment:
Windows 7
Answer:
To do the health check for Plex java dispatcher you can use any external service/HTTP/Telnet. As described when any non-Plex client tries to connect to dispatcher it will throw an exception. This is expected behaviour and doing so won’t change the active session count.