monkeytypegame / monkeytype

The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
https://monkeytype.com/
GNU General Public License v3.0
15.62k stars 2.38k forks source link

Tests never saved and error: Test invalid - inconsistent test duration #5401

Open gonsen71 opened 5 months ago

gonsen71 commented 5 months ago

Did you clear cache before opening an issue?

Is there an existing issue for this?

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

No

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

No

Account name

gonsen1

Account config

{"theme":"catppuccin","themeLight":"serika","themeDark":"serika_dark","autoSwitchTheme":false,"customTheme":false,"customThemeColors":["#323437","#e2b714","#e2b714","#646669","#2c2e31","#d1d0c5","#ca4754","#7e2a33","#ca4754","#7e2a33"],"favThemes":["catppuccin"],"showKeyTips":true,"smoothCaret":"medium","quickRestart":"off","punctuation":false,"numbers":false,"words":100,"time":300,"mode":"words","quoteLength":[1],"language":"english_1k","fontSize":2,"freedomMode":false,"difficulty":"normal","blindMode":false,"quickEnd":false,"caretStyle":"default","paceCaretStyle":"default","flipTestColors":false,"layout":"default","funbox":"none","confidenceMode":"off","indicateTypos":"off","timerStyle":"mini","liveSpeedStyle":"off","liveAccStyle":"off","liveBurstStyle":"off","colorfulMode":false,"randomTheme":"off","timerColor":"main","timerOpacity":"1","stopOnError":"off","showAllLines":false,"keymapMode":"off","keymapStyle":"staggered","keymapLegendStyle":"lowercase","keymapLayout":"overrideSync","keymapShowTopRow":"layout","fontFamily":"Roboto_Mono","smoothLineScroll":false,"alwaysShowDecimalPlaces":false,"alwaysShowWordsHistory":true,"singleListCommandLine":"manual","capsLockWarning":true,"playSoundOnError":"off","playSoundOnClick":"off","soundVolume":"0.5","startGraphsAtZero":true,"showOutOfFocusWarning":true,"paceCaret":"off","paceCaretCustomSpeed":100,"repeatedPace":true,"accountChart":["on","on","on","on"],"minWpm":"off","minWpmCustomSpeed":100,"highlightMode":"letter","typingSpeedUnit":"wpm","ads":"result","hideExtraLetters":false,"strictSpace":false,"minAcc":"off","minAccCustom":90,"monkey":false,"repeatQuotes":"off","oppositeShiftMode":"off","customBackground":"","customBackgroundSize":"cover","customBackgroundFilter":[0,1,1,1,1],"customLayoutfluid":"qwerty#dvorak#colemak","monkeyPowerLevel":"off","minBurst":"off","minBurstCustomSpeed":100,"burstHeatmap":true,"britishEnglish":false,"lazyMode":false,"showAverage":"off","tapeMode":"off","maxLineWidth":70}

Current Behavior

I always do the 1k english 100 words test. Recently when I finish a pop up appears saying 'Test invalid - inconsistent test duration and my test is not saved'. According to the site this started happening on 5 May or after, because none of the tests I've done since then have been saved.

Expected Behavior

I expect my tests to be saved.

Steps To Reproduce

No response

Environment

Anything else?

Looking on github could be due to 80e0af7 or e9a83d5, but maybe is something else.

I have also tested it on Chromium incognito and I have the same issue.

I also tested time and quote, it happens the same also.

Thanks.

Miodec commented 5 months ago

Are you saying the tests literally never save? Have you tried no extensions or different browsers?

gonsen71 commented 5 months ago

Yes, as I said already I also tried on Chromium apart from Firefox.

Maybe you missed this part:

Anything else?

Looking on github could be due to 80e0af7 or e9a83d5, but maybe is something else.

I have also tested it on Chromium incognito and I have the same issue.

Anyways, on incognito I only had one extension enabled on both Firefox and Chromium. I tried today without any extensions on both browsers on incognito, and didn't work at first. Then I tried smaller tests like 10 words and 15 seconds, and started working on both browsers, but it was a hit and miss (I mean with this that sometimes it worked sometimes it didn't). Then I enabled the extensions and then I tried on Firefox NOT Incognito with extensions, and it also worked hit and miss. So in the end, what it matters is the kind of test, I suspect the longer the test the higher the probability to not work and to not be saved.

Thank you!

Miodec commented 5 months ago

Are you modifying anything relating to time / date in your system? This error only shows up when the duration of the test calcultaed based on date is different to the duration caculated based on performance metrics. I really dont know why it would fail for every test for you (and youre the only person complaining about this)

PHPirates commented 5 months ago

I just saw the error "Test invalid - inconsistent test duration" as well, but it was only once so far and I cannot reproduce. Using Windows. image

Untitled

gonsen71 commented 5 months ago

Are you modifying anything relating to time / date in your system?

No I don't, but javascript is not very reliable for that. For example, if you compress or extract a big file, or you compile some software (all cores involved) while doing a test I think is very probable you'll hit this error.

I wasn't compiling anything though. I will try later the test with only the browser open, only one tab and nothing else.

I just saw the error "Test invalid - inconsistent test duration" as well, but it was only once so far and I cannot reproduce. Using Windows.

Could you try a longer test? like 50 or 100 words? I think it might be easier to hit this error.

Ottaviocr commented 5 months ago

I have just had the exact issue. I landed to this page after googling the error. I didn't capture the screenshot. I can post more details if needed. This is the first time it happens to me, but I only use MT every now and again.

MightyGamesDan commented 4 months ago

This happens to me most times after I skip (click the restart button) on a test shortly after starting it. E.g. when I mess up early in a test and want to start fresh. I also noticed this happen when I had autofail at 95% on, because it would stop the test if I messed up on the first few characters. Browser: Chrome on Mac, with AdBlock

MAdrianMattocks commented 3 months ago

I'm getting this now too. It did not happen yesterday and the first test I did today was saved but the next 2 were not saved. Browser: Edge on Windows. Adblock is off.

zal-ua commented 3 months ago

I have the same issue. I am doing 10 min custom test once per day, and it's the third time that Monkeytype doesn't save the result because of this error. I have no clue what I should do to resolve this issue.

Miodec commented 3 months ago

Added a log when this error occurs. Can you guys check the console and let me know what numbers you get? image

tokudayo commented 3 months ago

@Miodec I have been getting more of these recently, here is the log of what happened just now. It first happened to me like a month ago when I had a flawless run and got my PR :( The result was discarded.

inconsistent log

Browser: Chrome on MacOS

MAdrianMattocks commented 3 months ago

@Miodec Got it again. Attached is the full console. Line 4415 is where your log line is. monkeytype.com-1721218829347.log Edge on Windows 10

kizzull commented 3 months ago

I get this error constantly, it is super annoying. Seems to throw this error whenever I get a decent score, as if to troll me.

Miodec commented 3 months ago

I made the check less strict. Bit of a dirty fix but im not sure what to do right now.

4itor commented 2 weeks ago

When it happens, it happens a lot; 5 times in a row today. Finally googled the error and arrived here. Will try to get console output next, this is super annoying when it appears.

everman32 commented 5 hours ago

This happens with me on Windows 7, Chrome with uBlock Origin. Безымянный image