Skip to content

Instantly share code, notes, and snippets.

@mmaedler
Created July 13, 2018 07:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmaedler/04d1b475e1fda882b3638160fa155e11 to your computer and use it in GitHub Desktop.
Save mmaedler/04d1b475e1fda882b3638160fa155e11 to your computer and use it in GitHub Desktop.
YVES Exception
Spryker\Shared\ZedRequest\Client\Exception\RequestException - Server error: `POST http://zed.de.suite.local/hello-spryker/gateway/get-reversed-string` resulted in a `500 Internal Server Error` response:
YVES Exception
YVES Exception
Spryker\Yves\Application\Plugin\Exception\InvalidUrlConfigurationException - Incorrect HOST_YVES config, expected `zed.de.suite.local`, got `www.de.suite.local`. Set the URLs in your Shared/config_default_DE.php or env specific config files.
in /data/shop/development/current/vendor/spryker/application/src/Spryker/Yves/Application/Plugin/ServiceProvider/AssertUrlConfigurationServiceProvider.php (62)
Url:/hello-spryker/gateway/get-reversed-string
Trace:
#0 /data/shop/development/current/vendor/spryker/application/src/Spryker/Yves/Application/Plugin/ServiceProvider/AssertUrlConfigurationServiceProvider.php(39): Spryker\Yves\Application\Plugin\ServiceProvider\AssertUrlConfigurationServiceProvider->assertMatchingHostName(Object(Symfony\Component\HttpFoundation\Request))
#1 [internal function]: Spryker\Yves\Application\Plugin\ServiceProvider\AssertUrlConfigurationServiceProvider->Spryker\Yves\Application\Plugin\ServiceProvider\{closure}(Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Yves\Kernel\Application))
#2 /data/shop/development/current/vendor/silex/silex/src/Silex/Application.php(338): call_user_func(Object(Closure), Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Yves\Kernel\Application))
#3 [internal function]: Silex\Application->Silex\{closure}(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher))
#4 /data/shop/development/current/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(61): call_user_func(Object(Closure), Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher))
#5 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#6 /data/shop/development/current/vendor/symfony/event-dispatcher/EventDispatcher.php(174): call_user_func(Object(Symfony\Component\EventDispatcher\Debug\WrappedListener), Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#7 /data/shop/development/current/vendor/symfony/event-dispatcher/EventDispatcher.php(43): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#8 /data/shop/development/current/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(136): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#9 /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php(125): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#10 /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#11 /data/shop/development/current/vendor/silex/silex/src/Silex/Application.php(586): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#12 /data/shop/development/current/vendor/silex/silex/src/Silex/Application.php(563): Silex\Application->handle(Object(Symfony\Component\HttpFoundation\Request))
#13 /data/shop/development/current/public/Yves/index.php(22): Silex\Application->run()
#14 {main}
in /data/shop/development/current/vendor/spryker/zed-request/src/Spryker/Shared/ZedRequest/Client/AbstractHttpClient.php (160)
Url:/hello-spryker
Trace:
#0 /data/shop/development/current/vendor/spryker/zed-request/src/Spryker/Shared/ZedRequest/Client/AbstractZedClient.php(80): Spryker\Shared\ZedRequest\Client\AbstractHttpClient->request('/hello-spryker/...', Object(Generated\Shared\Transfer\HelloSprykerTransfer), Array, NULL)
#1 /data/shop/development/current/vendor/spryker/zed-request/src/Spryker/Client/ZedRequest/ZedRequestClient.php(50): Spryker\Shared\ZedRequest\Client\AbstractZedClient->call('/hello-spryker/...', Object(Generated\Shared\Transfer\HelloSprykerTransfer), NULL)
#2 /data/shop/development/current/src/Pyz/Client/HelloSpryker/Zed/HelloSprykerStub.php(27): Spryker\Client\ZedRequest\ZedRequestClient->call('/hello-spryker/...', Object(Generated\Shared\Transfer\HelloSprykerTransfer))
#3 /data/shop/development/current/src/Pyz/Client/HelloSpryker/HelloSprykerClient.php(23): Pyz\Client\HelloSpryker\Zed\HelloSprykerStub->getReversedString()
#4 /data/shop/development/current/src/Pyz/Yves/HelloSpryker/Controller/IndexController.php(19): Pyz\Client\HelloSpryker\HelloSprykerClient->getReversedString()
#5 [internal function]: Pyz\Yves\HelloSpryker\Controller\IndexController->indexAction()
#6 /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php(144): call_user_func_array(Array, Array)
#7 /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#8 /data/shop/development/current/vendor/silex/silex/src/Silex/Application.php(586): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#9 /data/shop/development/current/vendor/silex/silex/src/Silex/Application.php(563): Silex\Application->handle(Object(Symfony\Component\HttpFoundation\Request))
#10 /data/shop/development/current/public/Yves/index.php(22): Silex\Application->run()
#11 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment