Skip to content

配网页面不能显示 #7

Closed
Closed
@bitloong

Description

@bitloong

代码版本:1.6.2
使用代码刷固件后,切换网络:提示进入配网模式,手机连接热点 Xiaozhi-4F61,浏览器访问 http://192.168.4.1,无法显示页面。

W (1861) Application: Alert 配网模式: 手机连接热点 Xiaozhi-4F61,浏览器访问 http://192.168.4.1

 []
I (1879) WifiBoard: Free internal: 12088 minimal internal: 12088
I (1887) AudioCodec: Set output volume to 70
I (4694) WifiConfigurationAp: WiFi event received: WIFI_EVENT, id: 1
I (4694) WifiConfigurationAp: WiFi scan done event
I (4696) WifiConfigurationAp: Scan found 3 APs
I (4704) WifiConfigurationAp: Got AP records
I (4711) WifiConfigurationAp: Started scan timer for 10 seconds after scan done
I (11119) Application: Free internal: 15636 minimal internal: 9440
I (11906) WifiBoard: Free internal: 15628 minimal internal: 9440
I (19196) wifi:station: ca:a3:e9:bd:45:96 join, AID=1, bgn, 20
I (19197) WifiConfigurationAp: WiFi event received: WIFI_EVENT, id: 14
I (19199) WifiConfigurationAp: Station ca:a3:e9:bd:45:96 joined, AID=1
W (19436) wifi:<ba-add>idx:2 (ifx:1, ca:a3:e9:bd:45:96), tid:0, ssn:0, winSize:64
I (19536) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2
W (20335) wifi:<ba-add>idx:3 (ifx:1, ca:a3:e9:bd:45:96), tid:6, ssn:0, winSize:64
I (20390) DnsServer: Sending DNS response to 192.168.4.1
I (20393) DnsServer: Sending DNS response to 192.168.4.1
I (20433) WifiConfigurationAp: Handling captive portal request for URI: /generate_204
I (20433) WifiConfigurationAp: Redirecting captive portal to: http://192.168.4.1/?lang=zh-CN
I (20443) DnsServer: Sending DNS response to 192.168.4.1
I (20463) WifiConfigurationAp: Sent redirect response for captive portal
I (20472) WifiConfigurationAp: Handling request for URI: /generate204, sending 204 No Content
I (20484) WifiConfigurationAp: Sent 204 No Content for /generate204
I (20491) WifiConfigurationAp: Handling request for URI: /generate204, sending 204 No Content
I (20505) WifiConfigurationAp: Sent 204 No Content for /generate204
I (20516) WifiConfigurationAp: Handling captive portal request for URI: /generate_204
I (20526) WifiConfigurationAp: Redirecting captive portal to: http://192.168.4.1/?lang=zh-CN
I (21119) Application: Free internal: 4816 minimal internal: 2460
I (21171) WifiConfigurationAp: Sent redirect response for captive portal
W (21172) httpd_txrx: httpd_sock_err: error in recv : 104
I (21906) WifiBoard: Free internal: 3392 minimal internal: 2072
I (22596) WifiConfigurationAp: Handling request for URI: /generate204, sending 204 No Content
I (22598) WifiConfigurationAp: Sent 204 No Content for /generate204
I (23883) WifiConfigurationAp: Handling captive portal request for URI: /generate_204
I (23883) WifiConfigurationAp: Redirecting captive portal to: http://192.168.4.1/?lang=zh-CN
I (23902) WifiConfigurationAp: Sent redirect response for captive portal
I (23910) WifiConfigurationAp: Handling request for URI: /?lang=zh-CN
I (31119) Application: Free internal: 6816 minimal internal: 2072
I (31906) WifiBoard: Free internal: 6816 minimal internal: 2072
W (34880) httpd_txrx: httpd_sock_err: error in send : 11
I (34881) WifiConfigurationAp: Sent index.html
I (41119) Application: Free internal: 6776 minimal internal: 2072
I (41906) WifiBoard: Free internal: 6776 minimal internal: 2072
I (51119) Application: Free internal: 6776 minimal internal: 2072
I (51906) WifiBoard: Free internal: 6776 minimal internal: 2072
I (61119) Application: Free internal: 6776 minimal internal: 2072
I (61906) WifiBoard: Free internal: 6776 minimal internal: 2072
I (71119) Application: Free internal: 6776 minimal internal: 2072
I (71906) WifiBoard: Free internal: 6776 minimal internal: 2072
I (81119) Application: Free internal: 6776 minimal internal: 2072
I (81906) WifiBoard: Free internal: 6776 minimal internal: 2072
I (91119) Application: Free internal: 6776 minimal internal: 2072
I (91906) WifiBoard: Free internal: 6776 minimal internal: 2072

```

![Image](https://github.com/user-attachments/assets/b4034731-0ef5-4256-8d6f-2a9afb259b94)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions