[Backlogmanager] [FIWARE-JIRA] (HELP-8861) [fiware-stackoverflow] Fiware: Issue when registering a service through IDAS

José Ignacio Carretero Guarde (JIRA) jira-help-desk at jira.fiware.org
Mon May 29 11:35:00 CEST 2017


     [ https://jira.fiware.org/browse/HELP-8861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

José Ignacio Carretero Guarde reassigned HELP-8861:
---------------------------------------------------

    Assignee: Backlog Manager

> [fiware-stackoverflow] Fiware: Issue when registering a service through IDAS
> ----------------------------------------------------------------------------
>
>                 Key: HELP-8861
>                 URL: https://jira.fiware.org/browse/HELP-8861
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Backlog Manager
>              Labels: fiware
>
> Created question in FIWARE Q/A platform on 07-01-2016 at 17:01
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/34660409/fiware-issue-when-registering-a-service-through-idas
> +Question:+
> Fiware: Issue when registering a service through IDAS
> +Description:+
> I'm using IDAS. I can register a service through an IoT Agent, but if I try to do it using the iota manager, seems that I can't due to an issue with the protocols. When I try to register it:
> curl -X POST 172.21.0.23:8091/iot/services \
> -i  \
> -H "Content-Type: application/json" \
> -H "Fiware-Service: sanitysrvm" \
> -H "Fiware-ServicePath: /sanitysspath" \
> -d '{"services": [{ "apikey": "apikey", "token": "token", "cbroker": "http://127.0.0.1:1026", "entity_type": "thingsrv", "protocol": ["PDI-IoTA-UltraLight"] }]}'  
> I get this response:
> HTTP/1.1 400 Bad Request
> Connection: close
> Host: 172.21.0.23:8091
> Content-Length: 94
> Content-Type: application/json
> {"reason":"The request is not well formed","details":"No exists protocol PDI-IoTA-UltraLight"}
> I have checked the protocols:
> http://172.21.0.23:8091/iot/protocols
> But seems that there are none:
> { "count": 0,"protocols": []}
> Is this issue related, as it seems, with the protocol?
> Can be that the protocol wan't correctly defined when installing the IDAS?
> How should I define the protocols?
> Thanks!



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

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