So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Jake Dluhy
#61900 Hi! I ran into a unique problem tonight. I was able to fix it, but I don't know why.

About a week ago, I was able to get the ESP set up as an Access Point so that it would accept my network ssid and password, and connect to my wifi network. Everything was working fine.

I took a bit of a break, and coming back to it I try again and it can't connect. I reset it, power cycle, everything. It accepts the POST request containing my network ssid and password information, but it can't connect. Then I load up a sketch with the same ssid and password information hardcoded in, and it connects fine. Then I load up the original sketch, I make the exact same POST request I was making before, and it connects first try. Am I missing something, or should I chalk it up to ¯\_(ツ)_/¯?

I would be happy to provide code if you think it would help. Thanks!
User avatar
By g6ejd
#62045 I have had exactly the same problem too in the past. Like you I never really knew what solved it. And yes I loaded a sketch with ssid and password which then seems to refresh the Wi-Fi credentials held on the ESP and then everything works OK again as an AP. It may be the ESP not retaining the data, who knows?