With many people in the roster, uProxy gets QUOTA_BYTES exceeded.
My primary gmail.com account has many, many G+ friends/followers/whatever. As a result, the roster load-up at start is very slow, taking minutes. During the load-up, uProxy just shows "None of your friends on Google are signed into uProxy at this time" which is misleading and makes me think that uProxy is broken.
Perhaps we can put up a "please wait, loading" message?
OK but ... why is it so slow?
Indeed! I figured that even if we made it relatively fast, we'd still have some slow cases (e.g., a slow XMPP server), and some UX for that would help!
Looking into why it's slow...
What is the state of vcard retrieval? Do we retrieve vcards (and images) for all contacts or just ones that are currently online? Do we pace retrieval of images?
On Tue, Jan 20, 2015 at 11:09 AM, Molly Ling [email protected] wrote:
Indeed! I figured that even if we made it relatively fast, we'd still have some slow cases (e.g., a slow XMPP server), and some UX for that would help!
Looking into why it's slow...
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/788#issuecomment-70712626.
Well, here's the result:
extensions::sendRequest:82 Unchecked runtime.lastError while running storage.set: QUOTA_BYTES quota exceeded
at chrome-extension://fmdppkkepalnkeommjadgbhiohihdhii/lib/freedom-for-chrome.js:7319:26
at Object.
This repeats with every "Running monitor" message.
Adding "unlimitedStorage" as a permission makes this error go away.
It's still taking forever to load up. But there aren't any more errors that repeat.
Here's what I get:

Perhaps those "Dropped unknown XMPP message" messages are really the problem?
How long do we show "please wait, loading", what if "non of your friends on Google are signed into uProxy at this time", really?
On Tue, Jan 20, 2015 at 2:09 PM, Molly Ling [email protected] wrote:
Indeed! I figured that even if we made it relatively fast, we'd still have some slow cases (e.g., a slow XMPP server), and some UX for that would help!
Looking into why it's slow...
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/788#issuecomment-70712626.
When we've checked the entire roster? Unless the loading problem (note -- I've been running an attempt to log-in from a many-linked @gmail.com account for some time, without it ever finishing) is due to one of the "dropped unknown xmpp message" messages I'm seeing in my console.
Currently I don't think uProxy (or freedom-social-xmpp code) knows when it has reached the end of the roster. I do believe that we retrieve vcard info for all contacts, when really in uProxy's case we only want it for clients also online with uproxy (not "ONLINE_WITH_OTHER_APP") - changing the vcard fetching to skip ONLINE_WITH_OTHER_APP might speed things up a bit
On Tue Jan 20 2015 at 2:42:45 PM Molly Ling [email protected] wrote:
When we've checked the entire roster?
Unless the loading problem (note -- I've been running an attempt to log-in from a many-linked @gmail.com account for some time, without it ever finishing) is due to one of the "dropped unknown xmpp message" messages I'm seeing in my console.
Cheers, $ ls
Lally Singh | Google Ideas http://www.google.com/ideas/ | Engineering | [email protected]
On Tue, Jan 20, 2015 at 2:33 PM, salomegeo [email protected] wrote:
How long do we show "please wait, loading", what if "non of your friends on Google are signed into uProxy at this time", really?
On Tue, Jan 20, 2015 at 2:09 PM, Molly Ling [email protected] wrote:
Indeed! I figured that even if we made it relatively fast, we'd still have some slow cases (e.g., a slow XMPP server), and some UX for that would help!
Looking into why it's slow...
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/788#issuecomment-70712626.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/788#issuecomment-70716904.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/788#issuecomment-70718723.
Setting milestone to 0.9 (webstore launch) so we are sure to address this before public launch
freedom-social-xmpp had been storing images for each client, rather than each user, so there were duplicate images saved to storage. Also now we are only getting images for ONLINE (uProxy) contacts, rather than ONLINE_WITH_OTHER_APP or OFFLINE contacts - this should greatly reduce the amount of data we store. This was all done by Ray in https://github.com/freedomjs/freedom-social-xmpp/pull/98
I'll close this issue now - we can reopen if we see the error again.