tigase/siskin-im

HTTP Upload Failed

Opened this issue · 0 comments

Describe the bug
I have a prosody server where the upload url is configured as a subdomain of the server's domain. So #37 should be fulfilled. The server uses a certificate signed with a private CA. It is the same certificate as the one used by the jabber server. Connection to the jabber server works but when sending for example an image then the upload to the http server fails without any more detailed error message. A conversations.im client using the same server has no problems sending the image. Sending the image via another xmpp server with a certificate signed by a trusted CA works. Adding the personal CA to the trust store of iOS and trusting the CA does not make a difference. In addition http is disabled for uploads at the xmpp server in favor for https.

To Reproduce
Setup prosody with mod_http_upload and cert signed by a custom CA. Disable http interfaces in favor for https. Try to send image (from within the app or by sharing).

Expected behavior
Send image.

Details (please complete the following information):

  • Siskin Version: 7.3.3
  • iOS version 16.7.1
  • iPhone model iPhone 14