【问题标题】:Can't connect to cumulocity using trial account无法使用试用帐户连接到 cumulocity
【发布时间】:2019-03-02 00:46:40
【问题描述】:

我在 MQTTBox 中添加了 2 个帐户,一个是试用帐户,另一个不是。 使用试用帐户,我无法连接到 cumulocity。

这是我的配置:

MQTTBox config

我也尝试将用户名设置为 nur.eu-latest/nuno.rodrigues@together.pt

为什么我无法连接试用帐户?谢谢。

【问题讨论】:

    标签: cumulocity


    【解决方案1】:

    域中的前缀 (nur) 不一定是租户的 ID(这取决于 Cumulocity 安装和生成租户的方式)。

    MQTT 始终需要租户的实际 ID。

    例如,您可以使用 postman 来检查租户的实际 ID:

    GET /tenant/currentTenant HTTP/1.1
    Host: nur.eu-latest-cumulocity.com
    Authorization: {{auth}}
    

    结果应该是这样的

    {
        "allowCreateTenants": false,
        "customProperties": {},
        "domainName": "nur.eu-latest-cumulocity.com",
        "name": "t1234567890",
        "applications": "..."
    }
    

    “名称”是您需要使用的。

    【讨论】:

      猜你喜欢
      • 2011-11-18
      • 2022-01-22
      • 2019-09-07
      • 1970-01-01
      • 1970-01-01
      • 2021-11-30
      • 2016-12-04
      • 2023-03-20
      • 1970-01-01
      相关资源
      最近更新 更多