202 Invalid connection request URL or protocol

Hi All,
According to the API Reference, I test the following API, but it occurs error( Invalid connection request URL or protocol).

:~/$ curl -i ‘http://localhost:7557/devices/FFFFFF-easycwmp-FFFFFF123456/tasks?connection_request’ -X POST --data ‘{“name”: “refreshObject”, “objectName”: “”}’
HTTP/1.1 202 Invalid connection request URL or protocol
GenieACS-Version: 1.1.3
Content-Type: application/json
Date: Wed, 28 Aug 2019 08:40:12 GMT
Connection: keep-alive
Transfer-Encoding: chunked

{“name”:“refreshObject”,“objectName”:"",“device”:“FFFFFF-easycwmp-FFFFFF123456”,“timestamp”:“2019-08-28T08:40:12.691Z”,"_id":“5d663dec0da5dc2c55c717a1”}

but if I remove the connection_request option

:/$ curl -i ‘http://localhost:7557/devices/FFFFFF-easycwmp-FFFFFF123456/tasks’ -X POST --data ‘{“name”: “refreshObject”, “objectName”: “”}’
HTTP/1.1 202 Accepted
GenieACS-Version: 1.1.3
Content-Type: application/json
Date: Wed, 28 Aug 2019 08:47:19 GMT
Connection: keep-alive
Transfer-Encoding: chunked

{“name”:“refreshObject”,“objectName”:"",“device”:“FFFFFF-easycwmp-FFFFFF123456”,“timestamp”:“2019-08-28T08:47:19.685Z”,"_id":“5d663f9738f3b32c564f5658”}

any advice?

Hello.
I have a similar problem. I try the API and the following error occurs (202 Task queued but not processed)

curl -i -d ‘{“name”:“deleteObject”,“objectName”:[“InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3”]}’ -X POST ‘http://localhost:7557/devices/00259E-HG8245Q-FFF/tasks?timeout=3000&connection_request

HTTP/1.1 202 Task queued but not processed
Date: Thu, 26 Sep 2019 20:48:02 GMT
Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.4.16
GenieACS-Version: 1.1.2
Content-Type: application/json
Transfer-Encoding: chunked

what can it be?

@allen check the value in the parameter ConnectionRequestURL. It should be a valid URL.

@GLENDIS This is a very different issue. Check the logs and see if the device is initiating and successfully completing the session within 3 seconds.