ejabberd - Comments for "ejabberd 18.01 mod_http_upload already_started" https://www.ejabberd.im/forum/29798/ejabberd-1801-modhttpupload-alreadystarted en This is precisely what was https://www.ejabberd.im/forum/29798/ejabberd-1801-modhttpupload-alreadystarted#comment-67806 <p>This is precisely what was going wrong. Many thanks, badlop! :)</p> <p>Sidenote for others hitting this issue: 16.09 was actually working with a broken config as described, I don't why that's the case.</p> Wed, 14 Feb 2018 16:09:02 +0000 zb comment 67806 at https://www.ejabberd.im This happens because you https://www.ejabberd.im/forum/29798/ejabberd-1801-modhttpupload-alreadystarted#comment-67804 <p>This happens because you configured ejabberd to serve several vhosts, like:</p> <pre> hosts: - "localhost" - "example.net" - "x3mpp.net" </pre><p> But later, you configure the module with a fixed URL for the module in the three vhosts:</p> <pre> modules: mod_http_upload: put_url: "https://fixedurl:5444" </pre><p> When ejabberd starts, it starts one instance of that module for each vhost. If the three instances of the module try to use the same URL, obviously the second and third will fail.</p> <p>Solutions:<br /> A) Have only one vhost<br /> B) Define that option in a generic way, so it gets different for each vhost, as it was in the default value that used @HOST@<br /> C) Configure that module differently for each vhost, see <a href="https://docs.ejabberd.im/admin/configuration/#virtual-hosting" title="https://docs.ejabberd.im/admin/configuration/#virtual-hosting">https://docs.ejabberd.im/admin/configuration/#virtual-hosting</a></p> Wed, 14 Feb 2018 12:20:51 +0000 badlop comment 67804 at https://www.ejabberd.im