You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Jesus Alvarez (JIRA)" <ji...@apache.org> on 2017/06/14 18:14:02 UTC
[jira] [Commented] (KNOX-776) Rewrite rule handling for Websockets
[ https://issues.apache.org/jira/browse/KNOX-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16049466#comment-16049466 ]
Jesus Alvarez commented on KNOX-776:
------------------------------------
Hey Sandeep,
I did some work on this for integrating Jupyter Kernel Gateway with Knox after hitting the below. Can you assign this to me and I'll submit a patch?
Currently knox does not support rewrites for endpoints which are defined using websocket protocol.
If the backend URL contains "ws://" , it is used as is -- which is valid for Zeppelin
ws://<knox>default/service/ws
This should be extensible to support different endpoints such as:
ws://<knox>/default/<service>/api/kernels/?/channels
wss://example.org:8443/default/jkg/api/kernels/1session234/channels
wss://example.org:8443/default/jkg/api/kernels/2session345/channels
> Rewrite rule handling for Websockets
> ------------------------------------
>
> Key: KNOX-776
> URL: https://issues.apache.org/jira/browse/KNOX-776
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandeep More
>
> Currently we simply proxy websocket payload we should support some form of rewrite rule handling.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)