Freebox Server (Ultra V9/ Pop V8/ Delta V7 / Revolution V6 / Mini 4K)

  • État Fermée
  • Pourcentage achevé
    100%
  • Type Anomalie
  • Catégorie Non trié
  • Assignée à Personne
  • Système d'exploitation Tous
  • Sévérité Basse
  • Priorité Très Basse
  • Basée sur la version 3.3.1
  • Due pour la version Non décidée
  • Échéance Non décidée
  • Votes
  • Privée
Concerne le projet: Freebox Server (Ultra V9/ Pop V8/ Delta V7 / Revolution V6 / Mini 4K)
Ouverte par paokouran - 22/07/2016
Dernière modification par mbizon - 26/08/2020

FS#20501 - erreur 500 AddPortMapping upnpIGD

Bonjour

j utilise un bout de code js depuis 2 ans sans soucis pour ajouter un forwarding de port sur la freeboxdepuis la derniere maj (passé en fibre semaine derniere donc reboot et maj de firmware) cela ne fonctionne plus

erreur 500

headers requête →

_headers: Object
content-length: 627
content-type: "text/xml"
host: "192.168.0.254"
soapaction: ""urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping""

response : 500

body de ma requête →

u:AddPortMapping     xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">    <NewRemoteHost></NewRemoteHost>    <NewExternalPort>8890</NewExternalPort>    <NewProtocol>TCP</NewProtocol>    <NewInternalPort>8890</NewInternalPort>    <NewInternalClient>192.168.0.11</NewInternalClient>    <NewEnabled>1</NewEnabled>    <NewPortMappingDescription>Freetvm</NewPortMappingDescription>    <NewLeaseDuration>0</NewLeaseDuration>  </u:AddPortMapping> 

impossible d’en savoir plus ...

le reste des fonctions marchent normalement (GetExternalIPAddress etc)

merci

cdt

Fermée par  mbizon
26.08.2020 17:14
Raison de la fermeture :  Ticket invalide
Commentaires de fermeture :  

content-type: "text/xml"
⇒ content-type: text/xml

01/12/2022: Une réouverture de tâche a été demandée Raison de cette demande: Même problème, la freebox (delta) renvoie une erreur 500 sur une demande Upnp de mapping de port, avec le body suivant : <?xml version="1.0"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:AddPortMapping xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:2"> <NewExternalPort>59665</NewExternalPort> <NewProtocol>TCP</NewProtocol> <NewInternalPort>57026</NewInternalPort> <NewInternalClient>192.168.1.17</NewInternalClient> <NewEnabled>1</NewEnabled> <NewPortMappingDescription>libp2p@0.0.0 QmWiEFYdeiRFjbobU1Sm2hur86Y1x47jBPAHGrn8k66Vaa</NewPortMappingDescription> <NewLeaseDuration>7200</NewLeaseDuration> <NewProtocol>TCP</NewProtocol> </u:AddPortMapping> </s:Body> </s:Envelope> Le commentaire de la raison de fermeture n'indique pas comment résoudre ce pb.

test fait avec dautres outils comme Portmapper.jar

INFO Adding port mapping test
INFO Adding port mapping TCP :8890 → 192.168.0.11:8890 enabled test
INFO 1 port mapping added successfully
DEBUG Getting port mapping with entry number 0...
DEBUG Got no port mapping for entry number 0 (error code: 713, error description: Bad Array Index). Stop getting more entries.
INFO Found 0 mappings, 0 mappings returned as null.
INFO Found 0 mappings

successfully added ok mais rien dans le listing upnpIGD sur freeboxOs ...

hier javais une erreur sur le port interne du routeur qui retournait -1 si cela peut aider

INFO 1 port mapping added successfully
DEBUG Getting port mapping 0...
DEBUG Got an exception with message 'Got error code '713' when getting port mapping 0' for index 0, stop getting more mappings
DEBUG Got null port mapping for index 0
INFO Found 0 mappings

précision, j ai redemarré la box avec upnpIgd desactive puis nouveau reboot en reactivant, idem

Chargement...

Activer les raccourcis clavier

Liste des tâches

Détails de la tâche

Édition de la tâche