cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2137
Views
0
Helpful
12
Replies

Help required debugging clients disconnecting after about 5 mins

Cormac Champion
Level 1
Level 1

Hi all,

What is the best way to debug clients which are disconnecting after about 5 minutes ?  I've got Management > Logs > Config > Msg Log Configuration to Debugging, but this doesn't seem to show clients connecting or disconnecting, and more importantly, any reason for disconnecting.

What can I watch even from the command line ?

Thanks in advance

12 Replies 12

Pls get "debug client <client_mac_address>" output from your WLC CLI while this problem occurring.

That will give you an indication what's going on

HTH

Rasika

When I hear 5 minute disconnects idle timeout comes to mind. 

"Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
___________________________________________________________

I have deliberately set all timeout places to ZERO

I set Client Load Balancing to Enabled and it seemed to make things worse, based on feedback from users.

I never recommend load balance because its very disruptive. The idle timeout can't be made 0, if I recall correctly. Under controller look at idle timeout its default to 300 seconds. 

"Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
___________________________________________________________

Like what George mentioned, don't enable client load balancing. If your using WebAuth, then increase your ideal timer to 8 hours or use sleeping client. Also you should never play with timers unless you understand the impact. Changing timers can cause many things to break and it's probably best to set everything back to default except for changing the idle timer. You can set that back to default if your using the sleeping client feature.

-Scott 

*** Please rate helpful posts ***

-Scott
*** Please rate helpful posts ***

If I go with the Sleeping Client method, would I then leave the Idle Timer option Un-Ticked ?

Ideally, if someone connects their device, and accepts the T's & C's through the WebAuth page, what is the best method to keep them connected for most of the day, rather than having to re-auth over and over again ?

OK, so the Sleeping method appears to be working OK.  I've set it for 12 hours.

I've also turned off the Client Load Balancing again and Clients are definitely staying connected.  

I also see that to get the debug details, I need to stay on the console rather than looking at the log via the GUI - my bad :(

I'm getting huge amounts of messages like this.  It seems to be when the client is connecting.  

*webauthRedirect: Jul 22 23:05:25.275: %EMWEB-6-PARSE_ERROR: webauth_redirect.c:1477 parser exited. client mac= 54:ef:92:37:e4:30 bytes parsed = 0 and bytes read = 216
*webauthRedirect: Jul 22 23:05:25.275: %EMWEB-6-HTTP_REQ_BEGIN_ERR: http_parser.c:579 http request should begin with a character
*webauthRedirect: Jul 22 23:05:25.266: %EMWEB-6-PARSE_ERROR: webauth_redirect.c:1477 parser exited. client mac= 54:ef:92:37:e4:30 bytes parsed = 0 and bytes read = 216
*webauthRedirect: Jul 22 23:05:25.266: %EMWEB-6-HTTP_REQ_BEGIN_ERR: http_parser.c:579 http request should begin with a character
*webauthRedirect: Jul 22 23:05:25.225: %EMWEB-6-PARSE_ERROR: webauth_redirect.c:1477 parser exited. client mac= 54:ef:92:37:e4:30 bytes parsed = 0 and bytes read = 216
*webauthRedirect: Jul 22 23:05:25.225: %EMWEB-6-HTTP_REQ_BEGIN_ERR: http_parser.c:579 http request should begin with a character
*webauthRedirect: Jul 22 23:05:25.141: %EMWEB-6-PARSE_ERROR: webauth_redirect.c:1477 parser exited. client mac= 54:ef:92:37:e4:30 bytes parsed = 0 and bytes read = 216
*webauthRedirect: Jul 22 23:05:25.141: %EMWEB-6-HTTP_REQ_BEGIN_ERR: http_parser.c:579 http request should begin with a character
*webauthRedirect: Jul 22 23:05:23.846: %EMWEB-6-PARSE_ERROR: webauth_redirect.c:1477 parser exited. client mac= 54:ef:92:37:e4:30 bytes parsed = 0 and bytes read = 216
*webauthRedirect: Jul 22 23:05:23.846: %EMWEB-6-HTTP_REQ_BEGIN_ERR: http_parser.c:579 http request should begin with a character
*webauthRedirect: Jul 22 23:05:23.808: %EMWEB-6-PARSE_ERROR: webauth_redirect.c:1477 parser exited. client mac= 54:ef:92:37:e4:30 bytes parsed = 0 and bytes read = 216
*webauthRedirect: Jul 22 23:05:23.808: %EMWEB-6-HTTP_REQ_BEGIN_ERR: http_parser.c:579 http request should begin with a character
*webauthRedirect: Jul 22 23:05:22.377: %EMWEB-6-PARSE_ERROR: webauth_redirect.c:1477 parser exited. client mac= 54:ef:92:37:e4:30 bytes parsed = 0 and bytes read = 216
*webauthRedirect: Jul 22 23:05:22.377: %EMWEB-6-HTTP_REQ_BEGIN_ERR: http_parser.c:579 http request should begin with a character
*webauthRedirect: Jul 22 23:05:22.366: %EMWEB-6-PARSE_ERROR: webauth_redirect.c:1477 parser exited. client mac= 54:ef:92:37:e4:30 bytes parsed = 0 and bytes read = 216
*webauthRedirect: Jul 22 23:05:22.366: %EMWEB-6-HTTP_REQ_BEGIN_ERR: http_parser.c:579 http request should begin with a character

WiFi Trainers
Level 1
Level 1

Hello,

Like Rasika mentioned please get the output of 'debug client xxxx.xxxx.xxxx' from the WLC. Let it run for 2-3 disconnects. The following info will also be useful:

-Is the client roaming?

-Does the issue happen with a specific client type?

Best Regards,

WiFi Trainers (www.wifitrainers.com)

Your one stop solution for all your wireless training needs!

******** Please rate if useful *********

Thanks for that

I have setup the debug client xxxx.xxxx.xxxx.  Do I set the Buffered Log Level to "Debugging" ?  Also, is there a way to increase the size of the buffered log given the number of EMWEB messages ?

The area concerned is around an outdoor pool covered by 2 x 2602 AP's and so, you could roam from AP1 to AP2 and back any number of times.

The majority of devices would be Android and Apple mobile phones, with countless number of different software versions.

Regarding my own phone, I could sometimes connect and sometimes not.  When I could not, I couldn't see any particular reason for why I could not connect other than the fact that I seemed to hit some form of limit of connections (about 15) - which made no sense.  I've still yet to see any more than about 15 devices connected simultaneously. 

Hello,

Thanks for the info. I do not think there is a way to increase the buffered log size. You can use syslog server if required. But debug client is the way to go with this right now and I would like to have a look at it first before i comment on anything else. When you say the client gets disconnected after 5 minutes what exactly are you seeing?

-Does the client connect back immediately? Or does the user need to manually try and connect?

-If the client does not connect back immediately, how long does it take to connect back?

I would also like to have a look at the show run-config and understand the RF side of things related to these AP's. In case uploading it on a public site is not the best option, you can drop a mail to info@wifitrainers.com and I can have a look at it.

Best Regards,

WiFi Trainers (www.wifitrainers.com)

Your one stop solution for all your wireless training needs!

******** Please rate if useful *********

Attached is the debug of all debugs :)

Once I turned the Client Load Balancing back on again, the disconnection after 5 minutes appears to have stopped.  But I think I still have strange issues

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: