[ZTE ZXHN H267N] Invalid parameter name

Miguel Ángel Sánchez Moragues sanchez.moragues at gmail.com
Mon Nov 14 10:04:09 EST 2016


Hi Luca,

You could modify tasks.coffee:


if task.session.subtask.name is 'getParameterNames'
    this.getParameterNames(task.session.subtask, methodResponse, (err,
status, methodRequest, deviceUpdates) =>
      task.session.parameterNames ?= []
      if deviceUpdates?.parameterNames?
        for p in deviceUpdates.parameterNames
          #if not common.endsWith(p[0], '.')
          name=p[0]
          if not common.endsWith(p[0], '.') and not
~name.indexOf('InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.
WANATMF5LoopbackDiagnostics.DiagnosticsState')
            task.session.parameterNames.push(p[0])


BR

2016-11-14 15:58 GMT+01:00 Luca Bianchi <lbianchi at siweb.it>:

> Hi Miguel,
>
> I found the problem:
> when GenieACS gets parameter "InternetGatewayDevice.WANDevice.1.
> WANConnectionDevice.1.WANATMF5LoopbackDiagnostics.DiagnosticsState"
> my CPE replies with  "Invalid Parameter name" and discovery stops.
>
> Could you help me to skip the exit and continue the CPE params discovery?
>
> Thanks
>
> BR
>
>
> On 14/11/2016 15:17, Miguel Ángel Sánchez Moragues wrote:
>
> Hi Luca,
>
> check this post:
>
> http://lists.genieacs.com/pipermail/users/2016-May/000723.html
>
> BR
>
> 2016-11-14 15:13 GMT+01:00 Luca Bianchi <lbianchi at siweb.it>:
>
>> Hello,
>> I have a problem where I try to manage CPE ZTE ZXHN H267N. The discovery
>> stops with error because of "Invalid parameter name".
>>
>> I searched using google some way to understand better this fault, but I
>> didn't find anything really usefull.
>> Please can you help me to understand better this problem?
>>
>> Thanks
>>
>> Log of genieacs-cwmp
>>
>> 14 Nov 15:10:08 - C4A366-ZXHN%20H267N%20V1%2E0-ZTEEG8FG6U00502: Inform
>> (1 BOOT,4 VALUE CHANGE); retry count 0
>> 14 Nov 15:10:08 - C4A366-ZXHN%20H267N%20V1%2E0-ZTEEG8FG6U00502: New
>> device registered
>> 14 Nov 15:10:08 - C4A366-ZXHN%20H267N%20V1%2E0-ZTEEG8FG6U00502: Started
>> task refreshObject(5829c5c0b182b2ab6bdf5f33)
>> 14 Nov 15:10:10 - C4A366-ZXHN%20H267N%20V1%2E0-ZTEEG8FG6U00502: Fault
>> response for task 5829c5c0b182b2ab6bdf5f33. Retrying after 300 seconds.
>>
>> Debug:
>>
>> # RESPONSE Mon Nov 14 2016 15:10:10 GMT+0100 (CET)
>> {"Server":"GenieACS/1.0.7","SOAPServer":"GenieACS/1.0.7","Content-Type":"text/xml;
>> charset=\"utf-8\""}
>> <?xml version="1.0" encoding="UTF-8"?>
>> <soap-env:Envelope xmlns:soap-enc="http://schemas
>> .xmlsoap.org/soap/encoding/" xmlns:soap-env="http://schemas
>> .xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
>> soap-env:mustUnderstand="1">5829c5c0b182b2ab6bdf5f33</cwmp:I
>> D></soap-env:Header><soap-env:Body><cwmp:GetParameterValues><ParameterNames
>> soap-enc:arrayType="xsd:string[32]"><string>InternetGatewayD
>> evice.WANDevice.1.WANConnectionDevice.1.WANPTMLinkConfig.MAC
>> Address</string><string>InternetGatewayDevice.WANDevice.1.
>> WANConnectionDevice.1.WANPTMLinkConfig.Stats.BytesSent</stri
>> ng><string>InternetGatewayDevice.WANDevice.1.WANConnectionDe
>> vice.1.WANPTMLinkConfig.Stats.BytesReceived</string><string>
>> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.
>> WANPTMLinkConfig.Stats.FramesSent</string><string>InternetGa
>> tewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLinkConf
>> ig.Stats.FramesReceived</string><string>InternetGatewayDevic
>> e.WANDevice.1.WANConnectionDevice.1.WANPTMLinkConfig.Stats.OOSNearEnd</
>> string><string>InternetGatewayDevice.WANDevice.1.WANConnecti
>> onDevice.1.WANPTMLinkConfig.Stats.OOSFarEnd</string><string>
>> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.
>> WANPTMLinkConfig.Stats.ErrorsSent</string><string>InternetGa
>> tewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLinkConf
>> ig.Stats.ErrorsReceived</string><string>InternetGatewayDevic
>> e.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.UnicastPacketsSent</string><string>InternetGa
>> tewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.UnicastPacketsReceived</string><string>Intern
>> etGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.DiscardPacketsSent</string><string>InternetGa
>> tewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.DiscardPacketsReceived</string><string>Intern
>> etGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.MulticastPacketsSent</string><string>Internet
>> GatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.MulticastPacketsReceived</string><string>Inte
>> rnetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.BroadcastPacketsSent</string><string>Internet
>> GatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.BroadcastPacketsReceived</string><string>Inte
>> rnetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPTMLi
>> nkConfig.Stats.UnknownProtoPacketsReceived</string><string>
>> InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.
>> WANATMF5LoopbackDiagnostics.DiagnosticsState</string><stri
>> ng>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.W
>> ANATMF5LoopbackDiagnostics.NumberOfRepetitions</string><stri
>> ng>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.W
>> ANATMF5LoopbackDiagnostics.Timeout</string><string>InternetG
>> atewayDevice.WANDevice.1.WANConnectionDevice.1.WANATMF5Loopb
>> ackDiagnostics.SuccessCount</string><string>InternetGatewayD
>> evice.WANDevice.1.WANConnectionDevice.1.WANATMF5LoopbackDiag
>> nostics.FailureCount</string><string>InternetGatewayDevice.W
>> ANDevice.1.WANConnectionDevice.1.WANATMF5LoopbackDiagnostics
>> .AverageResponseTime</string><string>InternetGatewayDevice.W
>> ANDevice.1.WANConnectionDevice.1.WANATMF5LoopbackDiagnostics
>> .MinimumResponseTime</string><string>InternetGatewayDevice.W
>> ANDevice.1.WANConnectionDevice.1.WANATMF5LoopbackDiagnostics
>> .MaximumResponseTime</string><string>InternetGatewayDevice.W
>> ANDevice.1.WANConnectionDevice.2.WANIPConnectionNumberOfEntr
>> ies</string><string>InternetGatewayDevice.WANDevice.1.WANCon
>> nectionDevice.2.WANPPPConnectionNumberOfEntries</string><str
>> ing>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.
>> WANPPPConnection.1.Enable</string><string>InternetGatewayDev
>> ice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection.1.Con
>> nectionStatus</string><string>InternetGatewayDevice.WANDevic
>> e.1.WANConnectionDevice.2.WANPPPConnection.1.PossibleConnect
>> ionTypes</string><string>InternetGatewayDevice.WANDevice.1.
>> WANConnectionDevice.2.WANPPPConnection.1.ConnectionType</str
>> ing></ParameterNames></cwmp:GetParameterValues></soap-env:
>> Body></soap-env:Envelope>
>>
>>
>> # REQUEST Mon Nov 14 2016 15:10:10 GMT+0100 (CET)
>> {"host":"192.168.9.4:7547","content-type":"text/xml;
>> charset=\"utf-8\"","connection":"TE","te":"trailers","conten
>> t-length":"649","cookie":"session=6823bc24d7bc443e"}
>> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas
>> .xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas
>> .xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2
>> 001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><SOAP-ENV:Header><cwmp:ID
>> SOAP-ENV:mustUnderstand="1">5829c5c0b182b2ab6bdf5f33</cwmp:I
>> D></SOAP-ENV:Header><SOAP-ENV:Body><SOAP-ENV:Fault><faultcod
>> e>Server</faultcode><faultstring>CWMP fault</faultstring><detail><cw
>> mp:Fault><FaultCode>9005</FaultCode><FaultString>Invalid parameter
>> name</FaultString></cwmp:Fault></detail></SOAP-ENV:Fault></S
>> OAP-ENV:Body></SOAP-ENV:Envelope>
>>
>> # RESPONSE Mon Nov 14 2016 15:10:10 GMT+0100 (CET)
>> {"Server":"GenieACS/1.0.7","SOAPServer":"GenieACS/1.0.7"}
>>
>>
>>
>> Rispetta l'ambiente: se non ti è necessario, non stampare questa mail
>>
>> CONFIDENZIALE:
>> Questo messaggio e gli eventuali allegati sono confidenziali e riservati.
>> Se vi è stato recapitato per errore e non siete fra i destinatari elencati,
>> siete pregati di darne immediatamente avviso al mittente e cancellare il
>> messaggio di posta e gli eventuali file allegati. Le informazioni contenute
>> non devono essere mostrate ad altri, né utilizzate, memorizzate o copiate
>> in qualsiasi forma.
>>
>> CONFIDENTIALITY:
>> This e-mail and any attachments are confidential and may be privileged.
>> If you are not a named recipient, please notify the sender immediately and
>> delete this e-mail and any attachment. Do not disclose the contents to
>> another person, use it for any purpose or store or copy the information in
>> any medium.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
>>
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.genieacs.comhttp://lists.genieacs.com/mailman/listinfo/users
>
>
>
> [image: sysnet telematica]
> *Rispetta l'ambiente: se non ti è necessario, non stampare questa mail*
>
> CONFIDENZIALE:
> Questo messaggio e gli eventuali allegati sono confidenziali e riservati.
> Se vi è stato recapitato per errore e non siete fra i destinatari elencati,
> siete pregati di darne immediatamente avviso al mittente e cancellare il
> messaggio di posta e gli eventuali file allegati. Le informazioni contenute
> non devono essere mostrate ad altri, né utilizzate, memorizzate o copiate
> in qualsiasi forma.
>
> CONFIDENTIALITY:
> This e-mail and any attachments are confidential and may be privileged. If
> you are not a named recipient, please notify the sender immediately and
> delete this e-mail and any attachment. Do not disclose the contents to
> another person, use it for any purpose or store or copy the information in
> any medium.
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20161114/38e3fbda/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-mail.png
Type: image/png
Size: 3383 bytes
Desc: not available
URL: <http://lists.genieacs.com/pipermail/users/attachments/20161114/38e3fbda/attachment-0001.png>


More information about the Users mailing list