Re: [Geopriv] Loc-Filters: Error Codes

"Tschofenig, Hannes (NSN - FI/Espoo)" <hannes.tschofenig@nsn.com> Fri, 18 September 2009 06:21 UTC

Return-Path: <hannes.tschofenig@nsn.com>
X-Original-To: geopriv@core3.amsl.com
Delivered-To: geopriv@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 48B463A67A7 for <geopriv@core3.amsl.com>; Thu, 17 Sep 2009 23:21:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.198
X-Spam-Level:
X-Spam-Status: No, score=-5.198 tagged_above=-999 required=5 tests=[AWL=1.401, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nk1Le8rDyxDQ for <geopriv@core3.amsl.com>; Thu, 17 Sep 2009 23:21:38 -0700 (PDT)
Received: from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net [217.115.75.233]) by core3.amsl.com (Postfix) with ESMTP id 3168A3A67F7 for <geopriv@ietf.org>; Thu, 17 Sep 2009 23:21:38 -0700 (PDT)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd001.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n8I6MRrk003219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 18 Sep 2009 08:22:28 +0200
Received: from demuexc023.nsn-intra.net (demuexc023.nsn-intra.net [10.150.128.36]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n8I6MPw4008379; Fri, 18 Sep 2009 08:22:27 +0200
Received: from FIESEXC015.nsn-intra.net ([10.159.0.23]) by demuexc023.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 18 Sep 2009 08:22:21 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 18 Sep 2009 09:25:15 +0300
Message-ID: <3D3C75174CB95F42AD6BCC56E5555B4501B2E117@FIESEXC015.nsn-intra.net>
In-Reply-To: <E51D5B15BFDEFD448F90BDD17D41CFF1064B2644@AHQEX1.andrew.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Geopriv] Loc-Filters: Error Codes
Thread-Index: Aco3dUH3EHgKtgTDSriqC21cdw+UGgAj5HbwAAjuXYA=
References: <3D3C75174CB95F42AD6BCC56E5555B4501B2DD2D@FIESEXC015.nsn-intra.net> <E51D5B15BFDEFD448F90BDD17D41CFF1064B2644@AHQEX1.andrew.com>
From: "Tschofenig, Hannes (NSN - FI/Espoo)" <hannes.tschofenig@nsn.com>
To: "ext Thomson, Martin" <Martin.Thomson@andrew.com>, GEOPRIV <geopriv@ietf.org>
X-OriginalArrivalTime: 18 Sep 2009 06:22:21.0876 (UTC) FILETIME=[617AB740:01CA3828]
Subject: Re: [Geopriv] Loc-Filters: Error Codes
X-BeenThere: geopriv@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Geographic Location/Privacy <geopriv.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/geopriv>, <mailto:geopriv-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/geopriv>
List-Post: <mailto:geopriv@ietf.org>
List-Help: <mailto:geopriv-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/geopriv>, <mailto:geopriv-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 06:21:40 -0000

I agree with Martin that the SIP location conveyance document has taken
already far too long and the attempt to let more functionality sneak in
is doomed to fail (given that the main parts of the spec are not even
solid). 

Additionally, I would like to point to the layer violation. Please
consider the HTTP case where errors in the application are still
answered with a 200 OK (and then with the corresponding error messages
within the application context). 

Ciao
Hannes


>-----Original Message-----
>From: ext Thomson, Martin [mailto:Martin.Thomson@andrew.com] 
>Sent: 18 September, 2009 05:24
>To: Tschofenig, Hannes (NSN - FI/Espoo); GEOPRIV
>Subject: RE: [Geopriv] Loc-Filters: Error Codes
>
>Hi Hannes,
>
>In the case that is most applicable, we should investigate 
>whether SIP already provides equivalent mechanisms.
>
>For instance, there is a way that a presence server can 
>indicate the absence of a particular piece of information.  I 
>believe that's achieved by either omitting the presence 
>document or providing an empty presence document.  That's 
>probably enough to cover a number of those error conditions.
>
>That might leave a lot to be desired, but I'd rather have any 
>problems addressed at the presence layer (i.e. 3265, 3856), 
>rather than to provide more location-specific mechanisms.  
>After all, it is a more general problem.
>
>Some of the HELD responses don't have a SIP analogue, and in 
>others an analogue might not be necessary.  How about we 
>identify and address specific problems instead.
>
>
>My opinion is that Geolocation-Error goes too far in 
>specifying different error codes - only those errors that are 
>directly actionable should be included.  At its root, there is 
>only one actionable outcome: "the location (or absence there 
>of) in your request couldn't be used" which has an associated 
>action of "provide another location (which might be the same 
>with modified access permissions)".  
>
>The additional information can rarely be used by an automated 
>process.  My view is that defining this extra info could be 
>useful, but it would have and should have been done as a 
>separate effort.
>
>But this isn't sipcore, nor do I care to further delay 
>sip-location-conveyance.  My point is that we don't need to 
>burden ourselves unnecessarily in our loc-filters work.
>
>Cheers,
>Martin
>
>
>> -----Original Message-----
>> From: geopriv-bounces@ietf.org [mailto:geopriv-bounces@ietf.org] On 
>> Behalf Of Tschofenig, Hannes (NSN - FI/Espoo)
>> Sent: Thursday, 17 September 2009 7:00 PM
>> To: GEOPRIV
>> Subject: [Geopriv] Loc-Filters: Error Codes
>> 
>> Hi all,
>> 
>> as requested during the GEOPRIV virtual interim meeting conference 
>> call, I looked at SIP Location Conveyance regarding the error codes 
>> because there were claims that they already cover the functionality 
>> needed. I look at the following document version:
>> http://tools.ietf.org/html/draft-ietf-sip-location-conveyance-
>> 09#section
>> -3.3
>> 
>> 3.4.1 Geolocation-Error Code 100 Location Not Understood
>> 3.4.2 Geolocation-Error Code 101 Coordinate-location Format Desired
>> 3.4.3 Geolocation-Error Code 102 Civic-location Format Desired
>> 3.4.4 Geolocation-Error Code 103 Cannot Parse Location Supplied
>> 3.4.5 Geolocation-Error Code 104 Cannot Find Location Information
>> 3.4.6 Geolocation-Error Code 105 Conflicting Locations Supplied
>> 3.4.7 Geolocation-Error Code 106 Incomplete Location Supplied
>> 3.4.8 Geolocation-Error Code 107 Cannot Dereference
>> 3.4.9 Geolocation-Error Code 108 Dereference Denied 3.4.10 
>> Geolocation-Error Code 109 Dereference Timeout
>> 3.4.11 Geolocation-Error Code 110 Cannot Process Dereference
>> 3.4.12 Geolocation-Error Code 120 Unsupported Scheme - SIP desired
>> 3.4.13 Geolocation-Error Code 121 Unsupported Scheme - SIPS desired
>> 3.4.14 Geolocation-Error Code 122 Unsupported Scheme - pres desired
>> 
>> There is also a separate document that discusses similar error codes:
>> http://ftp.roedu.net/mirrors/ftp.ietf.org/internet-drafts/draft-polk-
>> geo
>> priv-location-based-error-registry-00.txt
>> (It was created when we discussed how to relay LoST error codes.)
>> 
>> As the headlines already indicates these error codes refer to the 
>> functionality when location (or a reference to it) gets sent to some 
>> location recipient and he then responds with an error. This is a 
>> different use case!
>> 
>> The error codes I would need are the following based on 
>Section 6.3 of
>> http://www.ietf.org/id/draft-ietf-geopriv-http-location-delivery-
>> 16.txt.
>> 
>>    xmlError:  This code indicates that the XML content of the filter
>>       was either badly formed or invalid.
>>    generalLisError:  This code indicates that an unspecified error
>>       occurred at the LIS.
>>    locationUnknown:  This code indicates that the LIS could not
>>       determine the location of the Device.  The same request can be
>>       sent by the Device at a later time.  Devices MUST limit any
>>       attempts to retry requests.
>>    unsupportedMessage:  This code indicates that an element 
>in the XML
>>       filter document was not supported or understood by the
>>       LIS. This error code is used when a filter  contains a
>>       document element that is not supported by the receiver.
>>    cannotProvideLiType:  This code indicates that the LIS 
>was unable to
>>       provide LI of the type or types requested.  This code is used 
>> when
>>       the "exact" attribute on the "locationType" parameter is set to
>>       "true".
>>    notLocatable:  This code indicates that the LIS is unable 
>to locate
>>       the Device, and that the Device MUST NOT make further 
>attempts to
>>       retrieve LI from this LIS.  This error code is used to indicate
>>       that the Device is outside the access network served 
>by the LIS.
>> 
>> So, why cannot we re-use these error codes?
>> 
>> As an approach I would suggest to follow two principles:
>> * keep it simple
>> * wait for implementers feedback to improve the quality (and then 
>> re-submit a new RFC updating the old one)
>> 
>> Is there anyone with ideas on how we can also turn the task of 
>> defining new error codes into rocket science and spread the 
>work over 
>> many different IETF documents so that implementers get 
>totally confused?
>> 
>> Ciao
>> Hannes
>> 
>> _______________________________________________
>> Geopriv mailing list
>> Geopriv@ietf.org
>> https://www.ietf.org/mailman/listinfo/geopriv
>
>---------------------------------------------------------------
>---------------------------------
>This message is for the designated recipient only and may 
>contain privileged, proprietary, or otherwise private information.  
>If you have received it in error, please notify the sender 
>immediately and delete the original.  Any unauthorized use of 
>this email is prohibited.
>---------------------------------------------------------------
>---------------------------------
>[mf2]
>