FoloToy / folotoy-server-self-hosting

Config files for self-hosting the FoloToy Server. Documents: https://docs.folotoy.com
https://tool.folotoy.com
GNU General Public License v3.0
478 stars 86 forks source link

火火兔(更换电路板)无法连接到连接本地自建服务器(Windows WSL2) #205

Open tonyyang2020-web opened 4 months ago

tonyyang2020-web commented 4 months ago

folotoy server logs.txt docker-compose.yml.txt 设备网配,配完后,颜色变为浅黄色闪烁,一声响,没有说出“有什么可以帮助你”,也没有连接上自建服务器。

x454211277 commented 4 months ago

看下设备的日志,参考这里:https://docs.folotoy.com/zh/docs/web-tool

lewangdev commented 4 months ago

这个地址用手机能打开吗

http://192.168.122.171:8082

tonyyang2020-web commented 4 months ago

这个地址用手机能打开吗,http://192.168.122.171:8082/ 答复:不能打开

tonyyang2020-web commented 4 months ago

设备的日志如下:

wm:Connect Wifi, ATTEMPT # 1 of 3 wm:Connecting to NEW AP: MD709

wm:Connect Wifi, ATTEMPT # 2 of 3 wm:Connecting to NEW AP: MD709

wm:Connect to new AP [SUCCESS] wm:Got IP Address: *wm:192.168.1.5 Should save config Input wifi ssid: MD709 Input wifi password: 88888888 Input Mqtt Server Address: 192.168.122.171 Input Mqtt Server Port: 1883 Updated config successfully

*wm:config portal exiting Connected to MD709 channel 1 FoloToy ip: 192.168.1.5 FSM=====================wificonfig_exit================================== FSM=====================atob======================================== FSM=====================idle_enter================================== I: [EVENT] ROBOT_CONNECT_WIFI_SUCCESS I: MQTT Broker is a IP:192.168.122.171:1883 I: Try to connect to MQTT Broker ...

I: [EVENT] ROBOT_CONNECT_MQTT_FAILURE I: Try to connect to MQTT Broker ...

I: [EVENT] ROBOT_CONNECT_MQTT_FAILURE I: Failed to connect to MQTT Broker! I: MQTT Error Code: -2, it means: I: Connect failed config is:{ "wifi": { "enable": true, "ssid": "MD709", "password": "88888888" }, "common": { "hardware_ver": "0.8.1.3", "software_ver": "24.8.3.25", "lamp_ver": "1.1", "log_level": 5, "productkey": "folotoy", "devicekey": "ec64c98ed7c4", "firstboot": false, "role": 7, "old_role": 7, "etag": { "1": "3a9c581199d9d0ea9d908c1f614af6a8", "2": "", "3": "", "4": "", "5": "", "6": "", "7": "431b1df6779bab8e468e869bbd50aabc" }, "voice_threshold": 70, "record_type": 2, "timeout": 30, "open_tip_type": 1, "voltage_alarm": 3.7, "sleep_trigger_time": 0, "led_brightness": 255, "volume": 100, "volume_control_type": 1 }, "mqtt": { "enable": true, "broker": "192.168.122.171", "port": 1883, "cid": "ec64c98ed7c4", "username": "ec64c98ed7c4", "password": "FnknH7BqFMI6" }, "udpSpeechServer": { "address": "47.103.126.182", "port": 8085 } } Please check your config!

I: Try to connect to MQTT Broker ...

I: Try to connect to MQTT Broker ...

I: Try to connect to MQTT Broker ...

x454211277 commented 4 months ago

看下是不是跑服务端的电脑ip变了,没变的话应该还是端口没有放开,重启下电脑试试

lewangdev commented 4 months ago

这个地址用手机能打开吗,http://192.168.122.171:8082/

答复:不能打开

你的电脑ip是多少