Skip to content

Azure storage HTTP/SOCKS proxy support #2943

Answered by Codesleuth
Codesleuth asked this question in Q&A
Discussion options

You must be logged in to vote

Quick update, although still not working. This now gives me a different error that appears to change the behaviour to use the proxy:

delta_table = DeltaTable(
    table_uri=table_path,
    storage_options={
        "bearer_token": token.token,
        "proxy_url": environ.get("HTTPS_PROXY", None),
    },
)

These are the errors:

# HTTPS_PROXY=socks5://localhost:1080
Exception: OSError: Generic HTTP client error: builder error

# HTTPS_PROXY=http://localhost:8080
Exception: OSError: Generic MicrosoftAzure error: Error after 10 retries in 3.536299418s, max_retries:10, retry_timeout:180s, source:error sending request for url ([...])

So it appears a SOCKS server just doesn't work, and a web p…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Codesleuth
Comment options

Answer selected by Codesleuth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant