Меню

Xmlhttprequest сетевая ошибка 0x800c0007 для запрошенного ресурса данные недоступны

I have an app that is failing to load in IE. When I look in the console I see
The same code works in IE11 but the code not woking in RDP IE11 couldnot find out exact cause for the issue.
During save it says couldn’t download zip document

SCRIPT7002: XMLHttpRequest: Network Error 0x800c0007, No data is
available for the requested resource

Knu's user avatar

Knu

14.8k5 gold badges58 silver badges89 bronze badges

asked May 10, 2017 at 6:40

Lier's user avatar

1

Had the same error. It was due to IE not handling deflate properly. Use gzip instead of deflate.

answered Nov 24, 2018 at 19:08

Chris's user avatar

ChrisChris

1,06410 silver badges15 bronze badges

I have an app that is failing to load in IE. When I look in the console I see…

SCRIPT7002: XMLHttpRequest: Network Error 0x800c0007, No data is available for the requested resource.

So it seems like there may be a problem with the charset or some other issue. I would like to know what I can do to figure out which request caused the issue. When I look at the POST requests they all seem to have a status of 200

  • internet-explorer-11

asked Jun 1, 2016 at 1:31

Jackie's user avatar

JackieJackie

21.2k31 gold badges137 silver badges274 bronze badges

3

  • Please include the relevant code.

    Jun 1, 2016 at 2:28

  • @Jackie, did you ever figure this out? Similar issue here

    Feb 17, 2017 at 4:01

  • Nope sorry guys

    Feb 1, 2020 at 16:12

I have an app that is failing to load in IE. When I look in the console I see…

SCRIPT7002: XMLHttpRequest: Network Error 0x800c0007, No data is available for the requested resource.

So it seems like there may be a problem with the charset or some other issue. I would like to know what I can do to figure out which request caused the issue. When I look at the POST requests they all seem to have a status of 200

  • internet-explorer-11

asked Jun 1, 2016 at 1:31

Jackie's user avatar

JackieJackie

21.2k31 gold badges137 silver badges274 bronze badges

3

  • Please include the relevant code.

    Jun 1, 2016 at 2:28

  • @Jackie, did you ever figure this out? Similar issue here

    Feb 17, 2017 at 4:01

  • Nope sorry guys

    Feb 1, 2020 at 16:12

I am not sure wha is going on here but I am repeatedly receiving this error when trying to use the REST API when saving a form. I make the $.ajax call, wait for the promise to return but at some point the promise gets stuck in the middle and never returns, but instead if I go through enough F10 function in the debugger this is the error I receive. I am at my wits end because I have this working perfectly fine using the same methods on other sites, but this one doesn’t seem to want to cooperate.

var promise1, promise2;
var promise_array = [];

if(vm.receivables) {
 promise1 = user.postDealItem(args....).then(function(response) {
           vm.model.recId = response.Id;
           return response
});
}

if(vm.standard) {
 promise2 = user.postDealItem(args...).then(function(response) {
           vm.model.stdId = response.Id;
           return response
});
}

if(promise1 != null) promise_array.push(promise1);
if(promise2 != null) promise_array.push(promise2);

$.when.apply($,promise_array).done(function(response) {
    //never gets to this point
});

The promise never returns even on the few times it reaches a success stage, it just reloads the page. At my wits end over this one, have been dealing with this for the past 2 days and have not gotten any closer to a solution. I am using SP2013 online at my company’s site and have angular integrated with it(although I prefer jQuery promises/$ajax methods)

asked Mar 14, 2018 at 13:05

MattE's user avatar

2

In fact the answer was an issue with IE11 that appears intermittently where a post request times out between the send and the receive, so when the post returns, it has nowhere to send the data to—no error, no exception, no nothing most times, just a reload of the page…

I tracked it down by watching th network very closely before it sent and stopped it right before it reloaded. It aborted the XMLHTTPRequest and then I started digging…found that you need to set a few other blank functions in the ajax cal like completed and beforeSend and then put timeout: 0…this somehow prevents IE11 from timing out…worked the first attempt after I did this and every attempt after…

IE is the worst browser ever made, it needs to die a quick painful death.

answered Mar 15, 2018 at 3:29

MattE's user avatar

MattEMattE

2074 silver badges12 bronze badges

I am not sure wha is going on here but I am repeatedly receiving this error when trying to use the REST API when saving a form. I make the $.ajax call, wait for the promise to return but at some point the promise gets stuck in the middle and never returns, but instead if I go through enough F10 function in the debugger this is the error I receive. I am at my wits end because I have this working perfectly fine using the same methods on other sites, but this one doesn’t seem to want to cooperate.

var promise1, promise2;
var promise_array = [];

if(vm.receivables) {
 promise1 = user.postDealItem(args....).then(function(response) {
           vm.model.recId = response.Id;
           return response
});
}

if(vm.standard) {
 promise2 = user.postDealItem(args...).then(function(response) {
           vm.model.stdId = response.Id;
           return response
});
}

if(promise1 != null) promise_array.push(promise1);
if(promise2 != null) promise_array.push(promise2);

$.when.apply($,promise_array).done(function(response) {
    //never gets to this point
});

The promise never returns even on the few times it reaches a success stage, it just reloads the page. At my wits end over this one, have been dealing with this for the past 2 days and have not gotten any closer to a solution. I am using SP2013 online at my company’s site and have angular integrated with it(although I prefer jQuery promises/$ajax methods)

asked Mar 14, 2018 at 13:05

MattE's user avatar

2

In fact the answer was an issue with IE11 that appears intermittently where a post request times out between the send and the receive, so when the post returns, it has nowhere to send the data to—no error, no exception, no nothing most times, just a reload of the page…

I tracked it down by watching th network very closely before it sent and stopped it right before it reloaded. It aborted the XMLHTTPRequest and then I started digging…found that you need to set a few other blank functions in the ajax cal like completed and beforeSend and then put timeout: 0…this somehow prevents IE11 from timing out…worked the first attempt after I did this and every attempt after…

IE is the worst browser ever made, it needs to die a quick painful death.

answered Mar 15, 2018 at 3:29

MattE's user avatar

MattEMattE

2074 silver badges12 bronze badges

У моего клиента следующая топология:

User <--> Apache <--> TomCat <--> JBossAS7 <--> Mule

Mule необходимо связаться с другим сервером, на другом домене, чтобы получить информацию, запрашиваемую пользователем. Это соединение использует HTTPS, а сертификат находится в доверенности Mule. Таким образом, Mule и другой сервер могут создать SSL-соединение.

Это запрос ajax, используемый для выполнения того, что хочет пользователь:

$.ajax({
url : DS.nav.importDS,
data : data,
type : "GET",
cache : false,
success : function(html)
{
   //do some stuff
},
error:function (error)
{
    //do some stuff
}});

(версия jquery: 1.7.1)

О заголовках ответов:

  • Cache-Control: max-age = 0, no-cache, no-store, необходимо перепроверить
  • Cache-Control: без кеширования
  • Подключение: Keep-Alive
  • Content-Type: text / html; charset = UTF-8.
  • Keep-Alive: тайм-аут = 5, максимум = 100

Этот запрос GET возвращает содержимое HTML.

Моя проблема в следующем:

Этот запрос перестает работать без предупреждения.
На Хром (используемая версия: 65.0.3325.162) через несколько минут в консоли появляется следующее сообщение об ошибке: «ERR_INCOMPLETE_CHUNKED_ENCODING.». Нет связи с антивирусом защиты в реальном времени.

На Край, «XMLHttpRequest: сетевая ошибка 0x800c0007, данные для запрошенного ресурса недоступны».

НО, он работает в IE. Я полагаю, что IE более снисходительный, чем Chrome или Edge. Но я хочу понять почему.

Я ищу не идеальный ответ, а любую идею, которая может направить меня на след того, что происходит.

РЕДАКТИРОВАТЬ

В Chrome
— Код состояния: 200 ОК
— Сроки: ВНИМАНИЕ: запрос еще не завершен! (после загрузки контента)

РЕДАКТИРОВАТЬ
Используя инструмент chrome: // net-export, это результат HTTP-запроса:

t=203357 [st=  2948]        HTTP_TRANSACTION_READ_RESPONSE_HEADERS
                        --> HTTP/1.1 200 OK
                            Date: Fri, 23 Mar 2018 14:44:16 GMT
                            Server: Apache-Coyote/1.1
                            X-Frame-Options: SAMEORIGIN
                            Cache-Control: max-age=0, no-cache, no-store, must-revalidate
                            Pragma: no-cache
                            Expires: Sat, 26 Jul 1997 05:00:00 GMT
                            X-Frame-Options: SAMEORIGIN
                            X-UA-Compatible: IE=9,chrome=1
                            Content-Type: text/html;charset=UTF-8
                            Content-Language: en
                            Keep-Alive: timeout=5, max=98
                            Connection: Keep-Alive
                            Cache-Control: no-cache
                            X-Via-NSCOPI: 1.0
                            Transfer-Encoding: chunked
t=203357 [st=  2948]     -HTTP_TRANSACTION_READ_HEADERS
t=203357 [st=  2948]      HTTP_CACHE_WRITE_INFO  [dt=0]
t=203357 [st=  2948]     +URL_REQUEST_DELEGATE  [dt=4]
t=203358 [st=  2949]        DELEGATE_INFO  [dt=3]
                        --> delegate_blocked_by = "extension ModHeader"
t=203361 [st=  2952]     -URL_REQUEST_DELEGATE
t=203361 [st=  2952]   -URL_REQUEST_START_JOB
t=203361 [st=  2952]    URL_REQUEST_DELEGATE  [dt=1]
t=203362 [st=  2953]    HTTP_TRANSACTION_READ_BODY  [dt=0]
t=203362 [st=  2953]    URL_REQUEST_JOB_FILTERED_BYTES_READ
                    --> byte_count = 12971
t=203363 [st=  2954]    HTTP_TRANSACTION_READ_BODY  [dt=313130]
                    --> net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)
t=516493 [st=316084]    FAILED
                    --> net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)
t=516495 [st=316086] -REQUEST_ALIVE
                  --> net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)

ОБНОВИТЬ

Я отключил javascript и ввел свой запрос прямо в URL-адрес, и результат был отображен, но страница все еще загружается в течение 5 минут.

Detailed Error Information

INET_E_DATA_NOT_AVAILABLE[1]

Message No data is available for the requested resource.
Declared in winerror.h

HRESULT analysis[2]

Flags Severity Failure
Reserved (R) false
Origin Microsoft
NTSTATUS false
Reserved (X) false
Facility Code 12 (0x00c)
Name FACILITY_INTERNET[2][1]
Description The source of the error code is Wininet related.[2][1]
Error Code 7 (0x0007)

Questions

Why can’t I remove the transfer-encoding header in a node proxy?

I have a Node http-proxy server doing some response body rewriting that basically does this: 1. Client GET localhost:8000/api/items 2. Node Proxy send localhost:8000 -> to example.com/api 3. Server responds with json [{ id: 1234, url: http://example.com/api/items/1234 }] 4. Node proxy rewrites json to [{ id: 1234, url: http://localhost:8000/api/items/1234 }] […] read more

flash cant shown in webBrowser

I add MIME filter to my WebBrowser Control by IInternetSession.RegisterMimeFilter。 The MIME type is «text/html»。 The filter have a bug that the flash cant shown in some site such as «http://cn.yahoo.com/». I tryed add «» before the tag,noneffective。 I return data directly but falsh still invisible。 I set the IE […] read more

Ajax data response by POST

Well, I send POST request to server-side to get data (xls). I use fiddler and see binary in response, but Chrome tells me there is a Network Error 0x800c0007. Server side based on WCF. Here I take HttpResponse, copy Stream from Excel to response.OutputStream, and say response.flush(). It goes without […] read more

IE11 Ajax Request will fail intermittently

I am having weird issue in IE 11 (Version: 11.285.17134.0). After I logged in to my site I have been redirected to a landing page where the user performs a search which makes a $.ajax POST request to fill data in a grid. However for every first request on that […] read more

Comments

Leave a comment

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Xmlhttprequest сетевая ошибка 0x2eff не удалось завершить действие ошибка 00002eff
  • Xmlhttprequest сетевая ошибка 0x2ee2 не удалось завершить действие ошибка 00002ee2