Closed hintdesk closed 1 month ago
@hintdesk This looks to be related to Node.js's URL
class and how it parses URLs. ApplicationInsights 3.X SDK relies on the Azure SDK's core-rest-pipeline, which in turn parses the proxy URL here. While this works fine for the string http://proxy.companyname.i
, the method fails on proxy.companyname.i
(which is what the method receives there as it's given the proxy's host
string instead of the full URL). I'll file an issue on the core-rest-pipeline side as it seems like this issue would affect anyone attempting to pass in valid proxy URLs with multiple .
characters.
Description/Screenshot In my company we have set a corporate proxy. To connect to Internet the application has to use this proxy. The proxy has the format of "http://proxy.companyname.i:port". I have set that proxy over env variable http_proxy und https_proxy. Currently I receive this error
Steps to Reproduce
Expected behavior What should I have to do to tell ApplicationInsights SDK that "proxy.companayname.i:port" is a valid host?