-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNOW-1333163: Add support for default proxy configuration #917
Comments
hi and again thank you for raising this as a separate Issue ! you're correct, currently the documented and supported way of setting proxies is configuring we'll consider this improvement request for future plans. Of course if it's within your possibility to submit a PR too, that's greatly appreciated! |
|
thank you ! the team will review and advise |
Can we get this issue escalated? prior to ver. 2.0.25 Proxy/No proxy setting we're working from environment variables. Perhaps you can reenable that code? We have a number of users that have not updated to the latest because of this and now Security is concerned about vulnerabilities. Proxy Settings in the connection is not our standard or manageable practice. |
I escalated this internally to the team but for future reference; for any important and production impacting issues or requests, the path for escalation is always your Snowflake account team as they have more context about your situation and also other tools at their disposal to help issues progress. Thank you for your understanding ! |
@sfc-gh-dszmolka How long does it usually take for a PR to be reviewed? |
I cannot comment on that unfortunately, but usually should not take this much time, but again, escalated it on sunday (yesterday). If you're already a Snowflake customer, I recommend to do the same , to your account team. I regret this takes so much time, not sure about the reasons - apologies ! |
It's interesting that the same behavior "removal of Proxy settings locations" happened in the SF ODBC driver around the same time . I had opened an issue with the ODBC team, and they added it back in the ODBC 3.1.4 ver. for us. It was Case#00620057. |
a quick update on this one
|
also I see PR was reviewed yesterday and some comments have been left |
Thank- you for the identifying where the change occurred |
What is the current behavior?
The current HttpUtil implementation allows 2 scenarios:
useproxy
,proxyhost
... in the connection stringThis does not allow the default proxy scenarios, for instance:
HTTP_PROXY
,HTTPS_PROXY
,NO_PROXY
...)What is the desired behavior?
Since
HttpClientHandler.UseProxy
defaults to true and not specifyingHttpClientHandler.Proxy
will use the default proxy by default:useproxy
is true and proxy parameters are specified (proxyhost
...) setHttpClientHandler.Proxy
--> already availableuseproxy
is false, setHttpClientHandler.UseProxy
to false --> already availableuseproxy
is true and no proxy parameters are specified (proxyhost
...) leaveHttpClientHandler.Proxy
to its default value --> not available todayHow would this improve
snowflake-connector-net
?This would allow proxy settings from environment variables, PAC scripts... to be used to connect to Snowflake.
References, Other Background
The text was updated successfully, but these errors were encountered: