(Migrated) AMQPS IncompatibleProtocolError

(This message has been automatically imported from the retired mailing list)

Am I correct that AMPQS is not currently supported? I was able to
configure an AMQP connection (5672), but get an exception when attempting
to connect to the AMQPS port (5671)

2015-03-24 15:33:26,364 DEBG ‘zato-server2’ stderr output:
Exception in thread Thread-7:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
self.run()
File “/usr/lib/python2.7/threading.py”, line 763, in run
self.__target(*self.__args, **self.__kwargs)
File
"/opt/zato/2.0.2/zato-server/src/zato/server/connection/init.py", line
92, in _run
self.start()
File
"/opt/zato/2.0.2/zato-server/src/zato/server/connection/init.py", line
132, in start
self._start()
File
"/opt/zato/2.0.2/zato-server/src/zato/server/connection/amqp/init.py",
line 56, in _start
self.conn.ioloop.start()
File
"/opt/zato/2.0.2/eggs/pika-0.9.12-py2.7.egg/pika/adapters/select_connection.py",
line 102, in start
self.poller.start()
File
"/opt/zato/2.0.2/eggs/pika-0.9.12-py2.7.egg/pika/adapters/select_connection.py",
line 390, in start
self.poll()
File
"/opt/zato/2.0.2/eggs/pika-0.9.12-py2.7.egg/pika/adapters/select_connection.py",
line 445, in poll
self._handler(fileno, event, write_only=write_only)
File
"/opt/zato/2.0.2/eggs/pika-0.9.12-py2.7.egg/pika/adapters/base_connection.py",
line 294, in _handle_events
self._handle_read()
File
"/opt/zato/2.0.2/eggs/pika-0.9.12-py2.7.egg/pika/adapters/base_connection.py",
line 315, in _handle_read
return self._handle_disconnect()
File
"/opt/zato/2.0.2/eggs/pika-0.9.12-py2.7.egg/pika/adapters/base_connection.py",
line 223, in _handle_disconnect
self._adapter_disconnect()
File
"/opt/zato/2.0.2/eggs/pika-0.9.12-py2.7.egg/pika/adapters/base_connection.py",
line 135, in _adapter_disconnect
self._check_state_on_disconnect()
File
"/opt/zato/2.0.2/eggs/pika-0.9.12-py2.7.egg/pika/adapters/base_connection.py",
line 146, in _check_state_on_disconnect
raise exceptions.IncompatibleProtocolError
IncompatibleProtocolError

On 24/03/15 16:34, Michael Dyer wrote:

Am I correct that AMPQS is not currently supported? I was able to
configure an AMQP connection (5672), but get an exception when
attempting to connect to the AMQPS port (5671)

Hi Michael,

this is correct - the assumption right now is that the connections will
be to plain TCP sockets only.

It’s possible to extend Zato so it starts establishing such TLS
connections including authentication with client certificates.

Essentially, what is here below would be possible with AMQP in addition
to HTTP:

https://zato.io/docs/web-admin/security/tls/ca-certs.html
https://zato.io/docs/web-admin/security/tls/keys-certs.html