{"action":"created","issue":{"url":"https://api.github.com/repos/gggeek/phpxmlrpc/issues/35","repository_url":"https://api.github.com/repos/gggeek/phpxmlrpc","labels_url":"https://api.github.com/repos/gggeek/phpxmlrpc/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/gggeek/phpxmlrpc/issues/35/comments","events_url":"https://api.github.com/repos/gggeek/phpxmlrpc/issues/35/events","html_url":"https://github.com/gggeek/phpxmlrpc/issues/35","id":142647309,"number":35,"title":"XML error: Invalid document end at line 3, column 2096984","user":{"login":"DianonForce","id":10837706,"avatar_url":"https://avatars.githubusercontent.com/u/10837706?v=3","gravatar_id":"","url":"https://api.github.com/users/DianonForce","html_url":"https://github.com/DianonForce","followers_url":"https://api.github.com/users/DianonForce/followers","following_url":"https://api.github.com/users/DianonForce/following{/other_user}","gists_url":"https://api.github.com/users/DianonForce/gists{/gist_id}","starred_url":"https://api.github.com/users/DianonForce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DianonForce/subscriptions","organizations_url":"https://api.github.com/users/DianonForce/orgs","repos_url":"https://api.github.com/users/DianonForce/repos","events_url":"https://api.github.com/users/DianonForce/events{/privacy}","received_events_url":"https://api.github.com/users/DianonForce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-22T13:18:31Z","updated_at":"2016-03-22T13:53:49Z","closed_at":null,"body":"Hi, \r\ni have a working XML-RPC client connection with our server. As long as i only rquest a few data, everything is fine, but if i request a large ammount of data, i ever get the same error.\r\n\r\n```\r\nCode: 2\r\nReason: 'Invalid return payload: enable debugging to examine incoming payload (XML error: Invalid document end at line 3, column 2096984)'\r\n```\r\n\r\nNo matter, wich method i use, as long as the response is a larger dataset, this error occure.\r\nI tried diffrent servers (Synology Nas, Xammp on my pc) and also tried diffrent connections (cabel- and mobilenetwork), so i don't think it's a network problem. \r\nI also run a wireshark on the connection. It looks like the client close the connection after some time.\r\n\r\nI don't know if this is a error in the script or a miss configuration of my php/apache, maybe you can point my nose at the right ."},"comment":{"url":"https://api.github.com/repos/gggeek/phpxmlrpc/issues/comments/199826066","html_url":"https://github.com/gggeek/phpxmlrpc/issues/35#issuecomment-199826066","issue_url":"https://api.github.com/repos/gggeek/phpxmlrpc/issues/35","id":199826066,"user":{"login":"gggeek","id":308634,"avatar_url":"https://avatars.githubusercontent.com/u/308634?v=3","gravatar_id":"","url":"https://api.github.com/users/gggeek","html_url":"https://github.com/gggeek","followers_url":"https://api.github.com/users/gggeek/followers","following_url":"https://api.github.com/users/gggeek/following{/other_user}","gists_url":"https://api.github.com/users/gggeek/gists{/gist_id}","starred_url":"https://api.github.com/users/gggeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gggeek/subscriptions","organizations_url":"https://api.github.com/users/gggeek/orgs","repos_url":"https://api.github.com/users/gggeek/repos","events_url":"https://api.github.com/users/gggeek/events{/privacy}","received_events_url":"https://api.github.com/users/gggeek/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T13:53:49Z","updated_at":"2016-03-22T13:53:49Z","body":"It might be different things: timeouts, or php running out of memory. I think that if it was an out-of-memory, you would not see the end of the php script.\r\n\r\nIs the xmlrpc-server you are testing against a public one, so that I might investigate as well?\r\n\r\nps: I surmise that you are setting a high value to the timeout parameter of the 'send' call ?"}}