HTTP Upload fails when using more than one server
Versions
- OS: Manjaro 17.1.2
- Gajim version: Gajim 0.98.2+0966a2c2
- GTK version: 3.22.26
- Python-nbxmpp version: 0.6.2
Steps to reproduce the problem
- Start Gajim with two accounts enabled (each account on a different server, account1=server1, ..)
- Upload file to contact on account1 (works)
- Upload file to contact on accound2 (fails)
Expected behavior
Should upload the file. This was working in the same environment with http_upload plugin (and using the plugin still works).
Actual behavior
File upload fails with:
Sending request for slot
Received slot
<iq xmlns="jabber:client" id="b3a68c8d-f685-460c-9d2f-ae0706d0fb0c" type="error" to="user@server1.net/gajim.3KELQWXQ" from="upload.server2.net"><error type="cancel"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Server-to-server connection failed: DNS resolution failed</text></error></iq>
Disabling one of both accounts (and restarting Gajim) fixes the issue and upload works again (for account1 or account2 separately). But with both accounts enabled, upload fails.
Also, starting Gajim with account1 enabled only (send file), enabling account2 (send file) works, but as soon as I try to send another file to account1, it fails again. This is reproducible vice versa (account1<>account2) and depending on which account was activated first.