Re: [hybi] WebSocket Subprotocol Close Code: Bad Gateway

Adam Rice <ricea@google.com> Thu, 15 September 2016 07:54 UTC

Return-Path: <ricea@google.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 976FF12B1A8 for <hybi@ietfa.amsl.com>; Thu, 15 Sep 2016 00:54:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.208
X-Spam-Level:
X-Spam-Status: No, score=-4.208 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.508, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 8Uez4fjasqE4 for <hybi@ietfa.amsl.com>; Thu, 15 Sep 2016 00:54:09 -0700 (PDT)
Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBCE112B1AC for <hybi@ietf.org>; Thu, 15 Sep 2016 00:54:08 -0700 (PDT)
Received: by mail-vk0-x233.google.com with SMTP id b133so14608894vka.1 for <hybi@ietf.org>; Thu, 15 Sep 2016 00:54:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=A0HdFzhBvtFI2RDl2wd2wfCi/9DdlPDrd5s/s7NBfXg=; b=VyGH7atk5YvNVBZOkZtZy7aadKMPIuL64B5sXfuqMkt6ah/8rTMeTPEtC3BhW75cZm N2KjRZwIhk76CG+StrPUSW6Zr3FZqOdXI8zle3SRltDJBy1qIdOyW9ows8h3PtZfZHs3 vAcU4d1T+2o1BQvii/0yHZLTD0jVpS7ZAFznZyzBwEl3Bk8J6xvOKbQAkIIByH1cVcuw niFA7nq7Y/VdP55OpJN6fDPNHTxDtupCWQ1FB71utfUzKbJXMfiq6DB7mAakFkyi0cx/ oZIRwqT4eZ2W6vigIaXJPeTgUsO2cvnLMaIpcVR5Cng1jdgqbz6iH9w/41OdGLnOqZ3W Xk4A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=A0HdFzhBvtFI2RDl2wd2wfCi/9DdlPDrd5s/s7NBfXg=; b=SmchyIe20a0NXt9AamryXJ+TfN9eNqophRBFZLHoiK+42lowcbfCuJqOdxnhV9iV+P Ipp9on+lDY5/CkVX5VKFYRgfVpPiOgGn3Gl2D6ORkhNubxty8HWHP4dqlgkDBZoagULL 8rBJHCiKZ4kW4CqS6sAkSjH/bKfFD7MfwAdd5kiP8NpcPwvaa1N55/0f/+01O7sgIdV2 RTi99NuLkkNFYCQFzSgxaplHGdI++iPW3c41zbj/aKbV3T9FW4HfACSgaq3S/eh8nb94 swH9bQFcbQlO7c3oBAok95W9qK2Sov52B3Moizemff68JefKm70SIslgLTthVpPcdvOV BP4A==
X-Gm-Message-State: AE9vXwNtzeOlsMqqIP/akxKkKtUrXeQAUpNr1hPO830/9MvhrbWm1Yyc63eu2to4bdJNaT4lyc4uCxOtvc4V4D2I
X-Received: by 10.31.179.11 with SMTP id c11mr2002303vkf.46.1473926047742; Thu, 15 Sep 2016 00:54:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.157.135 with HTTP; Thu, 15 Sep 2016 00:54:07 -0700 (PDT)
In-Reply-To: <CA+Y8h60C2rtk4hogYAU4JfSbsXoMfV+r+6HWNS=tgNPSLm5ODw@mail.gmail.com>
References: <CA+Y8h61FxUDgiPmgLwqy9qqzLYGWhvsg9bjMR3PXPtf5qj2VLA@mail.gmail.com> <CAHixhFr6DqiFnRLEV=4_jZiJcLm1rgVdxFTW4hQqB+OsXDNPUg@mail.gmail.com> <CA+Y8h60C2rtk4hogYAU4JfSbsXoMfV+r+6HWNS=tgNPSLm5ODw@mail.gmail.com>
From: Adam Rice <ricea@google.com>
Date: Thu, 15 Sep 2016 16:54:07 +0900
Message-ID: <CAHixhFrMj4BVGAXgsfQp-gALfD-m=4NyUuUCPDk+5OHcPyxhQg@mail.gmail.com>
To: Johan de Vries <devries@wivion.nl>
Content-Type: multipart/alternative; boundary=001a11435c0e808f3d053c872658
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/WGMWPi5HC48FOBjc0G-w1mjjXy4>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] WebSocket Subprotocol Close Code: Bad Gateway
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: Thu, 15 Sep 2016 07:54:11 -0000

I think this list is the right place, but since the working group has
closed you may have trouble attracting enough discussion to have consensus.

This appears to be the link from the last time it happened:
http://www.ietf.org/mail-archive/web/hybi/current/msg09670.html

On 15 September 2016 at 15:27, Johan de Vries <devries@wivion.nl> wrote:

> I'm sorry, maybe I misunderstood.
>
> In the provided links I couldn't find anything about how to request such a
> reservation, except this mailing list. Is this not the right place to
> request it?
>
> Met vriendelijke groet,
>
> Johan de Vries
>
> Wivion bv
> Vierlingsbeekseweg 52A | NL-5825 AX  Overloon
> www.wivion.nl
>
> 2016-09-12 13:13 GMT+02:00 Adam Rice <ricea@google.com>om>:
>
>> 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> 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
>>>
>>> _______________________________________________
>>> hybi mailing list
>>> hybi@ietf.org
>>> https://www.ietf.org/mailman/listinfo/hybi
>>>
>>>
>>
>