Plex server on synology nas

I am running home assistant on a RPI 3 and a plex server on my Synology Nas 213J
I my configuration file I have :

    media_player:
  - platform: spotify
    client_id: xxxxxxxxxxxxxxxxxxxxxx
    client_secret: xxxxxxxxxxxxxx
  - platform: plex 

and in my plex.conf :

{"10.0.0.19:32400": {"token": "[my token]", "ssl": false, "verify": true}}

However I don’t succeed in connecting to the server
The error message in the log file :

2017-11-13 20:48:13 ERROR (Thread-14) [plexapi] http://10.0.0.19:32400: HTTPConnectionPool(host='10.0.0.19', port=32400): Max retries exceeded with url: /?X-Plex-Token=[My token](Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x68f05090>: Failed to establish a new connection: [Errno 111] Connection refused',))

When entering the plex server on the NAS I have to log in with some credentials like username and password, how do I pass these values with home-assistant ?
Or how do I give home-assistant permission to use the plex server on my Nas

Same here HA on Synology Docker, Plex on the same synology . Never was able to use Plex or Plex sensor components. I tried to configure manualy or using discovery components. Nothing works .