<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:765077304;
        mso-list-template-ids:-1006187604;}
@list l1
        {mso-list-id:1949699378;
        mso-list-template-ids:-1006187604;}
@list l1:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We  have freshly installed genieacs and made all the services up. GUI is also up and running fine. Now i want to communicate to this ACS server from easycwmp client. both GenieACS and Easycwmp are running on aws.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">GenieACS is up and running fine. able to access gui using <a href="http://54.210.130.183:3000">
http://54.210.130.183:3000</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In both the EC2 instances we made it to allow all traffic.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoNormal" style="mso-list:l1 level1 lfo3"><b>How to identify the ACS URL from genieACS</b>. So that i can provide in the easycwmp uci configuration.<br>
config acs<br>
option url <a href="http://54.210.130.183:7547/openacs/acs">http://54.210.130.183:7547/openacs/acs</a> ==> Not sure about the path (/openacs/acs) in the URL.<o:p></o:p></li></ol>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l1 level1 lfo3"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]>Connection is timed out when easycwmp trys to send INFORM request. I tried testing by increasing the timeout as well but still the same error.<o:p></o:p></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoListParagraph"><o:p> </o:p></p>
<p class="MsoNormal"><a name="bugnotes">But we see the packets on 7547 port eth0 interface on genieacs ec2 instance.
<br>
<br>
configured the logging level to 0 in the option logging_level '0'<br>
<br>
where can we see the log file for easycwmp to check why connection is getting timed out?</a><span style="mso-bookmark:bugnotes"></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">================================== ACS client tr069 ===================================<br>
<a href="mailto:ubuntu@ip-172-31-13-243">ubuntu@ip-172-31-13-243</a>:~$ sudo easycwmpd -f<br>
2017-05-24 09:49:43 [easycwmp] NOTICE - add event '0 BOOTSTRAP'<br>
2017-05-24 09:49:43 [easycwmp] NOTICE - add event '2 PERIODIC'<br>
2017-05-24 09:49:43 [easycwmp] NOTICE - external script init<br>
config_init_local(55):: easycwmp.@local[0].interface=eth0<br>
config_init_local(65):: easycwmp.@local[0].port=7547<br>
config_init_local(83):: easycwmp.@local[0].ubus_socket=/var/run/ubus.sock<br>
config_init_local(71):: easycwmp.@local[0].username=easycwmp<br>
config_init_local(77):: easycwmp.@local[0].password=easycwmp<br>
config_init_local(94):: easycwmp.@local[0].logging_level=0<br>
config_init_acs(159):: easycwmp.@acs[0].url=<a href="http://54.210.130.183:7547/openacs/acs">http://54.210.130.183:7547/openacs/acs</a> [<a href="http://54.210.130.183:7547/openacs/acs" target="_blank">^</a>]<br>
config_init_acs(165):: easycwmp.@acs[0].username=easycwmp<br>
config_init_acs(171):: easycwmp.@acs[0].password=easycwmp<br>
config_init_acs(177):: easycwmp.@acs[0].periodic_enable=1<br>
config_init_acs(183):: easycwmp.@acs[0].periodic_interval=100<br>
config_init_acs(190):: easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z<br>
main(320): ubus initialization failed<br>
+++ HTTP SERVER CONFIGURATION +++<br>
ip: '172.31.13.243'<br>
port: '7547'<br>
--- HTTP SERVER CONFIGURATION ---<br>
+++ HTTP CLIENT CONFIGURATION +++<br>
http_client_init(50):: url: <a href="http://54.210.130.183:7547/openacs/acs">http://54.210.130.183:7547/openacs/acs</a> [<a href="http://54.210.130.183:7547/openacs/acs" target="_blank">^</a>]<br>
http_client_init(56):: ssl_verify: SSL certificate validation disabled.<br>
--- HTTP CLIENT CONFIGURATION ---<br>
+++ SEND HTTP REQUEST +++<br>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
 <soap_env:Envelope<br>
xmlns:soap_env="<a href="http://schemas.xmlsoap.org/soap/envelope/%22">http://schemas.xmlsoap.org/soap/envelope/"</a> [<a href="http://schemas.xmlsoap.org/soap/envelope/%22" target="_blank">^</a>]<br>
xmlns:soap_enc="<a href="http://schemas.xmlsoap.org/soap/encoding/%22">http://schemas.xmlsoap.org/soap/encoding/"</a> [<a href="http://schemas.xmlsoap.org/soap/encoding/%22" target="_blank">^</a>]<br>
xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema%22">http://www.w3.org/2001/XMLSchema"</a> [<a href="http://www.w3.org/2001/XMLSchema%22" target="_blank">^</a>]<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance%22">http://www.w3.org/2001/XMLSchema-instance"</a> [<a href="http://www.w3.org/2001/XMLSchema-instance%22" target="_blank">^</a>]<br>
xmlns:cwmp="urn:dslforum-org:cwmp-1-2"><br>
  <soap_env:Header><br>
   <cwmp:ID soap_env:mustUnderstand="1">1</cwmp:ID><br>
  </soap_env:Header><br>
  <soap_env:Body><br>
   <cwmp:Inform><br>
    <DeviceId><br>
     <Manufacturer>easycwmp</Manufacturer><br>
     <OUI>FFFFFF</OUI><br>
     <ProductClass>easycwmp</ProductClass><br>
     <SerialNumber>FFFFFF123456</SerialNumber><br>
    </DeviceId><br>
    <Event soap_enc:arrayType="cwmp:EventStruct[2]"><br>
     <EventStruct><br>
      <EventCode>0 BOOTSTRAP</EventCode><br>
      <CommandKey /><br>
     </EventStruct><br>
     <EventStruct><br>
      <EventCode>2 PERIODIC</EventCode><br>
      <CommandKey /><br>
     </EventStruct><br>
    </Event><br>
    <MaxEnvelopes>1</MaxEnvelopes><br>
    <CurrentTime>2017-05-24T09:49:43+00:00</CurrentTime><br>
    <RetryCount>0</RetryCount><br>
    <ParameterList soap_enc:arrayType="cwmp:ParameterValueStruct[10]"><br>
     <ParameterValueStruct><br>
      <Name>Device.DeviceInfo.HardwareVersion</Name><br>
      <Value xsi:type="xsd:string">example_hw_version</Value><br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.DeviceInfo.Manufacturer</Name><br>
      <Value xsi:type="xsd:string">easycwmp</Value><br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.DeviceInfo.ManufacturerOUI</Name><br>
      <Value xsi:type="xsd:string">FFFFFF</Value><br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.DeviceInfo.ProductClass</Name><br>
      <Value xsi:type="xsd:string">easycwmp</Value><br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.DeviceInfo.ProvisioningCode</Name><br>
      <Value xsi:type="xsd:string"></Value><br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.DeviceInfo.SerialNumber</Name><br>
      <Value xsi:type="xsd:string">FFFFFF123456</Value><br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.DeviceInfo.SoftwareVersion</Name><br>
      <Value xsi:type="xsd:string">example_sw_version</Value><br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.DeviceInfo.SpecVersion</Name><br>
      <Value xsi:type="xsd:string">1.0</Value><br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.ManagementServer.ConnectionRequestURL</Name><br>
      <Value xsi:type="xsd:string"><a href="http://172.31.13.243:7547/%3C/Value%3E">http://172.31.13.243:7547/</Value></a> [<a href="http://172.31.13.243:7547/%3C/Value%3E" target="_blank">^</a>]<br>
     </ParameterValueStruct><br>
     <ParameterValueStruct><br>
      <Name>Device.ManagementServer.ParameterKey</Name><br>
      <Value xsi:type="xsd:string"></Value><br>
     </ParameterValueStruct><br>
    </ParameterList><br>
   </cwmp:Inform><br>
  </soap_env:Body><br>
 </soap_env:Envelope><br>
--- SEND HTTP REQUEST ---<br>
* Trying 54.210.130.183...<br>
* Connection timed out after 30001 milliseconds<br>
* Closing connection 0<br>
rpc_inform(218): sending Inform http message failed<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<br>
Magesh<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).<div>If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.<div>In such cases, please notify us immediately at info@infinite.com . Further, you are not to copy, <div>disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are <div>considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize<div>this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should <div>carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor<div>and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail<div>address may be stored on the Infinite e-mail system. <br><div>***INFINITE******** End of Disclaimer********INFINITE******** </body>
</html>