microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.57k stars 900 forks source link

Should use the proxy to resolve the Server name #14934

Open sir-farfan opened 3 years ago

sir-farfan commented 3 years ago

Issue Type: Bug

A DB server running in a private VPN network. A proxy server with access to the privade VPN.

Configure ADS to connect using that proxy.

ADS uses the host DNS to resolve the privade server resulting in a stack trace with: Name or service not known

Azure Data Studio version: azuredatastudio 1.27.0 (765c7064d46253d88393e0e1ff78874b6fe8fa64, 2021-03-16T21:15:38.801Z) OS version: Linux x64 5.10.0-5-amd64

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 4000)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|1, 1, 1| |Memory (System)|15.51GB (0.30GB free)| |Process Argv|--no-sandbox| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|undefined| |XDG_CURRENT_DESKTOP|undefined| |XDG_SESSION_DESKTOP|undefined| |XDG_SESSION_TYPE|undefined|
Extensions: none Current exported proxy configuration I use everywhere from git to postman with no auth needed: ftp_proxy=http://myproxy.local:1234/ https_proxy=http://myproxy.local:1234/ NO_PROXY=127.0.0.1,localhost,*.local FTP_PROXY=http://myproxy.local:1234/ RSYNC_PROXY=http://myproxy.local:1234/ HTTPS_PROXY=http://myproxy.local:1234/ HTTP_PROXY=http://myproxy.local:1234/ http_proxy=http://myproxy.local:1234/ rsync_proxy=http://myproxy.local:1234/
cheenamalhotra commented 12 months ago

@sir-farfan

Is this still an issue? Can you please test with latest stable release v1.46.1 or insiders build? Download Azure Data Studio

Thanks!

sir-farfan commented 11 months ago

Sorry, I don't have access to that anymore so I can't test.