Hello,
It seems like its something to do with the hardware. The same exact code is working fine on other ESP32.
The two modules i mentioned earlier must have gone bad. Not sure.
But non blynk sketch and normal wifi connections works fine on these (bad onces).
I couldn’t come to an conclusion on what was wrong.
But there seems to be no problem in the code.