Connection times out when trying to connect to IoT Core on Portenta H7

0

I am trying to connect to the MQTT broker and it says connection timed-out. The policy allows all actions and even the internet connection speed is fast.

profile picture
Atharva
已提問 2 年前檢視次數 532 次
2 個答案
0

@Greg_B

I am connecting to the MQTT broker on port 8883 with an X.509 certificate. This is my IoT policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "*",
      "Resource": "*"
    }
  ]
}

I am following this guide:

http://create.arduino.cc/projecthub/Arduino_Genuino/securely-connecting-an-arduino-mkr-wifi-1010-to-aws-iot-core-a9f365 but I am trying to connect an Arduino Portenta H7.

profile picture
Atharva
已回答 2 年前
  • Hi Atarva. Thanks for the link. The steps in that guide seem OK, but it depends on the CSR sketch being supported for your device and your device having an ATECC608A. I take it that it does?

    I note in the comments that other users have had difficulty getting the format of the certificate string correct. Please review the comments and re-trace your steps. Please share the device logs. Please also enable CloudWatch logs (https://docs.aws.amazon.com/iot/latest/developerguide/cloud-watch-logs.html) if you haven't already, and share any info from there.

0

Hi Atharva. Please refer to our Diagnosing connectivity issues documentation if you haven't already.

If that doesn't help you resolve the issue, please then provide device logs and other relevant information about your connection such as protocol (MQTT or MQTT over WebSocket), port (8883 or 443), authentication type (X.509 certificate or something else), your IoT policy etc.

profile pictureAWS
專家
Greg_B
已回答 2 年前

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

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

回答問題指南