Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
proton-c-0.37.0
-
None
-
None
Description
When trying to connect to an Azure Service Bus with the ruby bindings, I was getting the following error from Azure: Host name (open.hostname) must be set.
Checking with the Python bindings, I noticed this line: https://github.com/apache/qpid-proton/blob/0c240d12a2ceca3e361a4c6efce86a984c316927/python/proton/_reactor.py#L1052
I couldn't find something like this in the Ruby bindings, so I have to do something like the following myself:
c = container.connect(@url, user: CGI.unescape(@url.user), password: CGI.unescape(@url.password), sasl_allowed_mechs: 'PLAIN', ssl_domain: ssl_domain)
c.hostname = @url.hostname
Considering that the python bindings are taking care of this and this isn't mentioned anywhere, it would be good if the ruby bindings did that same.