You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
Testing out the V3 module here and it looks like there may be some configuration details that I'm missing ... but the createSqs() method isn't passing in arguments on object instantiation.
When I have my ['aws' => ['sqs' => ['version' => '2012-11-05']]] specified in autoload configuration the parameter doesn't appear to be passed in to AWS. This could be an issue with the aws sdk for php ZF2 module or somewhere else along the lines.
Full trace available below:
php win_index.php queue-test
======================================================================
The application has thrown an exception!
======================================================================
Zend\ServiceManager\Exception\ServiceNotCreatedException
An exception was raised while creating "QueueTest\Controller\QueueTestController"; no instance returned
----------------------------------------------------------------------
/var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php:941
#0 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(330): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Array, 'queuetestcontro...', 'QueueTest\\Contr...')
#1 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(287): Zend\ServiceManager\AbstractPluginManager->createServiceViaCallback(Array, 'queuetestcontro...', 'QueueTest\\Contr...')
#2 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(634): Zend\ServiceManager\AbstractPluginManager->createFromFactory('queuetestcontro...', 'QueueTest\\Contr...')
#3 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(597): Zend\ServiceManager\ServiceManager->doCreate('QueueTest\\Contr...', 'queuetestcontro...')
#4 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create(Array)
#5 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(161): Zend\ServiceManager\ServiceManager->get('QueueTest\\Contr...', true)
#6 /var/www/domains/com.example.api/vendor/zendframework/zend-mvc/src/DispatchListener.php(94): Zend\ServiceManager\AbstractPluginManager->get('QueueTest\\Contr...')
#7 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#8 /var/www/domains/com.example.api/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#9 /var/www/domains/com.example.api/vendor/zendframework/zend-eventmanager/src/EventManager.php(263): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /var/www/domains/com.example.api/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#11 /var/www/domains/com.example.api/public/index.php(63): Zend\Mvc\Application->run()
#12 /var/www/domains/com.example.api/win_index.php(4): require_once('/var/www/domain...')
#13 {main}
======================================================================
Previous Exception(s):
======================================================================
Zend\ServiceManager\Exception\ServiceNotCreatedException
An exception was raised while creating "queue-test-processor"; no instance returned
----------------------------------------------------------------------
/var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php:941
#0 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(330): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Array, 'queuetestcontro...', 'QueueTest\\Contr...')
#1 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(287): Zend\ServiceManager\AbstractPluginManager->createServiceViaCallback(Array, 'queuetestcontro...', 'QueueTest\\Contr...')
#2 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(634): Zend\ServiceManager\AbstractPluginManager->createFromFactory('queuetestcontro...', 'QueueTest\\Contr...')
#3 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(597): Zend\ServiceManager\ServiceManager->doCreate('QueueTest\\Contr...', 'queuetestcontro...')
#4 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create(Array)
#5 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(161): Zend\ServiceManager\ServiceManager->get('QueueTest\\Contr...', true)
#6 /var/www/domains/com.example.api/vendor/zendframework/zend-mvc/src/DispatchListener.php(94): Zend\ServiceManager\AbstractPluginManager->get('QueueTest\\Contr...')
#7 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#8 /var/www/domains/com.example.api/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#9 /var/www/domains/com.example.api/vendor/zendframework/zend-eventmanager/src/EventManager.php(263): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /var/www/domains/com.example.api/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#11 /var/www/domains/com.example.api/public/index.php(63): Zend\Mvc\Application->run()
#12 /var/www/domains/com.example.api/win_index.php(4): require_once('/var/www/domain...')
#13 {main}
======================================================================
InvalidArgumentException
Missing required client configuration options:
version: (string)
A "version" configuration value is required. Specifying a version constraint
ensures that your code will not be affected by a breaking change made to the
service. For example, when using Amazon S3, you can lock your API version to
"2006-03-01".
Your build of the SDK has the following version(s) of "sqs": * "2012-11-05"
You may provide "latest" to the "version" configuration value to utilize the
most recent available API version that your client's API provider can find.
Note: Using 'latest' in a production application is not recommended.
A list of available API versions can be found on each client's API documentation
page: http://docs.aws.amazon.com/aws-sdk-php/v3/api/index.html. If you are
unable to load a specific API version, then you may need to update your copy of
the SDK.
----------------------------------------------------------------------
/var/www/domains/com.example.api/vendor/aws/aws-sdk-php/src/ClientResolver.php:350
#0 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(330): Zend\ServiceManager\ServiceManager->createServiceViaCallback(Array, 'queuetestcontro...', 'QueueTest\\Contr...')
#1 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(287): Zend\ServiceManager\AbstractPluginManager->createServiceViaCallback(Array, 'queuetestcontro...', 'QueueTest\\Contr...')
#2 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(634): Zend\ServiceManager\AbstractPluginManager->createFromFactory('queuetestcontro...', 'QueueTest\\Contr...')
#3 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(597): Zend\ServiceManager\ServiceManager->doCreate('QueueTest\\Contr...', 'queuetestcontro...')
#4 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(530): Zend\ServiceManager\ServiceManager->create(Array)
#5 /var/www/domains/com.example.api/vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php(161): Zend\ServiceManager\ServiceManager->get('QueueTest\\Contr...', true)
#6 /var/www/domains/com.example.api/vendor/zendframework/zend-mvc/src/DispatchListener.php(94): Zend\ServiceManager\AbstractPluginManager->get('QueueTest\\Contr...')
#7 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#8 /var/www/domains/com.example.api/vendor/zendframework/zend-eventmanager/src/EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#9 /var/www/domains/com.example.api/vendor/zendframework/zend-eventmanager/src/EventManager.php(263): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /var/www/domains/com.example.api/vendor/zendframework/zend-mvc/src/Application.php(340): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#11 /var/www/domains/com.example.api/public/index.php(63): Zend\Mvc\Application->run()
#12 /var/www/domains/com.example.api/win_index.php(4): require_once('/var/www/domain...')
#13 {main}
The text was updated successfully, but these errors were encountered:
Testing out the V3 module here and it looks like there may be some configuration details that I'm missing ... but the createSqs() method isn't passing in arguments on object instantiation.
When I have my ['aws' => ['sqs' => ['version' => '2012-11-05']]] specified in autoload configuration the parameter doesn't appear to be passed in to AWS. This could be an issue with the aws sdk for php ZF2 module or somewhere else along the lines.
Full trace available below:
The text was updated successfully, but these errors were encountered: