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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南