Can not login `http://localhost:8000/admin/`
See original GitHub issueDescribe the bug Admin can not login web site after startup.
To Reproduce Steps to reproduce the behavior:
- Setup
git clone https://github.com/safe-global/safe-transaction-service.git
cd safe-transaction-service/
python -m venv venv
source venv/bin/activate
pip install -r requirements-dev.txt
pre-commit install -f
- Create .env
cp .env.l2.sample .env
echo 'CSRF_TRUSTED_ORIGINS=["http://localhost:8000","http://127.0.0.1:8000","http://localhost:8888","http://127.0.0.1:8888"]' >> .env
- Startup
docker compose build --force-rm
docker compose up
- Create admin
docker exec -it safe-transaction-service-web-1 python manage.py createsuperuser
- Login
Open URL
http://localhost:8000/admin
and login as admin, below is error messages:
Expected behavior Should login OK.
Environment (please complete the following information):
- OS: Ubuntu 22.04.1 LTS
- Browser FireFox v107.0.1
Additional context
Can not login http://localhost:8888/ also after clikc Django Login
:
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
python - Can't log into localhost:8000/admin ... - Stack Overflow
If I do localhost:8000/admin , I'm directed to the admin login page. I have already created id/pw through createsuperuser .
Read more >localhost:8000 admin page · Issue #85 · bludit/bludit - GitHub
hi, whenever i try accessing the bludit admin panel with http://localhost:8000/admin/ it says the page cannot be found. however if i add ...
Read more >Google Groups
TypeError at /admin/Cannot mix str and non-str argumentsRequest Method: GETRequest URL: http://localhost:8000/admin/Django Version: 2.1.5Exception Type:
Read more >Can't login in my localhost - WordPress.org
Hi, i can't login in my localhost. After i write http://localhost/wordpress/wp-admin/ the username and password fields are not displayed, but a message is ......
Read more >Error in admin: Can't log in and says error - Django Forum
Whenever I go to localhost:8000/admin , it says A server error occurred. Please contact the administrator. . I've tried reloading and python ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The problem is resolved. Thank you again. Maybe the documents need refactor, such as docs directory.
Thanks, I will test again tomorrow.