report bug mod_http_upload

when i upload file by put_url , ejabberd return error crash about module thumbnail . [list_to_binary(Path)] . path is binary type not to need list_to_binary, i hope you can fix it

Hi, I'm facing issue in

Hi,

I'm facing issue in uploading file in ejabberd it returns "Forbidden". Can yu please help me out which client shall i use for this feature.

Thanks,

Maheswari

> I'm facing issue in

> I'm facing issue in uploading file in ejabberd it returns "Forbidden".

How does your mod_http_upload (and ejabberd_http listener) configuration look like, what client are you using, and where exactly are you seeing the 'Forbidden' message?

> which client shall i use for this feature.

I tested Conversations and Gajim (with the HTTP Upload plugin), but any client supporting XEP-0363 should work.

Hi , I'm using gajim client

Hi ,

I'm using gajim client with HTTP Upload plugin and the forbidden message comes in ejabberd log and as well in wireshark trace.

This is my configuration for file upload.

-
module: ejabberd_http
port: 5443
##tls: true
##certfile: "/etc/ejabberd/ejabberd.pem"
request_handlers:
"": mod_http_upload

mod_http_upload:
host: "upload.192.168.1.152"
access: local
max_size: infinity
jid_in_url: node
file_mode: "0777"
dir_mode: "0755"
docroot: "/home/user3/xmpp/upload"
put_url: "http://192.168.1.152:5443"

Thanks,
maheswari T.

maheswari wrote: I'm using

maheswari wrote:

I'm using gajim client with HTTP Upload plugin and the forbidden message comes in ejabberd log and as well in wireshark trace.

See my response in the separate thread you started.

had2408 wrote: when i upload

had2408 wrote:

when i upload file by put_url , ejabberd return error crash about module thumbnail . [list_to_binary(Path)] . path is binary type not to need list_to_binary, i hope you can fix it

This has been reported on GitHub and fixed in the current master code. As a quick workaround, you can disable thumbnail creation if you don't need that feature:

modules:
  # [...]
  mod_http_upload:
    thumbnail: false
    # [...]
Syndicate content