com.aws.greengrass.mqttclient.AwsIotMqttClient: Unable to connect to AWS IoT Core

0

My Green Grass V2 core device (2.5.3 and Running on Rpi3) cannot connect to AWS IoT Core using company network. If i am using 4G connection, it is able to connect it without any issue. Strange thing is that if I use Python script with same IoT core endpoint, cert and key to connect and publish MQTT message at company network, it is working fine. My question is GG device provisioning services use different end point or any means different than python script? by the way, I have changed greengrassDataPlanePort from "8443" to "443" too. Still unable to connect.

已提问 2 年前1534 查看次数
1 回答
1
已接受的回答

Hello, The problem that you are having is that you changed the greengrassDataPlanePort, while that is necessary in your case, it isn't not the only change you need to make. You must also change the MQTT port which is used. Please see our documentation here for how to configure MQTT to use port 443. https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-alpn-network-proxy

AWS
专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则