2019-03-05

HTTP ERROR 500.

There are on occasion some queries to my search engine that result in this -
This page isn’t working www.kincrawler.com is currently unable to handle this request. HTTP ERROR 500
It doesn't happen all the time but seems to happen when three or more words are entered. Is there some kind of "timeout" setting that will fix this?
There are on occasion some queries to my search engine that result in this - This page isn’t working www.kincrawler.com is currently unable to handle this request. HTTP ERROR 500 It doesn't happen all the time but seems to happen when three or more words are entered. Is there some kind of "timeout" setting that will fix this?
2019-03-07

-- HTTP ERROR 500
It might be a timeout, usually I see 500 errors when there is a server (Apache, etc) misconfiguration. So I would check your logs first.
Apache has a TimeOut directive which defaults to 300 seconds = 5 minutes, so probably isn't the issue. PHP has a max_execution_time which defaults to 30 seconds and can be set in the php.ini file.
The only queries where there is a timeout factor in Yioop itself would be if you had several machines. Then if one of those machines isn't responding the config PAGE_TIMEOUT would cut off the request eventually. This is also by default 30 seconds. If queries are taking 30 seconds, probably something else is wrong, so I would check your log files. Best,
Chris
(Edited: 2019-03-07)
It might be a timeout, usually I see 500 errors when there is a server (Apache, etc) misconfiguration. So I would check your logs first. Apache has a TimeOut directive which defaults to 300 seconds = 5 minutes, so probably isn't the issue. PHP has a max_execution_time which defaults to 30 seconds and can be set in the php.ini file. The only queries where there is a timeout factor in Yioop itself would be if you had several machines. Then if one of those machines isn't responding the config PAGE_TIMEOUT would cut off the request eventually. This is also by default 30 seconds. If queries are taking 30 seconds, probably something else is wrong, so I would check your log files. Best, Chris

-- HTTP ERROR 500
Thank you!
Thank you!
X