New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to setup mod_http_upload ? #1736
Comments
Remove the |
Tried it, unsuccesfully. Any other idea ? |
Any If there aren't, could you grab the output from Gajim's XML Console while you issue the upload request? |
I have no [error] messages in my ejabberd.log, only a [info] one :
On Gajim's XML console, here's what I get :
Thanks for your help ! |
So the problem is the HTTP (not the XMPP) communication. I think the Gajim plugin prints debug output to stdout or stderr (so you'd see it if you start Gajim from a terminal). Can you access |
Tried launching gajim.exe from the terminal, but it doesn't print me any error in there when I try to send the file. |
What error message do you get? |
"Not found" . |
Could you retry running Gajim from a terminal using the following command line?
|
Tried it, but there's still nothing in my terminal. |
Could you check the following folder for a
|
Here it is :
|
There's no code in ejabberd that would return this error. Maybe there's a (transparent) proxy in the middle; e.g., some piece of anti-virus software or whatever? You could check whether you can reproduce it from a different system/client (e.g., with Conversations or Xabber on Android or with Monal on iOS). |
I tried both Xabber and Monal but I can't manage to connect to the server using those apps, even though the phone was connected to the same local network. |
Debugging such networking issues remotely is a bit of a PITA ... |
Yeah, I guess it is :/ . |
Good luck! I'll close this issue for the moment. Feel free to add comments with additional info, especially if you suspect a |
Ejabberd 17.04 I want to share my experience configuring the 'mod_http_upload' because it was painful according to me. Previously I turned the log level to 5 'debug' but did not help, no clue, it keeps failing silently.
may appear in the logfile, however there is no file created in the upload directory and nothing more. |
If the
Is anything helpful mentioned there that's missing in the official docs? |
thank you for this quick reply weiss According to me, it's a bit tricky due to :
meantime, I've decided to let NGINX as the main frontend (reverse proxy), thus I can't reuse the same certfile => ejabberd claims for a full pem certificate rather than a 'standard' nginx certificate. I will try to reproduce the same errors I did and investigate further... |
According to the Nginx docs, you should be able to use the PEM file for ejabberd in Nginx as well:
|
ok, very helpful. |
ok I've investigated a bit further.
I guess the http upload module starts twice with the same put_url and crashed somehow |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
17.03
Windows 7
Windows installer.
I would like to be able to transfer files through my Ejabberd server, with the receiver being offline.
Thus, I need to store the files on my server and, on connection of the receiver, send him the file.
To do so, I tried to install the "mod_http_upload" module, but I can't manage to get it to work.
Might someone help me configuring this ? You'll find my ejabberd.yml file attached to this post, whose with I get a 404 error every time I try to put something on the put_url defined there.
ejabberd.txt
EDIT 31/05/2017 :
I downloaded the last version of ejabberd (17.04) and it now works like a charm !
I still don't know what was blocking with the old version, but anyway, the problem's now solved.
Thanks again for your help.
The text was updated successfully, but these errors were encountered: