[Backlogmanager] [FIWARE-JIRA] (HELP-8915) [fiware-stackoverflow] Fiware error on creating service and registration for a device

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Wed Sep 12 11:36:00 CEST 2018


     [ https://jira.fiware.org/browse/HELP-8915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-8915:
---------------------------------
    Description: 
Created question in FIWARE Q/A platform on 12-02-2017 at 13:02
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42187427/fiware-error-on-creating-service-and-registration-for-a-device


+Question:+
Fiware error on creating service and registration for a device

+Description:+
i am a fiware user and i have created an iot agent on an ubuntu 14.04 empty vm and when i send a create service or a device registration request ,  i get an error. And i've made sure that the ports listen properly and i've also allowed tcp connection on the port 4061. and also get an error whenever i send the request . 

here's the create service request 

(curl -H 'content-type: application/json' -H 'fiware-service: bla770' -H 'fiware-servicepath: /howtobla770' -X POST 'http://217.172.12.243:4061/iot/services' -d @- ) << EOF
{
    "services": [
        {
            "apikey": "api70",
            "token": "token",
            "cbroker": "http://147.27.60.58:1026",
            "resource": "/iot/d",
            "entity_type": "thing"
        }
    ]
}
EOF


and this is the error which i get .

connect to 217.172.12.243 port 4061 failed: Connection timed out
* Failed to connect to 217.172.12.243 port 4061: Connection timed out


Although i have allowed  the port 4061 through the firewall by the command 
sudo ufw allow 4061

sudo ufw allow 4061


So, what could be done to solve this error please ?


  was:

Created question in FIWARE Q/A platform on 12-02-2017 at 13:02
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42187427/fiware-error-on-creating-service-and-registration-for-a-device


+Question:+
Fiware error on creating service and registration for a device

+Description:+
i am a fiware user and i have created an iot agent on an ubuntu 14.04 empty vm and when i send a create service or a device registration request ,  i get an error. And i've made sure that the ports listen properly and i've also allowed tcp connection on the port 4061. and also get an error whenever i send the request . 

here's the create service request 

(curl -H 'content-type: application/json' -H 'fiware-service: bla770' -H 'fiware-servicepath: /howtobla770' -X POST 'http://217.172.12.243:4061/iot/services' -d @- ) << EOF
{
    "services": [
        {
            "apikey": "api70",
            "token": "token",
            "cbroker": "http://147.27.60.58:1026",
            "resource": "/iot/d",
            "entity_type": "thing"
        }
    ]
}
EOF


and this is the error which i get .

connect to 217.172.12.243 port 4061 failed: Connection timed out
* Failed to connect to 217.172.12.243 port 4061: Connection timed out


Although i have allowed  the port 4061 through the firewall by the command 
sudo ufw allow 4061

sudo ufw allow 4061


So, what could be done to solve this error please ?


     HD-Enabler: Orion

> [fiware-stackoverflow] Fiware error on creating service and registration for a device
> -------------------------------------------------------------------------------------
>
>                 Key: HELP-8915
>                 URL: https://jira.fiware.org/browse/HELP-8915
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>              Labels: fiware, iota
>
> Created question in FIWARE Q/A platform on 12-02-2017 at 13:02
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42187427/fiware-error-on-creating-service-and-registration-for-a-device
> +Question:+
> Fiware error on creating service and registration for a device
> +Description:+
> i am a fiware user and i have created an iot agent on an ubuntu 14.04 empty vm and when i send a create service or a device registration request ,  i get an error. And i've made sure that the ports listen properly and i've also allowed tcp connection on the port 4061. and also get an error whenever i send the request . 
> here's the create service request 
> (curl -H 'content-type: application/json' -H 'fiware-service: bla770' -H 'fiware-servicepath: /howtobla770' -X POST 'http://217.172.12.243:4061/iot/services' -d @- ) << EOF
> {
>     "services": [
>         {
>             "apikey": "api70",
>             "token": "token",
>             "cbroker": "http://147.27.60.58:1026",
>             "resource": "/iot/d",
>             "entity_type": "thing"
>         }
>     ]
> }
> EOF
> and this is the error which i get .
> connect to 217.172.12.243 port 4061 failed: Connection timed out
> * Failed to connect to 217.172.12.243 port 4061: Connection timed out
> Although i have allowed  the port 4061 through the firewall by the command 
> sudo ufw allow 4061
> sudo ufw allow 4061
> So, what could be done to solve this error please ?



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy