无法使用试用帐户连接到累积 [英] Can't connect to cumulocity using trial account

查看:79
本文介绍了无法使用试用帐户连接到累积的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我向MQTTBox添加了2个帐户,一个是试用帐户,另一个不是. 有了试用帐户,我就无法连接笨拙.

这是我的配置:

MQTTBox配置

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

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

解决方案

您域(nur)中的前缀不一定是租户的ID(取决于Cumulocity安装和租户的生成方式)./p>

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

例如,您可以使用邮递员检查租户的实际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": "..."
}

您需要使用名称".

I've added 2 accounts to MQTTBox, one is a trial account the other is not. With the trial account i fail to connect to cumulocity.

Here's my config:

MQTTBox config

I've also tried setting Username as nur.eu-latest/nuno.rodrigues@together.pt

Why can't i connect with the trial account? Thank you.

解决方案

The prefix in your domain (nur) is not necessarily the ID of your tenant (that depends on the Cumulocity installation and the way your tenant was generated).

MQTT always requires the actual ID of the tenant.

You can for example use postman to check the actual ID of your tenant:

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

The result should look something like this

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

The "name" is what you need to use.

这篇关于无法使用试用帐户连接到累积的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆