No handler was ready to authenticate #51

yegor256 opened this Issue Aug 13, 2013 · 3 comments


None yet

2 participants


I'm getting this error once per every 100-200 runs of dynamic-dynamo (approximately):

2013-08-13 18:17:13,792 - dynamic-dynamodb - ERROR - Failed connecting to DynamoDB: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials
:  2013-08-13 18:17:13,792 - dynamic-dynamodb - ERROR - Please report an issue at:
:  Traceback (most recent call last):
:    File "/usr/local/bin/dynamic-dynamodb", line 22, in <module>
:      import dynamic_dynamodb
:    File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb/", line 26, in <module>
:      import core
:    File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb/core/", line 6, in <module>
:      import dynamodb
:    File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb/core/", line 56, in <module>
:      DYNAMODB_CONNECTION = __get_connection_dynamodb()
:    File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb/core/", line 23, in __get_connection_dynamodb
:      configuration['global']['region'])
:    File "/usr/local/lib/python2.7/dist-packages/boto/dynamodb/", line 65, in connect_to_region
:      return region.connect(**kw_params)
:    File "/usr/local/lib/python2.7/dist-packages/boto/", line 63, in connect
:      return self.connection_cls(region=self, **kw_params)
:    File "/usr/local/lib/python2.7/dist-packages/boto/dynamodb/", line 152, in __init__
:      validate_certs=validate_certs)
:    File "/usr/local/lib/python2.7/dist-packages/boto/dynamodb/", line 92, in __init__
:      validate_certs=validate_certs)
:    File "/usr/local/lib/python2.7/dist-packages/boto/", line 554, in __init__
:      host, config, self.provider, self._required_auth_capability())
:    File "/usr/local/lib/python2.7/dist-packages/boto/", line 686, in get_auth_handler
:      'Check your credentials' % (len(names), str(names)))
:  boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials
sebdah commented Aug 14, 2013

Thanks for the bug report. This is most likely a connection issue of some sort between boto and DynamoDB.

The issue is not on the Dynamic DynamoDB side, but a workaround could be to try to reconnect if the connection fails (for whatever reason).

I'll see if I can work on a reconnection feature to resolve this.

@sebdah sebdah was assigned Aug 14, 2013
sebdah commented Aug 15, 2013

This is handled in release 1.4.0! Just sudo pip install -U dynamic-dynamodb to get the latest release.

@sebdah sebdah closed this Aug 15, 2013


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment