Azure/azure-sdk-for-python

Proxy coonection

jay-iyengar opened this issue · 6 comments

Hi,

When I tried connect to one of the AMQP with the proxy it doesn't work. When I checked wire shark it's not really connecting via the proxy. It would be great if this could be fixed.
I get below error and its connecting directly without proxy

params = {"http_proxy": {"proxy_hostname": "http://127.0.0.1", "proxy_port": 9000}}
ServiceBusClient("ServiceBusNamespace", token_credential, **params)

Please confirm target hostname exists: b'elexon-iris.servicebus.windows.net'

Thanks
Jay

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @EldertGrootenboer.

Thank you for the feedback @jay-iyengar . We will investigate and get back to you asap.

Hi @jay-iyengar, could you share what version of the package you are using, as well as logs if you have them? Was this working for you previously?

Hi @jay-iyengar. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

Hi,
Apologies, I was using the this version azure-servicebus==7.8.0, just now upgraded to azure-servicebus==7.12.2 and thats seems to be working fine.
Thanks for looking into it.
Kind Regards
Jay

Thank you for confirming @jay-iyengar