-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Platform broke Canvas #20802
Comments
I'll take a look on Monday, but I've never run Kibana with Canvas. Would you mind pointing me to any docs describing how one can run it @w33ble ? |
Okay, I see what happened here and how we can fix that, but I'm concerned about the way Canvas uses socket.io + Kibana HTTP server that'd likely won't work as is with the new platform in the future. What has happenedCanvas initializes socket.io connection using Short-term fixWith the Additionally But before we do anything here I'd like to hear more details about /cc @elastic/kibana-platform @epixa |
Hmm, Canvas's use of |
We use socket.io for bi-directional communication between the server and client. We use websockets for the lower overhead and reduced latency. However we need to continue supporting long polling for now as the cloud proxy doesn't support websockets yet. |
Maybe it's an opportunity to think about introducing websockets support in the new platform... Having a high level abstraction like socket.io has in the platform can be helpful (especially as we need the long polling fallback)... Initially it can be implemented with socket.io, later on we can consider replacing it with our own websockets/long polling implementation (that is if we find socket.io to be unstable or we get to a point where we have the proper support in cloud to remove the long polling fallback requirement) I can see many places where websockets can be useful in kibana as a whole... I know one specific use case in the Notebook app that it can really help with collab editing feature. |
#18301 is the issue for websocket support in the new platform |
I'm going to close this because I'm pretty sure canvas is working again in master. Please reopen if I'm misunderstanding something. |
Kibana version: master, 1418310 or newer
Elasticsearch version: master/snapshot
Describe the bug:
Canvas doesn't work anymore.
Steps to reproduce:
Expected behavior:
It should work
Screenshots (if relevant):
Errors in browser console (if relevant):
Note the extra
/
in the basepath... maybe that's related?The text was updated successfully, but these errors were encountered: