Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pika.exceptions.ProbableAuthenticationError: (-1, 'EOF') #1437

Open
Damon-YSQ opened this issue Jul 17, 2023 · 0 comments
Open

pika.exceptions.ProbableAuthenticationError: (-1, 'EOF') #1437

Damon-YSQ opened this issue Jul 17, 2023 · 0 comments

Comments

@Damon-YSQ
Copy link

Damon-YSQ commented Jul 17, 2023

Thank you for using Pika.

  • IMPORTANT -----------------------------------------------------------
    STOP NOW AND READ THIS BEFORE OPENING A NEW ISSUE ON GITHUB

pika version:0.13.0
python version:3.7.9
rabbitmq version:3.10.6
Now, I use python pika connect rabbitmq, sometimes, I get the error:

2023-07-13 16:25:24,819 [pika.adapters.base_connection] ERROR: Read empty data, calling disconnect
2023-07-13 16:25:24,820 [pika.connection] ERROR: Connection closed while authenticating indicating a probable authentication error
2023-07-13 16:25:24,821 [pika.connection] ERROR: Connection setup failed due to Client was disconnected at a connection stage indicating a probable authentication error: (-1, 'EOF')
2023-07-13 16:25:24,821 [pika.adapters.blocking_connection] ERROR: Connection open failed - Client was disconnected at a connection stage indicating a probable authentication error: (-1, 'EOF')
2023-07-13 16:25:24,821 [pysdx.amqp_client] WARNING: Failed to create AMQP client for thread: <_MainThread(Dispatch-workflow, started 140068724905792)> (ProbableAuthenticationError: (-1, 'EOF'))
2023-07-13 16:25:24,838 [main] ERROR: Task pysdx.plugins.workflows.execute_operation[e9523b06-4a36-43a8-b150-b21814038804] raised:
Traceback (most recent call last):
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pysdx/dispatch.py", line 810, in main
payload = handler.handle()
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pysdx/dispatch.py", line 576, in handle
return self._handle_remote_workflow()
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pysdx/dispatch.py", line 584, in _handle_remote_workflow
amqp_client_utils.init_amqp_client()
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pysdx/amqp_client_utils.py", line 50, in init_amqp_client
thread_storage.amqp_client = amqp_client.create_client()
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pysdx/amqp_client.py", line 178, in create_client
client = AMQPClient(**amqp_settings)
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pysdx/amqp_client.py", line 66, in init
self._connect()
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pysdx/amqp_client.py", line 75, in _connect
raise e
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pysdx/amqp_client.py", line 72, in _connect
self.connection = pika.BlockingConnection(self._connection_parameters)
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 377, in init
self._process_io_for_connection_setup()
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 417, in _process_io_for_connection_setup
self._open_error_result.is_ready)
File "/opt/mgmtworker/env/lib/python3.7/site-packages/pika/adapters/blocking_connection.py", line 469, in _flush_output
raise maybe_exception
pika.exceptions.ProbableAuthenticationError: (-1, 'EOF')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant