You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "abhi1045 (via GitHub)" <gi...@apache.org> on 2023/04/26 08:41:02 UTC

[GitHub] [superset] abhi1045 opened a new issue, #23825: Default port is not changing after setting SUPERSET_WEBSERVER_PORT

abhi1045 opened a new issue, #23825:
URL: https://github.com/apache/superset/issues/23825

   I'm trying to build a docker image of superset on a non default port.
   I follow the steps mentioned in at this [link](https://github.com/apache/superset/blob/master/superset/config.py#:~:text=SUPERSET_WEBSERVER_PORT%20%3D%208088) and also this [link](https://superset.apache.org/docs/installation/configuring-superset/).
   But the issue is I'm changing the default port to 6011 but it is not changing.
   
   #### How to reproduce the bug
   
   1. Go to 'superset_config.py'
    Add below code snippet 
   
   ```
   SUPERSET_WEBSERVER_PROTOCOL = "http"
   SUPERSET_WEBSERVER_ADDRESS = "0.0.0.0"
   SUPERSET_WEBSERVER_PORT = 6011
   ```
   
   <img width="450" alt="Screenshot 2023-04-26 at 1 51 09 PM" src="https://user-images.githubusercontent.com/86192930/234514903-9efcf441-de85-449a-af37-1af9f6725377.png">
   
   ### Expected results
   
   When I'm building the docker using following commands
   
   ```
   docker build -t superset .
   
   docker run -p 8088:6011 superset
   ```
   
   The port "6011" must have listening.
   
   ### Actual results
   
   <img width="1136" alt="Screenshot 2023-04-26 at 1 39 34 PM" src="https://user-images.githubusercontent.com/86192930/234512959-a5e2ee4e-e44d-4885-9ad4-9084a2a0212f.png">
   
   It is still running on 8088 port, but should run on 6011 port.
   
   
   ### Environment
   
   - browser type and version:
   - superset version: 2.1.0
   - python version: 3.9.13
   - node.js version: 16.17.0
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x ] I have reproduced the issue with at least the latest released version of superset.
   - [ x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Default port is not changing after setting SUPERSET_WEBSERVER_PORT [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #23825:
URL: https://github.com/apache/superset/issues/23825#issuecomment-1973298834

   It seems like `SUPERSET_PORT` is the fix here.  I think we're close to closing this.  The only thing is how we want to document that.  Normally I think of `config.py` as the default documentation of every Superset config variable.  However this variable is not in `config.py`.  Would it get picked up from config.py if we added `SUPERSET_PORT=8088` which is present in `/docker/.env-non-dev` ?  Then it might be more apparent to users how to change this.  What do you think @sebastianliebscher ?
   
   Someone mentioned this variable [today in Slack](https://apache-superset.slack.com/archives/C0170U650CQ/p1709271234868499?thread_ts=1708923134.721499&cid=C0170U650CQ) as being key to their k8s deployment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] abhi1045 commented on issue #23825: Default port is not changing after setting SUPERSET_WEBSERVER_PORT

Posted by "abhi1045 (via GitHub)" <gi...@apache.org>.
abhi1045 commented on issue #23825:
URL: https://github.com/apache/superset/issues/23825#issuecomment-1527273871

   I have tried set WEBDRIVER_BASEURL in 'superset_config.py'
   
   `WEBDRIVER_BASEURL = "http://0.0.0.0:6011"`
   
   After that run those steps
   ```
   docker build -t superset .
   
   docker run -p 5000:6011 superset
   ```
   
   ### Expected results
   
   When, I hit "http://0.0.0.0:5000", the superset application runs.
   
   So, the default port must be changed to port 6011 and I'm redirecting to port 5000, but this is not working.
   
   
   ### Actual results
   
   I'm not getting the application running at port 5000.
   
   `This is still Listening at: http://0.0.0.0:8088`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Default port is not changing after setting SUPERSET_WEBSERVER_PORT [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #23825:
URL: https://github.com/apache/superset/issues/23825#issuecomment-1971703923

   Is this still an issue in 3.x?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] sfirke commented on issue #23825: Default port is not changing after setting SUPERSET_WEBSERVER_PORT

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #23825:
URL: https://github.com/apache/superset/issues/23825#issuecomment-1525823626

   Hello, I believe that variable is no longer used - see this pending PR to update the docs: https://github.com/apache/superset/pull/22849 You might want `WEBDRIVER_BASEURL` instead.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] sebastianliebscher commented on issue #23825: Default port is not changing after setting SUPERSET_WEBSERVER_PORT

Posted by "sebastianliebscher (via GitHub)" <gi...@apache.org>.
sebastianliebscher commented on issue #23825:
URL: https://github.com/apache/superset/issues/23825#issuecomment-1531703411

   I can confirm this issue: Chaging `WEBDRIVER_BASEURL` does not change the port the superset webserver is listening to. Tested for Superset `2.1.0` and `latest`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org