Lamp goes offline after a few minutes

after years without problems, the lamp started to lose the connection with the wifi, I noticed that when I remove it from the electricity and put it back on, it will connect again, but after a few minutes it will be off again … I have already changed the dns etc …