i m stucked at login loop in the openwisp admin login page:

24 views
Skip to first unread message

aryukamc account

unread,
Jul 15, 2025, 8:54:45 AMJul 15
to OpenWISP
hey i was sorry to interrupt you but i m stucked at login loop in the openwisp admin login page:
https://openwisp.ddns.net/admin , when i try to login with user:admin and pass: admin, it just simply change the csrftoken value and refreshes the page, i installed the docker-openwisp using the installation script, in another of my instance i used duckdns.org and added the lines below:  DJANGO_CORS_HOSTS=https://openwiisp.duckdns.org
DJANGO_ALLOWED_HOSTS=openwiisp.duckdns.org,.duckdns.org,localhost
CSRF_COOKIE_DOMAIN=.duckdns.org
SESSION_COOKIE_DOMAIN=.duckdns.org
CSRF_TRUSTED_ORIGINS=https://openwiisp.duckdns.org

it worked, but now in my main instance its not working and i have been stucked in the loop like forever.

Federico Capoano

unread,
Jul 15, 2025, 8:59:56 AMJul 15
to open...@googlegroups.com
Did you copy paste these?

DJANGO_CORS_HOSTS=https://openwiisp.duckdns.org
DJANGO_ALLOWED_HOSTS=openwiisp.duckdns.org,.duckdns.org,localhost
CSRF_TRUSTED_ORIGINS=https://openwiisp.duckdns.org

There's a typo: "wiisp" instead of "wisp".

What instructions are you following to perform the install and what image? Stable or edge?
With default configuration or did you change anything?

Best regards
Federico Capoano
OpenWISP OÜ
Kotkapoja tn 2a-10, 10615, Harju maakond, Tallinn, Estonia
VAT: EE101989729


--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openwisp/c69d8cd6-8dd5-4c42-ba13-cf9cbd49150cn%40googlegroups.com.

aryukamc account

unread,
Jul 15, 2025, 9:15:59 AMJul 15
to OpenWISP
so lemme describe everything: 
1. i ran sudo curl https://raw.githubusercontent.com/openwisp/docker-openwisp/master/deploy/auto-install.sh -o auto-install.sh sudo bash auto-install.sh2. it asks if i want to change version or enter to continue for latest i pressed enter, then asked dashboard domain and api and openvpn domain: i entered, openwisp.ddns.net, site email: m.a...@outlook.com and same for lets encrypt email.
3. then i didn't changed anything and tried to login to the admin page with admin and admin credentials, then its stucked in a loop just refreshed the csrf token no season id is stored,
4. the one fix i gave was when i was using openwiisp.duckdns.org for login it was giving same error i just copied that code from claude and pasted it worked also wiisp isn't typo i didnt got the openwisp.duckdns.org as it was registered alrdy.

i just can't login onto the admin panel using the default config.

Federico Capoano

unread,
Jul 15, 2025, 9:26:08 AMJul 15
to open...@googlegroups.com
On the domain you shared I can see that the static files are not loaded.
Could you try sharing your env file (remove any sensitive info)?

F.


--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages