[ https://jira.fiware.org/browse/HELP-12900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Veronika Vlnkova reassigned HELP-12900:
---------------------------------------
Assignee: Jose Gato Luis
> [fiware-askbot] Error code 500 from IDAS
> ----------------------------------------
>
> Key: HELP-12900
> URL: https://jira.fiware.org/browse/HELP-12900
> Project: Help-Desk
> Issue Type: Monitor
> Reporter: Backlog Manager
> Assignee: Jose Gato Luis
> Labels: IDAS, figway
>
> Created question in FIWARE Q/A platform on 06-11-2017 at 09:11
> {color: red}Please, ANSWER this question AT{color} https://ask.fiware.org/question/899/error-code-500-from-idas/
> +Question:+
> Error code 500 from IDAS
> +Description:+
> I would like to resister devices on IDAS using figway.
> But, It return a error as below:
> :~/fiware_dir/fiware-figway/python-IDAS4/Sensors_UL20 $ python RegisterDevice.py SENSOR_TEMP Sensor1 Devid
> * opening: ./devices/SENSOR_TEMP
> * Asking to http://192.168.128.151:4041/iot/devices
> * Headers: {'Fiware-Service': 'bus_auto', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
> * Headers: {'Fiware-Service': 'bus_auto', 'content-type': 'application/json', 'Fiware-ServicePath': '/', 'X-Auth-Token': 'NULL'}
> * Sending PAYLOAD:
> {
> "devices": [
> {
> "protocol": "PDI-IoTA-UltraLight",
> "entity_name": "Devid",
> "entity_type": "thing",
> "static_attributes": [
> {
> "type": "string",
> "name": "att_name",
> "value": "value"
> }
> ],
> "timezone": "Europe/Madrid",
> "attributes": [
> {
> "type": "int",
> "name": "temperature",
> "object_id": "t"
> }
> ],
> "device_id": "Sensor1"
> }
> ]
> }
> ...
> * Status Code: 500
> * Response:
> {"name":"Error","message":"Invalid protocol: 192.168.11.2:"}
> Why is the error occured?
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy