Skip to content
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

FOS\HttpCache\Exception\ProxyUnreachableException: Request to caching proxy at ecamp3-prod-api-cache:3001 failed with message "Could not resolve host: ecamp3-prod-api-cache for "http://ecamp3-prod-api-cache:3001/"." #7031

Open
sentry-io bot opened this issue Mar 14, 2025 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 14, 2025

Sentry Issue: ECAMP3-API-6K


TODO: test if we return a 500er status code if the cache is not reachable.
maybe find out, why the cache could not be reachable?
Symfony\Component\HttpClient\Exception\TransportException: Could not resolve host: ecamp3-prod-api-cache for "http://ecamp3-prod-api-cache:3001/".
  File "/src/HttpCache/VarnishProxyClient.php", line 73, in App\HttpCache\VarnishProxyClient::flush
    return parent::flush();
  File "/src/HttpCache/PurgeHttpCacheListener.php", line 120, in App\HttpCache\PurgeHttpCacheListener::postFlush
    $this->cacheManager->flush();
  File "/src/State/Util/AbstractPersistProcessor.php", line 47, in App\State\Util\AbstractPersistProcessor::process
    $data = $this->decorated->process($data, $operation, $uriVariables, $context);
  File "/public/index.php", line 5
    require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
...
(31 additional frame(s) were not displayed)

Symfony\Component\HttpClient\Exception\TransportException: Could not resolve host: ecamp3-prod-api-cache for "http://ecamp3-prod-api-cache:3001/".
  File "/src/HttpCache/VarnishProxyClient.php", line 73, in App\HttpCache\VarnishProxyClient::flush
    return parent::flush();
  File "/src/HttpCache/PurgeHttpCacheListener.php", line 120, in App\HttpCache\PurgeHttpCacheListener::postFlush
    $this->cacheManager->flush();
  File "/src/State/Util/AbstractPersistProcessor.php", line 47, in App\State\Util\AbstractPersistProcessor::process
    $data = $this->decorated->process($data, $operation, $uriVariables, $context);
  File "/public/index.php", line 5
    require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
...
(28 additional frame(s) were not displayed)

Http\Client\Exception\NetworkException: Could not resolve host: ecamp3-prod-api-cache for "http://ecamp3-prod-api-cache:3001/".
  File "/src/HttpCache/VarnishProxyClient.php", line 73, in App\HttpCache\VarnishProxyClient::flush
    return parent::flush();
  File "/src/HttpCache/PurgeHttpCacheListener.php", line 120, in App\HttpCache\PurgeHttpCacheListener::postFlush
    $this->cacheManager->flush();
  File "/src/State/Util/AbstractPersistProcessor.php", line 47, in App\State\Util\AbstractPersistProcessor::process
    $data = $this->decorated->process($data, $operation, $uriVariables, $context);
  File "/public/index.php", line 5
    require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
...
(27 additional frame(s) were not displayed)

FOS\HttpCache\Exception\ProxyUnreachableException: Request to caching proxy at ecamp3-prod-api-cache:3001 failed with message "Could not resolve host: ecamp3-prod-api-cache for "http://ecamp3-prod-api-cache:3001/"."
  File "/src/HttpCache/VarnishProxyClient.php", line 73, in App\HttpCache\VarnishProxyClient::flush
    return parent::flush();
  File "/src/HttpCache/PurgeHttpCacheListener.php", line 120, in App\HttpCache\PurgeHttpCacheListener::postFlush
    $this->cacheManager->flush();
  File "/src/State/Util/AbstractPersistProcessor.php", line 47, in App\State\Util\AbstractPersistProcessor::process
    $data = $this->decorated->process($data, $operation, $uriVariables, $context);
  File "/public/index.php", line 5
    require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
...
(20 additional frame(s) were not displayed)

Request to caching proxy at ecamp3-prod-api-cache:3001 failed with message "Could not resolve host: ecamp3-prod-api-cache for "http://ecamp3-prod-api-cache:3001/"."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants