-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not in white list. Check listen.allowed_clients #58
Comments
What's your |
@gordalina There is no explicit configuration for Cachetool runs from the same machine, and uses the same socket as we use for our webserver. |
If you run cache tool after the error it works? How many times does it error before it works? |
Running it immediately after usually works |
We also faced this problem from time to time. our so maybe this problem is not completely relative to and our php version is also 7.0 & os version is Ubuntu 16.04 |
I found out that this is maybe a fastcgi client library problem (adoy/PHP-FastCGI-Client#13) It's seems that adoy/PHP-FastCGI-Client is not in actively maintained. maybe change a fastcgi client library is good idea ? |
Yeah, looks like someone forked |
Same problem for me. Sometimes I am getting same error |
For us mostly it occurs during deployment when flushing opcache it increases the load quite drastically and cachetool prints out this error, i think it's because of timeout that occurs in the underlying library that is executing the flush operation through FPM. It ends up succeeding but we get the error and can't suppress it or handle it so the build fails. Due to the high load it just takes longer for FPM to respond, ideally an option to change the timeout could also work |
I've switched from adoy/PHP-FastCGI-Client to https://github.com/hollodotme/fast-cgi-client and scripts invalidation works now! 🍾 See PR above. I also added this change to my PR as well: #94 P.S. Seems like tests failed because of bad build configuration (something wrong with GitHub token) |
I'm also hitting this problem. Migrating to https://github.com/hollodotme/fast-cgi-client seems like a solid idea. What's stopping merging #96? |
One of the big problems I'm experiencing is that after this failure, |
My problem was highly likely caused by a WordPress plugin calling |
@gordalina hi, can you do a release with this fix please and place it to http://gordalina.github.io/cachetool/downloads/cachetool.phar? Thank you. |
We use cachetool in our (automated) deploys. Once in a while this fails with a RuntimeException
It would be nice if cachetool could deal with this more gracefully (e.g. try again a few times and exit) instead of throwing an exception.
This happens on Ubuntu 16.04 + PHP 7.0.21
The text was updated successfully, but these errors were encountered: