CONSTANT AJAX disconnect errors
-
This article:
http://bbs.espressif.com/viewtopic.php?t=133
mentions a parameter for esp8266 to disable powersave on the chip itself, at least when in client-mode.
„You can use wifi_set_sleep_type to set sleep type for power saving and set NONE_SLEEP_T to disable power saving.“
@David: Could this be worth a try?
-
I looked at this before and I think it defaults to no power saving, but I'll check.
-
At least when I checked with sta_info about a week ago the module was reporting powersave capability to the AP
-
turned off WMM APSD
So far 2 hours into a print. Not a definitive answer yet, but so far id say looks promising…
As I wrote this I went back and saw pink screen "ajax error" timeout, but was able to immediately reconnect with connect button.Will continue testing
Edit: disconnected 5 min later, now can't reconnect....back to square one..
-
I also turned off WMM. So far, no disconnect…
-
Im running a Tenda AC18 and it doesn't look like I have any WMM options, that I can find.
-
I have the WMM turned off, and I continue to have the issues.
It does sound like the right path of investigation though. -
In fact, me too
-
Oddly, my Duet no longer shows up under my list of connected clients in my router admin control.
Ideas?
-
did you recently update your router firmware?
-
did you recently update your router firmware?
No.
But I did just updated to the Wifi Server 1.20alpha1+1 and it is showing in my list of clients again.
odd.
-
and…. disconnects
Wifi Server 1.20alpha1+1
-
[c]8:56:21 PM Disconnected.
8:53:51 PM Connection established!
8:51:30 PM Disconnected.
8:51:08 PM WiFi module stopped
8:51:08 PM Connection established!
8:44:11 PM Disconnected.
8:43:10 PM M0 H1
Printing paused[/c]y'all, I'm losing my mind over here.
-
Did the "wifi module stopped" message happen because you sent a M552 command to stop it, or spontaneously?
-
Did the "wifi module stopped" message happen because you sent a M552 command to stop it, or spontaneously?
Probably b/c I sent the command to stop/start it, but honestly the disconnects were so bad and so frequent last night, I can't remember.
To even use the printer last night I was running M552 S-1/S1 pretty much any time I needed to access DWC because even if it had only be a couple of minutes it would have already disconnected.
If you have an exact set of steps you'd like me to walk through, I'm happy to try ANYTHING.
Also, even during the times that it is connected, it is not showing up as a connected client in my routers admin utility.
-
If it is connected but not showing up in your router's admin page, that is a problem with your router. You may need to refresh your router's admin page.
I'll be releasing a new firmware version soon that displays the wifi module sleep mode, along with a patched wifi module that doesn't sleep at all.
-
I don't think it is a problem with my router. All other devices on the network show connected. I can even power my phone off then on and watch it disappear and reappear on the connected clients list.
I guess it could be that the Duet disconnects so quickly after reconnecting that the client list doesn't update fast enough, but I am not sure.
-
Got a brand new Duet WIFI last week.
(had another previously which work fine - for a while)Had constant Ajax timeouts with the new one.
Could not stay connected for more than 30 seconds.
Could not always reconnect.
Restarted browser; hit reset button etc.
Had reported WiFi signal strength -62dBm.
Printer in basement, wifi router upstairs.Went to bestbuy, bought a NETGEAR - AC1200 Dual-Band Gigabit Wi-Fi Range Extender. $99
this is mounted in an outlet near the printer.Have not had a single disconnect since.
Pete
btw my previous Duet wifi which appears to have a broken wifi hardware issue (which I need to get resolved)
never had this timeout issue with everything in the same locations as pre-Wi-Fi Range Extender. -
I am glad that worked for you Pete.
I've got my Duet in the same room as my router, reporting mid -30dBm.
I've tried multiple different channels, moving the router around and to different rooms, and even replaced the router with a brand new one and created a from scratch network. I don't think the router or location is part of my problem.I'd like to set up a DHCP reservation for the Duet, but I can't seem to get that done since the router rarely sees the Duet as a connected client.
-
I am not saying you should fork out $99 for the wifi extender I got,
they have much cheaper versions.But what this extender did (after the configuration) do was allow me to connect
the DUET to a different SSID than everything else in my house
(NETGEAR20_2GEXT instead of NETGEAR20).
I don't necessarily know what difference this would make,
but it may be part of the issue.My original signal strength of -62dBm should have been perfectly ok
(and my previous Duet was OK with it),
Anything below 70 is considered very good.
Your 30 value SHOULD be beyond OK. And yet it is not.Is it worth a $20 try - TP-LINK - Wireless N300 Wi-Fi Range Extender with Ethernet Port - White
at bestbuy