@@ -531,3 +531,59 @@ sudo lsof -i :8080
531531Solutions:
532532- Remove that other program using that same port.
533533- Start mbed-edge to a different port than 8080 (`bin/mbed-edge --http-port <int >``).
534+
535+ ### Connectivity issues
536+
537+ ``` sh
538+ $ dig tcp-lwm2m.us-east-1.mbedcloud.com +short
539+
540+ dns-lb-lwm2m-production.us-east-1.mbedcloud.com.
541+
542+ $ dig udp-lwm2m.us-east-1.mbedcloud.com +short
543+
544+ dns-lb-lwm2m-production.us-east-1.mbedcloud.com.
545+
546+ $ dig tcp-bootstrap.us-east-1.mbedcloud.com +short
547+
548+ dns-lb-bootstrap-production.us-east-1.mbedcloud.com.
549+
550+ $ dig udp-bootstrap.us-east-1.mbedcloud.com +short
551+
552+ dns-lb-bootstrap-production.us-east-1.mbedcloud.com.
553+
554+ # Time to resolve the DNS from within the container
555+ $ dig tcp-lwm2m.us-east-1.mbedcloud.com | grep Query
556+
557+ ;; Query time: 116 msec
558+
559+ # Round-Trip Time between edge-core and firmware update S3 bucket
560+ $ ping -c 5 firmware-catalog-media-ca57.s3.dualstack.us-east-1.amazonaws.com
561+
562+ PING s3-r-w.dualstack.us-east-1.amazonaws.com (52.217.224.154) 56(84) bytes of data.
563+ 64 bytes from s3-us-east-1-r-w.amazonaws.com (52.217.224.154): icmp_seq=1 ttl=63 time=93.8 ms
564+ 64 bytes from s3-us-east-1-r-w.amazonaws.com (52.217.224.154): icmp_seq=2 ttl=63 time=86.7 ms
565+ 64 bytes from s3-us-east-1-r-w.amazonaws.com (52.217.224.154): icmp_seq=3 ttl=63 time=95.3 ms
566+ 64 bytes from s3-us-east-1-r-w.amazonaws.com (52.217.224.154): icmp_seq=4 ttl=63 time=87.0 ms
567+ 64 bytes from s3-us-east-1-r-w.amazonaws.com (52.217.224.154): icmp_seq=5 ttl=63 time=88.6 ms
568+
569+ --- s3-r-w.dualstack.us-east-1.amazonaws.com ping statistics ---
570+ 5 packets transmitted, 5 received, 0% packet loss, time 4009ms
571+ rtt min/avg/max/mdev = 86.660/90.286/95.333/3.587 ms
572+
573+ # Check HTTP connectivity and response time
574+ $ curl -o /dev/null -s -w \
575+ " DNS: %{time_namelookup}s\nConnect: %{time_connect}s\nTTFB: %{time_starttransfer}s\nTotal: %{time_total}s\n" \
576+ http://firmware-catalog-media-ca57.s3.dualstack.us-east-1.amazonaws.com
577+
578+ DNS: 0.103582s
579+ Connect: 0.196595s
580+ TTFB: 0.299006s
581+ Total: 0.299089s
582+
583+ # Validate download works using curl
584+ $ curl -O < Fimrware_image_url>
585+
586+ # Packet capture
587+ tcpdump -vvv -i any " (port 5684 or port 443)" -w coap-and-tls.pcap
588+
589+ ```
0 commit comments