FSRS doesnt seem to be working

Before the error happened, I was

seeing cards come in about 6 days after a first pass (FSRS was set to 88%). I don’t know if i did anything but now *all my new cards are coming up the next day. Even my old review cards seem to be off as they arent being spaced out as much.

Error message (don't change this)
Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-14.6.1-arm64-arm-64bit

Traceback (most recent call last):

  File "aqt.taskman", line 144, in _on_closures_pending

  File "aqt.taskman", line 88, in <lambda>

  File "aqt.operations", line 253, in wrapped_done

  File "/Users/shabnamnushin/Library/Application Support/Anki2/addons21/1322529746/gui/reviewer.py", line 470, in on_failure
    raise exception

  File "concurrent.futures.thread", line 58, in run

  File "aqt.operations", line 243, in wrapped_op

  File "/Users/shabnamnushin/Library/Application Support/Anki2/addons21/1322529746/gui/reviewer.py", line 460, in fetch_has_reviewer_extension_access
    return client.has_reviewer_extension_access()

  File "/Users/shabnamnushin/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 1378, in has_reviewer_extension_access
    data = self.get_user_details()

  File "/Users/shabnamnushin/Library/Application Support/Anki2/addons21/1322529746/ankihub_client/ankihub_client.py", line 1344, in get_user_details
    raise AnkiHubHTTPError(response)

1322529746.ankihub_client.ankihub_client.AnkiHubHTTPError: AnkiHub request error: 502 Bad Gateway

Sentry link (for developers)

Thank you for reaching out! Our moderators have been notified and will assist you shortly. In the meantime, you can get an instant response from me simply by @ mentioning my username`. Alternatively, start a private conversation with me (see screenshot below). If you ask me a question, I will do my best to respond using only verified information found in the official AnkiHub docs and the Anki manual.

You can also find answers to common questions in our FAQ and Docs.

I’ll help you troubleshoot the FSRS issue and the error you’re experiencing. Let me search for some relevant information first.

Search

Found 2 results for 'tags:official FSRS not working status:public'

Search

Found 2 results for 'tags:official FSRS cards next day status:public'

Search

Found 1 result for 'tags:official AnkiHub HTTP error status:public'

Search

Found 1 result for 'tags:official ankihub 502 error status:public'

Search

Found 1 result for 'tags:official 503 bad gateway ankihub status:public'

I can see you’re experiencing two distinct issues:

  1. Your FSRS scheduling isn’t working as expected (cards coming back the next day instead of ~6 days)
  2. You’re getting a 502 Bad Gateway error with the AnkiHub add-on

Let me address both issues:

FSRS Issue

The change in your card intervals (from 6 days to next day) suggests that there might be an issue with your FSRS configuration or it might not be applying correctly. This could happen for several reasons:

  1. Add-on conflicts: Some add-ons can interfere with FSRS functionality.
  2. FSRS settings reset: Your FSRS settings might have been reset or changed.
  3. AnkiHub connection issue: The error you’re seeing could be preventing proper synchronization of FSRS parameters.

502 Bad Gateway Error

The error log shows you’re experiencing a connection issue with the AnkiHub servers:

AnkiHubHTTPError: AnkiHub request error: 502 Bad Gateway

This is a server-side issue indicating that the AnkiHub server is temporarily unavailable or having problems.

What to try:

  1. Restart Anki: Close and reopen Anki to see if the connection issue resolves.

  2. Check your FSRS settings:

    • Go to Deck Options > Advanced > FSRS
    • Confirm that FSRS is enabled and set to your desired percentage (88%)
  3. Check for add-on conflicts:

    • Restart Anki while holding down the shift key (this disables all add-ons)
    • If FSRS works correctly in this mode, there might be an add-on conflict
  4. Wait and try again: The 502 error is likely a temporary server issue, so waiting a bit and trying again later may resolve it.

  5. Check your internet connection: Make sure you have a stable connection.

If the problem persists after trying these steps, please let us know if anything helped or if you need further assistance with troubleshooting.

Hello,

I would be happy to help. :slight_smile:

If you have FSRS turned on, it’s likely working. That being said, how precisely it’s behaving may depend a bit on your learning steps and deck settings.

If you’ve optimized recently, it may be that FSRS has determined that your cards should come up after one day. That’s not abnormal, though I can’t say more without a bit more context.

If you can post a screenshot of your FSRS parameters here, it would be helpful. Also, if you can click on a card that you’ve reviewed in the last couple of days, since this issue has been happening, and click on ‘info’ so I can see the review history that would also be useful.

I think the error message you’ve posted is unrelated to this, yeah?

Its strange because even for all of my new decks, this is happening. I have my boards exam in less than 2 months so im trying not to freak out lol. I recently optimized it last night bc i didnt know what else to do. I also changed it to 87% to see if anything would work

Based on the parameters you have set, it looks like an interval of one day is normal. From what I can see it looks like FSRS does seem to be working. :slight_smile:

If you’d like to post the review history from ‘info’ for a card you’ve reviewed in the last day or so we can double-check that, but I don’t see anything here that indicates anything other than FSRS working normally.

I see. However, everytime i did a new card, it would come up in 6 days not 1? In fact, I did a few decks yesterday and all of the cards in those decks are coming up again today.

Here’s one card-

I’m not sure. I don’t know what your parameters were before, or what you’ve changed. But, from what I see of what you’ve shared everything looks like it’s functioning normally

If they all share the same, or similar, settings this would be expected

Your FSRS parameters indicate a learning step of 1 day, so it’s functioning as intended from what I can see. What are your learning steps set to?

That worries me because I didnt change anything else :confused:

Probably impossible to me to know, though it seems like something did change.

At least from everything you’ve shown me so far, FSRS is behaving as designed. I don’t see any discrepancies between your settings and your card’s behaviors

Seems likely that you may have optimized recently, is about my best guess. But, hard for me to gauge that with any certainty as I don’t have a way to track the changes you’ve made with your local collection, I’m sorry to say

Yeah something isnt right though. Most of my cards are coming up way too early. 2 days ago it wasnt like this. Is there anything else we can do?

From what I can see, your FSRS is optimized and functioning appropriately. So there’s not really much to fix, per se, that I can see

Building from that, I’m not sure what there is to do, to be honest. I totally understand your sense that something isn’t right, but from everything you’ve shared I don’t see anything that isn’t right, unfortunately.

Your FSRS is optimized, you have parameters set, your cards are behaving appropriately based on those parameters. There’s not much to troubleshoot, in this scenario, tbh

If it does turn out that you changed something, and can figure out what it was that you changed, that would be helpful. Aside from that, though, everything looks to be working as intended by design

If you want a specific retention, you would use FSRS as it’s currently functioning. If you’d rather have a specific interval, rather than a particular retention, that’s up to you and you could, in theory, program Anki to give you a static interval if it’s something you really want (there is no predicting what effect this would have on your retention rate, aside from a generalized expectation that it would be likely to go down).

But, beyond that, I’m not sure how to ‘fix’ anything here as nothing much appear to be broken, I’m sorry to say

Its just so odd. Are we sure theres no bug or anything? If not, I appreciate the help thank you

Hello,

If you genuinely feel that something is wrong, you can try resetting your FSRS settings. Keep in mind that this will completely reset your FSRS configuration, meaning it will behave like a fresh install. It will take some time and optimization for FSRS to become efficient again — so it’s not recommended unless you’re sure there’s a problem.

If you still want to proceed:

  1. Click here to reset to the default parameters.
  2. Set the this date to today.

:warning: I can’t guarantee this will solve your issue or that it won’t cause other problems, so proceed with caution.

2 Likes

There’s no bug from everything I’ve seen of what you’ve shown me. Everything looks 10/10 from all that I’ve seen thus far

As mentioned before, if you really want to define a static learning step you can do so. And/or you can reset entirely as per the advice from Mr. Marcos above

I can’t say that either option will ‘solve’ anything, and they may both have downsides of their own to varying, and perhaps unpredictable, degrees.

Again for clarity: there’s not any particular indication that anything is wrong with FSRS’s behavior as it is. It may be that something changed recently, which we don’t have any way to snuff out, but from all current information FSRS appears to be functioning exactly as intended

But, hopefully some of this has been of help. No doubt it’s stressful to be wrestling with computers with an exam date in sight, so please feel free to reach out anytime and happy to be of help however we can. :mending_heart:

1 Like

Ok, I think i know what the problem is- maybe i accidentally reset the FSRS the other day? Maybe i clicked on that little button on the right had corner next to the parameters. I remember playing around with it, I didnt know it would reset. Is there anything i can do to fix this? Or is there a way to know that I reset it? I believe I may have! But I didnt change the advanced date or anything. Thank you!

In theory, resetting the parameters only affects your FSRS settings — not your review history.
So if it hasn’t been long since you did that, you can simply click “Optimize” again and see if the issue resolves.

Another option is to restore a backup from before you reset the parameters.
:warning: Keep in mind that this will cause you to lose all review progress made since that backup.
Here’s a guide on how to do that: How to Restore from Backup

So, if most of my cards were to be seen again in 10 days previously- changing my setting my FSRS setting wouldnt change that and have those cards be due earlier? I’m not sure if I optimized my setting or reset my setting. Either one, I notice a big difference and I have my boards exam in almost 2 months. I could just leave it but I feel that it would be difficult to get through all my cards now

Edit- I dont like that my new cards are being shown again the next day. Before it wasn’t like that

This would make the most plausible sense, though if you had reset your FSRS you wouldn’t have the parameters you currently have (you would have default parameters, instead) so, while that might be part of the picture, it almost can’t be the entire picture. FWIW

Unfortunately Anki, and FSRS, don’t allow any way to see what, or when, your previous FSRS parameters were. This might be a nice feature to have, arguably, though it hasn’t been baked into the software.

In theory you might be able to restore from a backup and maybe they are preserved in there somehow, though this is complete conjecture on my part.

Hard, or impossible, to predict unfortunately since we don’t know what your parameters were previously. But, from what you’ve shown us FSRS is both currently optimized and giving you 1d intervals. There isn’t a way to ‘force’ it to give you different intervals by adjusting any of the FSRS settings, unfortunately.

A couple of thoughts:

  • The options above are still going to be your best bet: you can impose a static interval, reset your FSRS, or try tinkering around with backups on the off-chance this offers some insight.
  • But, if FSRS is currently optimized and it’s giving you those intervals it’s very likely that those are the appropriate intervals for your desired retention. It may, or may not, be possible to get around that entirely.
  • You can, obviously, lower your desired retention and this may have some impact. How much is hard to predict, as it depends on a few variables.

is it odd that im seeing my cards 10 seconds after hitting good? Is it normal to have 2 0’s at the end of my parameters? Should i bump the last two to 0.8?