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

FIWARE.Request.Tech.Data.OrionContextBroker.FIWAR.Tech.ssistance3

    Details

      Description

      Dear all

      I'm sending a subscription event to my Orion Context Broker instance and I
      have always the same error:

      <subscribeContextResponse>
      <subscribeError>
      <errorCode>
      <code>400</code>
      <reasonPhrase>Bad Request</reasonPhrase>
      <details>JSON Parse Error: <unspecified file>(1): invalid escape
      sequence</details>
      </errorCode>
      </subscribeError>
      </subscribeContextResponse>

      Attached you'll find two scripts that I have in my VM. I have this problem
      launching these scripts and also from my Java application.

      Demo.sh is the same code that I find at
      https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_User_and_Programmers_Guide#ONCHANGE
      I copy this script from the web, but I change the URL of the method of
      subscription: I put localhost:1026/ngsi10/subscribeContext instead of
      localhost:1026/v1/subscribeContext

      And suscription.sh is my code.

      Could you help me with this?

      Best regards, Jesús

      Jesús Martinez
      ICT
      PYRO FIRE EXTINCTION,S.L.
      Centro de Desarrollo Empresarial - Edificio 9B
      Universitat Politècnica de València
      Camino de Vera s/n - 46022 Valencia - (Valencia) - SPAIN
      (Email) jesus.martinez@pyro.es <joselizgrana@pyro.es>
      www.pyro.es

      Este mensaje puede contener información privilegiada/confidencial. Su
      contenido es para uso exclusivo de sus destinatarios, po lo que queda
      prohibida la difusión, copia o utilización de dicha información por terceros.
      Si usted no es la persona a la que se dirige el mensaje (ni tampoco
      responsable para entregárselo a dicha persona), le comunicamos que la
      distribución, copia o utilización de este mensaje, o de cualquier documento
      adjunto al mismo, cualquiera que fuera su finalidad, están prohibidas por la
      ley. En caso de haber recibido este mensaje por error, le rogamos que, de
      forma inmediata, nos lo comunique mediante correo electrónico remitido a
      nuestra atención a info@pyro.es y proceda a su eliminación, así como a la
      de cualquier documento adjunto al mismo.
      Gracias por su colaboración.

      Privileged/Confidential Information may be contained in this message.
      Therefore any disclosure, copying or use by third parties of this
      information is prohibited. If you are not the address indicated in this
      message, you are hereby notified that any dissemination, distribution,
      copying or use of this message or any attachments, for any purpose, is
      strictly prohibited by law. If you are not the address indicated in this
      message, you should immediately delete it and any attachments and notify
      the sender by reply e-mail to info@pyro.es.
      Thank you for your co-operation.

      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: Jesus martinez <jesus.martinez@pyro.es>]

      1. demo.sh
        0.6 kB
        FW External User
      2. suscription.sh
        0.9 kB
        FW External User
      1. Logo-Pyro-Mail.jpg
        17 kB

        Activity

        Hide
        fermin Fermín Galán added a comment -

        Answered. Discussion will continue by email and/or StackOverflow.

        Show
        fermin Fermín Galán added a comment - Answered. Discussion will continue by email and/or StackOverflow.

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: