{"action":"opened","issue":{"url":"https://api.github.com/repos/DeathCradle/Terraria-s-Dedicated-Server-Mod/issues/71","labels_url":"https://api.github.com/repos/DeathCradle/Terraria-s-Dedicated-Server-Mod/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/DeathCradle/Terraria-s-Dedicated-Server-Mod/issues/71/comments","events_url":"https://api.github.com/repos/DeathCradle/Terraria-s-Dedicated-Server-Mod/issues/71/events","html_url":"https://github.com/DeathCradle/Terraria-s-Dedicated-Server-Mod/issues/71","id":59323517,"number":71,"title":"Lost Connection / Not enough bandwidth or timed out","user":{"login":"joshhsoj1902","id":4774851,"avatar_url":"https://avatars.githubusercontent.com/u/4774851?v=3","gravatar_id":"","url":"https://api.github.com/users/joshhsoj1902","html_url":"https://github.com/joshhsoj1902","followers_url":"https://api.github.com/users/joshhsoj1902/followers","following_url":"https://api.github.com/users/joshhsoj1902/following{/other_user}","gists_url":"https://api.github.com/users/joshhsoj1902/gists{/gist_id}","starred_url":"https://api.github.com/users/joshhsoj1902/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshhsoj1902/subscriptions","organizations_url":"https://api.github.com/users/joshhsoj1902/orgs","repos_url":"https://api.github.com/users/joshhsoj1902/repos","events_url":"https://api.github.com/users/joshhsoj1902/events{/privacy}","received_events_url":"https://api.github.com/users/joshhsoj1902/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-28T03:45:01Z","updated_at":"2015-02-28T03:45:01Z","closed_at":null,"body":"I am installing TDSM for the first time and it's almost working. I can connect to the server, run around for a little while but after about a minute I am always disconnected with the error \"Lost Connection\". In the server logs I see the error \"02/28/2015 01:57:39 ?> 192.168.0.101:60837 @ 0: disconnecting for: Not enough bandwidth or timed out.\"\r\n\r\nI started looking around the code here, and I found that the error is only written out in Connection.cs when the QueueSize gets to big.\r\n\r\n        bool CheckQuota()\r\n        {\r\n            if (QueueSize >= /*Program.properties.SendQueueQuota*/ 1024 * 1024)\r\n            {\r\n                // this is an awful hack but I was in a hurry\r\n                var cc = (ClientConnection)this;\r\n                cc.Kick(\"Not enough bandwidth or timed out.\");\r\n                return false;\r\n            }\r\n\r\n            return true;\r\n        }\r\n\r\nI don't have an environment that I can use to compile .Net code, so I can't try debugging things. I can see that before the new rebind Program.properties.SendQueueQuota was used. I was hoping to try out an older version of TDSM just to see if it worked but i couldn't find it anywhere...\r\n\r\nIf there are any other details that you might need from me let me know! (I also would have no issue running an exe with debugging added)"}}