Giter Site home page Giter Site logo

Comments (10)

Ajaxy avatar Ajaxy commented on July 19, 2024 1

Then the issue seems to be specific to Linux/Firefox. I will try to test it out there.

from telegram-tt.

Ajaxy avatar Ajaxy commented on July 19, 2024 1

Ok, this warning led me to clearing site storage in Firefox for some other domains (the old web.telegram.org still used up 2 GB of data) and after a browser restart this problem went away so now I'm staying logged in.

Weird though that I haven't noticed any problems with other sites using localstorage since ... Closing this for now, maybe telegram-tt could handle these Exceptions in a more user-friendly way, but it's an edge case nonetheless.

This sounds great! Thanks a lot for the information. Yes, we will think about a more user-friendly way to handle that, definitely.

from telegram-tt.

elvus avatar elvus commented on July 19, 2024

Firefox disables storages in private mode, that's why session "expires", application can't save it. If you even reload the page, result will be the same. You can get the same behavior just by turning off the "Keep me signed in" on login.

from telegram-tt.

cbix avatar cbix commented on July 19, 2024

Thanks for the hint. This is not happening in private mode, also I turned off Tracking Protection and uBlock for webz.telegram.org, but it didn't help.

Or is it using a different domain for session cookies/storage?

from telegram-tt.

Ajaxy avatar Ajaxy commented on July 19, 2024

This is not happening in private mode

@cbix Do you mean that the browser does save the session in private mode, but does not in regular mode?

from telegram-tt.

cbix avatar cbix commented on July 19, 2024

from telegram-tt.

cbix avatar cbix commented on July 19, 2024

Btw, I'm getting these exceptions in the browser console, might be related:

Exception { name: "NS_ERROR_FILE_NO_DEVICE_SPACE", message: "", result: 2152857616, filename: "", lineNumber: 0, columnNumber: 0, data: null, stack: "" }
​
columnNumber: 0
​
data: null
​
filename: ""
​
lineNumber: 0
​
message: ""
​
name: "NS_ERROR_FILE_NO_DEVICE_SPACE"
​
result: 2152857616
​
stack: ""
​
<prototype>: ExceptionPrototype { toString: toString(), name: Getter, message: Getter, … }
cacheApi.ts:51:4
[Exception... "File error: No device space"  nsresult: "0x80520010 (NS_ERROR_FILE_NO_DEVICE_SPACE)"  location: "<unknown>"  data: no] 2 0ae3a01bd82a83b2fcd8.worker.js:2:2371
Failed to update session in storage 0ae3a01bd82a83b2fcd8.worker.js:2:154346
QuotaExceededError: The current transaction exceeded its quota limitations. 0ae3a01bd82a83b2fcd8.worker.js:2:154398
Exception { name: "NS_ERROR_FILE_NO_DEVICE_SPACE", message: "", result: 2152857616, filename: "", lineNumber: 0, columnNumber: 0, data: null, stack: "" }
cacheApi.ts:51:4

from telegram-tt.

Ajaxy avatar Ajaxy commented on July 19, 2024

@cbix Can you please make a screenshot of a console with these errors?

from telegram-tt.

cbix avatar cbix commented on July 19, 2024

Screenshot from 2021-05-05 18-23-43

from telegram-tt.

cbix avatar cbix commented on July 19, 2024

Ok, this warning led me to clearing site storage in Firefox for some other domains (the old web.telegram.org still used up 2 GB of data) and after a browser restart this problem went away so now I'm staying logged in.

Weird though that I haven't noticed any problems with other sites using localstorage since ... Closing this for now, maybe telegram-tt could handle these Exceptions in a more user-friendly way, but it's an edge case nonetheless.

from telegram-tt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.