仅在Android*上无法使用Meteor发送ajax get请求*

仅在Android*上无法使用Meteor发送ajax get请求*,android,ajax,meteor,Android,Ajax,Meteor,我有几个Meteor应用程序严重依赖ajax get请求。在某个时候,其中一个应用程序仅在最新版本的Android上停止发送ajax get请求。 同样的应用程序可以在浏览器、iOS和旧版本的Android上运行。或者更确切地说,在一块防火板上。所以,我认为这意味着这不是CORS的问题。 在任何平台上,使用相同代码的其他应用程序都不受影响 在我看来,安卓系统正在阻止这些请求,我不知道如何才能做到这一点 此外,我还没有找到一款安卓最新版本的设备可以使用它,这意味着它不仅仅是我的手机 这是一个示例请

我有几个Meteor应用程序严重依赖ajax get请求。在某个时候,其中一个应用程序仅在最新版本的Android上停止发送ajax get请求。 同样的应用程序可以在浏览器、iOS和旧版本的Android上运行。或者更确切地说,在一块防火板上。所以,我认为这意味着这不是CORS的问题。 在任何平台上,使用相同代码的其他应用程序都不受影响

在我看来,安卓系统正在阻止这些请求,我不知道如何才能做到这一点

此外,我还没有找到一款安卓最新版本的设备可以使用它,这意味着它不仅仅是我的手机

这是一个示例请求:

$.ajax({
    type: "GET",
    traditional: true,
    url: url,
    contentType: 'application/json; charset=utf-8',
    dataType: "json",
    data: {},
    success: function (result) {
        ...
    },
    error: function (xhr) {
    var propValue;
    for(var propName in xhr) {
        propValue = xhr[propName]

        $("#log").prepend(propName + ": " + propValue + "<br />");
    }

    }
});
这是输出:

statusText: error
status: 0
responseText:
error: function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){p.each(n,(function(n,r){p.isFunction®?e.unique&&l.has®||o.push®:r&&r.length&&“string”!==p.type®&&t®}))}(arguments),n&&!t&&u()),this}
success: function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){p.each(n,(function(n,r){p.isFunction®?e.unique&&l.has®||o.push®:r&&r.length&&“string”!==p.type®&&t®}))}(arguments),n&&!t&&u()),this}
complete: function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){p.each(n,(function(n,r){p.isFunction®?e.unique&&l.has®||o.push®:r&&r.length&&“string”!==p.type®&&t®}))}(arguments),n&&!t&&u()),this}
progress: function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){p.each(n,(function(n,r){p.isFunction®?e.unique&&l.has®||o.push®:r&&r.length&&“string”!==p.type®&&t®}))}(arguments),n&&!t&&u()),this}
fail: function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){p.each(n,(function(n,r){p.isFunction®?e.unique&&l.has®||o.push®:r&&r.length&&“string”!==p.type®&&t®}))}(arguments),n&&!t&&u()),this}
done: function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){p.each(n,(function(n,r){p.isFunction®?e.unique&&l.has®||o.push®:r&&r.length&&“string”!==p.type®&&t®}))}(arguments),n&&!t&&u()),this}
pipe: function(){var e=arguments; return p.Deferred((function(n){p.each(t,(function(t,o){var a=p.isFunction(e[t])&&e[t]; i[o[1]]((function(){var e=a&&a.apply(this,arguments); e&&p.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):no[0]+“With”}))})),e=null})).promise()} promise: function(e){return null!=e?p.extend(e,r):r}
then: function(){var e=arguments; return p.Deferred((function(n){p.each(t,(function(t,o){var a=p.isFunction(e[t])&&e[t]; i[o[1]]((function(){var e=a&&a.apply(this,arguments); e&&p.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):no[0]+“With”}))})),e=null})).promise()}
always: function(){return i.done(arguments).fail(arguments),this}
state: function(){return n}
abort: function(e){var t=e||w; return l&&l.abort(t),C(0,t),this}
statusCode: function(e){var t; if(e)if(b<2)for(t in e)v[t]=[v[t],e[t]]; else T.always(e[T.status]); return this}
overrideMimeType: function(e){return b||(f.mimeType=e),this}
setRequestHeader: function(e,t){var n=e.toLowerCase(); return b||(e=x[n]=x[n]||e,y[e]=t),this}
getAllResponseHeaders: function(){return 2===b?a:null}
getResponseHeader: function(e){var t; if(2===b){if(!c)for(c={}; t=Pt.exec(a); )c[t[1].toLowerCase()]=t[2]; t=c[e.toLowerCase()]}return null==t?null:t}
readyState: 0

如果您有任何见解,我们将不胜感激。

请在后端检查您的SSL

自Android 9以来,您的api端点必须:

使用HTTPS 不得自行签名 使用公共证书颁发机构 只有
谢谢确实如此。我刚才就想出来了,;所以我还没有通知我你的反应/