Server Error Log: Read timed out after 10 seconds

Dmitriy

Member
hi,

look at

filmy.png

serialy.png

for what reason this error occurs?


appeared doubtful visitors
kino.png
 
It was a connection error to ReCaptcha. If it doesn't happen constantly, then it's probably just an indication that ReCaptcha was down.
 
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.
 
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.
 
  • Like
Reactions: rdn
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.
 
  • Like
Reactions: rdn
Back
Top Bottom