views:

200

answers:

1

Hi,

I am calling a web service that is online.
Sometime (not all the times) crashes and gives me the following exception:

Redirect (authentication_redirect_to_virtual_host)

You are being redirected to the authentication virtual host.

For assistance, contact your network support team. 

but I can open the web service from the browser normally.
Why i am getting this error? and how to solve it?
note that i am passing the correct credentials to the web service.

A: 

any chance you are using a blue coat proxy server? That was an issue I ran into and it required the network team to create a rule to allow traffic from the webserver to the web service/REST i was accessing.

jaredmroberts