databag icon indicating copy to clipboard operation
databag copied to clipboard

Error when accepting a connect request through application

Open lordvic1001 opened this issue 1 year ago • 8 comments

When attempting to accept a connect request, an error is displayed on screen. It seems to still work and add the contact via iPhone, but Android doesn't have the same experience. I end up typically adding the user through the web console. Not sure if this is an existing issue, but I didn't see it within the list.

lordvic1001 avatar Jun 18 '24 03:06 lordvic1001

Hmm, this is new to me. Is this occurring between on accounts on the same server? Are you using https to communicate with the server with both the mobile and browser app? I will try and reproduce if I can get more details. Sorry for the trouble you are having.

balzack avatar Jun 18 '24 03:06 balzack

These accounts are all on the same server. Fully patched. I am using https with a cert for the connection (LetsEncrypt) via nginx reverse proxy. Submitting the request is fine, but accepting it seems to be the issue.

lordvic1001 avatar Jun 19 '24 03:06 lordvic1001

I was just able to reproduce an error in accepting a connection by setting an invalid value in the 'Federated host' field in the admin dashboard. Can you confirm the value you have set in your field? My demo server [https://databag.coredb.org] for example has set 'databag.coredb.org'.

balzack avatar Jun 19 '24 04:06 balzack

image I've confirmed this is proper. SSL cert is valid. The only thing i can think of that would be an issue is that i'm using a cname in DNS to go to my server (dynDNS type setup). Any issues with that or no?

lordvic1001 avatar Jun 19 '24 19:06 lordvic1001

I am investigating further; and I do see a potential bug. I will try and update shortly. Thank you for reporting this.

balzack avatar Jun 20 '24 06:06 balzack

ack....I do see this issue now. I will fix it and push out an update this week. Thank you for reporting this!

balzack avatar Jun 20 '24 07:06 balzack

I have pushed an update to android and iphone. Can you verify the issue is fixed when you get a chance? The fdroid update will take a little longer to publish, but I don't believe you were using that platform. Thank you for your help in improving this project!

balzack avatar Jun 21 '24 00:06 balzack

I'll test this tonight and possibly this weekend as well.

lordvic1001 avatar Jun 21 '24 21:06 lordvic1001

Update: Just wanted to follow-up and let you know this is fully functional.

lordvic1001 avatar Jul 28 '24 17:07 lordvic1001

Fixed by Balzack himself.

lordvic1001 avatar Jul 28 '24 17:07 lordvic1001