esp01s无法正常联网-Arduino中文社区 - Powered by Discuz! Archiver

寸心难寄 发表于 2022-6-19 10:01

esp01s无法正常联网

使用点灯的官方例程Hello WiFi,上电连接路由器之后一直报错,但是连接手机热点就是正常工作的的,改过路由器加密方式,关了ipv6访问都不行。测试过电脑上访问那个http后面的网址是正常的。大佬们帮忙看一下是什么问题呢?




09:15:04.346 ->__       __                __
09:15:04.346 -> /\ \   /\ \    __      /\ \            v0.3.9
09:15:04.346 -> \ \ \___ \ \ \/\_\    ___\ \ \/'\      __   _ __   
09:15:04.346 ->\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
09:15:04.346 ->   \ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\__/\ \ \./
09:15:04.393 ->    \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
09:15:04.393 ->   \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
09:15:04.393 ->   To better use blinker with your IoT project!
09:15:04.393 ->   Download latest blinker library here!
09:15:04.393 ->   => https://github.com/blinker-iot/blinker-library
09:15:04.393 ->
09:15:04.393 -> _aliType:
09:15:04.393 -> _duerType:
09:15:04.393 -> _miType:
09:15:04.393 -> _authKey: befceb00be09
09:15:04.393 -> Connecting to Connect this
09:15:04.393 -> ESP8266_MQTT initialized...
09:15:04.393 ->
09:15:04.393 -> ===========================================================
09:15:04.393 -> ================== Blinker Timer loaded! ==================
09:15:04.440 ->      EEPROM address 1536-2431 is used for Blinker Timer!
09:15:04.440 -> ========= PLEASE AVOID USING THESE EEPROM ADDRESS! ========
09:15:04.440 -> ===========================================================
09:15:04.440 ->
09:15:04.440 -> countdown state: false
09:15:04.440 -> _cdRunState: 0
09:15:04.440 -> _totalTime: 0
09:15:04.440 -> _runTime: 0
09:15:04.440 -> _action:
09:15:04.440 -> loop state: false
09:15:04.440 -> _lpRunState: 0
09:15:04.440 -> _times: 0
09:15:04.440 -> _tri_times: 0
09:15:04.440 -> _time1: 0
09:15:04.440 -> _action1:
09:15:04.440 -> _time2: 0
09:15:04.440 -> _action2:
09:15:04.440 -> _lpData: 0
09:15:04.440 -> checkNum count: 1
09:19:25.900 -> WiFi Connected.
09:19:25.900 -> IP Address:
09:19:25.900 -> 169.254.114.121
09:19:25.900 -> begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=befceb00be09&version=0.1.0&protocol=mqtt
09:19:25.900 -> GET... failed, error: connection failed
09:19:25.900 ->
09:19:25.947 -> reply was:
09:19:25.947 -> ==============================
09:19:25.947 ->
09:19:25.947 -> ==============================
09:19:25.947 -> ERROR: Maybe you have put in the wrong AuthKey!
09:19:25.947 -> ERROR: Or maybe your request is too frequently!
09:19:25.947 -> ERROR: Or maybe your network is disconnected!
09:19:35.930 -> begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=befceb00be09&version=0.1.0&protocol=mqtt
09:19:35.930 -> GET... failed, error: connection failed
09:19:35.930 ->
09:19:35.930 -> reply was:
09:19:35.930 -> ==============================
09:19:35.930 ->
09:19:35.930 -> ==============================
09:19:35.930 -> ERROR: Maybe you have put in the wrong AuthKey!
09:19:35.930 -> ERROR: Or maybe your request is too frequently!
09:19:35.930 -> ERROR: Or maybe your network is disconnected!
09:19:45.907 -> begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=befceb00be09&version=0.1.0&protocol=mqtt
09:19:45.907 -> GET... failed, error: connection failed
09:19:45.907 ->
09:19:45.946 -> reply was:
09:19:45.946 -> ==============================
09:19:45.946 ->
09:19:45.946 -> ==============================
09:19:45.946 -> ERROR: Maybe you have put in the wrong AuthKey!
09:19:45.946 -> ERROR: Or maybe your request is too frequently!
09:19:45.946 -> ERROR: Or maybe your network is disconnected!
09:20:45.918 -> begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=befceb00be09&version=0.1.0&protocol=mqtt
09:20:45.918 -> GET... failed, error: connection failed
09:20:45.965 ->
09:20:45.965 -> reply was:
09:20:45.965 -> ==============================


coloz 发表于 2022-6-19 11:52


GET... failed, error: connection failed

这个提示就是说你的网络有问题,具体原因自查了,不排除是8266硬件本身兼容性的问题造成的
页: [1]
查看完整版本: esp01s无法正常联网