Jump to content
Sign in to follow this  
AdamS

Periodic 'Error response code 504'

Recommended Posts

One of my client's gets periodic 'Error response code 504' when attempting to search.

 

Restarting the Connect instance or the server generally fixes it but it keeps occurring at semi regular intervals.

 

running Connect 2.0.

 

Any idea's/thoughts?

Share this post


Link to post
Share on other sites

Hi Adam,

 

504 error code indicates a connection timeout which happens when response is not ready in 3 minutes. Based on the description this might be caused by a long running complex search queries - but we would have to look at the logs in order to be sure.

Share this post


Link to post
Share on other sites

I don't think it's due to complex queries in this instance as my client is only running single word or short phrase queries. Next time it happens I'll send the log files through to support and see if that sheds some light on it.

Share this post


Link to post
Share on other sites

Did you by any chance ever find the source of your Error 504 AdamS? We are experiencing the same issues with searching by keyword list. Thanks

Share this post


Link to post
Share on other sites
On 11/21/2018 at 4:53 PM, Vince said:

Did you by any chance ever find the source of your Error 504 AdamS? We are experiencing the same issues with searching by keyword list. Thanks

Vince, maybe your keyword search is too complex to be evaluated in 3 minutes timeout. The solution might be to split it into smaller chunks or reduce the complexity (by eliminating excessive use of wildcards, for instance). There might also be a way out by bumping the timeout parameter to a higher value.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×