[Fiware-lab-help] FI-Lab Assitence

Jesus martinez jesus.martinez at pyro.es
Mon Dec 15 16:59:49 CET 2014


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 at pyro.es <joselizgrana at 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 at 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 at pyro.es.
*Thank you for your co-operation.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20141215/827d9973/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Logo-Pyro-Mail.jpg
Type: image/jpeg
Size: 17808 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20141215/827d9973/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demo.sh
Type: application/x-sh
Size: 631 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20141215/827d9973/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: suscription.sh
Type: application/x-sh
Size: 954 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20141215/827d9973/attachment-0001.sh>


More information about the Fiware-lab-help mailing list

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