Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Client program: https://github.com/amqphub/equipage/blob/main/qpid-proton-python/connect.py
Test output:
~/code/equipage/qpid-proton-python$ python connect.py notthere.net Traceback (most recent call last): File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_events.py", line 134, in _dispatch m = getattr(handler, method) AttributeError: 'GlobalOverrides' object has no attribute 'on_connection_bound'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/home/jross/code/equipage/qpid-proton-python/connect.py", line 56, in <module> main() File "/home/jross/code/equipage/qpid-proton-python/connect.py", line 52, in main container.run() File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_reactor.py", line 197, in run while self.process(): File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_reactor.py", line 262, in process event.dispatch(self._global_handler) File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_events.py", line 170, in dispatch _dispatch(handler, type.method, self) File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_events.py", line 137, in _dispatch handler.on_unhandled(method, *args) File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_reactor.py", line 905, in on_unhandled event.dispatch(self.base) File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_events.py", line 170, in dispatch _dispatch(handler, type.method, self) File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_events.py", line 139, in _dispatch m(*args) File "/home/jross/.local/lib/python3.9/site-packages/python_qpid_proton-0.38.0-py3.9-linux-x86_64.egg/proton/_handlers.py", line 1278, in on_connection_bound addrs = socket.getaddrinfo(host, port, socket.AF_UNSPEC, socket.SOCK_STREAM) File "/usr/lib64/python3.9/socket.py", line 954, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known ~/code/equipage/qpid-proton-python$ python connect.py example.net <tries to connect over and over> ^C ~/code/equipage/qpid-proton-python$