VCard timeout

Hi All,

I got very frequent “Timeout in loading VCard” exception error while loading vcard data for any user. Also I have increased SmackConfiguration.setPacketReplyTimeout(int) to ‘10 secs’.

Env:

Smack 3.1.0 and using MySQL as external database.

any help is much appreciated.

Regards,

Kamal

Is anyone else getting this error?

I also getting this information,Do you have solved the problem

I am also getting this error and need a fix ASAP. This error appears in the log for now on Spark 2.5.8
error.log.zip (532 Bytes)

I had this issue. To load a vCard for someone with

public void VCard.

load(XMPPConnection connection, String user)

you have to pass the username + “@” + domain as the user.

e.g. I was just passing the username “test1” when I should have been passing "test1@mydomain.org"

Its is the same thing you pass as the first argument to create a new Message object.