snowflake-connector-net icon indicating copy to clipboard operation
snowflake-connector-net copied to clipboard

Snowflake connects successfully with faulty proxy connection parameters

Open howardwang0620 opened this issue 1 year ago • 1 comments

Issue description

Setting the PROXYHOST and NONPROXYHOSTS parameters to the same single-character value will directly connect to a Snowflake instance and bypass the proxy server, eg: ...USEPROXY=true;PROXYHOST=a;NONPROXYHOSTS=a;PROXYPORT=3128 connects successfully.

If PROXYHOST and NONPROXYHOSTS are set to different or non-single-character values, eg: ...USEPROXY=true;PROXYHOST=ab;NONPROXYHOSTS=ab;PROXYPORT=3128 then the connection will try to go through the proxy server and then properly hangs and waits until timeout is reached.

Driver version: 2.0.22 OS: Mac Intel 13.3.1 .NET framework: 6.0.406

howardwang0620 avatar May 02 '23 21:05 howardwang0620

thank you for submitting this issue, we're going to take a look

sfc-gh-dszmolka avatar Nov 28 '23 14:11 sfc-gh-dszmolka

The fix was released in version 4.0.0

sfc-gh-mhofman avatar Jul 16 '24 12:07 sfc-gh-mhofman