[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17150550#comment-17150550 ] Angelo Mendonca commented on PROTON-2218: - Thanks Jiri > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, > image-2020-05-12-17-01-10-260.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17106027#comment-17106027 ] Jiri Daněk commented on PROTON-2218: Support multiple connection URLs in the BlockingConnection class: https://github.com/apache/qpid-proton/pull/243 > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, > image-2020-05-12-17-01-10-260.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105782#comment-17105782 ] Angelo Mendonca commented on PROTON-2218: - The copy paste was not so good... > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, > image-2020-05-12-17-01-10-260.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105781#comment-17105781 ] Angelo Mendonca commented on PROTON-2218: - {code:java} from proton.handlers import MessagingHandler from proton.reactor import Container from proton import Message import jsonclass FailOverHandler(MessagingHandler): def __init__(self, url_one, url_two, queue, message): super(FailOverHandler, self).__init__() self.url_one = url_one self.url_two = url_two self.queue = queue self.sender = None self.conn = None self.message = message self.count = 0def on_sendable(self, event): print("On Sendable") self.send()def on_connection_error(self,event): print(event) event.connection.close() def on_transport_error(self, event): print(event) event.connection.close() print(event.transport.condition)def send(self): while self.sender.credit and self.count < 200: body = json.dumps(self.message) self.sender.send(Message(durable=True, body=body)) self.count +=1 print("Sent message")def on_accepted(self, event): print("Accepted") event.connection.close()def on_start(self, event): print("Starting") self.conn = event.container.connect(urls=[self.url_one, self.url_two], address=self.queue, sasl_enabled=True, allow_insecure_mechs=False,password='DFfoSQM2ZYlLqCLm', user='DsWPjfKALYgKmtwsVGHBceceygn', reconnect=True) self.conn.state print("Creating Sender") self.sender = event.container.create_sender(self.conn, self.queue)url_one='amqps://b-4655a180-9a2d-4c67-99aa-bbe51f58b963-1.mq.us-east-1.amazonaws.com:5671' url_two='amqps://b-4655a180-9a2d-4c67-99aa-bbe51f58b963-2.mq.us-east-1.amazonaws.com:5671' hdl=FailOverHandler(url_one,url_two,'test', '{"Name":"Test Data"}') c=Container(hdl) c.run() {code} > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, > image-2020-05-12-17-01-10-260.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105779#comment-17105779 ] Jiri Daněk commented on PROTON-2218: Just say no to code pasted as screenshot! How am I supposed to copypaste from that? I don't always have OCR program at hand :P Jira has code highlighting, btw, and anyways, fancy colours are not that important, anyways. > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, > image-2020-05-12-17-01-10-260.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105778#comment-17105778 ] Angelo Mendonca commented on PROTON-2218: - {noformat} {noformat} !image-2020-05-12-17-01-10-260.png! {noformat} Then hats all the code I have.{noformat} > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, > image-2020-05-12-17-01-10-260.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105774#comment-17105774 ] Jiri Daněk commented on PROTON-2218: bq. Whats the proton email list? https://qpid.apache.org/discussion.html bq. And I am passing in the urls...It also shows that its getting the urls.. Well, {{c=Container(hdl).run()}} is nonsense. run() returns {{None}}, so why are you assigning it to {{c}}? You may have more mistakes like that in your program, which somehow result in not connecting where you intend to. > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105773#comment-17105773 ] Angelo Mendonca commented on PROTON-2218: - Thanks [~jdanek] > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105771#comment-17105771 ] Angelo Mendonca commented on PROTON-2218: - And then if I change the order of the urls with the broker that is active to the first element in the urls=[...] list..I get {noformat} Condition('amqp:unauthorized-access', 'Authentication failed [mech=PLAIN]')...{noformat} > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105769#comment-17105769 ] Angelo Mendonca commented on PROTON-2218: - Whats the proton email list? > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105765#comment-17105765 ] Jiri Daněk commented on PROTON-2218: bq. I have 2 servers in AWS MQ. I can netcat to one of them from the EC2 instance but when I try to connect using proton I get `Condition('proton.pythonio', 'Connection refused to all addresses')`. Anything that I should be looking into...Mind you I can connect to the broker from telnet... I'd try to check where it is actually connecting. I have a feeling that it will default to amqp://localhost:5672 if you do not pass it url, or you pass url incorrectly. Not sure what would be an easy way to check. Run the program under {{strace}}, or whatever Windows uses instead of it, if you are on Windows? Step through it in debugger? Anyways, we got pretty far from the original Jira ticket. This would be best to take to proton e-mail list. > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105763#comment-17105763 ] Angelo Mendonca commented on PROTON-2218: - {noformat} { "scheme": "amqps", "user": "SOME", "password": "SOME", "sasl": { "enable": true, "allow_insecure": false }, "tls": { "enable": true, "ca": null, "cert": "/root/certificate.pem", "key": "/root/privateKey.key", "verify": false } }{noformat} This is my connect.json. > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105761#comment-17105761 ] Jiri Daněk commented on PROTON-2218: bq. Without calling container.run() can I just use the connection that container.connect returns? Yes, but you can only use it from the {{on_...}} handlers, and you need the proton eventloop running, which means calling {{container.run()}}. bq. What If I want to setup a connection only when a rest endpoint gets called and then send a message? This sounds like the the interactive example, https://github.com/apache/qpid-proton/blob/7abcfc7aba6cfd1c938324cf34a51555c845a589/python/examples/tx_recv_interactive.py#L76-L83. You'd have your rest endpoint triggering events inside the proton eventloop using EventInjector. bq. Problem is the rest of the team is using BlockingConnection for dev purposes and I have been tasked to add the failover with. How do you know you need to failover, when using BlockingConnection? You get an exception that you were disconnected. So add a try: except block, catch the exception, and connect again, essentially. That way you can keep using BlockingConnection. > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105759#comment-17105759 ] Angelo Mendonca commented on PROTON-2218: - I have 2 servers in AWS MQ. I can netcat to one of them from the EC2 instance but when I try to connect using proton I get `Condition('proton.pythonio', 'Connection refused to all addresses')`. Anything that I should be looking into...Mind you I can connect to the broker from telnet... > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105754#comment-17105754 ] Angelo Mendonca commented on PROTON-2218: - ok will give that a shot...Problem is the rest of the team is using BlockingConnection for dev purposes and I have been tasked to add the failover with. Without calling container.run() can I just use the connection that container.connect returns? Most of the example code is showing to pass messages when the process starts..What If I want to setup a connection only when a rest endpoint gets called and then send a message? > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105748#comment-17105748 ] Jiri Daněk commented on PROTON-2218: You can either catch the exception when the broker disconnects you and then reconnect yourself. Or you can use `proton.Container` directly, call {{.connect}} with {{urls=[...], reconnect=True...}} Essentially the code you had above, your {{def on_start}} and so on. BlockingConnection is just a wrapper around proton.Container. > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105738#comment-17105738 ] Angelo Mendonca commented on PROTON-2218: - So what do you suggest I use for failover with AmazonMQ? I am banging on my head on trying to figure this out... > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105734#comment-17105734 ] Jiri Daněk commented on PROTON-2218: You cannot specify multiple urls, because you cannot do failover with BlockingConnection. If you take a look how it is defined, it explicitly connects with {{reconnect=False}}. https://github.com/apache/qpid-proton/blob/3075d7a6aff6d6419e48a30b428299aa899e3d79/python/proton/_utils.py#L359-L360 There was a similar issue about connecting to Azure IoT ServiceBuss, PROTON-2044. Blocking connection may not be flexible enough for you. > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105719#comment-17105719 ] Angelo Mendonca commented on PROTON-2218: - Oh ok..Thank you[~jdanek] Is there documentation to use multiple urls for failover with BlockingConnection. I dont see any example of using multiple url.. > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Assignee: Jiri Daněk >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17105693#comment-17105693 ] Jiri Daněk commented on PROTON-2218: The way {{**kwargs}} works in Python is that it collects all keyword parameters which are not given explicitly in function definition. bq. When a final formal parameter of the form **name is present, it receives a dictionary (see Mapping Types — dict) containing all keyword arguments except for those corresponding to a formal parameter. https://docs.python.org/3/tutorial/controlflow.html#keyword-arguments You do not specify a {{kwargs}} parameter explicitly, as a dictionary. Instead, you just pass the keys as keyword arguments, and Python collects them into the {{kwargs}}. !jd_answer_1.png! > Connector.user and Connector.Password are None > -- > > Key: PROTON-2218 > URL: https://issues.apache.org/jira/browse/PROTON-2218 > Project: Qpid Proton > Issue Type: Bug > Components: python-binding >Affects Versions: proton-c-0.30.0 >Reporter: Angelo Mendonca >Priority: Major > Attachments: image-2020-05-12-14-18-33-313.png, jd_answer_1.png > > > > {noformat} > connector.user = kwargs.get('user', self.user) > print("User", kwargs.get('user', self.user)) > print(connector.user) > connector.password = kwargs.get('password', self.password) > print("password", kwargs.get('password', self.password)) > print(connector.password){noformat} > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1264] > > [https://github.com/apache/qpid-proton/blob/4265cc7ab8391630b47da2de4c1ead2f28763980/python/proton/_reactor.py#L1265] > > Dont see to exist in kwargs although the print statement just above the > kwargs.get shows that user and password exist... > The output is below.. > > {code:java} > KWARGS {'kwargs': {'sasl_enabled': True, 'allow_insecure_mechs': True, > 'password': 'DFfoSQM2ZYlLqCLm', 'user': 'DsWPjfKALYgKmtwsVGHBceceygn'}} > User None > None > password None > None > {code} > > The Code setups a container connection.. > !image-2020-05-12-14-18-33-313.png! > > No idea why the user and password are not being set although kwagrs contains > both the keysI am trying to get failover to work with AWS Amazon MQ. Does > BlockingConnection let you work with multiple URLS? Or do I need to use > "container.connect"? > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org