Node-red. Issue in connecting MQTT
up vote
0
down vote
favorite
I created an AWS IoT thing, certificate and a policy then attach policy and thing with certificate.
Then installed node-red and use http://127.0.0.1:1880 for creating flow.
But when I configure a MQTT, it got disconnected. The configuration i gave in MQTT in node-red are ::
- server - AWS Iot -> settings -> endpoint
- port - 8883
- Enable secure (SSL/TLS) connection - True (upload all certificates)
- Topic - "sample"
And deployed but always it shows disconnected.
This is my IoT policy ::
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:*",
"Resource": "*"
}
]
}
Please help to solve this
amazon-web-services mqtt iot node-red aws-iot
add a comment |
up vote
0
down vote
favorite
I created an AWS IoT thing, certificate and a policy then attach policy and thing with certificate.
Then installed node-red and use http://127.0.0.1:1880 for creating flow.
But when I configure a MQTT, it got disconnected. The configuration i gave in MQTT in node-red are ::
- server - AWS Iot -> settings -> endpoint
- port - 8883
- Enable secure (SSL/TLS) connection - True (upload all certificates)
- Topic - "sample"
And deployed but always it shows disconnected.
This is my IoT policy ::
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:*",
"Resource": "*"
}
]
}
Please help to solve this
amazon-web-services mqtt iot node-red aws-iot
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I created an AWS IoT thing, certificate and a policy then attach policy and thing with certificate.
Then installed node-red and use http://127.0.0.1:1880 for creating flow.
But when I configure a MQTT, it got disconnected. The configuration i gave in MQTT in node-red are ::
- server - AWS Iot -> settings -> endpoint
- port - 8883
- Enable secure (SSL/TLS) connection - True (upload all certificates)
- Topic - "sample"
And deployed but always it shows disconnected.
This is my IoT policy ::
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:*",
"Resource": "*"
}
]
}
Please help to solve this
amazon-web-services mqtt iot node-red aws-iot
I created an AWS IoT thing, certificate and a policy then attach policy and thing with certificate.
Then installed node-red and use http://127.0.0.1:1880 for creating flow.
But when I configure a MQTT, it got disconnected. The configuration i gave in MQTT in node-red are ::
- server - AWS Iot -> settings -> endpoint
- port - 8883
- Enable secure (SSL/TLS) connection - True (upload all certificates)
- Topic - "sample"
And deployed but always it shows disconnected.
This is my IoT policy ::
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:*",
"Resource": "*"
}
]
}
Please help to solve this
amazon-web-services mqtt iot node-red aws-iot
amazon-web-services mqtt iot node-red aws-iot
asked Nov 7 at 10:18
lekshmi
14
14
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53187454%2fnode-red-issue-in-connecting-mqtt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown