Announcement

Collapse
No announcement yet.

Using ClientUtil.py through a Proxy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using ClientUtil.py through a Proxy

    Hi,

    There is an OTM Python utility ClientUtil.py which can be used to import/export data from OTM. This works great unless a proxy is required for connection to OTM. Has anyone any experience of using this utility when a proxy is involved or have a modified script that does allow the proxy to be specified and connect through the proxy.

    Thanks, Andy.

  • #2
    Re: Using ClientUtil.py through a Proxy

    Andy,

    At G-Log, I tested this with transparent web proxy servers and the utility worked, however you're right that it doesn't function through a standard web proxy (or SOCKS proxy for that matter).

    Unfortunately, I don't have a solution for you - other than recoding the script.

    Hopefully someone else will have tackled this -- anyone?

    --Chris
    Chris Plough
    twitter.com/chrisplough
    MavenWire

    Comment


    • #3
      Re: Using ClientUtil.py through a Proxy

      Forgot the obvious, Google comes to the rescue again. You can set an envrionment variable http_proxy. e.g.

      set http_proxy=http://proxy.example.com:8080 (Windows)

      or

      export http_proxy=http://proxy.example.com:8080 (Unix)


      You can also authenticate in the Proxy with:

      http_proxy=http://username:password@proxy.example.com:8080

      After I set this environment variable ClientUtil.py connected through the proxy without issues. May not work in every case, but worth a try.

      Comment

      Working...
      X