Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8802

[fiware-stackoverflow] Fiware iot agent error on creating service and registration

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 12-02-2017 at 00:02
      Please, ANSWER this question AT https://stackoverflow.com/questions/42182689/fiware-iot-agent-error-on-creating-service-and-registration

      Question:
      Fiware iot agent error on creating service and registration

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

      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

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 58m 1 Backlog Manager 22/May/17 6:04 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 22/May/17 9:04 PM
        Answered Answered Closed Closed
        6d 16h 10m 1 José Ignacio Carretero Guarde 29/May/17 1:15 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        jicg José Ignacio Carretero Guarde made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        jicg José Ignacio Carretero Guarde made changes -
        Assignee José Ignacio Carretero Guarde [ jicg ]
        fla Fernando Lopez made changes -
        HD-Enabler IDAS [ 10884 ]
        Description
        Created question in FIWARE Q/A platform on 12-02-2017 at 00:02
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42182689/fiware-iot-agent-error-on-creating-service-and-registration


        +Question:+
        Fiware iot agent error on creating service and registration

        +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 reuest .

        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&#39; -d @- ) &lt;&lt; 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
        Created question in FIWARE Q/A platform on 12-02-2017 at 00:02
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42182689/fiware-iot-agent-error-on-creating-service-and-registration


        +Question:+
        Fiware iot agent error on creating service and registration

        +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 reuest .

        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&#39; -d @- ) &lt;&lt; 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
        HD-Chapter IoT [ 10839 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 21:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 21:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 18:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 18:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 15:07|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 15:07|CREATED monitor | # answers= 1, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            jicg José Ignacio Carretero Guarde
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: