Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avvio AP quando non necessario #41

Open
Testato opened this issue Aug 9, 2022 · 0 comments
Open

Avvio AP quando non necessario #41

Testato opened this issue Aug 9, 2022 · 0 comments

Comments

@Testato
Copy link
Collaborator

Testato commented Aug 9, 2022

In modo saltuario capita che, staccando e riattaccando l'alimentazione, si avvia la modalità AP del wifi anche se invece le credenziali sono memorizzate. Sembra che sia piu' facilmente riproducibile quando il router wifi non ha accesso ad internet.

Log di regolare funzionamento:

*wm:[1] AutoConnect                                                         
*wm:[2] ESP32 event handler enabled                                         
*wm:[2] Setting Hostnames:  Colors-of-Italy                                 
*wm:[2] Setting WiFi hostname                                               
*wm:[2] Connecting as wifi client... 
*wm:[2] setSTAConfig static ip not set, skipping 
*wm:[1] Connecting to SAVED AP: domino
*wm:[1] connectTimeout not set, ESP waitForConnectResult... 
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] AutoConnect: SUCCESS 
*wm:[2] Connected in 937 ms
*wm:[1] STA IP Address: 192.168.2.120                                                                                    
Updating                                                                                                                 
[ 10931][E][WiFiGeneric.cpp:1438] hostByName(): DNS Failed for raw.githubusercontent.com                                 
[ 10931][E][WiFiClientSecure.cpp:135] connect(): start_ssl_client: -1                                                    

Log problema:

*wm:[1] AutoConnect                                                                                                      
*wm:[2] ESP32 event handler enabled                                                                                      
*wm:[2] Setting Hostnames:  Colors-of-Italy                                                                              
*wm:[2] Setting WiFi hostname                                                                                            
*wm:[2] Connecting as wifi client...                                                                                     
*wm:[2] setSTAConfig static ip not set, skipping                                                                         
*wm:[1] Connecting to SAVED AP: domino                                                                                   
*wm:[1] connectTimeout not set, ESP waitForConnectResult...                                                              
*wm:[2] [EVENT] WIFI_REASON:  201                                                                                        
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND                                                                                 
*wm:[2] [EVENT] WIFI_REASON:  2                                                                                          
*wm:[2] Connection result: WL_NO_SSID_AVAIL                                                                              
*wm:[1] AutoConnect: FAILED                                                                                              
*wm:[2] Starting Config Portal                                                                                           
*wm:[2] [EVENT] WIFI_REASON:  202                                                                                        
*wm:[2] Disabling STA                                                                                                    
*wm:[2] Enabling AP                                                                                                      
*wm:[1] StartAP with SSID:  Colors-of-Italy                                                                              
*wm:[2] AP has anonymous access!                                                                                         
*wm:[1] AP IP address: 192.168.4.1                                                                                       
*wm:[2] setting softAP Hostname: Colors-of-Italy                                                                         
*wm:[1] Starting Web Portal                                                                                              
*wm:[2] HTTP server started                                                                                              
*wm:[2] Config Portal Running, non blocking (processing)                                                                 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant