You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/11/22 15:18:20 UTC

[GitHub] bahadircolak44 opened a new issue #6425: Clickhouse database connection error

bahadircolak44 opened a new issue #6425: Clickhouse database connection error 
URL: https://github.com/apache/incubator-superset/issues/6425
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] 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.
   
   
   ### Superset version
   0.28
   
   ### Expected results
   To monitor clickhouse data
   
   ### Actual results
   Loaded your LOCAL configuration at [/home/work/incubator-superset/superset/superset_config.py]
   2018-11-22 15:02:41,147:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost
   2018-11-22 15:02:41,149:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: HTTPConnectionPool(host='localhost', port=8123): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f118e10b470>: Failed to establish a new connection: [Errno 111] Connection refused',))
   
   
   ### Steps to reproduce
   I am running superset with docker. 
   I did all steps:
   `bash -x docker-build.sh`
   `docker-compose up -d`
   `docker-compose exec superset bash`
   `bash docker-init.sh`
   
   I change superset_config.py like SQLALCHEMY_DATABASE_URI = "clickhouse://localhost:8123"
   
   I don't know If I am missing something. Can you please help me to connect to clickhouse. Should I need to add/change/delete something else in config or somewhere else? My clickhouse server is running without problem and I can monitor data with other UI but I want to use superset. I am missing some config most probably. 
   
   Thank you. 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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