[Fiware-lab-help] [FI-WARE-JIRA] (FLUA-1208) Invalid server response protocol scheme missing

Carlos Falquez falquez at nuberisim.de
Sat Jul 18 21:09:08 CEST 2015


Dear all,

As per instructions on the wiki "Authenticate tenant to get token for Object 
Storage"

https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide#3._Authenticate_tenant_to_get_token_for_Object_Storage

The server response is malformed, see line 1141 in the attached file 
(authenticated_step3_18072015.json).

The relevant section is

{   
    "adminURL": "http://172.32.0.144:8777",
    "region": "Spain2",
    "internalURL": "172.32.0.144:8777",
    "id": "47a60593935641dd9c27d46378d1b7f0",
    "publicURL": "http://130.206.112.3:8777"
}

The value of "internalURL" is invalid, the protocol scheme is missing,
and the java parser our project is using throws the exception:

Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not 
construct instance of java.net.URI from String value '172.32.0.144:8777': not 
a valid textual representation, problem: Illegal character in scheme name at 
index 0: 172.32.0.144:8777

Such invalid URL values are a breach of the OpenStack API
http://developer.openstack.org/api-ref-identity-v2.html

Please correct the invalid value by adding the correct protocol scheme,
for example:

"internalURL": "http://172.32.0.144:8777"

This is the second time we experience that the FIWARE OpenStack Identity API
returns a malformed response.

Please correct the problem as soon as possible and check for any other 
malformed values.

Kind regards,

Carlos Falquez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: authenticated_step3_18072015.json
Type: application/json
Size: 97345 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150718/bcba6adb/attachment.json>


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