[jira] [Updated] (PROTON-2333) Identify to Azure Identity using Certificates. Service Principal
[ https://issues.apache.org/jira/browse/PROTON-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Angelo Mendonca updated PROTON-2333: Issue Type: New Feature (was: Wish) > Identify to Azure Identity using Certificates. Service Principal > > > Key: PROTON-2333 > URL: https://issues.apache.org/jira/browse/PROTON-2333 > Project: Qpid Proton > Issue Type: New Feature >Reporter: Angelo Mendonca >Priority: Major > > Is it possible to authorize to Azure Identity using Certificate Credentials > instead of a Username and password embedded into the url. > > the project we are working on wants us to use certs for authorizing to azure > identity before using the service bus. Is this supported by Proton Python > Lib? -- 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-2333) Identify to Azure Identity using Certificates. Service Principal
[ https://issues.apache.org/jira/browse/PROTON-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283121#comment-17283121 ] Angelo Mendonca commented on PROTON-2333: - [~danecek] Please can you let me know if this is even possible. > Identify to Azure Identity using Certificates. Service Principal > > > Key: PROTON-2333 > URL: https://issues.apache.org/jira/browse/PROTON-2333 > Project: Qpid Proton > Issue Type: Wish >Reporter: Angelo Mendonca >Priority: Major > > Is it possible to authorize to Azure Identity using Certificate Credentials > instead of a Username and password embedded into the url. > > the project we are working on wants us to use certs for authorizing to azure > identity before using the service bus. Is this supported by Proton Python > Lib? -- 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] [Created] (PROTON-2333) Identify to Azure Identity using Certificates. Service Principal
Angelo Mendonca created PROTON-2333: --- Summary: Identify to Azure Identity using Certificates. Service Principal Key: PROTON-2333 URL: https://issues.apache.org/jira/browse/PROTON-2333 Project: Qpid Proton Issue Type: Wish Reporter: Angelo Mendonca Is it possible to authorize to Azure Identity using Certificate Credentials instead of a Username and password embedded into the url. the project we are working on wants us to use certs for authorizing to azure identity before using the service bus. Is this supported by Proton Python Lib? -- 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-2303) SSL Unknown Error
[ https://issues.apache.org/jira/browse/PROTON-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17232914#comment-17232914 ] Angelo Mendonca commented on PROTON-2303: - { "scheme": "amqps", "sasl": { "enable": true, "allow_insecure": false } , "tls": { "enable": true, "ca":null "cert": "/etc/ssl/certs/email_certificate.pem", "key": "/etc/pki/tls/private/privateKey.key", "verify": false } } > SSL Unknown Error > - > > Key: PROTON-2303 > URL: https://issues.apache.org/jira/browse/PROTON-2303 > Project: Qpid Proton > Issue Type: Bug >Reporter: Angelo Mendonca >Priority: Major > > ERROR - ActiveMQ connection exception, Retrying, Connection > amqps://x...@id-1.mq.us-east-1.amazonaws.com:5671 disconnected: > Condition('amqp:connection:framing-error', 'SSL Failure: Unknown error') -- 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] [Created] (PROTON-2303) SSL Unknown Error
Angelo Mendonca created PROTON-2303: --- Summary: SSL Unknown Error Key: PROTON-2303 URL: https://issues.apache.org/jira/browse/PROTON-2303 Project: Qpid Proton Issue Type: Bug Reporter: Angelo Mendonca ERROR - ActiveMQ connection exception, Retrying, Connection amqps://x...@id-1.mq.us-east-1.amazonaws.com:5671 disconnected: Condition('amqp:connection:framing-error', 'SSL Failure: Unknown error') -- 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-2256) msg.content_type is null when reading from aws mq.
[ https://issues.apache.org/jira/browse/PROTON-2256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173434#comment-17173434 ] Angelo Mendonca commented on PROTON-2256: - [~robbie] When we send the message to the queue via the stomp protocol we set the content_type to json. Is there something else that needs to be done to set it? Thank you for your response.. > msg.content_type is null when reading from aws mq. > -- > > Key: PROTON-2256 > URL: https://issues.apache.org/jira/browse/PROTON-2256 > Project: Qpid Proton > Issue Type: Test >Reporter: Angelo Mendonca >Priority: Major > Attachments: image-2020-08-06-12-21-25-014.png > > > The message content_type is application/json but when we receive the message > from the queue using a BlockingConnection we get none. > > !image-2020-08-06-12-21-25-014.png|width=203,height=74! > is what we see for that message in the activemq console. -- 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] [Created] (PROTON-2256) msg.content_type is null when reading from aws mq.
Angelo Mendonca created PROTON-2256: --- Summary: msg.content_type is null when reading from aws mq. Key: PROTON-2256 URL: https://issues.apache.org/jira/browse/PROTON-2256 Project: Qpid Proton Issue Type: Test Reporter: Angelo Mendonca Attachments: image-2020-08-06-12-21-25-014.png The message content_type is application/json but when we receive the message from the queue using a BlockingConnection we get none. !image-2020-08-06-12-21-25-014.png|width=203,height=74! is what we see for that message in the activemq console. -- 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&focusedCommentId=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&focusedCommentId=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&focusedCommentId=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&focusedCommentId=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] [Updated] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Angelo Mendonca updated PROTON-2218: Attachment: image-2020-05-12-17-01-10-260.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 >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] [Comment Edited] (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&focusedCommentId=17105769#comment-17105769 ] Angelo Mendonca edited comment on PROTON-2218 at 5/12/20, 9:58 PM: --- Whats the proton email list? And I am passing in the urls...It also shows that its getting the urls.. {noformat} url_one='amqps://b-SOME-9a2d-4c67-99aa-bbe51f58b963-1.mq.us-east-1.amazonaws.com:5671'url_two='amqps://b-SOME-9a2d-4c67-99aa-bbe51f58b963-2.mq.us-east-1.amazonaws.com:5671'{noformat} {noformat} hdl=FailOverHandler(url_one,url_two,'test', '{"Name":"Test Data"}'){noformat} {noformat} Container(hdl).run(){noformat} was (Author: angelomendonca): Whats the proton email list? And I am passing in the urls...It also shows that its getting the urls.. {noformat} url_one='amqps://b-SOME-9a2d-4c67-99aa-bbe51f58b963-1.mq.us-east-1.amazonaws.com:5671'url_two='amqps://b-SOME-9a2d-4c67-99aa-bbe51f58b963-2.mq.us-east-1.amazonaws.com:5671'{noformat} {noformat} hdl=FailOverHandler(url_one,url_two,'test', '{"Name":"Test Data"}'){noformat} {noformat} c=Container(hdl).run(){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&focusedCommentId=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&focusedCommentId=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] [Comment Edited] (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&focusedCommentId=17105769#comment-17105769 ] Angelo Mendonca edited comment on PROTON-2218 at 5/12/20, 9:47 PM: --- Whats the proton email list? And I am passing in the urls...It also shows that its getting the urls.. {noformat} url_one='amqps://b-SOME-9a2d-4c67-99aa-bbe51f58b963-1.mq.us-east-1.amazonaws.com:5671'url_two='amqps://b-SOME-9a2d-4c67-99aa-bbe51f58b963-2.mq.us-east-1.amazonaws.com:5671'{noformat} {noformat} hdl=FailOverHandler(url_one,url_two,'test', '{"Name":"Test Data"}'){noformat} {noformat} c=Container(hdl).run(){noformat} was (Author: angelomendonca): Whats the proton email list? And I am passing in the urls...It also shows that its getting the urls.. > 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] [Comment Edited] (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&focusedCommentId=17105769#comment-17105769 ] Angelo Mendonca edited comment on PROTON-2218 at 5/12/20, 9:46 PM: --- Whats the proton email list? And I am passing in the urls...It also shows that its getting the urls.. was (Author: angelomendonca): 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&focusedCommentId=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&focusedCommentId=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&focusedCommentId=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&focusedCommentId=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&focusedCommentId=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&focusedCommentId=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] [Updated] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Angelo Mendonca updated PROTON-2218: Description: {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"? was: {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 keys > 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 > > > > {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] [Updated] (PROTON-2218) Connector.user and Connector.Password are None
[ https://issues.apache.org/jira/browse/PROTON-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Angelo Mendonca updated PROTON-2218: Description: {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 keys was: {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! > 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 > > > > {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 keys > -- 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] [Created] (PROTON-2218) Connector.user and Connector.Password are None
Angelo Mendonca created PROTON-2218: --- Summary: 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 Attachments: image-2020-05-12-14-18-33-313.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! -- 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