Error on amqp_simple_wait_frame_noblock method

8 views
Skip to first unread message

Ram Prakash

unread,
Sep 4, 2019, 3:08:18 AM9/4/19
to rabbitmq-discuss

Hi,

I am using RabbitMQ broker to send messages from Java client to C client.

It is very useful for my application.


Recently, I tried sending messages with SSL enabled.


The application works properly.

        But, sometimes it gets crashed , with the C client getting an error on “amqp_simple_wait_frame_noblock” method.

The error code value is -512 and corresponding error string is “a SSL error occurred”.


I have configured SSL in java client as well as rabbitmq broker.


Changes I made to test SSL in C client :


amqp_ssl_socket_set_verify_peer(socket,0);

amql_ssl_socket_set_verify_hostname(socket,0);

amqp_ssl_socket_set_cacert(socket,ssl_cacert_file);

amqp_ssl_socket_set_key(socket,ssl_cert_file,ssl_key_file);


Kindly help me out in this issue.

Reply all
Reply to author
Forward
0 new messages