powered by Jive Software

HTTP File Upload XEP-0363 Support?


#1

Does openfire support HTTP File Upload XEP-0363?

If so how can i enable it?


#2

Openfire does not directly support xep363, but you could use the GitHub - siacs/HttpUploadComponent together with Openfire.


#3

Ok I will look into using that. I asked this because Monal IM just released version 2.9 which supports sending images in conversations and I wanted to try it. Is there any chance openfire will support xep363 nativity?


#4

Fixed it Default shared secret had a space in it and had to use a DDNS

Hi, I am having issues with httpUploadComponent config file

  • Is the component_jid the address of the openfire server? e.g. server ip is 192.168.1.5

  • What password is component_secret? the same as the openfire server?

  • What port is component_port? openfire - External Component Settings 5275?

  • What port for http_port? 8080 is default but is taken 8081 ok?


component_jid: 192.168.1.5

component_secret: mysecret

component_port: 5275

storage_path : /media/httpUploads

whitelist:

  • 192.168.1.5

max_file_size: 20971520 #20MiB

http_address: 127.0.0.1 #use 0.0.0.0 if you don’t want to use a proxy

http_port: 8081 #8080 PORT 8080 IS TAKEN

get_url : http://192.168.1.5:8081

put_url : http://192.168.1.5:8081

expire_interval: 82800 #time in secs between expiry runs (82800 secs = 23 hours). set to ‘0’ to disable

expire_maxage: 2592000 #files older than this (in secs) get deleted by expiry runs (2592000 = 30 days)

user_quota_hard: 104857600 #100MiB. set to ‘0’ to disable rejection on uploads over hard quota

user_quota_soft: 78643200 #75MiB. set to ‘0’ to disable deletion of old uploads over soft quota an expiry runs

allow_web_clients: true #answer OPTIONS requests to allow web clients to upload files

The Error message


2016-03-22 11:04:53,320 DEBUG Expire run finished in 0.000728s

2016-03-22 11:04:53,340 DEBUG setting jid to 192.168.1.5

2016-03-22 11:04:53,355 DEBUG Loaded Plugin (XEP-0030) Service Discovery

2016-03-22 11:04:53,375 DEBUG Loaded Plugin (XEP-0999) upload files via http

2016-03-22 11:04:53,376 DEBUG Connecting to localhost:5275

2016-03-22 11:04:53,377 DEBUG Connecting to localhost:5275

2016-03-22 11:04:53,380 DEBUG ==== TRANSITION disconnected -> connected

2016-03-22 11:04:53,383 DEBUG Starting HANDLER THREAD

2016-03-22 11:04:53,385 DEBUG Loading event runner

2016-03-22 11:04:53,387 DEBUG SEND (IMMED): <stream:stream xmlns=“jabber:component:accept” xmlns:stream=“http://etherx.jabber.org/streams” to=‘192.168.1.5’>

connected

2016-03-22 11:04:53,415 DEBUG SEND (IMMED): f2e62db55c793ab7e424391dd8399b2616fafc98</hands hake>

2016-03-22 11:04:53,416 DEBUG RECV:

2016-03-22 11:04:53,420 ERROR Error reading from XML stream.

2016-03-22 11:04:53,421 DEBUG Ending read XML loop

2016-03-22 11:04:53,423 DEBUG reconnecting…

2016-03-22 11:04:53,424 DEBUG SEND (IMMED): </stream:stream>

2016-03-22 11:04:53,425 WARNING Failed to send </stream:stream>

2016-03-22 11:04:53,427 DEBUG Could not acquire lock


#5

Hello, I have the same need for Movim. The tool need “XEP-0363: HTTP File Upload” for file transfert. HttpUploadComponent is is no longer maintained. It would be nice to have it directly into Openfire as Prosody and Ejabberd does. Regards


#6

I love to use Openfire as my XMPP Server and the only thing i miss is the XEP-363 HTTP File Upload Component to get filetransfer in MUC´S working, because that´s one of the most argument against xmpp insde my private environment.

Please can somebody tell me when openfire will implement this module?


#7

I doubt that you will get an ETA for features in Openfire unless someones is actually working on it. Which is not the case for file upload AFAIK. I suggest considering switching to prosody or ejabberd.


#8

There is now a HTTP File Upload Plugin for Openfire.