Skip to content

Instantly share code, notes, and snippets.

@wizhippo
Created October 25, 2017 20:54
Show Gist options
  • Save wizhippo/d9e747a4a074e97dacf974c9f67c182f to your computer and use it in GitHub Desktop.
Save wizhippo/d9e747a4a074e97dacf974c9f67c182f to your computer and use it in GitHub Desktop.
cache clearing error
userx@userx-vb:~/src/ezsystems/ezplatform$ app/console -vvv cache:clear
[2017-10-25 16:53:00] app.DEBUG: Changing SiteAccess in view providers
[2017-10-25 16:53:00] event.DEBUG: Notified event "ezpublish.config.scope_change" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\ConfigScopeListener::onConfigScopeChange".
[2017-10-25 16:53:00] event.DEBUG: Notified event "ezpublish.config.scope_change" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\DynamicSettingsListener::onConfigScopeChange".
[2017-10-25 16:53:00] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
[2017-10-25 16:53:00] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DumpListener::configure".
[2017-10-25 16:53:00] event.DEBUG: Notified event "console.command" to listener "Symfony\Bridge\Monolog\Handler\ConsoleHandler::onCommand".
[2017-10-25 16:53:00] event.DEBUG: Notified event "console.command" to listener "Symfony\Bridge\Monolog\Handler\ConsoleHandler::onCommand".
[2017-10-25 16:53:00] event.DEBUG: Notified event "console.command" to listener "eZ\Bundle\EzPublishCoreBundle\EventListener\ConsoleCommandListener::onConsoleCommand".
// Clearing the cache for the dev environment with debug true
// Warming up cache...
// Removing old cache directory...
// Finished
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
[2017-10-25 16:53:11] app.CRITICAL: 0 error response "Server error response [status code] 501 [reason phrase] Not Implemented [url] http://localhost:6081/" from caching proxy at localhost. BAN / HTTP/1.1 Host: localhost:6081 X-Host: .* X-Url: .* X-Content-Type: .* X-Location-Id: .* User-Agent: Guzzle/3.9.3 curl/7.47.0 PHP/7.1.10-1+ubuntu16.04.1+deb.sury.org+1 Content-Length: 0 {"exception":"[object] (FOS\\HttpCache\\Exception\\ProxyResponseException(code: 0): 0 error response \"Server error response\n[status code] 501\n[reason phrase] Not Implemented\n[url] http://localhost:6081/\" from caching proxy at localhost. BAN / HTTP/1.1\r\nHost: localhost:6081\r\nX-Host: .*\r\nX-Url: .*\r\nX-Content-Type: .*\r\nX-Location-Id: .*\r\nUser-Agent: Guzzle/3.9.3 curl/7.47.0 PHP/7.1.10-1+ubuntu16.04.1+deb.sury.org+1\r\nContent-Length: 0 at /home/userx/src/ezsystems/ezplatform/vendor/friendsofsymfony/http-cache/src/Exception/ProxyResponseException.php:40, Guzzle\\Http\\Exception\\ServerErrorResponseException(code: 0): Server error response\n[status code] 501\n[reason phrase] Not Implemented\n[url] http://localhost:6081/ at /home/userx/src/ezsystems/ezplatform/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php:43)"}
[2017-10-25 16:53:11] app.CRITICAL: 0 error response "Server error response [status code] 501 [reason phrase] Not Implemented [url] http://localhost:6081/" from caching proxy at localhost. BAN / HTTP/1.1 Host: localhost:6081 X-Host: .* X-Url: .* X-Content-Type: .* X-Location-Id: .* User-Agent: Guzzle/3.9.3 curl/7.47.0 PHP/7.1.10-1+ubuntu16.04.1+deb.sury.org+1 Content-Length: 0 {"exception":"[object] (FOS\\HttpCache\\Exception\\ProxyResponseException(code: 0): 0 error response \"Server error response\n[status code] 501\n[reason phrase] Not Implemented\n[url] http://localhost:6081/\" from caching proxy at localhost. BAN / HTTP/1.1\r\nHost: localhost:6081\r\nX-Host: .*\r\nX-Url: .*\r\nX-Content-Type: .*\r\nX-Location-Id: .*\r\nUser-Agent: Guzzle/3.9.3 curl/7.47.0 PHP/7.1.10-1+ubuntu16.04.1+deb.sury.org+1\r\nContent-Length: 0 at /home/userx/src/ezsystems/ezplatform/vendor/friendsofsymfony/http-cache/src/Exception/ProxyResponseException.php:40, Guzzle\\Http\\Exception\\ServerErrorResponseException(code: 0): Server error response\n[status code] 501\n[reason phrase] Not Implemented\n[url] http://localhost:6081/ at /home/userx/src/ezsystems/ezplatform/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php:43)"}
[2017-10-25 16:53:11] event.DEBUG: Notified event "fos_http_cache.error.response" to listener "FOS\HttpCache\EventListener\LogSubscriber::onProxyResponseError".
[2017-10-25 16:53:11] event.DEBUG: Notified event "fos_http_cache.error.response" to listener "FOS\HttpCache\EventListener\LogSubscriber::onProxyResponseError".
[FOS\HttpCache\Exception\ExceptionCollection]
0 error response "Server error response
[status code] 501
[reason phrase] Not Implemented
[url] http://localhost:6081/" from caching proxy at localhost. BAN / HTTP/1.1
Host: localhost:6081
X-Host: .*
X-Url: .*
X-Content-Type: .*
X-Location-Id: .*
User-Agent: Guzzle/3.9.3 curl/7.47.0 PHP/7.1.10-1+ubuntu16.04.1+deb.sury.org+1
Content-Length: 0
Exception trace:
() at /home/userx/src/ezsystems/ezplatform/vendor/friendsofsymfony/http-cache/src/ProxyClient/AbstractProxyClient.php:224
FOS\HttpCache\ProxyClient\AbstractProxyClient->handleException() at /home/userx/src/ezsystems/ezplatform/vendor/friendsofsymfony/http-cache/src/ProxyClient/AbstractProxyClient.php:211
FOS\HttpCache\ProxyClient\AbstractProxyClient->sendRequests() at /home/userx/src/ezsystems/ezplatform/vendor/friendsofsymfony/http-cache/src/ProxyClient/AbstractProxyClient.php:129
FOS\HttpCache\ProxyClient\AbstractProxyClient->flush() at /home/userx/src/ezsystems/ezplatform/app/cache/dev/appDevDebugProjectContainer.php:29455
FOSHttpCacheProxyClientVarnish_000000001082997c0000000041ed0178d70d0f24ba208e5621da5e22b9ee04ea->flush() at /home/userx/src/ezsystems/ezplatform/vendor/friendsofsymfony/http-cache/src/CacheInvalidator.php:333
FOS\HttpCache\CacheInvalidator->flush() at /home/userx/src/ezsystems/ezplatform/vendor/friendsofsymfony/http-cache-bundle/EventListener/InvalidationSubscriber.php:126
FOS\HttpCacheBundle\EventListener\InvalidationSubscriber->onConsoleTerminate() at n/a:n/a
call_user_func() at /home/userx/src/ezsystems/ezplatform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:61
Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() at n/a:n/a
call_user_func() at /home/userx/src/ezsystems/ezplatform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:184
Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /home/userx/src/ezsystems/ezplatform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:46
Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at /home/userx/src/ezsystems/ezplatform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:138
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() at /home/userx/src/ezsystems/ezplatform/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:910
Symfony\Component\Console\Application->doRunCommand() at /home/userx/src/ezsystems/ezplatform/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:202
Symfony\Component\Console\Application->doRun() at /home/userx/src/ezsystems/ezplatform/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:89
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/userx/src/ezsystems/ezplatform/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:120
Symfony\Component\Console\Application->run() at /home/userx/src/ezsystems/ezplatform/app/console:29
cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--siteaccess [SITEACCESS]] [--] <command>
userx@userx-vb:~/src/ezsystems/ezplatform$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment