I have to 2 OF server in a cluster. A reverse proxy (haproxy) balances the C2S connections to these.
User what is connected to a OF instances via 5222 uses the same instance for the file upload.
Http file upload plugin runs on both servers. Each of them has a nfs drive mounted. (pointed to the same directory of the NFS server).
When user A is on Server A and sends a file through the xmpp app the file is being stored on the NFS share. If user A is on Server B the file upload fails.
2022.04.29 21:07:56 INFO [Jetty-QTP-BOSH-56617]: nl.goodbytes.xmpp.xep0363.Servlet - Processing PUT request... (10.0.0.112 submitting to /httpfileupload/Z44Ft95cDdXAcO741VqSYGNW6C4/8675AF3F-2487-4728-9627-1EEEA350B96E.jpg) 2022.04.29 21:07:56 INFO [Jetty-QTP-BOSH-56617]: nl.goodbytes.xmpp.xep0363.Servlet - ... responded with BAD_REQUEST. The requested slot is not available. Either it does not exist, or has already been used.
Both server have due to the clustering the same configuration.
When I list the the mounted shares on both servers I see the exact same files.
Any clue why it fails.