Hi am using the latest version of TrueNas Scale and installed Plex via the native app in Truenas. All setup fine but am having issues where everything in my home network is saying “not able to connect directly” so it is all streaming at 360p maximum. This issue occurs not only on my wireless devices like iPads but also to my pc which is a LAN connection.
I have enabled remote connection but it keeps automatically disconnecting itself after a few seconds.
Can someone pls help setting this up cos it’s driving me nuts. Thanks !
Are they both on the same subnet? A different subnet will look like a remote connection. Or if there is a firewall blocking something it might need to use relay to connect.
Check the local IP of the device you are using in its network status, and the local IP of your device the Plex server is running on and they should [generally] match except for the end number (after the last decimal point). So one might be 192.168.1.8, and the other can be 192.168.1.156, but they can’t be like, 192.168.1.8 and 192.168.33.4.
Since this is TrueNAS, the IP you want to check on the server side is the IP of the plugin or jail you are using.
the numbers match except the last digits.
I moved the server to the same location my qnap was in and the same problem occurs. For whatever reason it’s seeing anything in my network as a remote connection
If I go through windows and just access my Plex folder and click on a file it played fine. As soon as I go thru Plex it says Im not a direct connection. I can see all the files, and they all play but they will only play at low res
Can anyone from Plex help here ? It only seems to be the Plex app that’s an issue. If I use my websportal to get into Plex direct from the truenas machine it works fine. It’s only when I use the Plex apps that it won’t recognise a direct connection.
I don’t know what that means. Look at your server logs and see if it cannot make a connection with client. look at client logs and see why it cannot connect to server IP. It will have an error at some point or mention “relay” which makes an indirect connection work
When I use trunnas it gives me the option of opening a Plex web portal that seems to connect direct to the nas. It looks just like a web based Plex login.
If you have iPads then look at the iOS logs. Look for errors . You can generally search for the IP of the server the client would be looking for and see if there are any errors connecting.
No errors I can see in iOS. Not sure what to look for in the server log. There’s a bucket of text in that log. nothing that says error, can i send the log to someone ?
This reeks of DNS rebinding protection. If your router supports DNS rebinding protection (more specifically, the DNS server function of your router), and it is enabled, it will prevent your clients from being able to resolve your server’s local IP address via DNS (which is required to utilize secure connections).
If your router supports this feature, it likely has a way to carve out exceptions for specific domains. For example, you’d want to except *.plex.direct. If you use an external DNS server (Pi-Hole, for example) you’d configure the exception there.
Jun 29, 2022 11:06:38.159 [0x7f2b3f4e9b38] INFO - Plex Media Server v1.27.1.5916-6b0e31a64 - Docker Docker Container
your docker server IP. address is Detected primary interface: 172.16.0.70
and it looks like you devices that are making requests have a 10.0.0.x IP
addresses such as 10.0.0.90
Afaik you need to set the docker to be in bridge mode to be on it’'s host network ( the truenas) else it creates it’s own network with a 172, address and behaves as it if it on a different LAN so to the server the clients are remote
i wish i knew more about this stuff ! ill read up about it. weird thing is i never had any of these issues on my qnap. plugged into the exact same place, exact same cable and location and they connected without any of these DNS/ network issues.