Connection server error

Hi, I’m having problems with the connection between nodemcu and Ubidots. In the serial port appears the message “Trying to connect to industrial.api.ubidots.com , attempt number: 0” and after four attempts, “[ERROR] Could not connect to the server”. The code was working fine a while ago. Also, I realize that when the esp connects to internet says “IP unset”.

sketch_dec11b.ino (1.0 KB)