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 2021/05/07 07:18:37 UTC

[GitHub] [superset] samudurand opened a new issue #14517: Docker tag and logging bug

samudurand opened a new issue #14517:
URL: https://github.com/apache/superset/issues/14517


   On Dockerhub, the "latest" tag doesn't match the version 1.1.0. When used it corresponds to a version 0.999.dev, which is not matching any tag on Dockerhub. That is not that bad since there is a version 1.1.0 available.
   The real problem is that the images tagged with 1.1.0 and 1.0.1 do not show detailed errors when attempting to create a new database connection, which makes it very hard to debug and find the problem.
   
   ### Expected results
   
   A clear error popup with exception details, for example: 
   ```
   ERROR: (snowflake.connector.errors.DatabaseError) 250001 (08001): None: Failed to connect to DB: domain.region.snowflakecomputing.com:443. The requested database does not exist or not authorized.
   (Background on this error at: http://sqlalche.me/e/13/4xp6)
   ```
   
   ### Actual results
   
   An empty error message 
   ```
   ERROR: failed to connect to DB
   ```
   
   #### Screenshots
   
   
   
   #### How to reproduce the bug
   
   To reproduce, simply start a docker container with tag "1.1.0", then try to connect to a database with wrong credentials (any database, I have tried with snowflake and Athena).
   
   ### 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.
   
   ### Additional context
   
   Note that the "latest" tag (version 0.999.dev) does produce proper errors, which allows me to debug, but it's not reliable since there is no precise version it corresponds to (at least no tag matching that version on Dockerhub)
   


-- 
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.

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