Ticket #2902 (closed defect: fixed)

Opened 20 months ago

Last modified 13 hours ago

not using file transfer proxy

Reported by: anonymous Owned by: asterix
Priority: high Milestone: 0.12
Component: usability Version: svn
Severity: major Keywords: proxy file transfer
Cc: js-gajim@… OS: Unix

Description

I'm using my account at jabber.felisberto.net . This server has a file transfer proxy. I activated the option in this account to use the proxy, but file sends still fail. I watched the xml and saw: <iq to="mirrakor@…/Gajim" type="set" id="id_NPUFIYXK8ROT3MD6"> <query xmlns="http://jabber.org/protocol/bytestreams" mode="tcp" sid="NPUFIYXK8ROT3MD6"> <streamhost host="192.168.0.204" jid="humpback@…/Gajim" port="28011" /> </query> </iq>

this means the file transfer proxy is not being used.

Attachments

truc.log (189.3 kB) - added by NoX 5 months ago.

Change History

Changed 10 months ago by Jonathan Schleifer

  • cc js-gajim@… added
  • os set to All

I myself didn't experience the same, but when some Windows users tried to send me a file using Gajim, the proxy wasn't listed in the IQ either, though they enabled it in the config. Strange thing is: It worked for a few files and then stopped working, even after restarting Gajim.

Changed 5 months ago by NoX

  • severity changed from normal to major
  • component changed from chat to usability
  • summary changed from Gajim 0.11 not using file transfer proxy to not using file transfer proxy
  • priority changed from normal to high
  • version set to svn
  • keywords proxy file transfer added
  • os changed from All to Unix

Same here but in SVN version. It has worked for a while, and it's not working again. On my other machine I had the same problem, I deleted the config file and then, as by magic, the file transfers worked ! I tried the same here ...without positive result.

I'm behind a NAT, and have the following config concerning FT :

accounts.mandar1ne.homelinux.org.use_ft_proxies = True
accounts.mandar1ne.homelinux.org.file_transfer_proxies = proxy.jabber-fr.org

(I used the default ft proxies before, no change)

the console log says :

<iq to="xxx@googlemail.com/Gajim22C3E0C4" type="set" id="id_0FGLPTO5X4NIDWRS">
<query xmlns="http://jabber.org/protocol/bytestreams" mode="tcp" sid="0FGLPTO5X4NIDWRS">
<streamhost host="192.168.1.115" jid="valombre@mandar1ne.homelinux.org/GajimE5251535" port="28011" />
</query>
</iq>

So indeed the it sends no proxy list as it should :(

Changed 5 months ago by asterix

I don't know where you got proxy.jabber-fr.org, but that doesn't exist. It is proxy.jabberfr.org.

I tested it and it works. Could you confirm?

Changed 5 months ago by NoX

I confirm it doesn't work, I still get the same <iq/> with proxy.jabberfr.org and the account @mandar1ne.homelinux.org (gmail account)

But it works with my @gmail.com account ! (with jabberfr, however proxy.jabber.org refuses it... Oo)

Could it be bound to this ticket : http://trac.gajim.org/ticket/3786 ? (the *@mandar1ne.homelinux.org account is also the problematic account in that bug (see comment #5))

But i'm sure it worked before with the 2 accounts so I don't understand. I'm sure too I had exactly the same bug with my @gmail.com account recently. Also, I didnt mentionned it but that doesn't affect only the svn version, I had the problem with previous versions. Sometimes it works, sometimes not (and I'm speaking about the fact that it doesn't send the proxy list, not just non-working transfer) I was hoping it was just an incompatible config file or something since it worked fine with my other machine to move the .gajim rep.

I don't think we can suppose it's a server-side bug since it's well a client behavior so i keep not understanding :(

Changed 5 months ago by asterix

Gajim tests FT proxies at startup. Could you check in XML console when you connect if the proxy replies correctly?

Changed 5 months ago by NoX

Changed 5 months ago by NoX

As i'm not sure, I attached the xml logs (and masked all the addresses i could ;()

Changed 5 months ago by asterix

here is the problem:

sent  <iq to="proxy.jabberfr.org" type="set" id="30">
<query xmlns="http://jabber.org/protocol/bytestreams" sid="Y3WRUGDMI4LEQ165">
<activate>proxy.jabberfr.org/Y3WRUGDMI4LEQ165</activate>
</query>


got   <iq to="valombre@gmail.com/Gajim4B45471B" type="error" id="30" from="proxy.jabberfr.org">
<query sid="Y3WRUGDMI4LEQ165" xmlns="http://jabber.org/protocol/bytestreams"/>
<error code="404" type="cancel">
<item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>

Changed 8 weeks ago by vladimir@…

I can't make gajim to work with file transfer proxy too. I have my own jabber server with file transfer proxy component, and I tested it with pidgin, works fine, whenever I try to send file pidgin uses the proxy specified and everything is great.

But gajim doesn't seem to even try to send file through the proxy, though I have set file_transfer_proxies and use_ft_proxies. Gajim just tries to establish direct connection and after a while says "Connection with peer can't be established".

I use Gajim 0.11.4 under Ubuntu 8.04

Changed 8 weeks ago by asterix

could you try with gajim svn? Take daily snapshot and just run it, no need to install

Changed 8 weeks ago by js

And please provide an XML log!

Changed 13 hours ago by asterix

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

it's fixed in [10326]

Add/Change #2902 (not using file transfer proxy)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.