{"action":"created","issue":{"url":"https://api.github.com/repos/nplexity/xmpp-file-transfer-demo/issues/15","labels_url":"https://api.github.com/repos/nplexity/xmpp-file-transfer-demo/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/nplexity/xmpp-file-transfer-demo/issues/15/comments","events_url":"https://api.github.com/repos/nplexity/xmpp-file-transfer-demo/issues/15/events","html_url":"https://github.com/nplexity/xmpp-file-transfer-demo/issues/15","id":66754668,"number":15,"title":"Code=503  service-unavailable ,I can't send the file,please help!","user":{"login":"ZsIsMe","id":7468754,"avatar_url":"https://avatars.githubusercontent.com/u/7468754?v=3","gravatar_id":"","url":"https://api.github.com/users/ZsIsMe","html_url":"https://github.com/ZsIsMe","followers_url":"https://api.github.com/users/ZsIsMe/followers","following_url":"https://api.github.com/users/ZsIsMe/following{/other_user}","gists_url":"https://api.github.com/users/ZsIsMe/gists{/gist_id}","starred_url":"https://api.github.com/users/ZsIsMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZsIsMe/subscriptions","organizations_url":"https://api.github.com/users/ZsIsMe/orgs","repos_url":"https://api.github.com/users/ZsIsMe/repos","events_url":"https://api.github.com/users/ZsIsMe/events{/privacy}","received_events_url":"https://api.github.com/users/ZsIsMe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-07T02:31:28Z","updated_at":"2015-04-07T03:47:07Z","closed_at":null,"body":"Sir, I get a question and I really need your help!\r\nI use your demo to send the file, after I logged in successfully , I got the error.\r\n\r\n\r\n\r\n\r\nThe Log is \r\n\r\n\"\r\n\r\n\r\n2015-04-07 10:22:50:000 FileTransferDemo[42056:5813] SEND: <iq type=\"get\" id=\"CE406FCB-0E9C-4430-9AD3-65DF1809ED9D\"><query xmlns=\"jabber:iq:roster\"/></iq>\r\n2015-04-07 10:22:50:194 FileTransferDemo[42056:286b] RECV: <presence xmlns=\"jabber:client\" from=\"zzzsss@104.236.174.238/13c3e73d\" to=\"zzzsss@104.236.174.238/13c3e73d\"/>\r\n2015-04-07 10:22:50:384 FileTransferDemo[42056:6303] RECV: <message xmlns=\"jabber:client\" id=\"0fITi-32\" to=\"zzzsss@104.236.174.238\" from=\"hehe@104.236.174.238/Spark 2.6.3\" type=\"chat\"><body>hehe</body><thread>RShL05</thread><x xmlns=\"jabber:x:event\"><offline/><composing/></x><delay xmlns=\"urn:xmpp:delay\" from=\"104.236.174.238\" stamp=\"2015-04-07T02:02:58.233Z\"/><x xmlns=\"jabber:x:delay\" from=\"104.236.174.238\" stamp=\"20150407T02:02:58\"/></message>\r\n2015-04-07 10:22:50:575 FileTransferDemo[42056:286b] RECV: <iq xmlns=\"jabber:client\" type=\"result\" id=\"CE406FCB-0E9C-4430-9AD3-65DF1809ED9D\" to=\"zzzsss@104.236.174.238/13c3e73d\"><query xmlns=\"jabber:iq:roster\"><item jid=\"fuckyou@104.236.174.238\" subscription=\"both\"/></query></iq>\r\n2015-04-07 10:23:48:206 FileTransferDemo[42056:607] XMPPOutgoingFileTransfer: didActivate\r\n2015-04-07 10:23:48:211 FileTransferDemo[42056:607] XMPPOutgoingFileTransfer: startFileTransfer:\r\n2015-04-07 10:23:48:212 FileTransferDemo[42056:607] XMPPOutgoingFileTransfer: queryRecipientDiscoInfo\r\n2015-04-07 10:23:48:213 FileTransferDemo[42056:6817] SEND: <iq type=\"get\" to=\"hehe@104.236.174.238/a.jpg\" id=\"359B4A5F-E595-471C-A050-111F2F6F9BFB\"><query xmlns=\"http://jabber.org/protocol/disco#info\"/></iq>\r\n2015-04-07 10:23:48:441 FileTransferDemo[42056:5a8f] RECV: <iq xmlns=\"jabber:client\" type=\"error\" id=\"359B4A5F-E595-471C-A050-111F2F6F9BFB\" from=\"hehe@104.236.174.238/a.jpg\" to=\"zzzsss@104.236.174.238/13c3e73d\"><query xmlns=\"http://jabber.org/protocol/disco#info\"/><error code=\"503\" type=\"cancel\"><service-unavailable xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\"/></error></iq>\r\n2015-04-07 10:23:48:442 FileTransferDemo[42056:6817] XMPPIncomingFileTransfer: sendIdentity:\r\n2015-04-07 10:23:48:443 FileTransferDemo[42056:5d9f] SEND: <iq type=\"result\" to=\"hehe@104.236.174.238/a.jpg\" id=\"359B4A5F-E595-471C-A050-111F2F6F9BFB\" from=\"zzzsss@104.236.174.238/13c3e73d\"><query xmlns=\"http://jabber.org/protocol/disco#info\"><identity category=\"client\" type=\"ios-osx\"/><feature var=\"http://jabber.org/protocol/si\"/><feature var=\"http://jabber.org/protocol/si/profile/file-transfer\"/><feature var=\"http://jabber.org/protocol/bytestreams\"/><feature var=\"http://jabber.org/protocol/ibb\"/></query></iq>\r\n2015-04-07 10:23:48:446 FileTransferDemo[42056:607] XMPPOutgoingFileTransfer: handleRecipientDiscoInfoQueryIQ:withInfo:\r\n2015-04-07 10:23:48:446 FileTransferDemo[42056:607] iq: <iq xmlns=\"jabber:client\" type=\"error\" id=\"359B4A5F-E595-471C-A050-111F2F6F9BFB\" from=\"hehe@104.236.174.238/a.jpg\" to=\"zzzsss@104.236.174.238/13c3e73d\"><query xmlns=\"http://jabber.org/protocol/disco#info\"/><error code=\"503\" type=\"cancel\"><service-unavailable xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\"/></error></iq>, info: <XMPPBasicTrackingInfo: 0x7f9032df4c90>\r\n2015-04-07 10:23:48:446 FileTransferDemo[42056:607] XMPPOutgoingFileTransfer: failWithReason:error:\r\n2015-04-07 10:23:48:447 FileTransferDemo[42056:607] Outgoing file transfer failed because: <service-unavailable xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\"/>\r\n2015-04-07 10:23:48:447 FileTransferDemo[42056:607] XMPPOutgoingFileTransfer: cleanUp\r\n2015-04-07 10:23:48:448 FileTransferDemo[42056:607] Outgoing file transfer failed with error: Error Domain=XMPPOutgoingFileTransferErrorDomain Code=503 \"<service-unavailable xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\"/>\" UserInfo=0x7f90351148a0 {NSLocalizedDescription=<service-unavailable xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\"/>}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\"\r\n\r\nI went to find the answer in the stackoverflow ,this is a question just for me:\r\n\r\nhttp://stackoverflow.com/questions/26250533/service-unavailable-503-error-for-file-transfer-in-xmpp-with-ios\r\n\r\nmaybe the question is the receiver JID,but I don't know how to do,please help me,thanks!\r\n"},"comment":{"url":"https://api.github.com/repos/nplexity/xmpp-file-transfer-demo/issues/comments/90348608","html_url":"https://github.com/nplexity/xmpp-file-transfer-demo/issues/15#issuecomment-90348608","issue_url":"https://api.github.com/repos/nplexity/xmpp-file-transfer-demo/issues/15","id":90348608,"user":{"login":"ZsIsMe","id":7468754,"avatar_url":"https://avatars.githubusercontent.com/u/7468754?v=3","gravatar_id":"","url":"https://api.github.com/users/ZsIsMe","html_url":"https://github.com/ZsIsMe","followers_url":"https://api.github.com/users/ZsIsMe/followers","following_url":"https://api.github.com/users/ZsIsMe/following{/other_user}","gists_url":"https://api.github.com/users/ZsIsMe/gists{/gist_id}","starred_url":"https://api.github.com/users/ZsIsMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZsIsMe/subscriptions","organizations_url":"https://api.github.com/users/ZsIsMe/orgs","repos_url":"https://api.github.com/users/ZsIsMe/repos","events_url":"https://api.github.com/users/ZsIsMe/events{/privacy}","received_events_url":"https://api.github.com/users/ZsIsMe/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T03:47:07Z","updated_at":"2015-04-07T03:47:07Z","body":"Sir, I understand what you mean!\r\nI sent to the image to myself \"zzsss@104.236.174.238/c5cff096\" then i receive the image,but the \"c5cff096\" is different ever time ,how can i know other's \"c5cff096\" staff?\r\n\r\nOh, I really sorry to bother you at dark night,have a good sleep."}}