Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
15k stars 3.24k forks source link

I have intermittent connectivity to my WLED devices through the app or client IPs in browser from mobile but I still can access through the access point WiFi. On PC there is no issue connecting through client IP from a browser #2003

Closed HecticSkeptic closed 2 years ago

HecticSkeptic commented 3 years ago

Describe the bug I am able to ping my WLED devices from my laptop that is connected to the same WiFi network but I am not able to ping them from my phone.

To Reproduce I cannot seem to reliably reproduce the issue because it is intermittent. More often than not, I cannot reach my WLED devices from mobile. I get ERR_ADDRESS_UNREACHABLE

Expected behavior A few days ago I was not having this issue, for weeks at a time. Then it started seemingly out of nowhere. The issue seems to exist across multiple mobile devices, both iOS and android. This makes me think that my WiFi settings are somehow messing up connections from mobile devices. I don't know enough about networking to troubleshoot this issue but have included ping attempt screenshots below at the advice of users on discord who have advised me to take these steps.

WLED version

Additional context I have Xfinity and I am not the account holder. My router gateway gives me basically no control over my WiFi settings. Our 2.4 and 5 ghz bands have the same SSID and I cannot separate them. This hasn't been an issue in the past though, and does not prevent my laptop on the 5ghz band from pinging my WLED devices on the 2.4 GHz band.

Changing some of my VPN settings on my phone yesterday seemed to fix the issue for a short period but the issues quickly returned so I think that was just a coincidence. In general, I have my VPN off and have disabled it auto starting or really doing anything on my phone. On my friend's iPhone, who doesn't have a VPN at all, the issue exists as well.

Thank you for your help!

EDIT: Additional info:

I cannot access the WLED devices by typing the IP into a browser on mobile. I can access that way via PC but not on mobile.

My router gateway clearly indicates that the WLED device is connected to my home WiFi. I have the AP settings for the WLED device/ESP32 set to always on because I am afraid of not being able to access at all.

HecticSkeptic commented 3 years ago

To add, my friend's IPhone cannot discover the lights either. So it does not seem to be an issue that is unique to my Android device. But is rather an issue with any mobile connecting to the WLED devices via my home WiFi

sansillusion commented 3 years ago

Have you tried connecting to the wled device using IP in browser. If it works it may be that your router is blocking MDNS/Bonjour discovery service.

Le lun. 31 mai 2021 1 h 51 p.m., HecticSkeptic @.***> a écrit :

To add, my friend's IPhone cannot discover the lights either. So it does not seem to be an issue that is unique to my Android device. But is rather an issue with any mobile connecting to the WLED devices via my home WiFi

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Aircoookie/WLED/issues/2003#issuecomment-851616151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBFDCREJILN4622PDJM2J3TQPEBVANCNFSM453H6HJQ .

HecticSkeptic commented 3 years ago

the IP in browser access works on PC but not on mobile. so it's not just the app that has issues

HecticSkeptic commented 3 years ago

result of pinging my phone from my laptop

image

i don't know enough about networking to understand why this was looking for a reply from 10.0.0.4. that's the IP of the laptop. no idea why it would try to ping itself when that is not what I asked it to do

HecticSkeptic commented 3 years ago

result of pinging my WLED devices from my laptop

image

HecticSkeptic commented 3 years ago

Attempt to ping laptop (10.0.0.4) and WLED esp32 (10.0.0.186) from my android phone:

Screenshot_20210531-141742 Screenshot_20210531-141802

sansillusion commented 3 years ago

That is weird. I would mabe have tough an "isolate devices" option in the router but it works from laptop to phone but not vice versa so probably not that... I can only guess it's a phone thing, mabe some antivirus/firewall app in your phone but you said that your friend's iPhone also can't connect to wled. There is something actively prevent communication between phone and wled it's most likely a "security" option but what it is I have no clue.

Le lun. 31 mai 2021 2 h 20 p.m., HecticSkeptic @.***> a écrit :

Attempt to ping laptop (10.0.0.4) and WLED esp32 (10.0.0.186) from my android phone:

[image: Screenshot_20210531-141742] https://user-images.githubusercontent.com/85128295/120229496-41df7080-c21b-11eb-9972-4577341d7ca7.png [image: Screenshot_20210531-141802] https://user-images.githubusercontent.com/85128295/120229499-43a93400-c21b-11eb-9829-bfc0f83ad570.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Aircoookie/WLED/issues/2003#issuecomment-851625636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBFDCX5DKOTOQUBQQKLIX3TQPHNPANCNFSM453H6HJQ .

HecticSkeptic commented 3 years ago

That is weird. I would mabe have tough an "isolate devices" option in the router but it works from laptop to phone but not vice versa so probably not that... I can only guess it's a phone thing, mabe some antivirus/firewall app in your phone but you said that your friend's iPhone also can't connect to wled. There is something actively prevent communication between phone and wled it's most likely a "security" option but what it is I have no clue. Le lun. 31 mai 2021 2 h 20 p.m., HecticSkeptic @.***> a écrit : Attempt to ping laptop (10.0.0.4) and WLED esp32 (10.0.0.186) from my android phone: [image: Screenshot_20210531-141742] https://user-images.githubusercontent.com/85128295/120229496-41df7080-c21b-11eb-9972-4577341d7ca7.png [image: Screenshot_20210531-141802] https://user-images.githubusercontent.com/85128295/120229499-43a93400-c21b-11eb-9829-bfc0f83ad570.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2003 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBFDCX5DKOTOQUBQQKLIX3TQPHNPANCNFSM453H6HJQ .

Yeah the fact that this is happening across multiple mobile devices is what's really tripping me up. Also not sure why I can't even seem to ping my laptop from mobile..... or why the laptop tried to ping itself

blazoncek commented 3 years ago

Definitely not a WLED issue but router/access point feature.

HecticSkeptic commented 3 years ago

Definitely not a WLED issue but router/access point feature.

Any idea which "feature" is causing this issue?

blazoncek commented 3 years ago

I can't say for your setup but most likely some type of "guest" network policies or "client isolation" policies.

stale[bot] commented 3 years ago

Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. Thank you for using WLED!