Server Error Log: Read timed out after 10 seconds

Mike

XenForo developer
Staff member
It was a connection error to ReCaptcha. If it doesn't happen constantly, then it's probably just an indication that ReCaptcha was down.
 

Mike

XenForo developer
Staff member
You would likely need to modify the code, but in general, if it times out after 10 seconds, it's more than likely going to time out after 20.
 

Chris D

XenForo developer
Staff member
The default config is in library/Zend/Http/Client.php

Check line 114.

The default is 10 seconds.

If the issue is happening on a constant or regular basis, the solution is definitely not to increase the timeout. You should be troubleshooting with your host why that would be reaching even close to 10 seconds.
 
Reactions: rdn

Chris D

XenForo developer
Staff member
Changing it in the core code probably isn't a good idea.

Changing it in the add-on code might be more reasonable - the developer should help you with that. At some point, the add-on will be calling our Http helper or the Zend_Http_Client class - you can specify a timeout in the options array which is passed into that. Doing that would then only affect it for that one thing rather than doing it for everything by default.
 
Reactions: rdn
Top