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
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:
Your FSRS scheduling isnât working as expected (cards coming back the next day instead of ~6 days)
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:
Add-on conflicts: Some add-ons can interfere with FSRS functionality.
FSRS settings reset: Your FSRS settings might have been reset or changed.
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:
Restart Anki: Close and reopen Anki to see if the connection issue resolves.
Check your FSRS settings:
Go to Deck Options > Advanced > FSRS
Confirm that FSRS is enabled and set to your desired percentage (88%)
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
Wait and try again: The 502 error is likely a temporary server issue, so waiting a bit and trying again later may resolve it.
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.
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.
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.
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?
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
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
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.
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.
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. 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?