tigase / stork

(M) Android XMPP Client
https://tigase.net/
GNU Affero General Public License v3.0
58 stars 16 forks source link

I have some problem when I relogin my account #33

Open ChenMoGe2 opened 3 years ago

ChenMoGe2 commented 3 years ago

Describe the bug Hello,I use the stork version 3.0.27.f download at github release.When I relogin my account at the private server which was built by myself,it just have a progress bar at 17% but can't connect with service.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'stork' which is first used or you can release the cache of the process
  2. Click on 'I HAVE AN XMPP ACCOUNT'
  3. Input XMPP ID,Password,Hostname and Nickname account information which registerd by me.
  4. Described at the module 'Describe the bug'

Expected behavior I can login the account which registerd by me.

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Thank you very much

woj-tek commented 3 years ago

Hi, Are you sure that hostname and credentials are correct? Can you connect to that server / account using different XMPP client?

ChenMoGe2 commented 3 years ago

@woj-tek Thanks for your reply 1.Are you sure that hostname and credentials are correct?

I copied my pem file which includes RSA KEY and CERTIFICATION fields to the path ./certs/{hostname}.pem.The hostname is correct but when I connect to the server,it pops up a dialog which says 'Unknown certificate'.

2.Can you connect to that server / account using different XMPP client?

I can login and chat with ios client name siskin im

ChenMoGe2 commented 3 years ago

And I have another question.The online status is always offline if I add others,and it is always Away if others add me.But they are all online.Does the service config wrong cause the situation?

licaon-kter commented 3 years ago

@ChenMoGe2 https://github.com/tigase/stork/issues/6 ?

ChenMoGe2 commented 3 years ago

@licaon-kter Thank you It doesn't seem like the issues 6 mentioned.I can create a new account and chat with each others.But if I delete the application and I login the account which I already register,it connect unsuccess.

For another question,I see others always offline both they online and offline.But I can't send video chat if I see him offline.

woj-tek commented 3 years ago

1.Are you sure that hostname and credentials are correct?

I copied my pem file which includes RSA KEY and CERTIFICATION fields to the path ./certs/{hostname}.pem.The hostname is correct but when I connect to the server,it pops up a dialog which says 'Unknown certificate'.

What has that do to with problem connecting? Were you receiving certificate error in Stork?

It doesn't seem like the issues 6 mentioned.I can create a new account and chat with each others.But if I delete the application and I login the account which I already register,it connect unsuccess.

Let me outline the steps that you are doing: 1) install stork 2) create new account on the server 3) remove and instal the stork again 4) add the same account

after (4) you can't connect even though it worked in point (2)? After uninstalling Stork (point 3) you can still connect using SiskinIM?

For another question,I see others always offline both they online and offline.But I can't send video chat if I see him offline.

Have you granted presence subscription between the contacts?

ChenMoGe2 commented 3 years ago

@woj-tek Thank you for your reply What has that do to with problem connecting? Were you receiving certificate error in Stork? image

  1. add the same account modify
  2. login at same account 'I HAVE AN XMPP ACCOUNT' 02f2c501cc70169c7e22f5698b9650c

after (4) you can't connect even though it worked in point (2)? after (4) I can't connect,screenshot like I described at first floor

Have you granted presence subscription between the contacts? Does it sets at server?if then I'm not granted.I'm a newer of Tigase,I will read the document and set it bymyself.

ChenMoGe2 commented 3 years ago

@woj-tek Hello,the problem of 'Have you granted presence subscription between the contacts? Does it sets at server?if then I'm not granted.I'm a newer of Tigase,I will read the document and set it bymyself.' was resolved,Thanks alot

woj-tek commented 3 years ago

after (4) you can't connect even though it worked in point (2)? after (4) I can't connect,screenshot like I described at first floor

Thank you for the information. We will look into it.

ChenMoGe2 commented 3 years ago

@woj-tek Ok,if I have a solution,I will sync here too.