I am getting this error when I try to connect to a secured service. Here is the scenario.
ArcGIS for Server is behind our corporate firewall. Access to this server from outside the firewall is over https. IP traffic from the firewall/proxy to the server is http.