-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
any url returns an empty page if no cookie is previously existant #27697
Labels
area/web interface
Related to the Mastodon web interface
bug
Something isn't working
status/confirmed
This bug has been confirmed
Comments
NicoBerlo
added
area/web interface
Related to the Mastodon web interface
bug
Something isn't working
status/to triage
This issue needs to be triaged
labels
Nov 4, 2023
vmstan
added
status/confirmed
This bug has been confirmed
and removed
status/to triage
This issue needs to be triaged
labels
Nov 4, 2023
I'm able to reproduce it. Pages load if you're already logged in but nothing if you're a unauthenticated user. |
I have the same problem. |
renchap
added a commit
to renchap/mastodon
that referenced
this issue
Nov 4, 2023
I made a mistake in mastodon#26559 and inadvertently added a check when the reducer runs, which happens on page load. This needs to only be checked when those specific actions are dispatched, which only happen when you are logged in. Added a system check to ensure the UI loads when not logged in. Fixes mastodon#27697
Woops sorry, fix should be in #27698 |
renchap
added a commit
to renchap/mastodon
that referenced
this issue
Nov 4, 2023
I made a mistake in mastodon#26559 and inadvertently added a check when the reducer runs, which happens on page load. This needs to only be checked when those specific actions are dispatched, which only happen when you are logged in. Added a system check to ensure the UI loads when not logged in. Fixes mastodon#27697
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/web interface
Related to the Mastodon web interface
bug
Something isn't working
status/confirmed
This bug has been confirmed
Steps to reproduce the problem
try any page on my instance, like :
https://lepoulsdumonde.com/@nico or https://lepoulsdumonde.com/
Only a grey window is displayed.
the console logs :
Uncaught Error: No current user (me) defined when calling `accountsReducer` at accounts (accounts.ts:51:11)
But when you already have an existing connection to the server (I guess when you have an existing cookie), everything works fine.
For example, on my main browser, firefox 119 on win 11, I can log in and out, get any url because I've been using it with an account for a long time.
But if I go to chrome which I never used to access my instance, or on my phone, or if a friend tries to connect to my instance, I get this error, and only a grey empty window is displayed.
I don't get any error logs in journalctl.
I tried pulling main again, and deleting the packs and cache and recompiling, restarting all services with no success.
I'm using the latest nightly main branch from source pull.
I don't know when the problem appeared exactly.
Expected behaviour
display the web page
Actual behaviour
empty window
Detailed description
No response
Mastodon instance
lepoulsdumonde.com
Mastodon version
v4.3.0alpha nightly from source
Browser name and version
firefox 119, chrome 119
Operating system
win 11, ios, win10
Technical details
No response
The text was updated successfully, but these errors were encountered: