Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:IDAS
Description
Created question in FIWARE Q/A platform on 07-01-2016 at 17:01
Please, ANSWER this question AT 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": [
]}'
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
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!
2017-05-22 15:09|CREATED monitor | # answers= 1, accepted answer= False