419 - PAGE EXPIRED Error on freshly installed Pixelfed App
-
Hi everyone, I'm new to this and I couldn't find anything about this error in the Cloudron forum. If there's another thread which solves this problem, I'm happy to get that link.
I just installed the pixelfed app with Cloudron on my VPS. I'm able to get on the startpage, but when I try to register, the next page shows "419 PAGE EXPIRED".
My instance is running on a subdomain (something like
pixelfed.domain.com
), the main domain is currently in use for a mastodon instance.The documentation of Pixelfed (https://docs.pixelfed.org/running-pixelfed/troubleshooting/) says to "Make sure you have SESSION_DOMAIN, APP_URL and APP_DOMAIN set in your .env." Which domain do I have to put in here when having it installed on Cloudron? Cloudron puts into the .env file
${CLOUDRON_APP_ORIGIN}
.I hope someone has a solution for this.
-
@CrazyxxGuitar This issue is similar to https://github.com/pixelfed/pixelfed/issues/2192 and maybe https://github.com/pixelfed/support/issues/106
You don't need to change APP_DOMAIN or SESSION_DOMAIN manually on Cloudron. The package will fix them up accordingly. Have you tried a different browser and/or clearing the browser cache already ?
-
I tried this on a fresh instance and this work for me with no changes to env.prodiction . Just install, register new account, click on confirmation email and I can login (tried relogin as well)
This is what I have:
APP_URL=${CLOUDRON_APP_ORIGIN} APP_DOMAIN=${CLOUDRON_APP_DOMAIN} ADMIN_DOMAIN=${CLOUDRON_APP_DOMAIN} SESSION_DOMAIN=${CLOUDRON_APP_DOMAIN}
-
@girish That's the solution for me, somehow the cookies were making trouble. After deleting the cookies (I did delete my browser cache before, but that's not enough) now everything is working fine! Maybe because I had a test with pixelfed on the main domain and the browser had stored some old cookies. Thanks for your reply!
-
-