How to determine acs url from installed genieacs?

Dan Morphis dan at milkcarton.com
Thu May 25 10:07:26 EDT 2017


> http://54.210.130.183:7547/

You will want to put nginx or apache in front of the cwmp process in transparent proxy mode and require http auth. There is documentation for this on the wiki. You will also want to do https as this data is flowing over the public internet. 

Please don't expose your NBI (port 7557) to the world. You need to firewall this off. If you will only ever use the genie GUI then configure the NBI to listen on loopback. 

-dan

> On May 25, 2017, at 3:28 AM, Magesh Balaji <Magesh.Balaji at infinite.com> wrote:
> 
>  
> 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.
>  
> 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:~$ 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 [^]
> 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_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/" [^]
> xmlns:soap_enc="http://schemas.xmlsoap.org/soap/encoding/" [^]
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" [^]
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" [^]
> 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> [^]
>      </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******** 
> _______________________________________________
> 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/20170525/8d7ca4e4/attachment-0001.html>


More information about the Users mailing list