powered by Jive Software

Spark cannot transfer file and prompt not-allowed(405)

Hi,

I am using Openfire 3.7.1 as XMPP Server, Spark 2.6.3 (SVN Rev.12556, ant compile) as XMPP client, but two Spark client cannot transfer file, and prompt:

not-allowed(405)

at org.jivesoftware.smackx.filetransfer.FileTransferNegotiator.negotiateOutgoingTr ansfer(FileTransferNegotiator.java:430)

at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer.negotiateStream(Outgo ingFileTransfer.java:359)

at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer.access$100(OutgoingFi leTransfer.java:35)

at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTra nsfer.java:214)

at java.lang.Thread.run(Thread.java:662)

the strange thing is official release Spark 2.6.3 have not this issue, difficult to guess that official release and my Rev.12556 have what is the difference.

Spark 2.6.3 (SVN Rev.12556, ant compile)

my OS environment is Ubuntu.

  1. cd build
  2. ant
  3. …/target/build/bin/startup.sh

I search ‘not-allowed(405)’ found some message, but have yet to find the right answer.

Please give a help!