Skip to content
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 the site at all now in one tab #2608

Closed
taoeffect opened this issue Feb 10, 2025 · 1 comment
Closed

Cannot load the site at all now in one tab #2608

taoeffect opened this issue Feb 10, 2025 · 1 comment
Assignees
Labels
App:Frontend Kind:Bug Kind:Core Anything that changes or affects the fundamental core data structures & design of the application. Priority:High

Comments

@taoeffect
Copy link
Member

taoeffect commented Feb 10, 2025

Problem

On Brave, w/1.2.5, I can no longer load the site at all.

It started out with me not being able to mark notifications as read #2605:

Image

Then I noticed this odd error in the logs:

Image

Apparently date was a function?!:

Image

Then I tried command+shift+r to force refresh the site, and now it's completely broken, even though I've cleared all the site data and unregistered the SW:

Image

Note that the other sites (staging, testing, and debug) seem to be working...

This manifest does exist...

$ curl "https://groupincome.app/file/z9brRu3VN9mM6vEkuwmLRsbqLSLvtqQNtQhnJswWUFe21vjXXSXD"
{"head":"{\"manifestVersion\":\"1.0.0\"}","body":"{\"name\":\"gi.contracts/identity\",\"version\":\"1.2.5\",\"contract\":{\"hash\":\"z9brRu3VLkz9YyewJVfkfDjaZgZDQG39fNdMaoZVaCD3Ma94cK1m\",\"file\":\"identity.js\"},\"signingKeys\":[\"[\\\"edwards25519sha512batch\\\",\\\"IjAFp6gIzHW2HOIXXS9b4A3EKf8t9NNa5nndHcROiDk=\\\",null]\"],\"contractSlim\":{\"file\":\"identity-slim.js\",\"hash\":\"z9brRu3VMtVDbdvarC491cmf7ZyEN6UpjP8W2KFqx74ZxyBiU9sP\"}}","signature":{"keyId":"z2DrjgbCDg34SaBhFjNEF45AVodCUu7QwcFBksz3BDgN4BekrdN","value":"pCvt8UZnac8l7l8PiktUjQUlGpkXVfjEQZfhjAeRUTNO5KWqSURNeCmSp+CXQZAPnv9SwWCXG4bAwNulWSI4Cw=="}}

For some reason it is loading it from disk cache:

Image

Solution

  • Figure out why it's loading the file from disk cache and prevent it from doing that.
  • Figure out why date is a function in periodStampsForDate and fix it.
@taoeffect taoeffect added App:Frontend Kind:Bug Kind:Core Anything that changes or affects the fundamental core data structures & design of the application. Priority:High labels Feb 10, 2025
@taoeffect
Copy link
Member Author

I managed to get the site working again by checking this checkbox in the browser's Network tools and refreshing:

Image

Also, to partially address this issue I sent in PR #2609 which disables caching for 404 responses.

corrideat added a commit that referenced this issue Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App:Frontend Kind:Bug Kind:Core Anything that changes or affects the fundamental core data structures & design of the application. Priority:High
Projects
None yet
Development

No branches or pull requests

2 participants