[hybi] WebSocket Subprotocol Close Code: Bad Gateway - code 1014

Alexey Melnikov <alexey.melnikov@isode.com> Sun, 09 October 2016 12:53 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF4B6129533 for <hybi@ietfa.amsl.com>; Sun, 9 Oct 2016 05:53:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.997
X-Spam-Level:
X-Spam-Status: No, score=-4.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-2.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P8WqL0zDMjKq for <hybi@ietfa.amsl.com>; Sun, 9 Oct 2016 05:53:14 -0700 (PDT)
Received: from statler.isode.com (Statler.isode.com [62.232.206.189]) by ietfa.amsl.com (Postfix) with ESMTP id 1A29212941C for <hybi@ietf.org>; Sun, 9 Oct 2016 05:53:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1476017593; d=isode.com; s=june2016; i=@isode.com; bh=zOgpnUyP9VEuccsGLfg2EMLQ3uVTBiXakdDVM3VLHdU=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=kGQ67Bi8gOSG/G/7kwY/NWbieIHSAKAadndm9p2fZ79CRaJKBaGUEByIX2SKXCrsaThD6u kRmAcpMvaceP09A1qWT1fsZfc6Ac1yPStQ26w5JHU+V5uxcuxvHOL57jKYRjLgoy1pP8Ld lYl/9p55EByxyUmd9sK22wUTbei+WI8=;
Received: from [192.168.0.4] (cpc5-nmal20-2-0-cust24.19-2.cable.virginm.net [92.234.84.25]) by statler.isode.com (submission channel) via TCP with ESMTPSA id <V=o9uAB6ohxz@statler.isode.com>; Sun, 9 Oct 2016 13:53:13 +0100
To: Johan de Vries <devries@wivion.nl>
References: <CA+Y8h61FxUDgiPmgLwqy9qqzLYGWhvsg9bjMR3PXPtf5qj2VLA@mail.gmail.com> <CAHixhFr6DqiFnRLEV=4_jZiJcLm1rgVdxFTW4hQqB+OsXDNPUg@mail.gmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <57FA3DC3.7030407@isode.com>
Date: Sun, 9 Oct 2016 13:53:23 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <CAHixhFr6DqiFnRLEV=4_jZiJcLm1rgVdxFTW4hQqB+OsXDNPUg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-transfer-encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/l1lK4ZImO70jmcYorRa1lsLdvzY>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: [hybi] WebSocket Subprotocol Close Code: Bad Gateway - code 1014
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Oct 2016 12:53:16 -0000

Hi,

Unless there are objections, I will recommend use of currently unused
1014 for this.

Best Regards,
Alexey

On 12/09/2016 12:13, Adam Rice wrote:
> I can see how that might be useful.
> 
> RFC 6455 section 11.7 provides for adding new status codes. See
>  https://tools.ietf.org/html/rfc6455#section-11.7
> and http://www.iana.org/assignments/websocket/websocket.xhtml#close-code-number
> 
> On 8 September 2016 at 23:53, Johan de Vries <devries@wivion.nl
> <mailto:devries@wivion.nl>> wrote:
> 
>     Hello,
> 
> 
>     I would like to reserve a status code much akin to HTTP's 502 Bad
>     Gateway.
> 
>     The description would be the same as for 502: The server was acting
>     as a gateway or proxy and received an invalid response from the
>     upstream server.
> 
>     My motivation is that I'm implementing an application that allows a
>     website to connect to a server over WebSockets (much like Guacamole
>     does). It would be useful to be able to indicate when a proxy error
>     occurs to the client.
> 
>     I'm not sure what range this should be in, so I'm not claiming a
>     number. I think it's generic enough to warrant the next number in
>     the list (1016?) but again I'm not sure about how this part works.
> 
> 
>     Met vriendelijke groet,
>      
>     Johan de Vries
>      
>     Wivion bv
>     Vierlingsbeekseweg 52A | NL-5825 AX  Overloon
>     www.wivion.nl <http://www.wivion.nl/>
> 
>     _______________________________________________
>     hybi mailing list
>     hybi@ietf.org <mailto:hybi@ietf.org>
>     https://www.ietf.org/mailman/listinfo/hybi
>     <https://www.ietf.org/mailman/listinfo/hybi>
> 
> 
> 
> 
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>