无法使用试用帐户连接到 cumulocity
Can't connect to cumulocity using trial account
我在 MQTTBox 中添加了 2 个帐户,一个是试用帐户,另一个不是。
使用试用帐户我无法连接到 cumulocity。
这是我的配置:
MQTTBox config
我也试过将用户名设置为 nur.eu-latest/nuno.rodrigues@together.pt
为什么我无法连接到试用帐户?谢谢。
您域中的前缀 (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": "..."
}
"name"就是你需要用到的
我在 MQTTBox 中添加了 2 个帐户,一个是试用帐户,另一个不是。 使用试用帐户我无法连接到 cumulocity。
这是我的配置:
MQTTBox config
我也试过将用户名设置为 nur.eu-latest/nuno.rodrigues@together.pt
为什么我无法连接到试用帐户?谢谢。
您域中的前缀 (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": "..."
}
"name"就是你需要用到的