# CONNECTION REQUEST

**URL:** <https://forum.genieacs.com/t/connection-request/773>\
**Category:** Uncategorized\
**Created:** [May 12, 2020, 5:05pm UTC](https://forum.genieacs.com/t/connection-request/773 "2020-05-12T17:05:16Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![RRamos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RRamos](https://forum.genieacs.com/u/RRamos)\
**Post date:** [May 12, 2020, 5:05pm UTC](https://forum.genieacs.com/t/connection-request/773/1 "2020-05-12T17:05:16Z")

</div>

I am having issue to simulate a CONNECTION REQUEST from ACS to CPE.

Is there a way to simulate this method using GenieACS?

What is the rule to create the credentials?

Do I need to use Device ID as user ID?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [May 15, 2020, 5:21pm UTC](https://forum.genieacs.com/t/connection-request/773/2 "2020-05-15T17:21:44Z")

</div>

there is a genieacs-simulator you can use. Look in the github repo.

---

<div class="post-metadata">

**Author:** ![RRamos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RRamos](https://forum.genieacs.com/u/RRamos)\
**Post date:** [May 20, 2020, 8:01pm UTC](https://forum.genieacs.com/t/connection-request/773/3 "2020-05-20T20:01:40Z")

</div>

My questions is how to build / call the CONNECTION REQUEST function having a Genie being tested with some ONUs?  
Can you give some guidance about usage of this feature?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [May 20, 2020, 8:14pm UTC](https://forum.genieacs.com/t/connection-request/773/4 "2020-05-20T20:14:16Z")

</div>

I’m not understanding what you are trying to do.

Are you trying to initiate a connection from the ACS to the CPE?

> **[genieacs/genieacs](https://github.com/genieacs/genieacs/wiki/API-Reference#post-devicesdevice_idtasksconnection_request)**
>
> A fast and lightweight TR-069 Auto Configuration Server (ACS) - genieacs/genieacs

---

<div class="post-metadata">

**Author:** ![RRamos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RRamos](https://forum.genieacs.com/u/RRamos)\
**Post date:** [May 21, 2020, 12:00pm UTC](https://forum.genieacs.com/t/connection-request/773/5 "2020-05-21T12:00:27Z")

</div>

This is absolutely correct. We are trying to force GenieACS to send a connection request to CPE, in order to confirm if CPE will send a Inform in less than 30 seconds.

The question is how to force Genie to send a connection request. Can you send to us an example?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [May 21, 2020, 4:34pm UTC](https://forum.genieacs.com/t/connection-request/773/6 "2020-05-21T16:34:14Z")

</div>

> [@RRamos](#):
>
> Can you send to us an example?

The link in my previous comment tells you exactly how to send a connection request to the CPE.

---

<div class="post-metadata">

**Author:** ![RRamos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RRamos](https://forum.genieacs.com/u/RRamos)\
**Post date:** [May 22, 2020, 12:37pm UTC](https://forum.genieacs.com/t/connection-request/773/7 "2020-05-22T12:37:06Z")

</div>

We made some progress: Using the example in the wiki page, we issued the command below. However, it looks like that CONNECT REQUEST was not accepted, because CPE didn´t issue a INFORM stating that the event was related to CONNECTION REQUEST. Moreover the change was sucessfully executed just when reached the interval of Periodic Inform, which was set to 200 seconds.

* * *

curl -i ‘[http://localhost:7557/devices/00D0CB-ONT-FRKW63f183c8/tasks?timeout=3000&connection\_request](http://localhost:7557/devices/00D0CB-ONT-FRKW63f183c8/tasks?timeout=3000&connection_request)’   
-X POST \

```
--data '{ "name": "getParameterValues", "parameterNames": ["InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID"] }'

```

* * *

I am guessing that the our assumption is correct, I mean, issuing a connecting request via NBI, should request a CPE to start a INFORM within 30 sec , allowing us to proceed with the comissioning activities.  
Could you please confirm?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [May 22, 2020, 5:37pm UTC](https://forum.genieacs.com/t/connection-request/773/8 "2020-05-22T17:37:04Z")

</div>

This should cause the CPE to inform right away.

As a test, you can try sending a request to the address in InternetGatewayDevice.ManagementServer.ConnectionRequestURL of the CPE. Example:

```auto
curl -i http://172.17.244.241:30005/

```

If you don’t see a connection request right away from the CPE to the ACS, then there might be something wrong with the config on the CPE.

-dan

---

<div class="post-metadata">

**Author:** ![RRamos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RRamos](https://forum.genieacs.com/u/RRamos)\
**Post date:** [May 25, 2020, 9:19pm UTC](https://forum.genieacs.com/t/connection-request/773/9 "2020-05-25T21:19:27Z")

</div>

The sittuation is getting better. CONNECTION REQUEST issue is over, but I found a problem while testing NBI with Postman tool. The NBI works perfectly when I use curl commands in terminal to test SET/GET parameter values through ACS to configure CPE. However, the procedure doesn’t work when I use the same commands in Postman application. For example:  
The URL command used to set SSID using NBI interface through connection request is the following:  
1)  
[http://10.0.3.107:7557/devices/00D0CB-ONT-FRKW63f183c8/tasks?connection\_request](http://10.0.3.107:7557/devices/00D0CB-ONT-FRKW63f183c8/tasks?connection_request)

1. 

{  
“name”: “setParameterValues”,  
“parameterValues”: [  
[  
“InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID”,  
“Genie41w”,  
“xsd:string”  
]  
]  
}  
Where 00D0CB-ONT-FRKW63f183c8 is the device ID and (2) is the JSON message. But when I send this message, I got an 500 internal server error message, accusing that “task name not recognized”.  
Do you know what is causing this problem? Is there any problem with the connection request instruction that I’m sending?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [May 26, 2020, 10:15pm UTC](https://forum.genieacs.com/t/connection-request/773/10 "2020-05-26T22:15:56Z")

</div>

Everything on the surface looks good. I’d use wireshark and look at the packets generated via curl and those via Postman. As my buddy likes to say, “the packets don’t lie”

---

<div class="post-metadata">

**Author:** ![RRamos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RRamos](https://forum.genieacs.com/u/RRamos)\
**Post date:** [May 27, 2020, 2:44pm UTC](https://forum.genieacs.com/t/connection-request/773/11 "2020-05-27T14:44:46Z")

</div>

The issue is over. It is working without problem.

Thanks a lot for your support and you may close the thread.

Remark: I have another issue with Firmware upgrade, but I will open a new discussion topic.

---

<div class="post-metadata">

**Author:** ![hieunguyenbn](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/hieunguyenbn/32/1149_2.png) [@hieunguyenbn](https://forum.genieacs.com/u/hieunguyenbn)\
**Post date:** [January 13, 2023, 9:30am UTC](https://forum.genieacs.com/t/connection-request/773/12 "2023-01-13T09:30:23Z")

</div>

Hi, the connection request url in my server is blank, how do I trigger a connection request from the acs server ? I tried refresh to get the URL but got an error. I also set the url in my “easycwmp” device but it’s not allowed.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/c/c60c4dc2766a2f9f21da29c3e7812da2957e5e05.png)

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [January 13, 2023, 8:01pm UTC](https://forum.genieacs.com/t/connection-request/773/13 "2023-01-13T20:01:35Z")

</div>

Necromancy is frowned upon. Please create your own topic.
