Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-08-2006, 01:13 PM
Member
 
Posts: 10
Default Autocomplete timeout error in Web UI

RHEL 4
ZCS 3.2b2

I was in the Web UI yesterday and started to get error messages flash in the bottom left corner of the Web UI complaining about an timeout with auto complete. It gave another message, something about Auto complete being disabled, and to renable it you had do something else, but the message disappeared before I could find out what the rest of it said. At that point, Firefox hung on me so I couldn't check the status messages.

I tried looking in most of the logs in /opt/zimbra/log and /var/log but I can't seem to find any of those error messages.

I've also since tried stopping the services and restarting, even restarting the server, but auto complete will not come back on. Anyone have any ideas how to get it back on?

Poked around in the config with zmprov, but couldn't really see anything related to auto complete that was disabled

Any Help would be appreciated.

Last edited by rjpaw; 08-08-2006 at 01:13 PM.. Reason: typo
Reply With Quote
  #2 (permalink)  
Old 08-08-2006, 02:48 PM
Member
 
Posts: 10
Default

Ok, found out where to re-enable it. In the Web mail UI, go to options and check "Use global Address list when autocompleting addresses."

That enables the auto complete feature again, however I'm still getting the error in the Web mail UI "GAL autocomplete timed out." I can enter in a few letters into the TO field, and a list appears briefly before the errors start. after that, the errors occur as soon as I enter another letter, even if I clear the field and try and start over again.

Eventually I'll get an error: "Disabling GAL autocomplete due to timeouts (can be re-enabled via Options)

So far I get this error in Firefox and IE, and on two different machines, so I'm reasonably certain something's changed server side. GAL lookups still work fine the old fashioned way.

Again, any help would be apprecaited.
Reply With Quote
  #3 (permalink)  
Old 08-08-2006, 03:47 PM
Zimbra Employee
 
Posts: 52
Default

Autocompleting from the GAL is a new feature. Unlike regular autocomplete (which goes against the in-memory personal contacts), it requires a response from the server. We gave it a relatively short timeout (500ms) so that it won't interfere with the UI if it's slow. If there are five consecutive timeouts, we disable the feature.

Originally, we disabled it by changing the user's preferences (there is a preference for whether you want to autocomplete against the GAL at all, which is off by default - it's also settable via the COS). Later, we decided that's too intrusive, so now there's an analogous preference that has session scope. It only appears in the Options if it's been disabled, and allows the user to turn it back on for the session. (Of course, it must also be enabled via the main preference.)

You're right, the toast isn't there very long. We should either move the notice to a dialog, or come up with a way for the toast to be more noticeable.

-Conrad
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 08-09-2006, 06:08 AM
Member
 
Posts: 10
Default

Thanks for all the info. That's exactly what's happening.

I don't supposed there's a way to change how long that time out is? This was working for me without any timeout errors for about a week before this problem occured.

Thanks again!
Reply With Quote
  #5 (permalink)  
Old 06-19-2008, 08:06 AM
Active Member
 
Posts: 29
Default

Was there any resolution for this?

Our Zimbra server syncs up with a very large GAL on a college campus as well as the local Address Book, and I can't have this timing out every time it takes more than 500 ms to resolve.

So can I change this timeout period, or do I have to tell my VP that Zimbra won't allow us to use the campus GAL?
Reply With Quote
  #6 (permalink)  
Old 06-26-2008, 01:46 PM
Zimbra Employee
 
Posts: 52
Default

Quote:
Originally Posted by REMcycle View Post
Was there any resolution for this?

Our Zimbra server syncs up with a very large GAL on a college campus as well as the local Address Book, and I can't have this timing out every time it takes more than 500 ms to resolve.

So can I change this timeout period, or do I have to tell my VP that Zimbra won't allow us to use the campus GAL?
There are a couple of constants in ZmContactList.js that you might want to look at:

ZmContactList.AC_GAL_TIMEOUT = 15; // GAL autocomplete timeout (in seconds)
ZmContactList.AC_GAL_FAILURES = 5; // # of GAL autocomplete timeouts before disabling it
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #7 (permalink)  
Old 07-07-2008, 06:06 PM
Outstanding Member
 
Posts: 708
Default

Did anything relevant change from 5.0.6 to 5.0.7? It was fine from 5.0.3-5.0.6, but since the 5.0.7 upgrade everyone has been seeing "Waiting for GAL..." spinning for much longer than 15 seconds. I just opened Support Case 00026019.

Only a problem in the AJAX client -- HTML client is fine.

Last edited by Rich Graves; 07-07-2008 at 06:08 PM..
Reply With Quote
  #8 (permalink)  
Old 07-08-2008, 11:32 PM
nrc nrc is offline
Special Member
 
Posts: 156
Default

Any update on this? Did auto-complete LDAP lookups switch to SSL with this update?

Our users are starting to get comfortable with the product. I'd hate to have a performance problem crop up right now.
Reply With Quote
  #9 (permalink)  
Old 07-09-2008, 06:33 AM
Outstanding Member
 
Posts: 708
Default

This mostly fixed the problem for me:

zmprov md domain.com zimbragaltokenizeautocompletekey '' zimbragaltokenizesearchkey ''

And this reliably causes it to recur:

zmprov md domain.com zimbragaltokenizeautocompletekey and zimbragaltokenizesearchkey and

(with a zmprov fc domain domain.com or restart as appropriate)

The bug that originally defined zimbragaltokenizeautocompletekey appears to have gone private so that I can't see it anymore. Has that functionality been removed?

See also Bug 29151 – Autocomplete External GAL - Search Result Refreshes Continuously, perhaps.

zimbragaltokenizeautocompletekey=and tokenizes search terms into spaces, which can enhance results in some cases. For example, if someone knows me as Rick but my LDAP commonName is Rich, they can search for "R Graves" and find me either way, without putting so many wildcards into your LDAP search filter that you're overwhelmed with false positives.

The attribute wasn't documented anywhere but one bugzilla issue (which I can't find anymore), so I guess it wasn't QA'd. I haven't created a bug yet because my support case might turn up a better description of the problem.
Reply With Quote
  #10 (permalink)  
Old 07-09-2008, 06:39 AM
Outstanding Member
 
Posts: 708
Default

Ah, here's the original bug. I'll reopen as a regression. Bug 21873 – GAL autocomplete should handle multiple tokens
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.