AMQPConnectionError

217 views
Skip to first unread message

Atom Hard

unread,
Feb 1, 2022, 11:41:19 AM2/1/22
to rabbitmq-users
I try run tutorial code  using Google Colab and Jupiter notebooks and i always get an error AMQPConnectionError. I don't understand why. May be rabbitmq server is not installed?

Atom Hard

unread,
Feb 1, 2022, 11:42:19 AM2/1/22
to rabbitmq-users
I get error runing this line
connection = pika.BlockingConnection(pika.ConnectionParameters('localhost'))

вторник, 1 февраля 2022 г. в 20:41:19 UTC+4, Atom Hard:

Atom Hard

unread,
Feb 1, 2022, 11:42:48 AM2/1/22
to rabbitmq-users
--------------------------------------------------------------------------- AMQPConnectionError Traceback (most recent call last) <ipython-input-6-1d277a34ad7d> in <module> ----> 1 connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) 2 channel = connection.channel() /srv/conda/envs/notebook/lib/python3.6/site-packages/pika/adapters/blocking_connection.py in __init__(self, parameters, _impl_class) 358 # Perform connection workflow 359 self._impl = None # so that attribute is created in case below raises --> 360 self._impl = self._create_connection(parameters, _impl_class) 361 self._impl.add_on_close_callback(self._closed_result.set_value_once) 362 /srv/conda/envs/notebook/lib/python3.6/site-packages/pika/adapters/blocking_connection.py in _create_connection(self, configs, impl_class) 449 error = on_cw_done_result.value.result 450 LOGGER.error('Connection workflow failed: %r', error) --> 451 raise self._reap_last_connection_workflow_error(error) 452 else: 453 LOGGER.info('Connection workflow succeeded: %r', AMQPConnectionError:

вторник, 1 февраля 2022 г. в 20:42:19 UTC+4, Atom Hard:

Wes Peng

unread,
Feb 1, 2022, 1:09:31 PM2/1/22
to rabbitm...@googlegroups.com
Please connect to a normal Rabbitmq instance including the one you have installed in localhost.

Thanks 

On Wed, Feb 2, 2022 at 12:41 AM Atom Hard <471...@gmail.com> wrote:
I try run tutorial code  using Google Colab and Jupiter notebooks and i always get an error AMQPConnectionError. I don't understand why. May be rabbitmq server is not installed?

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/26e16c1f-8c30-4ede-b71d-1d9b7ccc5762n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages