Skip to content

Conversation

@Leemoonsoo
Copy link
Member

@corneadoug
Copy link
Contributor

Didn't try it yet,
But front part is well changed and Overall looks like a nice job.

@Leemoonsoo
Copy link
Member Author

Ready to merge

@corneadoug
Copy link
Contributor

There is a couple of other things related to Websocket, do you think this could be handled in this PR too? Security: https://issues.apache.org/jira/browse/ZEPPELIN-173
PingPong: https://issues.apache.org/jira/browse/ZEPPELIN-113 (Last comments)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will set an incorrect internal local port of the zeppelin instance (e.g. 8080) where it is possible that there is a reverse proxy (nginx with HTTPS for example) in front of zeppelin.

Actually I think this whole Servlet is no longer needed since the websocket port is now the http port, so the browser can simply assume location.port

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, you are right replacing getPort is not needed anymore

@sjoerdmulder
Copy link
Contributor

I have created an pull request cleaning it up some more: Leemoonsoo#2

Cleanup of Javascript logic and Server code detecting the correct port
@Leemoonsoo
Copy link
Member Author

Thanks @sjoerdmulder

@Leemoonsoo
Copy link
Member Author

Ready to merge

@Leemoonsoo
Copy link
Member Author

merging if there're no more discussions.

@corneadoug
Copy link
Contributor

Go for it :) +1

@asfgit asfgit closed this in 3a42a28 Aug 5, 2015
Leemoonsoo added a commit to Leemoonsoo/zeppelin that referenced this pull request Sep 17, 2015
This PR fixes https://issues.apache.org/jira/browse/ZEPPELIN-172

Author: Lee moon soo <moon@apache.org>
Author: Sjoerd Mulder <sjoerd@frontendless.nl>
Author: Lee moon soo <leemoonsoo@gmail.com>

Closes apache#170 from Leemoonsoo/websocket and squashes the following commits:

11a302a [Lee moon soo] Check text in more safe way
3cf839d [Lee moon soo] Merge pull request #2 from sjoerdmulder/websocket
7f8bc47 [Sjoerd Mulder] Cleanup of Javascript logic and Server code detecting the correct port
412927f [Lee moon soo] Handle large message
f56e417 [Lee moon soo] Add license header
806db9b [Lee moon soo] Remove websocket addr/port configuration
6180ed3 [Lee moon soo] Update README
85d14a0 [Lee moon soo] Create notebookserver instance manually
a7b82aa [Lee moon soo] Initial implementation of Websocket inside of Jetty server

(cherry picked from commit 3a42a28)
Signed-off-by: Lee moon soo <moon@apache.org>
mapr-devops pushed a commit to mapr/zeppelin that referenced this pull request May 8, 2025
… interpreters and add admin users

(cherry picked from commit e2cab20)

ZEP-225 Added admin user (apache#169)

* Added admin user

* changed shiro.ini to shiro.ini.template

* Configure admin role through configure.sh (apache#170)

Co-authored-by: Ivan Dzikovskyi <ivan.dzikovskyi@hpe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants