Browser-Phone icon indicating copy to clipboard operation
Browser-Phone copied to clipboard

xmpp vcard

Open vieridipaola opened this issue 2 years ago • 2 comments

Hi,

Prosody has 2 different vcard modules:

https://prosody.im/doc/modules/mod_vcard4

https://prosody.im/doc/modules/mod_vcard

I believe I should use the second one. In any case, no matter which one I use I still get the following error:

Error in XmppSetMyVcard 
<iq id="559be177-5566-49a3-bc0e-36f97511ecb8" type="error" to="[email protected]/Mri2vvt9" xmlns="jabber:client">

What am I missing?

Does Browser-Phone implement XEP-0292 or XEP-0054 ?

vieridipaola avatar May 08 '22 10:05 vieridipaola

I believe its this one: https://xmpp.org/extensions/xep-0054.html

Do you have any further information on the error, maybe something in the log - It seems to work fine on Openfire.

InnovateAsterisk avatar May 16 '22 10:05 InnovateAsterisk

Do you mean the server log?

I see this in the prosody server log:

c2s55d1cbad62c0 info    Authenticated as [email protected]
xmpp.mydomain.org:saslauth       debug   sasl reply: <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dj1EYmpGV0ZQZzVwdnBTR1E0ckpKb29sYVZUazA9</success>
c2s55d1cbad62c0 debug   Sending[c2s_unbound]: <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
mod_websocket   debug   Websocket received frame: opcode=1, 95 bytes
c2s55d1cbad62c0 debug   Client sent opening <stream:stream> to xmpp.mydomain.org
c2s55d1cbad62c0 debug   Sending[c2s_unbound]: <open xml:lang='en' from='xmpp.mydomain.org' id='3237ce9f-3746-4f38-a417-428176aa49ac' version='1.0' xmlns='urn:ietf:params:xml:ns:xmpp-framing'>
c2s55d1cbad62c0 debug   Sent reply <stream:stream> to client
c2s55d1cbad62c0 debug   Sending[c2s_unbound]: <stream:features>
mod_websocket   debug   Websocket received frame: opcode=1, 108 bytes
c2s55d1cbad62c0 debug   Received[c2s_unbound]: <iq id='_bind_auth_2' type='set'>
rostermanager   debug   load_roster: asked for: [email protected]
rostermanager   debug   load_roster: loading for new user: [email protected]
c2s55d1cbad62c0 debug   No legacy vCard to migrate or already migrated
c2s55d1cbad62c0 debug   Sending[c2s]: <iq id='_bind_auth_2' type='result'>
c2s55d1cbad62c0 debug   Resource bound: [email protected]/EmxSakzY
mod_websocket   debug   Websocket received frame: opcode=1, 117 bytes
c2s55d1cbad62c0 debug   Received[c2s]: <iq id='_session_auth_2' type='set'>
c2s55d1cbad62c0 debug   Sending[c2s]: <iq id='_session_auth_2' type='result' to='[email protected]/EmxSakzY'>
mod_websocket   debug   Websocket received frame: opcode=1, 17133 bytes
c2s55d1cbad62c0 debug   Received[c2s]: <iq id='d53442a6-2317-4427-a77e-da4eadb77bf9' type='set' from='[email protected]/EmxSakzY'>

There's only one line regarding the vCard, and I don't know if that actually triggers the web browser's console error I reported in my first post.

vieridipaola avatar May 16 '22 22:05 vieridipaola