ChatSecure / ChatSecure-iOS

ChatSecure is a free and open source encrypted chat client for iOS that supports OTR and OMEMO encryption over XMPP.
https://chatsecure.org
Other
3.13k stars 1.03k forks source link

httpfile transfer failed #1194

Open toughworm opened 4 years ago

toughworm commented 4 years ago

Hi I am using a self hosted ejabberd server, I don't have a domian name so I am using IP adderss. the Server is totally fine with conversations or any other XMPP client on Android. But with Chatsecure I can't transfer file, it can't upload or download file. At the same time Coversations and other clients on Android able to upload and download.
But on server information check page of Chatsecure shows greeen on my server http file upload module. when you send a file it says waiting and waiting for ever, and then a yellow icon show up says: unable to send message. the certificate for this server is invalid. you might be connecting to a server that is pretending to be "xx.xx.xx.xx" which could put your confidential information at risk. Resending this message will use OMEMO. This only happen when you transfer files if only send text no problem.

thanks

zcatav commented 4 years ago

Hi, This is related to your xmpp server ssl certification. Android clients don't need secure http (https) for file transfer. For iOS you need a dyndns and certificate tld and upload subdomain (upload.xyz.asd.dfg). You can choose Let's encrypt for this purpose. You problem doesn't directly related to Chatsecure.