[Pidgin] #7581: XMPP file transfer using file transfer proxy doesn't work

Pidgin trac at pidgin.im
Tue Nov 18 10:23:41 EST 2008


#7581: XMPP file transfer using file transfer proxy doesn't work
---------------------------------------------+------------------------------
 Reporter:  thenktor                         |     Owner:  deryni
     Type:  defect                           |    Status:  new   
Component:  XMPP                             |   Version:  2.5.2 
 Keywords:  xmpp jabber file transfer proxy  |  
---------------------------------------------+------------------------------
 My Openfire server shows a lot of error log entries like this:

 {{{
 2008.11.18 14:53:16
 [org.jivesoftware.openfire.filetransfer.proxy.ProxyConnectionManager$1$1.run(ProxyConnectionManager.java:115)]
 Error processing file transfer proxy connection
 java.io.IOException: Only SOCKS5 supported
 at
 org.jivesoftware.openfire.filetransfer.proxy.ProxyConnectionManager.processConnection(ProxyConnectionManager.java:143)
 at
 org.jivesoftware.openfire.filetransfer.proxy.ProxyConnectionManager.access$100(ProxyConnectionManager.java:44)
 at
 org.jivesoftware.openfire.filetransfer.proxy.ProxyConnectionManager$1$1.run(ProxyConnectionManager.java:112)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)
 }}}


 File transfers don't work with Pidgin but there is no problem with Gajim.

 Pidgin debug output:

 {{{
 (16:19:24) jabber: Found cap: jabber:iq:last
 (16:19:24) jabber: Found cap: jabber:iq:oob
 (16:19:24) jabber: Found cap: jabber:iq:time
 (16:19:24) jabber: Found cap: xmpp:urn:time
 (16:19:24) jabber: Found cap: jabber:iq:version
 (16:19:24) jabber: Found cap: jabber:x:conference
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/bytestreams
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/disco#info
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/disco#items
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/muc
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/muc#user
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/si
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/si/profile/file-
 transfer
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/xhtml-im
 (16:19:24) jabber: Found cap: urn:xmpp:ping
 (16:19:24) jabber: Found cap:
 http://www.xmpp.org/extensions/xep-0199.html#ns
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/mood
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/mood+notify
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/nick
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/nick+notify
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/tune
 (16:19:24) jabber: Found cap: http://jabber.org/protocol/tune+notify
 (16:19:24) jabber: Found cap: http://www.xmpp.org/extensions/xep-0084.html
 #ns-metadata
 (16:19:24) jabber: Found cap: http://www.xmpp.org/extensions/xep-0084.html
 #ns-data
 (16:19:24) jabber: Found cap: urn:xmpp:bob
 (16:19:30) jabber: Recv (ssl)(226): <iq from='thenktor at gmx.de'
 to='thenktor at gmx.de/Home' type='error' id='purple880422ad'><ping
 xmlns='urn:xmpp:ping'/><error code='503' type='cancel'><service-
 unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
 (16:19:30) jabber: xmlParseChunk returned error 100
 (16:19:35) jabber: Found cap: jabber:iq:last
 (16:19:35) jabber: Found cap: jabber:iq:oob
 (16:19:35) jabber: Found cap: jabber:iq:time
 (16:19:35) jabber: Found cap: xmpp:urn:time
 (16:19:35) jabber: Found cap: jabber:iq:version
 (16:19:35) jabber: Found cap: jabber:x:conference
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/bytestreams
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/disco#info
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/disco#items
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/muc
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/muc#user
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/si
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/si/profile/file-
 transfer
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/xhtml-im
 (16:19:35) jabber: Found cap: urn:xmpp:ping
 (16:19:35) jabber: Found cap:
 http://www.xmpp.org/extensions/xep-0199.html#ns
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/mood
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/mood+notify
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/nick
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/nick+notify
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/tune
 (16:19:35) jabber: Found cap: http://jabber.org/protocol/tune+notify
 (16:19:35) jabber: Found cap: http://www.xmpp.org/extensions/xep-0084.html
 #ns-metadata
 (16:19:35) jabber: Found cap: http://www.xmpp.org/extensions/xep-0084.html
 #ns-data
 (16:19:35) jabber: Found cap: urn:xmpp:bob
 (16:19:38) dbus: Need to register an object with the dbus subsystem. (If
 you are not a developer, please ignore this message.)
 (16:19:38) dbus: The signal "drawing-tooltip" caused some dbus error. (If
 you are not a developer, please ignore this message.)
 (16:19:38) dbus: Need to register an object with the dbus subsystem. (If
 you are not a developer, please ignore this message.)
 (16:19:38) dbus: The signal "drawing-tooltip" caused some dbus error. (If
 you are not a developer, please ignore this message.)
 (16:19:42) dbus: Need to register an object with the dbus subsystem. (If
 you are not a developer, please ignore this message.)
 (16:19:42) dbus: The signal "blist-node-extended-menu" caused some dbus
 error. (If you are not a developer, please ignore this message.)
 (16:19:42) dbus: Need to register an object with the dbus subsystem. (If
 you are not a developer, please ignore this message.)
 (16:19:42) dbus: The signal "blist-node-extended-menu" caused some dbus
 error. (If you are not a developer, please ignore this message.)
 (16:19:44) jabber: Recv (ssl)(189): <message type="chat"
 id="purple68ab14ac" to="thenktor at thenktor.dyndns.org/Home"
 from="clericon at thenktor.dyndns.org/Home"><composing
 xmlns="http://jabber.org/protocol/chatstates"/></message>
 (16:19:44) psychic: not available, doing nothing
 (16:19:44) jabber: xmlParseChunk returned error 100
 (16:19:46) jabber: Recv (ssl)(376): <message type="chat"
 id="purple68ab14ad" to="thenktor at thenktor.dyndns.org/Home"
 from="clericon at thenktor.dyndns.org/Home"><active
 xmlns="http://jabber.org/protocol/chatstates"/><body>joa
 </body><html xmlns="http://jabber.org/protocol/xhtml-im"><body
 xmlns="http://www.w3.org/1999/xhtml">joa
 </body></html></message>
 (16:19:46) jabber: found 0 smileys
 (16:19:46) jabber: xmlParseChunk returned error 100
 (16:19:46) jabber: Recv (ssl)(186): <message type="chat"
 id="purple68ab14ae" to="thenktor at thenktor.dyndns.org/Home"
 from="clericon at thenktor.dyndns.org/Home"><active
 xmlns="http://jabber.org/protocol/chatstates"/></message>
 (16:19:46) jabber: xmlParseChunk returned error 100
 (16:19:52) jabber: Recv (ssl)(1512): <iq type="result" id="purplef6b66096"
 to="thenktor at thenktor.dyndns.org/Home"
 from="clericon at thenktor.dyndns.org/Home"><query
 xmlns="http://jabber.org/protocol/disco#info"><identity category="client"
 type="pc" name="pidgin"/><feature var="jabber:iq:last"/><feature
 var="jabber:iq:oob"/><feature var="jabber:iq:time"/><feature
 var="xmpp:urn:time"/><feature var="jabber:iq:version"/><feature
 var="jabber:x:conference"/><feature
 var="http://jabber.org/protocol/bytestreams"/><feature
 var="http://jabber.org/protocol/disco#info"/><feature
 var="http://jabber.org/protocol/disco#items"/><feature
 var="http://jabber.org/protocol/muc"/><feature
 var="http://jabber.org/protocol/muc#user"/><feature
 var="http://jabber.org/protocol/si"/><feature
 var="http://jabber.org/protocol/si/profile/file-transfer"/><feature
 var="http://jabber.org/protocol/xhtml-im"/><feature
 var="urn:xmpp:ping"/><feature
 var="http://www.xmpp.org/extensions/xep-0199.html#ns"/><feature
 var="http://jabber.org/protocol/mood"/><feature
 var="http://jabber.org/protocol/mood+notify"/><feature
 var="http://jabber.org/protocol/nick"/><feature
 var="http://jabber.org/protocol/nick+notify"/><feature
 var="http://jabber.org/protocol/tune"/><feature
 var="http://jabber.org/protocol/tune+notify"/><feature
 var="http://www.xmpp.org/extensions/xep-0084.html#ns-metadata"/><feature
 var="http://www.xmpp.org/extensions/xep-0084.html#ns-data"/><feature
 var="urn:xmpp:bob"/><feature
 var="http://www.xmpp.org/extensions/xep-0084.html#ns-
 metadata+notify"/></query></iq>
 (16:19:52) jabber: xmlParseChunk returned error 100
 (16:19:57) jabber: Recv (ssl)(367): <iq type="result"
 to="thenktor at thenktor.dyndns.org/Home" id="purplef6b66097"
 from="clericon at thenktor.dyndns.org/Home"><si
 xmlns="http://jabber.org/protocol/si"><feature
 xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data"
 type="submit"><field var="stream-
 method"><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
 (16:19:57) network: Listening on port: 49657
 (16:19:57) jabber: xmlParseChunk returned error 100
 (16:19:59) network: Couldn't create UPnP mapping
 (16:19:59) network: Couldn't create UPnP mapping
 (16:19:59) stun: using server
 (16:19:59) jabber: jabber_si_xfer_bytestreams_listen_cb() will be looking
 at jsx 0x9f34d00: jsx->streamhosts (nil) and sh->jid 0x9db0d20(16:19:59)
 jabber: jabber_si_xfer_bytestreams_listen_cb() will be looking at jsx
 0x9f34d00: jsx->streamhosts 0x9f79e50 and sh->jid 0x999e9e8(16:20:00)
 jabber: Recv (ssl)(226): <iq from='thenktor at gmx.de'
 to='thenktor at gmx.de/Home' type='error' id='purple880422ae'><ping
 xmlns='urn:xmpp:ping'/><error code='503' type='cancel'><service-
 unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
 (16:20:00) jabber: xmlParseChunk returned error 100
 (16:20:02) util: Writing file prefs.xml to directory
 /home/thorsten/.purple
 (16:20:02) util: Writing file /home/thorsten/.purple/prefs.xml
 (16:20:11) jabber: Found cap: jabber:iq:last
 (16:20:11) jabber: Found cap: jabber:iq:oob
 (16:20:11) jabber: Found cap: jabber:iq:time
 (16:20:11) jabber: Found cap: xmpp:urn:time
 (16:20:11) jabber: Found cap: jabber:iq:version
 (16:20:11) jabber: Found cap: jabber:x:conference
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/bytestreams
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/disco#info
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/disco#items
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/muc
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/muc#user
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/si
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/si/profile/file-
 transfer
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/xhtml-im
 (16:20:11) jabber: Found cap: urn:xmpp:ping
 (16:20:11) jabber: Found cap:
 http://www.xmpp.org/extensions/xep-0199.html#ns
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/mood
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/mood+notify
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/nick
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/nick+notify
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/tune
 (16:20:11) jabber: Found cap: http://jabber.org/protocol/tune+notify
 (16:20:11) jabber: Found cap: http://www.xmpp.org/extensions/xep-0084.html
 #ns-metadata
 (16:20:11) jabber: Found cap: http://www.xmpp.org/extensions/xep-0084.html
 #ns-data
 (16:20:11) jabber: Found cap: urn:xmpp:bob
 (16:20:29) jabber: Recv (ssl)(223): <iq type="error" id="purplef6b66099"
 to="thenktor at thenktor.dyndns.org/Home"
 from="clericon at thenktor.dyndns.org/Home"><error code="404" type="cancel
 "><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-
 stanzas"/></error></iq>
 (16:20:29) jabber: jabber_si_xfer_free(): freeing jsx 0x9f34d00(16:20:29)
 jabber: in jabber_si_xfer_cancel_send
 (16:20:29) jabber: xmlParseChunk returned error 100
 (16:20:30) jabber: Recv (ssl)(226): <iq from='thenktor at gmx.de'
 to='thenktor at gmx.de/Home' type='error' id='purple880422af'><ping
 xmlns='urn:xmpp:ping'/><error code='503' type='cancel'><service-
 unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
 (16:20:30) jabber: xmlParseChunk returned error 100
 }}}


 It doesn't matter if I use my own server as proxy or if I use gmx.de or
 jabber.org proxies.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/7581>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list