title: Connectorx Server requested a connection to an alternative address in azure pipeline
body: <p>connecting to sql server using connectorx and polars. everything works correctly locally and not getting any errors. however, when using azure pipelines to run code getting the following error
  &quot;result = _read_sql(RuntimeError: Server requested a connection to an alternative address&quot;:</p>
  <p>This doesn't make sense since the exact same details worked locally but does not work in pipeline?</p>
  <p>internal files which error is caused:</p>
  <p>File &quot;C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\polars\io.py&quot;, line 1095, in read_sql
  tbl = cx.read_sql(
  File &quot;C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\connectorx_<em>init</em>_.py&quot;, line 257, in read_sql</p>
  <pre><code>#code
  import polars as pl
  import connectorx as cx
  from datetime import timedelta
  
  load_dotenv()
  
  
  username=os.environ[&quot;UID&quot;]
  password=os.environ[&quot;PWD&quot;]
  host=os.environ[&quot;SERVER&quot;]
  port=os.environ[&quot;PORT&quot;]
  db=os.environ[&quot;DATABASE&quot;]
  table_name=os.environ[&quot;DB_TABLE&quot;]
  col_name=os.environ[&quot;DB_COL&quot;]
      
  datetime_limit= str(datetime.today() - timedelta(days=50))[:-3]
  conn=(f&quot;mssql://{username}:{password}@{host}:{port}/{db}?encrypt=true&quot;)
  query=f&quot;SELECT * from {table_name} WHERE {col_name} &gt; '{datetime_limit}'&quot;
  print(query)
  start=timer()
  data=pl.read_sql(query, conn, partition_on=&quot;Partition&quot;, partition_num=10)
  end = timer()
  </code></pre>
  <p>yaml file</p>
  <pre><code>trigger: 
    none
  
  schedules:
  - cron: &quot;0 13 * * *&quot;
    displayName: Daily build
    branches:
      include:
      - dev
    always: true
  
  pool:
    vmImage: &quot;windows-latest&quot;
  
  #environment var
  variables:
    - group: env-group
      
  
  steps:
  
    # Set the version of Python which the build agent should use
  - task: UsePythonVersion@0
    displayName: Use Python 3.8
    inputs:
      versionSpec: '3.8'
      addToPath: true 
  
    # Run Pip installer for any prerequisite libraries
  - bash: pip3 install -r requirements.txt
    displayName: Install pip package requirements
    workingDirectory: project-requirements
  
    # Invoke a Python script via Azure CLI in to use it's credentials
  - task: AzureCLI@2
    inputs:
      azureSubscription: 'Subscription'
      scriptType: 'batch'
      scriptLocation: 'inlineScript'
      inlineScript: 'python etl.py'
      workingDirectory: wd/scripts
  </code></pre>