Hi Andrew,

I'm supplying actual proxy ip and port with username and password, just to
avoid company credentials I put it here like this. I'm working behind
firewall so need to go via proxy server.

If I see in actual google cloud account, the node is getting created with
my hit, but in the response I'm getting is the error mentioned.


Regards,
Subhadip

-------------------------------------------------------------------------------------------------------------------

On Sat, Sep 5, 2015 at 8:06 PM, Andrew Phillips <andr...@apache.org> wrote:

> [moving this to user@ - please subscribe to that list if you are not
> already on it, Subhadip. Thanks!]
>
> Hi Subhadip
>
> Purely based on the error message, it would seem that the proxy settings
> you are providing are incorrect:
>
> properties.setProperty(Constants.PROPERTY_PROXY_TYPE, "http");
> properties.setProperty(Constants.PROPERTY_PROXY_HOST, "x.x.x.x");
> properties.setProperty(Constants.PROPERTY_PROXY_PORT, "xx");
> properties.setProperty(Constants.PROPERTY_PROXY_USER, "xxxx");
> properties.setProperty(Constants.PROPERTY_PROXY_PASSWORD, "xxxx");
>
> I'm assuming you are supplying an actual IP address or hostname for the
> proxy host, or are you passing "x.x.x.x" literally? You only need the proxy
> settings if you cannot connect directly to the newly created machine -
> otherwise, you do not need to set the PROPERTY_PROXY_* properties.
>
> Regards
>
> ap0
>

Reply via email to