apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
63.16k stars 13.99k forks source link

Invalid login is shown even if the right credentials are provided for a superset. #27848

Open jemyalphonsjogy opened 8 months ago

jemyalphonsjogy commented 8 months ago

Bug description

Invalid login is shown even if the right credentials are provided for a superset when superset is installed via a shell script

How to reproduce the bug

  1. Install super via a shell script
  2. Open superset in chrome using localhost:8088
  3. Try to login using valid credential

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.10

Node version

I don't know

Browser

Chrome

Additional context

No response

Checklist

maxkondr commented 2 months ago

I have the same issue. I followed instructions from official documentation using v0.20.0 tag and running docker compose -f docker-compose-image-tag.yml up

rusackas commented 2 months ago

Don't use the 0.20.x tags/releases. Those have been deleted. They were generated by a script that needs work. Superset is on 4.0.x and will soon be at 4.1.x once an RC passes a vote.

That said, you should be able to log into Superset with admin/admin after installing. You said you're using latest master so I assume that the issue is with your install script. If that's something custom, we're not likely to be able to support it as a community, but we're happy to try to help if it's a standard installation procedure that's not working right.

mikkohei13 commented 2 months ago

Also having this issue. Steps, as instructed at https://superset.apache.org/docs/installation/docker-compose

-> "Invalid login. Please try again."

Trying to run this on on WSL2 (5.15.153.1-microsoft-standard-WSL2).

ghitti commented 1 month ago

I have follow the instructions at https://superset.apache.org/docs/quickstart/ Enter admin/admin -> "Invalid login. Please try again."

mikkohei13 commented 1 month ago

@rusackas Can you help please? Seems to me the standard install procedure or instructions have something that's not working.

rusackas commented 1 month ago

If you're using docker compose up try stopping it (control-c or docker compose down) and then docker compose up again. Let me know if that works (or not). It worked for me when I ran into this.

mikkohei13 commented 3 weeks ago

Thanks! Doing docker compose up twice with a fresh setup cleared the issue for me.