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

Creating the search index was aborted due to an error #8095

Open
2 tasks done
hommerko opened this issue Dec 8, 2024 · 10 comments
Open
2 tasks done

Creating the search index was aborted due to an error #8095

hommerko opened this issue Dec 8, 2024 · 10 comments
Labels
bug broken functionality, usability problems, unexpected errors

Comments

@hommerko
Copy link

hommerko commented Dec 8, 2024

  • This is not a feature request (existing functionality does not work, not missing functionality).
    I will request features on forum or via support.
  • I've searched and did not find a similar issue.

Describe the bug
while trying to type a word to search field a got this message "Creating the search index was aborted due to an error"
I'm experiencing this message as well on web app.

  • OS win 10
  • browsers tried - Firefox , Brave Egde (all updated )
  • I have Revolutionary plan

image

Any idea ?

@hommerko hommerko added bug broken functionality, usability problems, unexpected errors desktop Desktop client related issues labels Dec 8, 2024
@paw-hub paw-hub removed the desktop Desktop client related issues label Dec 9, 2024
@hrb-hub
Copy link
Contributor

hrb-hub commented Dec 9, 2024

Thank you for reporting the issue. Unfortunately we were not able to reproduce it based solely on the information provided. If you don't mind could you please send us your client logs. You can do so by going to Settings -> About (lower left) -> Send Logs, this will open a mail editor with some attachments where you can inspect it and reference this issue before sending it.

Cheers :)

@hrb-hub
Copy link
Contributor

hrb-hub commented Dec 9, 2024

Please note that since you're a paying customer, you may also contact support via the help icon in the app.

@hommerko
Copy link
Author

hommerko commented Dec 10, 2024

Please note that since you're a paying customer, you may also contact support via the help icon in the app.

Thanks I did sent you logs.

and as well up here :)
2024-12-10-20h32m34s-attachments.zip

the problem persists , even on my tablets.
thank for help.

@charlag
Copy link
Contributor

charlag commented Dec 12, 2024

@hommerko hey, thank you for the logs, it does help but we need to investigate more.

@timsueberkrueb
Copy link

timsueberkrueb commented Dec 16, 2024

Hey there, I have the same issue. This bug is critical to me as it prevents me from searching my emails, a feature I rely on.
It happens whenever I select an old enough date in the past in the "From" field which is sometimes required when looking for an old email. The issue seems to be independent of the device used.

Error displayed in the UI:

Creating the search index was aborted due to an error

Errors from the developer console:

RestClient] failed request GET https://app.tuta.com/rest/tutanota/mail/<omitted>?start=<omitted>&count=100&reverse=true 
403 Forbidden 
Logger.ts:94 Mail indexing failed:  
{
    "name": "NotAuthorizedError",
    "message": "403: <omitted> | GET /rest/tutanota/mail/<omitted>",
    "stack": "NotAuthorizedError: 403: <omitted> | GET /rest/tutanota/mail/<omitted>\n    at dJ (asset://app/common-min-8tnWe91U.js:1:10681)\n    at l.onload (asset://app/mail-worker.js:23:17957)"
}
at warn @ Logger.ts:94

Client info:

Client: linux
Type: PAID
Tutanota version: 259.241213.0
Timestamp (UTC): Mon, 16 Dec 2024 20:03:03 GMT
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) tutanota-desktop/259.241213.0 Chrome/130.0.6723.118 Electron/33.2.0 Safari/537.36

Client logs (excerpt):

2024-12-16T19:51:54.665Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/tutanota/mail/<omitted>?ids=<omitted>",0,"",["accessToken","v","cv","Accept"],"no body"
2024-12-16T19:51:54.666Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/tutanota/mail/<omitted>?ids=<omitted>",0,"",["accessToken","v","cv","Accept"],"no body"
2024-12-16T19:57:35.912Z I "finished loading, setting min id"
2024-12-16T19:57:36.633Z I "finished loading, setting min id"
2024-12-16T19:57:36.752Z I "finished loading, setting min id"
2024-12-16T19:57:37.310Z I "finished loading, setting min id"
2024-12-16T19:57:44.447Z I "finished loading, setting min id"
2024-12-16T19:57:58.445Z I "finished loading, setting min id"
2024-12-16T19:58:11.565Z I "[RestClient]","failed request","GET","https://app.tuta.com/rest/tutanota/mail/<omitted>?start=<omitted>&count=100&reverse=true",403,"Forbidden",["accessToken","v","cv","Accept"],"no body"
2024-12-16T19:58:11.566Z W "Mail indexing failed: ",NotAuthorizedError
 Error message: 403: <omitted> | GET /rest/tutanota/mail/<omitted>

I also sent the full logs to the support email.

@charlag
Copy link
Contributor

charlag commented Dec 17, 2024

@timsueberkrueb hi, sorry to hear that you have this issue! Could you please try disabling mailbox search, deleting credentials on one of your devices, and then logging in again? We suspect something about the indexer might be cached improperly.

@timsueberkrueb
Copy link

timsueberkrueb commented Dec 17, 2024

Thanks for the fast response. On the same machine as above, I

  • disabled mailbox search in the settings
  • deleted my credentials by removing the account from the app
  • deleted local config/cache:
    > rm -rf ~/.config/tutanota-desktop/
    > rm -rf ~/.cache/tutanota-desktop-updater/
    

then logged in again. Now the issue already occurs when I place my cursor in the search field as described in #8068.

Creating the search index was aborted due to an error

Developer console:

RestClient] failed request GET https://app.tuta.com/rest/tutanota/mail/<omitted>?start=<omitted>&count=100&reverse=true 403 Forbidden Array(4) no body

Mail indexing failed: 
  at i:
    message: '403: <omitted> | GET /rest/tutanota/mail/<omitted>'
    name: "NotAuthorizedError"
    stack: 'NotAuthorizedError: 403: <omitted> | GET /rest/tutanota/mail/<omitted>\n    at dJ (asset://app/common-min-8tnWe91U.js:1:10681)\n    at l.onload (asset://app/mail-worker.js:23:17957)'

I sent you the full logs via the support email.

@hrb-hub
Copy link
Contributor

hrb-hub commented Dec 17, 2024

@timsueberkrueb , your reactivity and logs are much appreciated, thank you!
From the looks of it, it might not be a cache issue after all :/ so we'll have to investigate further.

@charlag charlag changed the title Creating the search index was aborded due to an error Creating the search index was aborted due to an error Dec 18, 2024
@timsueberkrueb
Copy link

Hey, did you roll out a fix to the backend? I'm happy to report that since today, I can no longer reproduce the problem. Thanks!

@charlag
Copy link
Contributor

charlag commented Dec 20, 2024

Hey, we haven't really found the cause but it seems to have been fixed for most of those who we know had it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug broken functionality, usability problems, unexpected errors
Projects
None yet
Development

No branches or pull requests

5 participants