-
Notifications
You must be signed in to change notification settings - Fork 154
OTA fails with access point #33
Comments
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details. |
I'll test my library in this scenario and let you know. |
Hi @ayushsharma82 thank you for this excellent work, is working fine accessing via wifi router, now im trying to use it and adapt the library for an ESP32 working as SofAP, but there's no answer when accessing to the elegant web page. are you using any Ajax inside it. do you know how this can be solved if I have a jquery embedded on the code ? |
When I attempt to update firmware the update gets to 9% and then stops. Access is via Wireless access point. If I connect directly to my router (which is out of range of my module), the update completes OK. |
not working with WIFI_AP mode |
After doing some research after my first post it turns out OTA does not work in AP mode. That's not just for this library it's for any code, so far I've not found any solution |
Guys, Currently I'm not getting any time look into this issue, till then if anybody finds a solution please be free to open a pull request. More info requested from debuggers:
|
what makes you to think like that? I am using OTA in AP mode with no problem in my small project: https://github.com/CODeRUS/vehicle-lights |
Exactly it works in STA mode, but not in AP mode |
In AP mode, did you spent your time to check my code? :) |
No. But I've yet to find any code that works in AP mode. If you are saying your code works in AP I'll check it out :) |
@CODeRUS Feeding wdt in your code maybe solve problems with updating over AP https://github.com/CODeRUS/vehicle-lights/blob/058093d3bee88accf24fcbb145187e8711c1cdfd/src/main.cpp#L152 #45 With this modification update work in AP mode, STA mode and also over ethernet. I belive, this solution is not clean. |
Thanks but i've switched from cool but stale projects to self-coded libraries :) |
I am also having this issue. Tried to update throught ElegantOTA but it always got stuck in around the middle. I only use AP mode for my project. |
Solution is in pull request #45 disabling watchdog during OTA helps. |
I've been testing your library, I need to do an update via a browser when running in access point but it fails.
Your example code work fine if I connect to a wifi router but if I set up an access point it gets to about 40% then hangs.
Is there anyway to run this via an access point
Many thanks
The text was updated successfully, but these errors were encountered: