Data and configuration related to XMPP file-upload not working, for debugging purposes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Y f6bf871e75 applied patch from Prosody issue #1044 5 years ago
README.adoc initial configuration 5 years ago
haproxy.cfg initial configuration 5 years ago
journal.log new nginx configuration 5 years ago
nftables.conf initial configuration 5 years ago
nginx.conf new nginx configuration 5 years ago
prosody.cfg.lua new prosody configuration 5 years ago
prosodyctl_about.out prosodyctl about 5 years ago
ssowat.json initial configuration 5 years ago
telnet.out applied patch from Prosody issue #1044 5 years ago

README.adoc

= XMPP file-upload not working.

== Problem

When I want to upload a photo to a group-chat using Gajim, I can see on the server that a directory is created to receive the image, but the image never gets there.
Thus, Gajim reports an empty file (actually a 404 error, according to Nginx).

== Configuration

My PC (XMPP client) runs Gajim on Archlinux.
The PC has IP 192.168.1.99.

The server runs Archlinux too.
Here is the network setup:

[ditaa]
-------
+-----------------------------------------------------------------+
| Server |
| +-----------+ +----------------+ +-------------------------+ |
+----+ | | nftables | | haproxy (tcp) | | nginx : /…/https+.pp | |
| PC +->+->+ :443 dnat +->+ :444 tls_plus +->+ ↓ | |
+--+-+ | | → :444 OK | | → /…/https+.pp | | /---------------------\ | |
| | +-----------+ +----------------+ | | ssowat | | |
| | | | "/x…": pass-through | | |
| | +---------------+ | \---------------------/ | |
| | | prosody | | ↓ | |
\--->+->+ :5222 :5280 +<-----------------+ location /xmpp- { … } | |
| +---------------+ +-------------------------+ |
| |
+-----------------------------------------------------------------+
-------

== Versions

PC::
* Archlinux kernel 4.15.11
* Gajim 1.0.0
* Gajim plugin httpupload 0.4.6

Server::
* Archlinux kernel 4.15.11
* nftables 0.8.3
* haproxy 1.8.4
* nginx 1.13.10
* ssowat-git (my fork)
* prosody 0.10.0
* prosody-mod-auth-external-hg r2944.37ec4c2f319a
* prosody-mod-auto-accept-subscriptions-hg r2944.37ec4c2f319a
* prosody-mod-csi-hg r2944.37ec4c2f319a
* prosody-mod-filter-chatstates-hg r2944.37ec4c2f319a
* prosody-mod-http-upload r2944.37ec4c2f319a
* prosody-mod-mam-adhoc 0.10.0
* prosody-mod-offline-email-hg r2944.37ec4c2f319a
* prosody-mod-smacks 2017.08.27
* prosody-mod-throttle_presence r2944.37ec4c2f319a