MQTT Connection issues on WP7702 [AWS]

seems related to this one:

I remember when I used the httpget sample with WP76 module, there is same problem of getting IP address inside application and this is fixed in later FW with legato 20.04.

Currently you might try method to get IP addres inside program: