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 2020/01/24 19:00:34 UTC

[GitHub] [incubator-superset] AnkitSingh02 opened a new issue #9016: Unable to Access anything in superset request throwing 401

AnkitSingh02 opened a new issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016
 
 
   I have installed superset on my mac using python venv, have configured a secure login of my company using OAUTH configuration.
   
   After logging in into the dashboard, I am not able to perform/check anything : 
   
   PFB the logs from debugger mode : 
   
   2020-01-25 00:19:52,808:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:19:52] "GET / HTTP/1.1" 302 -
   2020-01-25 00:19:52,814:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:19:52] "GET /superset/welcome HTTP/1.1" 302 -
   2020-01-25 00:19:52,931:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:19:52] "GET /login/ HTTP/1.1" 200 -
   2020-01-25 00:19:53,543:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:19:53] "GET /superset/csrf_token/ HTTP/1.1" 401 -
   
   
   
   2020-01-25 00:20:01,134:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] "GET /login/authn?next= HTTP/1.1" 302 -
   2020-01-25 00:20:01,285:DEBUG:flask_oauthlib:Prepare oauth2 remote args {'code': '4ltLn8wQ2ap4', 'client_secret': '<SECRET>', 'redirect_uri': '<REDIRECT URL>'}
   2020-01-25 00:20:01,285:DEBUG:flask_oauthlib:Request '<AUTH TOKEN URL>' with 'POST' method
   2020-01-25 00:20:01,449:DEBUG:flask_oauthlib:Request '<BASE URL>' with 'GET' method
   {'username': '<USer Name>', 'email': '<email Id>'}
   2020-01-25 00:20:01,597:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] "GET /oauth-authorized/authn?code=<Complete AUthN code> HTTP/1.1" 302 -
   2020-01-25 00:20:01,602:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] "GET / HTTP/1.1" 302 -
   2020-01-25 00:20:01,723:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] "GET /superset/welcome HTTP/1.1" 200 -
   
   **2020-01-25 00:20:01,952:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] "GET /superset/recent_activity/3/?limit=50 HTTP/1.1" 401 -
   2020-01-25 00:20:01,952:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] "GET /superset/fave_dashboards/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:01,953:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] "GET /dashboardasync/api/read?_oc_DashboardModelViewAsync=changed_on&_od_DashboardModelViewAsync=desc HTTP/1.1" 401 -
   2020-01-25 00:20:01,953:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] "GET /superset/fave_slices/3/ HTTP/1.1" 401 -**
   2020-01-25 00:20:07,204:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] "GET /users/userinfo/ HTTP/1.1" 302 -
   2020-01-25 00:20:07,212:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] "GET /login/?next=http%3A%2F%2Flocalhost%3A8088%2Fusers%2Fuserinfo%2F HTTP/1.1" 302 -
   2020-01-25 00:20:07,216:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] "GET / HTTP/1.1" 302 -
   2020-01-25 00:20:07,245:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] "GET /superset/welcome HTTP/1.1" 200 -
   **2020-01-25 00:20:07,435:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] "GET /superset/fave_dashboards/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:07,439:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] "GET /superset/recent_activity/3/?limit=50 HTTP/1.1" 401 -
   2020-01-25 00:20:07,439:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] "GET /superset/fave_slices/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:07,446:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] "GET /dashboardasync/api/read?_oc_DashboardModelViewAsync=changed_on&_od_DashboardModelViewAsync=desc HTTP/1.1" 401 -**
   2020-01-25 00:20:09,698:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] "GET /superset/sqllab HTTP/1.1" 302 -
   2020-01-25 00:20:09,707:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] "GET /login/?next=http%3A%2F%2Flocalhost%3A8088%2Fsuperset%2Fsqllab HTTP/1.1" 302 -
   2020-01-25 00:20:09,711:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] "GET / HTTP/1.1" 302 -
   2020-01-25 00:20:09,745:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] "GET /superset/welcome HTTP/1.1" 200 -
   **2020-01-25 00:20:09,944:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] "GET /superset/fave_dashboards/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:09,948:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] "GET /dashboardasync/api/read?_oc_DashboardModelViewAsync=changed_on&_od_DashboardModelViewAsync=desc HTTP/1.1" 401 -
   2020-01-25 00:20:09,949:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] "GET /superset/fave_slices/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:09,949:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] "GET /superset/recent_activity/3/?limit=50 HTTP/1.1" 401 -**
   
   After Clicking on Profile or options its throwing 401.
   The LogIn Authorization is done by ouath integration.
   
   The Screen is simply Blank : 
   
   <img width="1667" alt="Screenshot 2020-01-25 at 12 25 56 AM" src="https://user-images.githubusercontent.com/16684067/73096010-da6c2f00-3f09-11ea-8d9b-5c331dbe9630.png">
   
   

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] ssYkse commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
ssYkse commented on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-605929150
 
 
   Hi, I am facing the same issue in a different setup. 
   At work we have an OpenShift 4.2 Cluster, and I have installed via Helms stable/superset. I had to change the running user/fsGroup however got everythign to run. 
   
   After going to the webpage for the first time I was greated by https://github.com/apache/incubator-superset/issues/7143 this error. Running superset db upgrade fixed it.
   
   Afterwards the 'admin admin' user didn't work. So I created a new one using fabmanager create-admin --app superset, after which I could login.
   
   However, after the login page I am exactly at this Issue.

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] zjye commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
zjye commented on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-608310129
 
 
   > I fixed it by running the init script. By default it had permissions of 420 and that didn't allow me to exectue it. I gave it 777 and then it worked.
   
   thanks it works for me, `superset init`

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] songlipeng2003 commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
songlipeng2003 commented on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-597607045
 
 
   @moyee I update cli.py disable utils.get_example_database() .

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] moyee commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
moyee commented on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-597017212
 
 
   > I find reason, docker-ini.sh fail.
   > superset load_examples fail in step 3, and superset init fail in step 4.
   
   How to solve it? reinstall ?

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] songlipeng2003 commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
songlipeng2003 commented on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-589962792
 
 
   I find reason,  docker-ini.sh fail.
   superset load_examples fail in step 3, and superset init fail in step 4.

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] ssYkse commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
ssYkse commented on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-606058241
 
 
   I fixed it by running the init script. By default it had permissions of 420 and that didn't allow me to exectue it. I gave it 777 and then it worked.

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] songlipeng2003 commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
songlipeng2003 commented on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-589950222
 
 
   same error

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] willbarrett commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
willbarrett commented on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-597148828
 
 
   Hi @songlipeng2003 and @moyee. My recommendation would be to restart your docker-compose setup to re-start the initialization process. If that doesn't work, try `docker-compose down -rmi -v` to remove all of the existing setup followed by another `docker-compose up`. Additionally, please ensure that Docker has 6 to 8 GB of RAM available if you're using Docker for Mac or a virtual machine. If you are able to post logs from the Docker process, or the error messages you run into during that process, that will help us debug the issue. Unfortunately web server logs are not useful in this case, as the issue is in the startup process. I hope that helps!

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] zjye edited a comment on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
zjye edited a comment on issue #9016: Unable to Access anything in superset request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-608310129
 
 
   > I fixed it by running the init script. By default it had permissions of 420 and that didn't allow me to exectue it. I gave it 777 and then it worked.
   
   thanks, it works for me, `superset init`

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


With regards,
Apache Git Services

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


[GitHub] [incubator-superset] stale[bot] closed issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #9016:
URL: https://github.com/apache/incubator-superset/issues/9016


   


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


[GitHub] [incubator-superset] stale[bot] commented on issue #9016: Unable to Access anything in superset request throwing 401

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #9016:
URL: https://github.com/apache/incubator-superset/issues/9016#issuecomment-637405795


   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 `.pinned` to prevent stale bot from closing the issue.
   


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