Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 726A918783 for ; Sun, 21 Jun 2015 18:28:01 +0000 (UTC) Received: (qmail 21029 invoked by uid 500); 21 Jun 2015 18:28:01 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 21000 invoked by uid 500); 21 Jun 2015 18:28:01 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 20989 invoked by uid 99); 21 Jun 2015 18:28:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2015 18:28:01 +0000 Date: Sun, 21 Jun 2015 18:28:01 +0000 (UTC) From: "Martin Oss (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2415) On iOS the ajax error/fail callback is not called after server returns error code 401/unauthorized MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595157#comment-14595157 ] Martin Oss commented on CB-2415: -------------------------------- Run into the same problem on my Cordova/Angular project on iOS. Wanted to redirect the user to the login page after getting a 401 from my Azure Mobile Services backend. Only happens on iOS in my case. Hope it will be fixed soon. > On iOS the ajax error/fail callback is not called after server returns error code 401/unauthorized > -------------------------------------------------------------------------------------------------- > > Key: CB-2415 > URL: https://issues.apache.org/jira/browse/CB-2415 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.2.0 > Environment: OSX 10.8.2, Xcode 4.5.1, iOS Simulator 5.0, 5.1, 6.0, cordova 2.2 > Reporter: Zach White > Labels: 401, BasicAuth, core > > I am seeing the same issue as reported in [CB-2284|https://issues.apache.org/jira/browse/CB-2284] also in iOS. Ajax calls with Authorization header set are not returning but are timing out when the authorization credentials are invalid. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org