Coucou,
Quand je veux regarder un contenu sur Plex, cela ne marche pas et j'ai toujours l'erreur "Sorry, there was a problem playing this item".
C'est en tout cas ce que j'obtiens dans /var/lib/plex/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log :
Oct 31, 2015 19:58:58 [0x7f631dbfe700] VERBOSE - Saving 0 bytes of expected 0 for a POST.
Oct 31, 2015 19:58:58 [0x7f630f7fd700] DEBUG - Request: [127.0.0.1:35596] POST /playQueues?type=video&uri=library%3A%2F%2F2b5c788f-bcaf-4f0f-93c2-8380980aaa49%2Fitem%2F%252Flibrary%252Fmetadata%252F11&shuffle=0&repeat=0 (3 live)
Oct 31, 2015 19:58:58 [0x7f630f7fd700] VERBOSE - * type => video
Oct 31, 2015 19:58:58 [0x7f630f7fd700] VERBOSE - * uri => library://2b5c788f-bcaf-4f0f-93c2-8380980aaa49/item/%2Flibrary%2Fmetadata%2F11
Oct 31, 2015 19:58:58 [0x7f630f7fd700] VERBOSE - * shuffle => 0
Oct 31, 2015 19:58:58 [0x7f630f7fd700] VERBOSE - * repeat => 0
Oct 31, 2015 19:58:58 [0x7f630f7fd700] ERROR - PlayQueue: play queues are associated with clients, pass X-Plex-Client-Identifier
Oct 31, 2015 19:58:58 [0x7f631e3ff700] DEBUG - Completed: [127.0.0.1:35596] POST /playQueues?type=video&uri=library%3A%2F%2F2b5c788f-bcaf-4f0f-93c2-8380980aaa49%2Fitem%2F%252Flibrary%252Fmetadata%252F11&shuffle=0&repeat=0 (3 live) 1ms 257 bytes 400
Auriez-vous une idée de comment résoudre ce problème ?
C'est mon fichier de configuration Nginx (info : tv.example.com n'est pas le vrai domaine de second niveau utilisé) :
server {
listen 80;
server_name tv.example.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
server_name tv.example.com;
# certs sent to the client in SERVER HELLO are concatenated in ssl_certificate
ssl_certificate /etc/ssl/nginx/ssl-unified.pem;
ssl_certificate_key /etc/ssl/nginx/ssl.key;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
# Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits
ssl_dhparam /etc/ssl/nginx/dhparam.pem;
# intermediate configuration. tweak to your needs.
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-RSA-DES-CBC3-SHA:ECDHE-ECDSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
ssl_prefer_server_ciphers on;
# Add headers to serve security related headers
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload";
add_header Public-Key-Pins 'pin-sha256="VbiKWTO/v8E8GRY4RLNi/LhmnkYoopL6kdYkfOFkkbM="; max-age=5184000; includeSubDomains';
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
# OCSP Stapling ---
# fetch OCSP records from URL in ssl_certificate and cache them
ssl_stapling on;
ssl_stapling_verify on;
## verify chain of trust of OCSP response using Root CA and Intermediate certs
ssl_trusted_certificate /etc/ssl/nginx/ocsp.pem;
resolver 8.8.8.8;
location / {
if ($http_x_plex_device_name = '') {
rewrite ^/$ https://$http_host/web/index.html;
}
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_buffering off;
proxy_pass http://127.0.0.1:32400;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 36000s;
}
}
Peut-être auriez-vous un fichier de configuration Nginx plus élaboré et qui marche, car le mien ne semble pas marcher puisque je n'arrive à lancer les vidéos