How to determine acs url from installed genieacs?

Magesh Balaji Magesh.Balaji at infinite.com
Thu May 25 07:28:17 EDT 2017


Hi,

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.

GenieACS is up and running fine. able to access gui using http://54.210.130.183:3000

In both the EC2 instances we made it to allow all traffic.


  1.  How to identify the ACS URL from genieACS. So that i can provide in the easycwmp uci configuration.
config acs
option url http://54.210.130.183:7547/openacs/acs ==> Not sure about the path (/openacs/acs) in the URL.


2.       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.




But we see the packets on 7547 port eth0 interface on genieacs ec2 instance.

configured the logging level to 0 in the option logging_level '0'

where can we see the log file for easycwmp to check why connection is getting timed out?



================================== ACS client tr069 ===================================
ubuntu at ip-172-31-13-243<mailto:ubuntu at ip-172-31-13-243>:~$ sudo easycwmpd -f
2017-05-24 09:49:43 [easycwmp] NOTICE - add event '0 BOOTSTRAP'
2017-05-24 09:49:43 [easycwmp] NOTICE - add event '2 PERIODIC'
2017-05-24 09:49:43 [easycwmp] NOTICE - external script init
config_init_local(55):: easycwmp. at local[0].interface=eth0
config_init_local(65):: easycwmp. at local[0].port=7547
config_init_local(83):: easycwmp. at local[0].ubus_socket=/var/run/ubus.sock
config_init_local(71):: easycwmp. at local[0].username=easycwmp
config_init_local(77):: easycwmp. at local[0].password=easycwmp
config_init_local(94):: easycwmp. at local[0].logging_level=0
config_init_acs(159):: easycwmp. at acs[0].url=http://54.210.130.183:7547/openacs/acs [^<http://54.210.130.183:7547/openacs/acs>]
config_init_acs(165):: easycwmp. at acs[0].username=easycwmp
config_init_acs(171):: easycwmp. at acs[0].password=easycwmp
config_init_acs(177):: easycwmp. at acs[0].periodic_enable=1
config_init_acs(183):: easycwmp. at acs[0].periodic_interval=100
config_init_acs(190):: easycwmp. at acs[0].periodic_time=0001-01-01T00:00:00Z
main(320): ubus initialization failed
+++ HTTP SERVER CONFIGURATION +++
ip: '172.31.13.243'
port: '7547'
--- HTTP SERVER CONFIGURATION ---
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(50):: url: http://54.210.130.183:7547/openacs/acs [^<http://54.210.130.183:7547/openacs/acs>]
http_client_init(56):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
+++ SEND HTTP REQUEST +++
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <soap_env:Envelope
xmlns:soap_env="http://schemas.xmlsoap.org/soap/envelope/"<http://schemas.xmlsoap.org/soap/envelope/%22> [^<http://schemas.xmlsoap.org/soap/envelope/%22>]
xmlns:soap_enc="http://schemas.xmlsoap.org/soap/encoding/"<http://schemas.xmlsoap.org/soap/encoding/%22> [^<http://schemas.xmlsoap.org/soap/encoding/%22>]
xmlns:xsd="http://www.w3.org/2001/XMLSchema"<http://www.w3.org/2001/XMLSchema%22> [^<http://www.w3.org/2001/XMLSchema%22>]
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance%22> [^<http://www.w3.org/2001/XMLSchema-instance%22>]
xmlns:cwmp="urn:dslforum-org:cwmp-1-2">
  <soap_env:Header>
   <cwmp:ID soap_env:mustUnderstand="1">1</cwmp:ID>
  </soap_env:Header>
  <soap_env:Body>
   <cwmp:Inform>
    <DeviceId>
     <Manufacturer>easycwmp</Manufacturer>
     <OUI>FFFFFF</OUI>
     <ProductClass>easycwmp</ProductClass>
     <SerialNumber>FFFFFF123456</SerialNumber>
    </DeviceId>
    <Event soap_enc:arrayType="cwmp:EventStruct[2]">
     <EventStruct>
      <EventCode>0 BOOTSTRAP</EventCode>
      <CommandKey />
     </EventStruct>
     <EventStruct>
      <EventCode>2 PERIODIC</EventCode>
      <CommandKey />
     </EventStruct>
    </Event>
    <MaxEnvelopes>1</MaxEnvelopes>
    <CurrentTime>2017-05-24T09:49:43+00:00</CurrentTime>
    <RetryCount>0</RetryCount>
    <ParameterList soap_enc:arrayType="cwmp:ParameterValueStruct[10]">
     <ParameterValueStruct>
      <Name>Device.DeviceInfo.HardwareVersion</Name>
      <Value xsi:type="xsd:string">example_hw_version</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.DeviceInfo.Manufacturer</Name>
      <Value xsi:type="xsd:string">easycwmp</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.DeviceInfo.ManufacturerOUI</Name>
      <Value xsi:type="xsd:string">FFFFFF</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.DeviceInfo.ProductClass</Name>
      <Value xsi:type="xsd:string">easycwmp</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.DeviceInfo.ProvisioningCode</Name>
      <Value xsi:type="xsd:string"></Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.DeviceInfo.SerialNumber</Name>
      <Value xsi:type="xsd:string">FFFFFF123456</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.DeviceInfo.SoftwareVersion</Name>
      <Value xsi:type="xsd:string">example_sw_version</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.DeviceInfo.SpecVersion</Name>
      <Value xsi:type="xsd:string">1.0</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.ManagementServer.ConnectionRequestURL</Name>
      <Value xsi:type="xsd:string">http://172.31.13.243:7547/</Value><http://172.31.13.243:7547/%3C/Value%3E> [^<http://172.31.13.243:7547/%3C/Value%3E>]
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>Device.ManagementServer.ParameterKey</Name>
      <Value xsi:type="xsd:string"></Value>
     </ParameterValueStruct>
    </ParameterList>
   </cwmp:Inform>
  </soap_env:Body>
 </soap_env:Envelope>
--- SEND HTTP REQUEST ---
* Trying 54.210.130.183...
* Connection timed out after 30001 milliseconds
* Closing connection 0
rpc_inform(218): sending Inform http message failed


Thanks,
Magesh

This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).

If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.

In such cases, please notify us immediately at info at infinite.com . Further, you are not to copy, 

disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are 

considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize

this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should 

carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor

and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail

address may be stored on the Infinite e-mail system. 

***INFINITE******** End of Disclaimer********INFINITE******** 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170525/41c9a1e2/attachment.html>


More information about the Users mailing list