- 최신
- 최다 투표
- 가장 많은 댓글
Hi,
I have tried to use (Pika) Python Library to connect RabbitMQ, it's not connecting using the Python as well.
Error:
pika.exceptions.IncompatibleProtocolError: StreamLostError: ("Stream connection lost: ConnectionResetError(54, 'Connection reset by peer')",)
I have checked the security group and allowed all the port for inbound and outbound.
Please let me know, how can I troubleshoot further.
Thanks,
Surya
Hi,
I have tried to figure out by myself. It's not connecting using the
connection = pika.BlockingConnection(pika.ConnectionParameters('localhost'))
It's working using below method.
#Python using Pika
url_parameters = pika.URLParameters('amqps://user:password@aws-hostname:5671/')
connection = pika.BlockingConnection(url_parameters)
Thanks,
Surya
관련 콘텐츠
- AWS 공식업데이트됨 2년 전