Server Version#: 1.40.3.8555
Player Version#: n/a
I am trying to get started using the plex api (so that i can automate some tasks using home assistant).
starting with some very basic commands using postman (though i recieve the same errors using dev tools in browser or curl commands from a terminal on the same LAN) i get an ‘empty response’ or a ‘socket hangup’ error when i try to pass even a basic command
e.g.
http://192.168.0.31:32400/identity/?X-Plex-Token=12345ABCDE6789
(token changed, obvs)
I have my Secure connections’ set to ‘required’ in the network settings.
If i (temporarily) change this setting to ‘Preferred’ then my command runs fine.
I don’t want to set my secure connection to ‘Preferred’ as i have remote access enabled and i don’t want anyone sniffing my traffic.
I’ve searched this forum, reddit and the plexopedia resources, but can’t seem to find a simple explanation. do i need to muck about with proxies or certificates here? I will only be calling the api commands from a specific device with a fixed IP on my lan (192.168.0.26), so maybe i have to whitelist that device (i have tried placing 192.168.0.0/24 in my 'list of networks allowed without auth)