HTTP Upload still not allowing files to be transfered

Hey all, so I recently set up an Openfire instance to get that setup for family, but I can’t get image sharing to work. I imagined it requires the HTTP Upload plugin so I set that up, but no matter which client I tried, images would fail to send. I have all the ports forwarded and opened on the firewall. The only actual error message I see is using the Monocles app, it says it was trying to connect to xmpp.(mydomain).com/(myip):7443. The FQDN and web binding are set to xmpp.(mydomain).com as well as the HTTP upload plugin, but is there something I am missing that would try and make it go through my IP as well? Thanks.

Enable HTTP Binding

This is the step most people miss.

Go to:

Server
  → Server Settings
      → HTTP Binding

Enable HTTP Binding (BOSH).

The plugin depends on Openfire’s embedded HTTP server being enabled.

Also check that the 7444 port is open.

1 Like

Another common issue is that the certificate that’s used is valid for the XMPP domain, but not for the FQDN. Clients will then refuse to interact (via HTTP) with the server.

In your example, it seems that your certificate needs to be valid for (at least):

  • mydomain.com
  • xmpp.mydomain.com

Try enabling debug logging on the server. What is being logged when a client attempts to share a file?

1 Like

It would be great to have some self check or external service for validation. At least to mention this is in docs

1 Like

I didn’t see the HTTP Binding option but it was as simple as also allowing that port through. Thanks!

1 Like