Jump to content

TV SONY impossible de se connecter


Recommended Posts

Mickelebof
Posted

Ok dans ce cas c'est normal ;)

Sur ton routeur, il faut que tu mettes 8920 en port externe (ça c'est bon) et le port 21163 en port interne :)

Posted

Euh, j'ai pas tout compris 😅

Je ne vois pas où régler le port local dans Emby (comme sur ta capture d'écran). Dans la partie paramètre/réseaux de Emby j'ai la possibilité de régler uniquement les "ports public".

 

Mickelebof
Posted

Ah ok, peut etre une spécificité de Emby sur NAS, moi je l'ai bien dans l'onglet réseau, tout en haut :

image.png.3f8595bf3689460164e1f245423ee3ab.png

 

En fait, il faut savoir quel est le port sur lequel écoute Emby, par défaut c'est 8920, mais on peut le changer (enfin moi en tout cas je peux ^^).

Sur ton routeur, il faut que le port "interne" corresponde au port qu'utilise Emby.

Essaye sur ton réseau local déjà, avec son IP local, exemple : https://192.168.1.125:8920  (remplace par l'IP local de ton NAS ;) )

Si ça ne répond pas, essaye : https://192.168.1.125:21163

Si ça répond sur ce port, c'est que c'est celui là que tu dois indiquer en port "interne" sur ton routeur

Posted

Ha oui en effet, je n'ai pas la possibilité de modifier les ports locaux :

chrome_wHIDHXMVbp.thumb.png.aa1ef0d763b85f13aee97f9690c5fc9f.png

 

En testant https://192.168.1.31:8920, j'obtiens la même erreur que quand je tente de me connecter via internet : ERR_CONNECTION_REFUSED

chrome_QurGikxNph.png.0c10c6bdbc6a946997790e34b77373da.png

Et en testant https://192.168.1.31:21163, j'obtiens une erreur SSL : ERR_SSL_PROTOCOL_ERROR (ce qui me parais logique puisque je tente de me connecter en HTTPS sur le port  HTTP)

chrome_9ykzmev9BX.png.59be842196dd1ce7995a7b678d38bb19.png

Mickelebof
Posted

Ok, donc le probleme vient de ta redirection de port sur ton routeur.

Il faut que tu laisse 8920 en port "externe", mais que tu mettes 21163 en port "interne" ;)

Posted

J'ai testé en modifiant les ports du routeur comme tu l'indique mais j'obtiens l'erreur ERR_SSL_PROTOCOL_ERROR

(la même erreur que quand je tente  https://192.168.1.31:21163 en local)

 

Posted
1 minute ago, fabb said:

I tested by modifying the ports of the router as you indicate but I get the error ERR_SSL_PROTOCOL_ERROR

(the same error as when I try   https://192.168.1.31:21163 locally)

 

Well we already know that https://192.168.1.31:21163 isn't going to work because it's invalid, so there's not much point in going over it.

What exactly did you setup in the port forwarding?

Mickelebof
Posted (edited)

Hum, je pense que le port 21163 est ton port HTTP et non HTTPS...

@Luke, his port forwarding is here :

image.png.f86a1dc8640513518416a9ae5b23c99b.png

 

@fabb tu as moyens d'ouvrir un shell sur ton NAS ? Genre une connexion SSH ?

Il faudrait regarder sur quel port écoute vraiment emby avec un netstat : netstat -pat | grep LISTEN

Edited by Mickelebof
Posted

Looks like it should work. If you just setup the ssl certificate in emby server then make sure to restart the server after doing that.

  • Agree 1
Posted

Avec cette redirection de port, j'obtient une erreur ERR_CONNECTION_REFUSED :

chrome_mh3VtZP8kW.png.a24bacb5a63fc6971d81af9510c0318d.png

SAUF SI J'ACTIVE LE REVERSE PROXY DU NAS DE CETTE MANIERE :

 

chrome_wNzlFerQqJ.png.8439b38e29027beeb6485df9bd3d472e.png

j'accède correctement à emby :

chrome_MZqEQjFYnT.png.50c811d93745c35c450a0199d6418f1a.png

 

Mais le problème c'est que si le reverse proxy est activé la TV SONY n'arrive pas à se connecter. (Tous les autres équipement Shield, navigateur internet, emby android mobile, mi box, freebox,.... arrive à se connecter. Mais pas les TV SONY)

 

 

Avec cette redirection de port, j'obtiens une erreur ERR_SSL_PROTOCOL_ERROR :

chrome_Yod4eyyADk.png.c61fe59c69de43b5d4fcba029d265fe4.png

 

 

Mickelebof
Posted

Tu as bien redémarré le serveur emby après avoir mis le certificat ?

En fait ce que tu fais avec ton reverseproxy c'est rediriger le HTTPS de l'exterieur vers le HTTP en local.

Peut être que ça pose problème pour les TV Sony (là j'en sais rien)

Il faut vraiment que tu trouves le port HTTPS du serveur emby en local

Par défaut, Emby n'écoute pas en HTTPS, il faut lui mettre un certificat (ce que tu as fait vu le screen que j'ai vu tout à l'heure), il faut ensuite redémarrer Emby pour qu'il ouvre son port HTTPS

Posted

Oui le port 21163 est bien le port HTTP

J'ai testé la commande via SSH et j'obtiens ceci :

Spoiler

tcp        0      0 0.0.0.0:sunrpc          0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:http            0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:54321           0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:10005           0.0.0.0:*               LISTEN                               -
tcp        0      0 10.8.0.1:domain         0.0.0.0:*               LISTEN                               -
tcp        0      0 172.17.0.1:domain       0.0.0.0:*               LISTEN                               -
tcp        0      0 192.168.1.31:domain     0.0.0.0:*               LISTEN                               -
tcp        0      0 192.168.1.33:domain     0.0.0.0:*               LISTEN                               -
tcp        0      0 localhost:domain        0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN                               -
tcp        0      0 localhost:postgresql    0.0.0.0:*               LISTEN                               -
tcp        0      0 localhost:18617         0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:afs3-callback   0.0.0.0:*               LISTEN                               -
tcp        0      0 localhost:953           0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:https           0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:892             0.0.0.0:*               LISTEN                               -
tcp        0      0 localhost:4700          0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:microsoft-ds    0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:3262            0.0.0.0:*               LISTEN                               -
tcp        0      0 localhost:exec          0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:35008           0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:8001            0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:nfs             0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:6690            0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:34755           0.0.0.0:*               LISTEN                               -
tcp        0      0 localhost:nut           0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:9351            0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:21159           0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:21000           0.0.0.0:*               LISTEN                               -
tcp        0      0 192.168.1.33:49160      0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:21160           0.0.0.0:*               LISTEN                               -
tcp        0      0 localhost:1195          0.0.0.0:*               LISTEN                               -
tcp        0      0 0.0.0.0:netbios-ssn     0.0.0.0:*               LISTEN                               -
tcp6       0      0 [::]:32782              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:32783              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:sunrpc             [::]:*                  LISTEN                               -
tcp6       0      0 [::]:http               [::]:*                  LISTEN                               -
tcp6       0      0 [::]:54321              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:10005              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:domain             [::]:*                  LISTEN                               -
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN                               -
tcp6       0      0 [::]:afs3-callback      [::]:*                  LISTEN                               -
tcp6       0      0 [::]:https              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:892                [::]:*                  LISTEN                               -
tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN                               -
tcp6       0      0 [::]:3261               [::]:*                  LISTEN                               -
tcp6       0      0 [::]:3263               [::]:*                  LISTEN                               -
tcp6       0      0 [::]:3264               [::]:*                  LISTEN                               -
tcp6       0      0 [::]:3265               [::]:*                  LISTEN                               -
tcp6       0      0 [::]:8001               [::]:*                  LISTEN                               -
tcp6       0      0 [::]:nfs                [::]:*                  LISTEN                               -
tcp6       0      0 [::]:6690               [::]:*                  LISTEN                               -
tcp6       0      0 [::]:59171              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:afpovertcp         [::]:*                  LISTEN                               -
tcp6       0      0 [::]:9351               [::]:*                  LISTEN                               -
tcp6       0      0 [::]:21159              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:21000              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:21160              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:image-backup       [::]:*                  LISTEN                               -
tcp6       0      0 [::]:openvpn            [::]:*                  LISTEN                               -
tcp6       0      0 [::]:44682              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:21163              [::]:*                  LISTEN                               -
tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN                               -
tcp6       0      0 [::]:5005               [::]:*                  LISTEN 

 

Posted

Please attach the emby server log. thanks.

Posted

Je confirme que j'ai bien essayé de redémarrer le serveur après avoir créé le certificat. 

Posted
2 minutes ago, Luke said:

Please attach the emby server log. thanks.

Je vous les ai envoyé via MP.

Merci !

Mickelebof
Posted

  

  Bon bah au moins on en est sur, le port 8920 n'est pas ouvert, donc ça peut pas marcher.

Dommage qu'il n'affiche pas le process correspondant, comme sur linux, chez moi :

Quote

tcp6       0      0 :::8096                 :::*                    LISTEN      523372/EmbyServer   
tcp6       0      0 :::8920                 :::*                    LISTEN      523372/EmbyServer 

J'espere que Luke verra ça dans les logs, en tout cas dans mes logs ça n'affiche pas le port d'écoute.

Je vois le port 892 ouvert, c'est peut être une coïncidence mais ça ne serait pas celui là par hasard ? ^^  https://192.168.1.31:892

 

 

Posted

It doesn't look like you configured the certificate. Please configure the certificate on the network screen, click save, and then restart the server.

Posted

Comment configurer le certificat ?

Mickelebof
Posted

Il veut dire ici :

image.png.ee10437c76affde7ec34f683ee52a9dd.png

Est-ce que c'est le bon certificat ? Il voudrait que tu le remette, que tu cliques sur "Enregistrer" et que tu redémarre Emby :)

Posted

Le certificat je le génère avec let's encrypt directement via l'interface du Synology.

En réalité, je ne sais même pas où il est "rangé" et comment y accéder.

Mickelebof
Posted

Ahhhh, bein du coup ça explique tout :)

Si le certificat n'est pas correct, Emby n'ouvre pas son port HTTPS ;)

Ca doit sûrement être trouvable, je vais regarder de mon coté ; il y a peut être aussi déjà la réponse sur le forum quelque part

Posted

Je suis en train de chercher sur google où trouver le certificat sur le NAS, je trouve pas grand chose 😅

Mickelebof
Posted

A priori ça serait là :

Quote

/usr/syno/etc/certificate/_archive/<folder>

folder est certainement ton nom de domaine.

Tu peux allez voir en SSH ?

Posted

en ssh je ne peux pas accéder au dossier _archive, j'ai un "permission denied"

 

Mickelebof
Posted

Alors ici, ya DJX qui dit comment faire :

A priori, il récupère le certificat via DSM directement.

Après il faut le convertir en .pfx pour le mettre ensuite sur Emby

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...