Skip to content
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

Update oracle_client.py to enable_http_proxy #981

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 25, 2023

  1. Update oracle_client.py to enable_http_proxy

    Line 35 anyway makes an insecure channel and expects that users are on a safe network. But it still uses https proxies and some corporate environments try to block it (as in my case). So adding the second line instead of the first worked in my case.
    ``` python
    channel = grpc.insecure_channel(f"{ip_addr}:{port}")
    channel = grpc.insecure_channel(f"{ip_addr}:{port}", options=(('grpc.enable_http_proxy', 0),))
    ```
    pbk0 authored Nov 25, 2023
    Configuration menu
    Copy the full SHA
    895503f View commit details
    Browse the repository at this point in the history