I am attaching a link where my SS of the code is there.
My Wi-Fi module is connected to the cloud but when I am running my code in Python to check the status of the device in Linux it’s not showing online.
First check if your VM has internet access on it.
and send a screenshot
yes. It worked. My VM was not connected to the internet. Thanks