RabbitMQ pika.exceptions.ConnectionClosed
I tried to send message and receive message using RabbitMQ. I dont have computer science background, the terms I used could not be very accurate. I try to copy the tutorial file: When submitting my html form, my python script (cgi) the message is submitting to the queue connection = pika.BlockingConnection(pika.ConnectionParameters(host='localhost')) channel = connection.channel() channel.queue_declare(queue='task_queue', durable=True) message = PN channel.basic_publish(exchange='', routing_key='task_queue', body=message, properties=pika.BasicProperties( delivery_mode = 2, # make message