ing156 / vacuum-im

Automatically exported from code.google.com/p/vacuum-im
GNU General Public License v3.0
0 stars 0 forks source link

Error with own Vcard on Facebook chat #778

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using Vacuum 1.3.0 2308M, to login on Facebook chat, i can't see my own avatar 
(but i can see avatars of my friends). If i click on my own contact and i 
choose "Edit profile" i get the following error:
"Failed to publish your profile: requested item not found".

in XML console i can see these messages:

>>>> myself@chat.facebook.com/Vacuum-IM 21:30:24 +2349 >>>>
  <iq type="get" to="myself@chat.facebook.com" id="sid_17">
    <vCard xmlns="vcard-temp"/>
  </iq>

<<<< myself@chat.facebook.com/Vacuum-IM 21:30:24 +174 <<<<
  <iq from="myself@chat.facebook.com" type="error" id="sid_17" to="myself@chat.facebook.com/Vacuum-IM">
    <error type="cancel" code="404">
      <item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
    </error>
  </iq>

All is fine using Vacuum of some month ago.

Original issue reported on code.google.com by musical...@gmail.com on 13 Nov 2013 at 8:34

GoogleCodeExporter commented 8 years ago
With this revision i've also noticed thet the login time for Facebook chat is 
extremely slow: it took about 1 minute and 3 seconds to login on Facebook chat. 
(Instead, with GTalk is very fast to login)

Original comment by musical...@gmail.com on 13 Nov 2013 at 11:35

GoogleCodeExporter commented 8 years ago
I also see, in the XML console, this error (with a differet error code)

<<<< myself@chat.facebook.com/Vacuum-IM 00:36:42 +157 <<<<
  <iq from="chat.facebook.com" type="error" id="sid_69" to="myself@chat.facebook.com/Vacuum-IM">
    <query xmlns="jabber:iq:version"/>
    <error type="cancel" code="501">
      <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
    </error>
  </iq>

Original comment by musical...@gmail.com on 13 Nov 2013 at 11:38

GoogleCodeExporter commented 8 years ago
Facebook changes stream bare JID on connection when only resource can be 
changed, that is why Vacuum could not request self vCard. 

Also Facebook does not support server side private storage where roster group 
separator is saved, and do not reply with error when it requested on start up, 
so Vacuum need to wait for timeout (1 minute) before continue with connection.

I`am thinking about workarounds for Facebook server.

Original comment by potapov.s.a on 14 Nov 2013 at 6:12

GoogleCodeExporter commented 8 years ago
Logging on Facebook, i also found another issue:
all nicknames (nicknames of friends and also my nickname) will result not in 
names, but in numbers..
eg:
myself = -120238932@chat.facebook.com
mario.rossi = -1298348934@chat.facebook.com

and so on, with all contacts.

This happens after some minutes after login. Initially, in the roster, i can 
see nicknames, but if i open a chat window with any buddy, i will see numbers 
instead of nicknames.

Original comment by musical...@gmail.com on 14 Nov 2013 at 4:53

GoogleCodeExporter commented 8 years ago
So the Facebook server works

Original comment by potapov.s.a on 25 Nov 2013 at 5:05

GoogleCodeExporter commented 8 years ago
Some problems with Facebook should be fixed in last revision, but its server 
does not send error on request that is does not support, so some problems may 
occur.

fixed in r2347

Original comment by potapov.s.a on 5 Jan 2014 at 9:12