Created
August 11, 2012 22:17
-
-
Save dgouldin/3327545 to your computer and use it in GitHub Desktop.
librabbitmq misleading connection error message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [1]: import librabbitmq | |
In [2]: connection = librabbitmq.Connection(userid='bad', password='bad') | |
--------------------------------------------------------------------------- | |
ConnectionError Traceback (most recent call last) | |
<ipython-input-2-23c4e6e59779> in <module>() | |
----> 1 connection = librabbitmq.Connection(userid='bad', password='bad') | |
/Users/dgouldin/virtualenv/djangocon2012/lib/python2.7/site-packages/librabbitmq/__init__.pyc in __init__(self, host, userid, password, virtual_host, port, channel_max, frame_max, heartbeat, lazy, **kwargs) | |
166 self._avail_channel_ids = array('H', xrange(self.channel_max, 0, -1)) | |
167 if not lazy: | |
--> 168 self.connect() | |
169 | |
170 def reconnect(self): | |
ConnectionError: Couldn't log in: Argument list too long | |
In [3]: connection = librabbitmq.Connection() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment