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

Sending messages stopped working #7238

Closed
gavofyork opened this issue Aug 29, 2018 · 10 comments
Closed

Sending messages stopped working #7238

gavofyork opened this issue Aug 29, 2018 · 10 comments
Labels
A-Composer P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@gavofyork
Copy link

Description

Impossible to send a message

Steps to reproduce

Use Riot for long enough. Type message, press enter, nothing happens.

Uncaught DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'mx_slate_composer_history_!SutRpTCZbdlEEEjOXq:matrix.parity.io[1]' exceeded the quota.
    at e.value (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:138:25920)
    at t.Be.handleReturn (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:160:2747)
    at Object.Be.onKeyDown (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:159:29883)
    at Object.onChange.t.schema.i.(anonymous function) [as onKeyDown] (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:175:4122)
    at t.value (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:15:18446)
    at https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:175:3779
    at e.value (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:16:15877)
    at t.Ge.change (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:175:3565)
    at t.Ge.onEvent (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:175:3752)
    at Object.n.(anonymous function) [as onKeyDown] (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:175:1592)
    at t.value (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:174:31150)
    at n.(anonymous function) (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:174:30111)
    at Object.r (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:53:6105)
    at a (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:53:2155)
    at Object.s [as executeDispatchesInOrder] (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:53:2370)
    at p (https://riot.im/app/bundles/cd8a5d8887db65aed165/bundle.js:28:17704)

Version information

  • Platform: In-browser

For the web app:

  • Browser: Chrome 68.0.3440.106
  • OS: macOS
  • URL: riot.im/app
@lampholder
Copy link
Member

😲

Out of interest, do you have a rough idea of how long 'long enough' is in this case?

@lampholder lampholder added T-Defect P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround type:composer labels Aug 29, 2018
@gavofyork
Copy link
Author

A year, perhaps? Probably with some very long messages in my chat history.

@gavofyork
Copy link
Author

I cleared session storage and it's working again.

@ara4n
Copy link
Member

ara4n commented Aug 29, 2018

oops, just answered this one by mail. you should just need to delete some disk space to stop the browser quotaing localstorage.

@ara4n
Copy link
Member

ara4n commented Aug 29, 2018

(it’s a fundamental (mis)feature of localstorage and indexeddb that the browser can arbitrarily decide to stop storing data if it thinks you are running low on space)

@gavofyork
Copy link
Author

image

I wouldn't really call that "running low". Isn't a hardcoded 5MB limit that Chrome imposes?

@gavofyork
Copy link
Author

In any case, I'd suggest that this exception should be handled gracefully. Having the enter key just stop working is somewhat disconcerting.

@turt2live
Copy link
Member

Related: #6120

@yannicka
Copy link

I can't test this easily. Is the problem still there?

@t3chguy
Copy link
Member

t3chguy commented Nov 28, 2020

it looks like a browser quota issue, nothing the app can do anything about

@t3chguy t3chguy closed this as completed Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Composer P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

6 participants