-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Websocket Error Installing Superset behind Proxy #18615
Comments
I began with a fresh Ubuntu 20.04 VM, installed the default node (v10.19.0), npm (6.14.4) that is provided by Ubuntu apt repository as well as the default docker, docker compose. I am still getting the exact same error. This means there is a mismatch between the requirements and installed versions of node and npm, at least in the websocket section in the current version of superset. However, I do not know how I can go about resolving it. I shall next be trying to install some old version of Superset by the same method and see if it works. Waiting for help! |
I ran into this on macOS 12.2.1 and resolved it by setting the file as executable with |
I am still stuck. I realized that most of my issues are due to being behind a proxy since I still don't know how I can change the proxy settings for npm to make npm work inside of a docker container. So today I am trying to set a dev server in a VM on my laptop directly connected to the internet without the proxy issues. I will still need to figure stuff out to make it work for the office environment behind proxy for long term. Anyway, even without the proxy, I am getting stuck at the
The log file says:
I have no clue what is going on at this point. Help! |
Have you been able to resolve this issue? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
Setting what file executable? |
From what I recall, This was in reference to the following line in the initial error report:
|
same error |
Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please open a new Issue or a PR to address the problem. |
A clear and concise description of what the bug is.
I am trying to install Superset for building custom visualization using the guide at: https://superset.apache.org/docs/installation/building-custom-viz-plugins/
Please note that I am attempting it on Ubuntu 20.04 VMs behind a proxy. I am able to install Superset properly in python venv using the guide available at https://superset.apache.org/docs/installation/installing-superset-from-scratch/
However, for tinkering with custom visualizations, I need to go the docker-compose way which is causing me issues as it gives me "superset-websocket Error".
How to reproduce the bug
Expected results
Successful installation of Apache Superset
Actual results
All modules of superset docker get pulled and install other than the error "superset-websocket Error" with the detail:
I found the issue #16432 and commented out the lines corresponding to websocket in the docker-compose.yml in the hopes of getting it to run, but it did not help.
I also tried installing the required versions of node (v16.9.1) and npm (v7.5.4) on the VM but that did not help.
Screenshots
If applicable, add screenshots to help explain your problem.
Error logs mentioned above.
Environment
OS: Ubuntu Server 20.04
Python on VM: 3.8.10
node on VM: 16.9.1
npm on VM: 7.5.4
node -v
as installed on VM 16.9.1Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
Since I have a working instance of Superset using the instructions at the 'installing from scratch page' that ends up with a installation in python venv, I was wondering if there is a way to tinker with that to create custom visualizations.
Cheers!
The text was updated successfully, but these errors were encountered: