错误:无效" keyPath" AWS IoT Node-red中提供的选项

时间:2017-01-10 11:27:19

标签: aws-iot

我在使用node-red-contrib-aws-iot尝试在Raspberry Pi上使用节点红色的aws iot时收到此消息。

我已经尝试将证书放在各种目录中,〜/,〜/ .node-red /,〜/ .node-red / certs / etc但总是得到相同的错误

有谁知道证书的正确位置在哪里,以及aws-iot-broker节点安全选项卡设置的正确对应密钥路径是什么?

提前谢谢

2 个答案:

答案 0 :(得分:0)

在这里,我们需要添加客户端ID以及证书名称,然后我们才能连接它。

答案 1 :(得分:0)

如果您收到此错误,请注意最近版本中的更改

证书的文件规范已更改!因此,您可能需要更改证书的文件名。

请参阅https://github.com/cuongquay/node-red-contrib-aws-iot/commit/bba0df4b0fa8e13a60f98c0ba05e57f423ad9bf8

直到二月才是:

SELECT 
    i.id_items AS id,
    GROUP_CONCAT(DISTINCT aot.translation ORDER BY aot.translation DESC SEPARATOR '!¡') AS attribute_one,
    GROUP_CONCAT(DISTINCT att.translation ORDER BY att.translation DESC SEPARATOR '!¡') AS attribute_two
FROM
    items i
LEFT JOIN 
    languages AS l ON l.language_code = 'en'

LEFT JOIN 
    attributes_one_match AS aom ON aom.id_items = i.id_items 
LEFT JOIN 
    attributes_one_translations AS aot ON aot.id_attributes_one = aom.id_attributes_one 
    AND l.id_languages = aot.id_language_code 
    AND (MATCH (aot.translation) AGAINST ('"Gold"' IN BOOLEAN MODE) 
        OR MATCH (aot.translation) AGAINST ('"Silver"' IN BOOLEAN MODE))
LEFT JOIN 
    attributes_one AS ao ON ao.id_attributes_one = aom.id_attributes_one 

LEFT JOIN 
    attributes_two_match AS atm ON atm.id_items = i.id_items 
LEFT JOIN 
    attributes_two_translations AS att ON att.id_attributes_two = atm.id_attributes_two
    AND l.id_languages = att.id_language_code 
LEFT JOIN 
    attributes_two AS at ON at.id_attributes_two = atm.id_attributes_two

GROUP BY id

ORDER BY 2 ASC

现在一定是:

id | attribute_one | attribute_two
2  | Gold          | null
1  | Silver!¡Gold  | 99% gold