-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot load SolidOS team chat when logged in #48
Comments
Interesting problem with caching maybe. Looks like maybe you loaded the data when not logged in and your local quad store saved the response. Then you log in. Then you try to modify the same document and it checks in the store whether we have information on whether we. Have write access and it says yes we have info and no we don’t have write. So we need a way of invalidating or retrying that data — or 403 or 401 errors For that matter — which predate your login. |
Indeed, the GET request for the chat document does not send an Authorization header and the response contains Link header Shouldn't he chat be fetched after the authentication took place? |
When you initially go to the chat, you may be logged in or not. If you are not logged in, you can read the chat, but the message composition box is replaced with a login button, so you can't sent messages anyway. At that point there is a fetch with metadata saying that the chat file is not editable. Unfortunately if you the log in, that HTTP metadata the WAC-Allow data I guess, is used even though it is out of date. Because of RDF lib #441. It needs to know to ignore metadat from before the last login state change, which will cause it to fetch again if it needs to. (Or it may already have another request it can use, from since the login). |
@angelo-v We are thinking this has been resolved? |
While being logged in as https://angelo.veltens.org/profile/card#me I cannot open the SolidOS Team Chat
Browser Console:
It works when I load the page while not being logged in and then log in, but as soon as I reload the page the error occurs again.
The text was updated successfully, but these errors were encountered: