[Fiware-portals] Fwd: Re: access to FI-WARE testbed from a FINESCE member

José Ignacio Carretero e.cloud10 at tid.es
Tue Oct 29 09:51:12 CET 2013


Hola,

Me envía ese usuario un problema que le está surgiendo utilizando el
portal que da acceso al testbed de Use Cases. Básicamente es un problema
con el descifrado de un JSON en el fichero jstack.js (línea 139).

Un saludo,
José Ignacio.

-------- Mensaje original --------
Asunto:         Re: access to FI-WARE testbed from a FINESCE member
Fecha:  Mon, 28 Oct 2013 11:15:20 +0100
De:     Pasquale Andriani <pasquale.andriani at eng.it>
Para:   José Ignacio Carretero <e.cloud10 at tid.es>
CC:     Henar Muñoz <henar at tid.es>, Luigi Briguglio <Luigi.Briguglio at eng.it>



Hi Josè, I still cannot login from my office (even if I can from my home).
I had a look to Firebug and it seems that the response is truncated.
Hereafter you can find the Request and the response. It also happen on
windows (with firefox).. so I think that the proxy is the cause.

Hope you can solve it.

Kind regards,
P.

REQUEST HEADER

POST http://cloud.testbed.fi-ware.eu/keystone/v2.0/tokens HTTP/1.1
Host: cloud.testbed.fi-ware.eu
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0)
Gecko/20100101 Firefox/24.0
Accept: application/json
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/json; charset=UTF-8
Referer: http://cloud.testbed.fi-ware.eu/
Content-Length: 89
Proxy-Authorization: Basic cGFzYW5kcmk6bmlrcGFzMTk4Ng==
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache


POST CONTENT

{"auth":{"passwordCredentials":{"username":"pasquale.andriani","password":"4AC3XxuPPA"}}}

RESPONSE HEADER

HTTP/1.0 200 OK
X-Powered-By: Express
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: HEAD, POST, GET, OPTIONS, DELETE
Access-Control-Allow-Headers: origin, content-type, X-Auth-Token, Tenant-ID
Content-Type: application/json
Vary: X-Auth-Token
Date: Mon, 28 Oct 2013 09:57:57 GMT
Transfer-Encoding: chunked
Content-Length: 268
X-Cache: MISS from proxy.eng.it
X-Cache-Lookup: MISS from proxy.eng.it:3128
Via: 1.0 proxy.eng.it:3128 (squid/2.6.STABLE5)
Proxy-Connection: keep-alive


RESPONSE CONTENT

10c
{"access": {"token": {"expires": "2013-10-29T09:57:57Z", "id":
"f3427faf501b43ba9e31edde1cc9c796"}, "serviceCatalog": {}, "user":
{"username": "pasquale.andriani", "roles_links": [], "id":
"925359584dfd445c863927f09a61e397", "roles": [], "name":
"pasquale.andrian

ERROR ON THE CONSOLE:

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data
result = JSON.parse(xhr.responseText); ==> in jstack.js (line 139)
Pasquale Andriani
Direzione Ricerca e Innovazione - Research & Development Lab
pasquale.andriani at eng.it

Engineering Ingegneria Informatica spa
Via Riccardo Morandi, 32 - 00148 Roma
Tel. +39-06.83074313
Mob. +39 3476939263
Fax. +39-06.83074408
www.eng.it


.........................


________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx



More information about the Fiware-portals mailing list

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