gdma proxy error

While running the gdma-client you’ll get following error.

Failed to get http://gdma-autohost/gdma/ --  500 proxy connect failed: Bad arg length for Socket::pack_sockaddr_in, length is 27, should be 4 

In my case I’m using a proxy server to go outside the network but for the internal network, there is no proxy required.
In my proxy configuration, I have following config:


After some tests it looks like the gdma-client doesn’t look at this configuration. This only happens when there is an SSL certificate installed on the Groundwork server.
Because gdma uses lwp, this is probably caused by lwp.

The current workaround that I’ve inmplemented is to add following to the profile of the gdma user.

# su - gdma
# vi .profile
unset https_proxy