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

Error in IoT Broker on contacting iot discovery

    Details

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

      Description

      i'v delpoyed an iot discovery instance successfully , the " fiware ngsi9
      iot discovery" package . Now , when i forward an successful update to the
      iot Broker for a certain entity (while the entity is registered
      successfully in the iot discovery) , the iot broker doesn't contact either
      the discovery's URL or the context broker URL and only showing in the logs
      this errors.

      2017-02-13 03:31:48 WARN HttpRequester:281 - Unable to connect with the
      URL:http://127.0.0.1:5984/historicalrepository/entity__ahmedov~Room::$
      2017-02-13 03:31:48 ERROR CouchDB:230 - No response from CouchDB!!!
      2017-02-13 03:31:49 INFO SubscriptionStorage:1440 - Check Subscription
      query:org.hsqldb.jdbc.JDBCPreparedStatement@70cc76dc[sql=[( SELECT sub$
      2017-02-13 03:31:49 INFO IotBrokerCore:1394 - Started Contact pub/sub
      broker: http://localhost:8001/ngsi10/
      2017-02-13 03:31:49 INFO FullHttpRequester:90 -
      Sending 'POST' request to URL : http://localhost:8001/ngsi10/updateContext
      POST parameters : {"updateAction":"UPDATE","contextElements":[{"entityId":

      {"id":"ahmedov","type":"Room","isPattern":false}

      ,"domainMetadata":[{$

      2017-02-13 03:31:49 WARN FullHttpRequester:138 - Unable to connect with
      the URL:http://localhost:8001/ngsi10/updateContext. Reason: Connectio$
      2017-02-13 03:31:49 WARN Southbound:644 - Service Unavailable. URL:
      http://localhost:8001/ngsi10/updateContext. Service Unavailable

      although i have configured the the discovery's and the context broker's
      addresses in both fiwarerelease config.xml and the
      iotbroker-runner/iotbroker.conf.default this way

      in the iotbroker.conf.default:

      pub_sub_addr='http://147.27.60.58:1026'
      iotbroker_ngsi9uri='http://212.128.217.119:8080'

      and in the FiwareRelease config.xml this way :

      <entry key="ngsi9Uri">http://212.128.217.119:8080</entry>
      <entry key="ngsi9RemoteUrl">http://212.128.217.119:8080</entry>
      <entry key="pub_sub_addr">http://147.27.60.58:1026</entry>

      is it an error in the configuration itself .. and what could be done in
      this case ?

      Thanks
      Regards

      [Created via e-mail received from: ahmad essam <ahmad.elsayfy@gmail.com>]

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fcirillo Flavio Cirillo made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fcirillo Flavio Cirillo made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        Assignee Gilles Privat [ gprivat ]
        fla Fernando Lopez made changes -
        HD-Chapter IoT [ 10839 ]
        HD-Enabler IoT Discovery [ 10886 ]
        fla Fernando Lopez made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            gprivat Gilles Privat
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: