Jingle file transfer does not work in LAN
Versions
- OS: Manjaro Linux
- Gajim version: 1.1.92+b59d5434
- GTK version: 3.24.8
- Python-nbxmpp version: 0.9.91
Steps to reproduce the problem
Have two devices connected (in this case Gajim and Conversations) to your wifi (no mobile data activated), initiate jingle file transfer from Gajim.
Expected behavior
File transfer should work.
Actual behavior
File transfer aborts, saying the peer cancelled the transfer.
Relevant XML log:
<!-- Outgoing Mo 06 Mai 2019 13:37:33 CEST -->
<iq xmlns="jabber:client" to="julia@xmppserver/Conversations.TeVA" from="romeo@xmppserver/gajim.TCB0GWKM" type="set" id="0527053c-de01-49b7-acd8-bc3a8a72e234">
<jingle xmlns="urn:xmpp:jingle:1" action="session-initiate" sid="9a83bbd9-c9ed-4462-b539-5d4a4bc53361" initiator="romeo@xmppserver/gajim.TCB0GWKM">
<content name="file8QPET6K34Y51RJN7" creator="initiator" senders="initiator">
<description xmlns="urn:xmpp:jingle:apps:file-transfer:5">
<file>
<name>User.bmp</name>
<date>2008-11-06T21:50:55Z</date>
<size>6966</size>
<desc />
</file>
</description>
<transport xmlns="urn:xmpp:jingle:transports:s5b:1" sid="63485239-b92c-48b3-b7fd-1199814f47e3">
<candidate cid="a3614998-d48a-45c2-940a-62ab031e5222" host="192.168.178.28" jid="romeo@xmppserver/gajim.TCB0GWKM" port="28011" priority="8257536" type="direct" />
</transport>
</content>
</jingle>
</iq>
<!-- Outgoing Mo 06 Mai 2019 13:37:33 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Incoming Mo 06 Mai 2019 13:37:33 CEST -->
<a xmlns="urn:xmpp:sm:3" h="34" />
<!-- Incoming Mo 06 Mai 2019 13:37:33 CEST -->
<iq xmlns="jabber:client" type="result" from="julia@xmppserver/Conversations.TeVA" to="romeo@xmppserver/gajim.TCB0GWKM" id="0527053c-de01-49b7-acd8-bc3a8a72e234" />
<!-- Incoming Mo 06 Mai 2019 13:37:33 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Outgoing Mo 06 Mai 2019 13:37:33 CEST -->
<a xmlns="urn:xmpp:sm:3" h="51" />
<!-- Incoming Mo 06 Mai 2019 13:37:33 CEST -->
<iq xmlns="jabber:client" type="set" from="julia@xmppserver/Conversations.TeVA" to="romeo@xmppserver/gajim.TCB0GWKM" id="YBS1yfjMxrFk">
<jingle xmlns="urn:xmpp:jingle:1" action="session-accept" sid="9a83bbd9-c9ed-4462-b539-5d4a4bc53361" initiator="romeo@xmppserver/gajim.TCB0GWKM">
<content senders="initiator" name="file8QPET6K34Y51RJN7" creator="initiator">
<description xmlns="urn:xmpp:jingle:apps:file-transfer:5">
<file>
<name>User.bmp</name>
<date>2008-11-06T21:50:55Z</date>
<size>6966</size>
<desc />
</file>
</description>
<transport sid="63485239-b92c-48b3-b7fd-1199814f47e3" xmlns="urn:xmpp:jingle:transports:s5b:1">
<candidate host="xmppserver" cid="1bsvloj5jv" port="7777" jid="xmppserver" type="proxy" priority="720895" />
</transport>
</content>
</jingle>
</iq>
<!-- Incoming Mo 06 Mai 2019 13:37:33 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Outgoing Mo 06 Mai 2019 13:37:33 CEST -->
<iq xmlns="jabber:client" id="YBS1yfjMxrFk" to="julia@xmppserver/Conversations.TeVA" from="romeo@xmppserver/gajim.TCB0GWKM" type="result" />
<!-- Outgoing Mo 06 Mai 2019 13:37:33 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Outgoing Mo 06 Mai 2019 13:37:33 CEST -->
<a xmlns="urn:xmpp:sm:3" h="52" />
<!-- Outgoing Mo 06 Mai 2019 13:37:34 CEST -->
<iq xmlns="jabber:client" to="julia@xmppserver/Conversations.TeVA" from="romeo@xmppserver/gajim.TCB0GWKM" type="set" id="11d65ff8-7dc4-4070-a865-4bcfec3879b2">
<jingle xmlns="urn:xmpp:jingle:1" action="transport-info" sid="9a83bbd9-c9ed-4462-b539-5d4a4bc53361" initiator="romeo@xmppserver/gajim.TCB0GWKM">
<content creator="initiator" name="file8QPET6K34Y51RJN7">
<transport xmlns="urn:xmpp:jingle:transports:s5b:1" sid="63485239-b92c-48b3-b7fd-1199814f47e3">
<candidate-used cid="1bsvloj5jv" />
</transport>
</content>
</jingle>
</iq>
<!-- Outgoing Mo 06 Mai 2019 13:37:34 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Incoming Mo 06 Mai 2019 13:37:34 CEST -->
<a xmlns="urn:xmpp:sm:3" h="35" />
<!-- Incoming Mo 06 Mai 2019 13:37:34 CEST -->
<a xmlns="urn:xmpp:sm:3" h="36" />
<!-- Incoming Mo 06 Mai 2019 13:37:34 CEST -->
<iq xmlns="jabber:client" type="set" from="julia@xmppserver/Conversations.TeVA" to="romeo@xmppserver/gajim.TCB0GWKM" id="edFeXDn4WigT">
<jingle xmlns="urn:xmpp:jingle:1" action="transport-info" sid="9a83bbd9-c9ed-4462-b539-5d4a4bc53361" initiator="romeo@xmppserver/gajim.TCB0GWKM">
<content senders="initiator" name="file8QPET6K34Y51RJN7" creator="initiator">
<transport sid="63485239-b92c-48b3-b7fd-1199814f47e3" xmlns="urn:xmpp:jingle:transports:s5b:1">
<candidate-used cid="a3614998-d48a-45c2-940a-62ab031e5222" />
</transport>
</content>
</jingle>
</iq>
<!-- Incoming Mo 06 Mai 2019 13:37:34 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Outgoing Mo 06 Mai 2019 13:37:34 CEST -->
<iq xmlns="jabber:client" id="edFeXDn4WigT" to="julia@xmppserver/Conversations.TeVA" from="romeo@xmppserver/gajim.TCB0GWKM" type="result" />
<!-- Outgoing Mo 06 Mai 2019 13:37:34 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Outgoing Mo 06 Mai 2019 13:37:34 CEST -->
<a xmlns="urn:xmpp:sm:3" h="53" />
<!-- Incoming Mo 06 Mai 2019 13:37:34 CEST -->
<a xmlns="urn:xmpp:sm:3" h="37" />
<!-- Incoming Mo 06 Mai 2019 13:37:35 CEST -->
<iq xmlns="jabber:client" type="result" from="julia@xmppserver/Conversations.TeVA" to="romeo@xmppserver/gajim.TCB0GWKM" id="11d65ff8-7dc4-4070-a865-4bcfec3879b2" />
<!-- Incoming Mo 06 Mai 2019 13:37:35 CEST -->
<iq xmlns="jabber:client" type="set" from="julia@xmppserver/Conversations.TeVA" to="romeo@xmppserver/gajim.TCB0GWKM" id="MZSty-xptGL0">
<jingle xmlns="urn:xmpp:jingle:1" action="session-terminate" sid="9a83bbd9-c9ed-4462-b539-5d4a4bc53361" initiator="romeo@xmppserver/gajim.TCB0GWKM">
<reason>
<cancel />
</reason>
</jingle>
</iq>
<!-- Incoming Mo 06 Mai 2019 13:37:35 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Outgoing Mo 06 Mai 2019 13:37:35 CEST -->
<iq xmlns="jabber:client" id="MZSty-xptGL0" to="julia@xmppserver/Conversations.TeVA" from="romeo@xmppserver/gajim.TCB0GWKM" type="result" />
<!-- Outgoing Mo 06 Mai 2019 13:37:35 CEST -->
<r xmlns="urn:xmpp:sm:3" />
<!-- Outgoing Mo 06 Mai 2019 13:37:35 CEST -->
<a xmlns="urn:xmpp:sm:3" h="55" />
<!-- Incoming Mo 06 Mai 2019 13:37:35 CEST -->
<a xmlns="urn:xmpp:sm:3" h="38" />