Don't see contacts until log out and back in again
Sequence of events:
- Scott and I were both logged in to uProxy, but had not yet chatted with one another in gChat.
- We chatted with one another in gChat.
- We still didn't see each other in uProxy.
- We each logged out and back in of uProxy, and were able to see each other.
I encountered this again just now while trying to proxy with Dan for the first time. We had been chatting in gChat, but neither one of us could see one another in uProxy. I logged out and logged back in, and I could see him – but he couldn't see me and it said on my side that he didn't have uProxy. Once he logged out and logged back in, I was able to offer him access.
I have my logs if they'd be useful (although I'm hesitant to paste them in for various reasons); I will also try and get Dan's.
Yes, please send logs to me by email if that's cool; and if you are able to tell us how to reproduce consistently, I will buy you cake. :)
Logs sent by email! :smiley:
Note: #166 may be another instance of this, and references a file containing additional logs.
(I wish there were a log emoji.)
Teamfooders seem to be encountering this pretty consistently.
For example, this morning I (using my FredUproxy account) chatted back and forth over Gchat with Steph for the very first time, but Steph never showed up in uProxy (no matter which filters I apply or don't apply).
In logs, I see this error occur several times – not sure if it's related.
ErrorEvent "[object Worker]" Uncaught Error: Argument error chrome-extension://fmdppkkepalnkeommjadgbhiohihdhii/lib/freedom-social-xmpp/node-xmpp-browser.js:10072
node-xmpp-browser.js:10072 appears to locate to the DNS resolution code, although 10072 itself is a blank line.
I don't know that the node-xmpp-browser.js trace is related.
My bet is that this bug is also related to instance messages not making it between the peers. I think what is happening is that user A and user B both log into UProxy and don't get each others clientIds from XMPP because they aren't yet contacts. If they then contact each other on GTalk (outside of UProxy), either UProxy isn't getting onClientState/onUserProfile events for these users, or it is getting them but isn't sending out instance messages (possibly because it sees ONLINE_WITH_OTHER_APP).
@keroserene, any ideas here?
On Wed, Jun 4, 2014 at 3:22 PM, Will [email protected] wrote:
node-xmpp-browser.js:10072 appears to locate to the DNS resolution code, although 10072 itself is a blank line.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/146#issuecomment-45138919.
Sounds right to me. This is part of getting the right Client IDs at the right times, which is what Serene is working on.
On Wed, Jun 4, 2014 at 4:49 PM, dborkan [email protected] wrote:
I don't know that the node-xmpp-browser.js trace is related.
My bet is that this bug is also related to instance messages not making it between the peers. I think what is happening is that user A and user B both log into UProxy and don't get each others clientIds from XMPP because they aren't yet contacts. If they then contact each other on GTalk (outside of UProxy), either UProxy isn't getting onClientState/onUserProfile events for these users, or it is getting them but isn't sending out instance messages (possibly because it sees ONLINE_WITH_OTHER_APP).
@keroserene, any ideas here?
On Wed, Jun 4, 2014 at 3:22 PM, Will [email protected] wrote:
node-xmpp-browser.js:10072 appears to locate to the DNS resolution code, although 10072 itself is a blank line.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/146#issuecomment-45138919.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/146#issuecomment-45149506.
Lucas Dixon | Google Ideas
I experienced this issue again yesterday, and we've gotten a couple reports from dogfooders that they're encountering it too.
Yesterday I was able to see my new contact after signing out and back in of uProxy. I looked at the logs, and saw no error messages... I see the point at which my new friend is recognized by uproxy (a line that says "new user", followed by "Updated
This is working now for me. It is possible that when 2 users first make contact outside of uProxy, uProxy finds out about the other contacts via XMPP, but doesn't have the instance for the peer right away (this would explain the "Updated - known to be: online: false uproxy-enabled: false" trace). This should now correct itself within ~5 seconds by sending an INSTANCE_REQUEST message to the peer, then they will appear in the buddylist as a uProxy user. I'll close this ticket for now and we can reopen if this occurs again with the latest version (currently v0.2.2)