2

I'm using code example from here

And running it in Debian as

g++ -o tr ft_send.cpp -lgloox -pthread
./tr [email protected]/resource  ./file

Then it sends me request to accept file and I press accept. But then it prints

log: level: 0, area: 131072, <iq type='error' to='[email protected]/glooxsendf1E777155' id='uid:502f38b2:2ae8944a' from='[email protected]/QIP9CA3B3AF'><error code='404' type='cancel'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
ft request error
log: level: 0, area: 262144, </stream:stream>
ft_send: disconnected: 17
ce: 18

and disconnects from server. What can be problem? Can anybody help me? May be thing is in

      f->addStreamHost( j->jid(), "192.168.100.20", 6666 );
      // you should obtain this using disco, really:
//       f->addStreamHost( JID( "reflector.amessage.eu" ), "reflector.amessage.eu", 6565 );
//       f->addStreamHost( JID( "proxy.jabber.org" ), "208.245.212.98", 7777 );

But I do not know how to correct it.

Maria
  • 515
  • 4
  • 17
  • The error code "404" obviously indicates that something is "not found". Could be the paths to the files, or that you don't have the proper permissions to see the files (even if they are there). – Bo Persson Aug 18 '12 at 08:25
  • @Bo Persson I'm trying this `addStreamHost( JID("proxy."+client->server()), client->server(), 7777 );` and now it says `log: level: 0, area: 131072, [email protected]/QIP09A0DF00` – Maria Aug 18 '12 at 08:34
  • Sorry, I don't know gloox. Just tried to interpret the error message. – Bo Persson Aug 18 '12 at 08:41

0 Answers0