ing156 / vacuum-im

Automatically exported from code.google.com/p/vacuum-im
GNU General Public License v3.0
0 stars 0 forks source link

File transfer not available on transport #717

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If i login on Gtalk using jabber transport, in the context menu and inside chat 
windows the option "send file" is not available. Instead, if i directly sign in 
to GTalk without using a jabber transport, "send file" is always available.

Original issue reported on code.google.com by musical...@gmail.com on 5 Apr 2013 at 12:08

GoogleCodeExporter commented 8 years ago
This is transport bug, it does not assign resource to contacts that is why <iq> 
request required for file transfer could not be transferred to destination 
client. Use correct gtalk transport - gtalk.jrudevels.org.

Original comment by potapov.s.a on 5 Apr 2013 at 8:11

GoogleCodeExporter commented 8 years ago
Hi, i'd like to register on jrudevels.org, since you told me that is a good 
service. But every time that i attempt to register on jrudevels.org i always 
obtain: insufficient permission.

Original comment by musical...@gmail.com on 5 Apr 2013 at 11:04

GoogleCodeExporter commented 8 years ago
You do not need registration on jrudevels.org, just use it public transports.

Original comment by potapov.s.a on 5 Apr 2013 at 11:05

GoogleCodeExporter commented 8 years ago
If i attempt to just use gtalk transport i obtain: "Requested operation failed: 
Not accepted by the recipient". Maybe there is a limitation on non russian IP? 
(i just guessing, because seems that i am not able in anyway to use jrudevels 
or his transposrts).

Original comment by musical...@gmail.com on 5 Apr 2013 at 11:10

GoogleCodeExporter commented 8 years ago
I have access to gtalk.jrudevels.org from rkquery.de. How you try to use it?

Original comment by potapov.s.a on 5 Apr 2013 at 11:14

GoogleCodeExporter commented 8 years ago
In the same way. I'm also use rkquery.de. I do a service discovery on 
gtalk.jrudevels.org > register > insert details of login for gmail, according 
to this page: http://wiki.jrudevels.org/index.php/Eng:J2J#Using_with_Google_Talk

Original comment by musical...@gmail.com on 5 Apr 2013 at 11:22

GoogleCodeExporter commented 8 years ago
My XML log of successful registration:

>>>> lion@rkquery.de/Vacuum-IM 15:33:40 +0 >>>>
  <iq type="set" to="gtalk.jrudevels.org" id="sid_280">
    <query xmlns="jabber:iq:register">
      <x xmlns="jabber:x:data" type="submit">
        <field var="username">
          <value>potapov.s.a</value>
        </field>
        <field var="password">
          <value>1</value>
        </field>
        <field var="server">
          <value>gmail.com</value>
        </field>
        <field var="port">
          <value>5222</value>
        </field>
        <field var="import_roster">
          <value>0</value>
        </field>
        <field var="remove_from_roster">
          <value>0</value>
        </field>
      </x>
    </query>
  </iq>

<<<< lion@rkquery.de/Vacuum-IM 15:33:41 +140 <<<<
  <iq from="gtalk.jrudevels.org" type="result" to="lion@rkquery.de/Vacuum-IM" id="sid_280"/>

<<<< lion@rkquery.de/Vacuum-IM 15:33:41 +280 <<<<
  <iq type="set" id="607-229786" to="lion@rkquery.de/Vacuum-IM">
    <query xmlns="jabber:iq:roster">
      <item subscription="from" jid="gtalk.jrudevels.org"/>
    </query>
  </iq>

>>>> lion@rkquery.de/Vacuum-IM 15:33:41 +0 >>>>
  <iq type="result" id="607-229786"/>

<<<< lion@rkquery.de/Vacuum-IM 15:33:41 +10 <<<<
  <presence from="gtalk.jrudevels.org" type="unavailable" to="lion@rkquery.de/Vacuum-IM">
    <status>Logging in...</status>
  </presence>

<<<< lion@rkquery.de/Vacuum-IM 15:33:41 +90 <<<<
  <presence from="gtalk.jrudevels.org" type="error" to="lion@rkquery.de/Vacuum-IM">
    <error type="auth" code="401">
      <not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
    </error>
  </presence>

I entered incorrect password that my I got error not-authorized, but 
registration passed correctly.

What do you see in XML Console?

Original comment by potapov.s.a on 5 Apr 2013 at 11:36

GoogleCodeExporter commented 8 years ago
Uhm.. Maybe i'm doing something in a wrong way (user and pasword are right):

>>>> myself@rkquery.de/Vacuum-IM 13:37:53 +0 >>>>
  <iq type="get" to="gtalk.jrudevels.org" id="sid_231">
    <query xmlns="jabber:iq:register"/>
  </iq>

<<<< myself@rkquery.de/Vacuum-IM 13:37:53 +114 <<<<
  <iq from="gtalk.jrudevels.org" type="result" to="myself@rkquery.de/Vacuum-IM" id="sid_231">
    <query xmlns="jabber:iq:register">
      <x xmlns="jabber:x:data" type="form">
        <title>J2J Registration Form</title>
        <field type="fixed">
          <value>Please enter data for your Jabber-account</value>
        </field>
        <field type="text-single" label="Username" var="username">
          <value/>
          <required/>
        </field>
        <field type="text-private" label="Password" var="password">
          <value/>
          <required/>
        </field>
        <field type="text-single" label="Server" var="server">
          <value/>
          <required/>
        </field>
        <field type="text-single" label="Domain or IP" var="domain">
          <value/>
        </field>
        <field type="text-single" label="Port" var="port">
          <value>5222</value>
        </field>
        <field type="boolean" label="Import roster" var="import_roster">
          <value>0</value>
        </field>
        <field type="boolean" label="Remove contacts from guest roster automatically" var="remove_from_roster">
          <value>0</value>
        </field>
      </x>
    </query>
  </iq>

>>>> myself@rkquery.de/Vacuum-IM 13:38:51 +58472 >>>>
  <iq type="set" to="gtalk.jrudevels.org" id="sid_232">
    <query xmlns="jabber:iq:register">
      <x xmlns="jabber:x:data" type="submit">
        <field var="username">
          <value>mygmailusername</value>
        </field>
        <field var="password">
          <value>mypassword</value>
        </field>
        <field var="server">
          <value>gmail.com</value>
        </field>
        <field var="port">
          <value>5222</value>
        </field>
        <field var="import_roster">
          <value>1</value>
        </field>
        <field var="remove_from_roster">
          <value>1</value>
        </field>
      </x>
    </query>
  </iq>

<<<< myself@rkquery.de/Vacuum-IM 13:38:51 +119 <<<<
  <iq from="gtalk.jrudevels.org" type="result" to="myself@rkquery.de/Vacuum-IM" id="sid_232"/>

<<<< myself@rkquery.de/Vacuum-IM 13:38:52 +158 <<<<
  <presence from="gtalk.jrudevels.org" type="subscribe" to="myself@rkquery.de/Vacuum-IM"/>

>>>> myself@rkquery.de/Vacuum-IM 13:38:55 +3659 >>>>
  <presence type="subscribed" to="gtalk.jrudevels.org">
    <x xmlns="vcard-temp:x:update">
      <photo>a970fdd0a8098a8990e3655f9ca682f4fe283025</photo>
    </x>
    <x xmlns="jabber:x:avatar">
      <hash>a970fdd0a8098a8990e3655f9ca682f4fe283025</hash>
    </x>
    <c xmlns="http://jabber.org/protocol/caps" node="http://vacuum-im.googlecode.com" ver="nvOfScxvX/KRll5e2pqmMEBIls0=" hash="sha-1"/>
  </presence>

>>>> myself@rkquery.de/Vacuum-IM 13:38:55 +3 >>>>
  <presence type="subscribe" to="gtalk.jrudevels.org">
    <x xmlns="vcard-temp:x:update">
      <photo>a970fdd0a8098a8990e3655f9ca682f4fe283025</photo>
    </x>
    <x xmlns="jabber:x:avatar">
      <hash>a970fdd0a8098a8990e3655f9ca682f4fe283025</hash>
    </x>
    <c xmlns="http://jabber.org/protocol/caps" node="http://vacuum-im.googlecode.com" ver="nvOfScxvX/KRll5e2pqmMEBIls0=" hash="sha-1"/>
  </presence>

<<<< myself@rkquery.de/Vacuum-IM 13:38:55 +80 <<<<
  <iq type="set" id="51-51504" to="myself@rkquery.de/Vacuum-IM">
    <query xmlns="jabber:iq:roster">
      <item subscription="from" jid="gtalk.jrudevels.org"/>
    </query>
  </iq>

>>>> myself@rkquery.de/Vacuum-IM 13:38:55 +4 >>>>
  <iq type="result" id="51-51504"/>

<<<< myself@rkquery.de/Vacuum-IM 13:38:55 +65 <<<<
  <iq type="set" id="77-51505" to="myself@rkquery.de/Vacuum-IM">
    <query xmlns="jabber:iq:roster">
      <item subscription="from" ask="subscribe" jid="gtalk.jrudevels.org"/>
    </query>
  </iq>

>>>> myself@rkquery.de/Vacuum-IM 13:38:55 +2 >>>>
  <iq type="result" id="77-51505"/>

<<<< myself@rkquery.de/Vacuum-IM 13:38:55 +2 <<<<
  <presence from="gtalk.jrudevels.org" type="unavailable" to="myself@rkquery.de/Vacuum-IM">
    <status>Logging in...</status>
  </presence>

<<<< myself@rkquery.de/Vacuum-IM 13:38:55 +54 <<<<
  <iq type="set" id="0-51506" to="myself@rkquery.de/Vacuum-IM">
    <query xmlns="jabber:iq:roster">
      <item subscription="both" jid="gtalk.jrudevels.org"/>
    </query>
  </iq>

>>>> myself@rkquery.de/Vacuum-IM 13:38:55 +3 >>>>
  <iq type="result" id="0-51506"/>

<<<< myself@rkquery.de/Vacuum-IM 13:38:55 +2 <<<<
  <presence from="gtalk.jrudevels.org" type="subscribed" to="myself@rkquery.de/Vacuum-IM"/>

<<<< myself@rkquery.de/Vacuum-IM 13:38:56 +211 <<<<
  <presence from="gtalk.jrudevels.org" type="error" to="myself@rkquery.de/Vacuum-IM">
    <error type="auth" code="401">
      <not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
    </error>
  </presence>

Original comment by musical...@gmail.com on 5 Apr 2013 at 11:43

GoogleCodeExporter commented 8 years ago
It seems that they are not correct

Original comment by potapov.s.a on 5 Apr 2013 at 11:46

GoogleCodeExporter commented 8 years ago
You can ask Binary for help at jrd@conference.jabber.ru, may be he can help you.

Original comment by potapov.s.a on 5 Apr 2013 at 11:51

GoogleCodeExporter commented 8 years ago
I am sure that my login details are correct since i use them from 10 years :-)
i am totally sure without any doubt :-)
But in anyway, as i've said, seems that i am not able to use in anyway 
jrudevels.org. I have also tried with many software on haiku, on windows 7 and 
on linux, to register on jrudevels.org itself (i'd like to have an account on 
jrudevels, since looks good) but i always obtain insufficient permission or not 
authorized.

Original comment by musical...@gmail.com on 5 Apr 2013 at 11:51

GoogleCodeExporter commented 8 years ago
Binary is owner of this server, ask him for help.

Original comment by potapov.s.a on 5 Apr 2013 at 11:56

GoogleCodeExporter commented 8 years ago
I will do. Thank you for your help and time!

Original comment by musical...@gmail.com on 5 Apr 2013 at 11:59

GoogleCodeExporter commented 8 years ago
In anyway i have another info: i have also register gtalk accounts on 
alpha-labs.net and on jabber.rueckgr.at. These two jabber servers, properly 
supports GTalk. If i login on GTalk with this two servers on PSI+, file 
transfer option is available and works. But inside Vacuum is still not 
available.

Original comment by musical...@gmail.com on 5 Apr 2013 at 12:11

GoogleCodeExporter commented 8 years ago
It is not available because of the same problem, transport do not route the 
discovery info request to client, that is why Vacuum do not not know about file 
transfer support. PSI+ does not look at feature support and try to send file 
anyway.

Original comment by potapov.s.a on 5 Apr 2013 at 2:50

GoogleCodeExporter commented 8 years ago
Ok, And there is a way to also fix this? I have found this issue with any 
jabber server (also with jabbim.com)

Original comment by musical...@gmail.com on 5 Apr 2013 at 4:06

GoogleCodeExporter commented 8 years ago
PS: I refer to hist ticket 
http://code.google.com/p/vacuum-im/issues/detail?id=708 where server 
incorrectly parse data, maybe there is a similar fix for this ticket?
I have tried, for now, seven different servers, and no one of these make file 
transfer available.

Original comment by musical...@gmail.com on 5 Apr 2013 at 4:26

GoogleCodeExporter commented 8 years ago
In this ticket is all clear for me, transports hide client features from Vacuum 
that why it do not show send file menu. This bug should be corrected at 
transport side.

Original comment by potapov.s.a on 6 Apr 2013 at 8:11

GoogleCodeExporter commented 8 years ago
Ok :-) In anyway now i'm also using jabbim.com (which provide Skype transport!) 
and for now, with Vacuum, i can transfer files to an online disk and share the 
link with my contacts.. Is enough for me :-)

Thank you for the attention!

Original comment by musical...@gmail.com on 6 Apr 2013 at 11:07