Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why am I getting authentication_redirect_to_virtual_host error?

I am calling a web service that is online.
Sometime (not all the times), it 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 am I getting this error? and how to solve it?
Note that I am passing the correct credentials to the web service.

like image 635
Gaby Avatar asked Nov 18 '25 00:11

Gaby


1 Answers

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.

like image 125
Jared Roberts Avatar answered Nov 20 '25 14:11

Jared Roberts



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!