if you get that to work, would be useful to also enabled the advanced hidden setting for Plex Media Server for TLS Logging to allow me to decrypt the captured packets
eg following for public port 32400 tcpdump -i any -w pmscapture-xxxxx.cap port 32400
Once that is successful, I can send you in a PM instructions for TLS Logging
What would help for this is establishing what sequence of events leads to the problem so that it can be reproduced in house
And to establish why it seems to be mainly from QNAP servers.
Points to establish
is the problem caused by delayed availability of the network and external connections
is the problem caused by a network outage overnight and Plex Media Server fails to recover its pubsub connection after that
Ideally would like debug server logs covering from the time when it was ok and up to the time when the pubsub connection got lost and leading to this error and network packet capture (tcpdump and with PMS TLS Logging) covering the time when the connection got lost and subsequent failure
If the problem is predictable then that should make it easier and minimize how much packet capture to have
This is clearly an issue with Plex on Qnap. My NAS network connections always are still working when Plex decides it has no internet connection. Every day or two I have to stop and restart Plex to get it to scan new media. It continues to be able to play media over the internet, but something internal loses its mind. It is not the NAS, it is Plex scan that stops working. The restart make it work again for awhile.
I did make that change but it the Plex media scan still stopped working. So, now with the state of Plex on my QNAP everytime I add new media I have to stop and restart Plex to get it scanned. This is clearly a bug in Plex releases for the last month or two. It had never happened before that for many years.