freecwmp
[Top] [All Lists]

freecwmp and ACS communication error.

To: freecwmp@linux-mips.org
Subject: freecwmp and ACS communication error.
From: akhil garg <akhilgarg7@gmail.com>
Date: Tue, 15 Jan 2013 14:23:58 +0000
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=mmmfBmkZn4y6qKAmC+S+J+rbWY5cdjnmlpnbITvAn14=; b=01kpjppIzUm8B7BT+605+v9BAZ1eqvWMYSO03/VLLjP6eLxwMtHgyhfwM1xOgtbGj+ yZKFp99WklBasF6x+bHNQ2wNF98UwkUU0lb720hTeP8bNyenVv8dIEzqsDe7VKfyswAp d6dASPNL9Ev2pt95MUlYUfOJXWuRitAu7/bDMZcYOgu7FCmMa0pBMVZGtqiShzZWZEWs JXWhAVxgkG46TQIvyS+dV/LJwKjKgkcyvT4z9VllnGxC1irovoMtd2rVpmX1CZ48w2km sl46XptazhnRMa22jva+d5BiTqwXRRvLXtejdmzY9wggREWmqWbLqPVubgziXK0ABCMB X9JQ==
Original-recipient: rfc822;freecwmp@linux-mips.org
Sender: freecwmp-bounce@linux-mips.org
Hi,
I am using OpenACS (http://sourceforge.net/projects/openacs/) as the
ACS server and freecwmp as the cwmp client on TP-Link router.

Initially Inform/InformResponse passes successfully.
Then OpenACS sends GetParameterValues. The console shows the following errors:
cwmp_handle_messages(159): xml handling message failed
cwmp_inform(111): handling xml message failed

After this error, I changed the code in file
trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/freecwmp-curl/freecwmp-2012-09-25/src/xml.c
just by commenting the following code
"b = mxmlWalkNext(b, tree_in, MXML_DESCEND_FIRST)" because it was
being called two times.

Then GetParameterValuesResponse was sent by freecwmpClient. But here
ACS shows Internal Error 500 in the response sent by freecwmp.

Now Queries:
1. I hope I have edited the code correctly?

1. Why the response is rejected(Internal Error 500) by the server?

1. Why the whole communication between CwmpClient/ACS is not going on
single http session. What I have seen is the whole communication i.e.
Inform/InformResponse, GetParameterValues/GetParameterValuesResponse
till end is using three different http ports. I think it should be on
single port (I hope I am not wrong).

Regards,
Akhil

<Prev in Thread] Current Thread [Next in Thread>