-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Webpage constantly going down until reboot #1408
Comments
Hi! Since Amplifi seems to be a sub-brand of Ubiquiti, maybe this applies to you as well, I don't know though 👍 |
Thanks, sorry for the late reply I was at school and I didn't get GitHub notifications for some reason. I will try that right away. I appreciate you taking the time out of your day to help me. This is some amazing software |
Sadly, I don't think this works with my system. Amplifi is mainly controlled through an app and it is different from the normal systems. I can't find that setting and I don't see anything about it online for my setup. Thanks for the idea and I hope that I can find a solution soon because I really like the led effects in this software. Furthermore, I have had a similar setup (exact same board) on my network before (this one was working perfectly) and then I reflashed it with a different software version and it broke. Thanks for the idea though! |
Does anyone else have any other ideas? |
@RandomPotato893 i had this in the previous version before 11. I resolved it by using one of the 2 usermods that essentially self pings the ip address as a “keep alive” of sorts. That worked perfectly for me. Prior to this I noticed if I used my laptop to keep a constant ping going to the wled ip it would never go offline. Obviously the usermod is a more practical solution. Have you tried them? |
Sorry to ask an obvious question but what does that entail? I'm kinda new to this |
Is it the one by @gegu Because I already tried that and it didn't seem to do anything. I could've done it wrong though. |
It was that one but make sure you follow his instructions. I had to recheck my work a few times to ensure I correctly modified the usermods_list.cpp correctly. Also if you did it right you’ll see # of pings in the info window. |
Ok I thought it was just usermods.cpp |
He doesn't have a file to download right? I have just been making one and pasting the text in. |
you do have to also move a file into the wled00 directory. See his instructions |
The only thing I see is the installation. I don't see any specific instructions. Sry again if i'm being slow |
Sorry again if I'm being slow, perhaps I could have an exact link? |
ahh I see. Yea its the other usermod: https://github.com/Aircoookie/WLED/tree/master/usermods/Fix_unreachable_netservices_v2 |
Ohhh Thanks! |
So I have been at this for a few hours with no success. When I tried it on version 11, it seemed to break it and have the opposite effect. And even when I could tell that it was pinging the board (in version 0.10.2) it still went down unless I was there to constantly refresh the webpage. I can tell that it is installed correctly because of the info tab. |
I wonder, Do I need to install any libraries for this? |
I found that lowering the the ping delay (PingDelayMs) in the usermod_Fix_unreachable_netservices.h file from 60000 to 10000 worked for me. 60 secs was too long in my environment for some reason |
If you use VS Code with PlatformIO IDE, it should pick up any required libraries. That said, I do not think the "Fix" usermod requires additional libraries. |
@ulte I tried that and it didn't work I am very confused. |
Ok so now I'm at a new level of problem. Even pinging it doesn't help and I know that I am pinging it correctlly because I am doing it with command prompt. The webpage just dies whether or not I ping it. I have no idea what is going on. |
Pinging the device from command prompt unfortunately does not help with the unreachable net-services problem. At least with my configuration I tried that too. Here an outgoing connection is required as a workaround. I have updated the usermod_Fix_unreachable_netservices. The delay between pings can now be configured in the web UI and the setting is persistent after a reboot. You can try setting the delay to 10 seconds, maybe it will help. |
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. |
Describe the bug
My wemos d1 mini (I think it's a knockoff) will connect to wifi with the firmware just fine but then it goes offline. It stays offline until I reboot it. Then it goes online for another 1 minute and then it dies again. I have already seen some people with a similar issue which is #424 I seem to have tried everything on that issue list (including building my own firmware and doing the ping fix) with no success. I have tried to compile different versions and older versions and nothing seems to work. I have my esp in a box outside running some fancy Christmas lights but it does the same thing when it is in my room right next to my router. I just wanted to see if anyone else has this problem and if anyone can help me out.
To Reproduce
I connect to the access point, I get it on my network (I have an amplifi instant wifi network if it matters) Then it boots up and goes offline after about 30s to 1 min. Then if I power-cycle the board. It goes back online and repeats the process.
Expected behavior
I expect it to boot up and stay online
WLED version
Thanks to anyone with any ideas!
Edit: It doesn't disconnect from the network, the webpage just doesn't work anymore.
The text was updated successfully, but these errors were encountered: