Skip to content

Lots of CORS and 429 errors on https://solidcommunity.net #601

Closed

Description

@bourgeoa

What happened

Use History

  • I begun the Solid fundamentals course on my tablet with no pod connection
  • today with difficulties (impossible with main) finally made it with test. First course migrated from tablet browser to my pod
    I suppose that I should have done it from my browser computer to display the console issues

Now when logging from google Chrome on my W11 computer I got lots of 2 different issues

  • CORS issues
  • status 429: Cloudflare rate limiting

The app is usable. I was able to run the second course.

Image

Steps to reproduce

Where

No response

Version

No response

Browser and system

Google chrome

Pod

solidcommunity.net

The app's language

None

Anything else

No response

Activity

  1. added
    bug
    on Nov 5, 2026
  2. ixuz commented on Nov 5, 2026

    @ixuz
    Member

    Thanks @bourgeoa for the report and the screenshot!

    What I believe is happening and the problem is, when the decks page loads, Solid Memo sends a burst of requests to your pod all at once, with nothing limiting how many go out together. Cloudflare in front of solidcommunity.net rate-limits the burst with 429 Too Many Requests. That 429 response has no Access-Control-Allow-Origin header, so Chrome reports it as a CORS error. The app then makes it worse: it retries each failed read up to three times within a few seconds.

    I think what we can try is to apply some adjustments to better handle this kind of rate limiting problem.

    1. Limit how many requests go to a pod at once, and pause requests to a pod for a while after it rate-limits or fails to answer.
    2. Skip the extra HEAD request while a pod is rate-limiting.
    3. Wait longer between retries, with some randomness, so retries don't land in the same rate-limit window.
    4. Cut repeated reads on the decks page: read the answer history once instead of twice, keep a failed digest.ttl read from forcing the slower path for the rest of the page, and stop refetching every time the window regains focus.
    5. Add a test that simulates a pod that rate-limits, so this doesn't come back.

    (I've not tried Solid Memo app with a pod that has a Cloudflare in front before)

  3. bourgeoa commented on Nov 5, 2026

    @bourgeoa
    Author

    (I've not tried Solid Memo app with a pod that has a Cloudflare in front before)

    It is the only one I know and it rather recent, July 2026 if I remember well.
    There are other apps with same issue and the new design of SolidOS databrowser (mashlib) is also having issues.

    I suppose that the same issue arise when creating pod data from local browser memory.

    I'm interested if you have any hints how to improve implementation of rate limiting with Solid servers.
    somidIS team is preparing for a meeting with ODI on the subject.

  4. bourgeoa commented on Nov 5, 2026

    @bourgeoa
    Author

    From Melvin yesterday JSS uses rate limiting at 60 per minute.

  5. ixuz commented on Nov 6, 2026

    @ixuz
    Member

    Thanks @bourgeoa. Two thoughts that may be useful for the ODI meeting.

    Retry-After. It would help if servers and their proxies sent Retry-After with a 429, so clients don't have to guess how long to wait. For a browser app, two more things are needed:

    • CORS headers on the 429 itself, otherwise the browser reports a CORS error and the app never sees the status
    • Retry-After listed in Access-Control-Expose-Headers, otherwise scripts can't read it
  6. bourgeoa commented on Nov 6, 2026

    @bourgeoa
    Author

    rate limiting has been increased from 50 requests/10 seconds to 500/10s
    I do not have the issue with solid-memo anymore.

  7. ixuz commented on Nov 6, 2026

    @ixuz
    Member

    Good to hear! I still might need to work on how rate-limiting is handled by Solid Memo, when it occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions