Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

407 Proxy Authentication Required

I'm getting the following exception while making a call using XMLHttp object asynchronously in Mozilla Firefox.

407 Proxy Authentication Required
The ISA Server requires authorization to fulfill the request.
Access to the Web Proxy filter is denied.

Description of cause:

Actually I'm trying to make an asynchronous request to using get in javascript. It is working fine using IE 6 but for IE 7 and Firefox 3.5, it will it won't get any data using asynchronous request so how to overcome this problem?

When I debug in Firefox 3.5 using firebug it shows

407 Proxy Authentication Required The ISA Server requires authorization to fulfil the request. Access to the Web Proxy filter is denied.

exception at console so how to tackle this issue

Note: our network has proxy server

like image 533
0cool Avatar asked May 11 '10 06:05

0cool


People also ask

What is a proxy authentication required?

What Does “407 Proxy Authentication Required” Mean? The “407 Proxy Authentication Required” error occurs when the server is unable to complete a request. This happens due to a lack of authentication credentials when a proxy server is used between the client and server.

What does a 407 error mean?

The HTTP 407 Proxy Authentication Required client error status response code indicates that the request has not been applied because it lacks valid authentication credentials for a proxy server that is between the browser and the server that can access the requested resource.


1 Answers

I recognize I am a little late to the party here, and this question, however, I was having the exact same problem. @FK82 indicated the right solution and I wanted to document it, as I've tried it and it works.

$.ajax({
    url: "http://somefancyurl.com/api/do_it",
    data: { id:"user" },
    dataType: "jsonp",
    success: function(data) {
        console.log(data);
    }
  });

If I do not specify jsonp I get the 407 Proxy Authentication Required error.

  • Although the original question didn't specify JQuery, I was able to test successfully with FireFox 3.6.x, and IE7 using this approach & JSONP.
like image 99
sdolgy Avatar answered Oct 20 '22 06:10

sdolgy