mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #964] Cannot Connect to Config Portal when AP Config is Saved #817
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#817
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lbussy on GitHub (Nov 13, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/964
There's been a number of issues posted which circle around this, I posted one and asked for it to be closed since frankly, I was having a hard time reproducing. I can give you the workflow that I think demonstrates the issue, however, I am remote from my dev setup for the rest of the week so actually working with the portal will have to wait.
Here is the workflow which demonstrates the issue:
This seems to not be new information, judging by the below section of code (specifically @ 541):
github.com/tzapu/WiFiManager@2447a3fd74/WiFiManager.cpp (L532-L543)It's possible that I'm "doing it wrong" but I believe my code is very aligned to your examples. The intent of this method is to provide a fall-back if the AP cannot be connected to, but that fails if the AP was configured previously so that seems at odds with your intent.
Is there something else I can provide to show you what I mean?
@tablatronix commented on GitHub (Nov 13, 2019):
No idea, without any information whatsovever, it is hard to know what is going on.
@lbussy commented on GitHub (Nov 13, 2019):
That actually is a lot of information. You have a note there in your own code that says:
Are you researching? Because that's exactly what's happening.
My steps to reproduce are environmental, not code-based. What information is it you think would be more prescriptive?
@tablatronix commented on GitHub (Nov 13, 2019):
The entire form you deleted when you opened this issue for starters. versions, lib, serial logs..
@tablatronix commented on GitHub (Nov 13, 2019):
also you say AP 4 times, and I have no idea which ap you are talking about , some are the router ssid, some the wm portal.. again , i have no idea what issue you are having.
I Dont even know if you are using esp8266 or esp32...
@lbussy commented on GitHub (Nov 13, 2019):
I didn't delete the form, I was surprised I was not presented with one. I'll leave debugging why that didn't happen to the GitHub people.
I also apologize - when I said I opened an issue here previously, I was mistaken. We discussed this in #866 and I left to try out the development branch.
Here is the typical information I used in a diffferent repo which should satisfty the immediate need:
Platform
Settings in IDE
As I said I am using your development branch.
Allow me to restate the steps to reproduce using your terms:
Does that help? I am never able to connect to your captive portal, be it from Windows, iOS or Linux.
@tablatronix commented on GitHub (Nov 13, 2019):
No form ? that is indeed interesting. If you click new issue you are supposed to have prefilled info form.. Sorry about that.
Can you elaborate on the messages you are seeing?
Can you try esp staging as there was some fatal ap things fixed.
Also when in doubt I do a flash erase to clean the esp out.
@tablatronix commented on GitHub (Nov 13, 2019):
@lbussy commented on GitHub (Nov 13, 2019):
I clicked on the new issue button again when you said that and it was there, it just didn’t pop up when I opened the issue. Strange, but that’s why I said it was a GitHub thing. That or I just happened to hit an amazingly accurate series of keystrokes as the page was loading.
When I get home on Friday I can try staging as well. It’s tough to walk the wife at home through connecting to a captive portal no matter how many times we stay in a hotel.
I’ll also post some screen grabs when it fails to connect and turn up the logging so it captures something interesting.
There’s a 98% chance I tried a flash erase since that’s what I always tell my users but I’ll do that again as well.
@lbussy commented on GitHub (Nov 16, 2019):
You seem to have pushed some new changes. I've got a new WAP here to test with however the portal now fails to display for me (#970). So, not sure if I can reproduce this till that's resolved.
@tablatronix commented on GitHub (Nov 17, 2019):
The portal does not show via what ip address? How are you testing
@lbussy commented on GitHub (Nov 17, 2019):
This can be closed (I'll go ahead and do that.) Since updating to the latest from the development branch I cannot reproduce the issue I was having.