{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2431","labels_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2431/labels{/name}","comments_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2431/comments","events_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2431/events","html_url":"https://github.com/FreeRDP/FreeRDP/issues/2431","id":59347395,"number":2431,"title":"Frequent disconnections from RDP with TS Gateway","user":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars.githubusercontent.com/u/1120448?v=3","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-02-28T16:27:30Z","updated_at":"2015-06-03T05:44:12Z","closed_at":null,"body":"So recent changes have made me able to connect using TS Gateway (https://github.com/FreeRDP/FreeRDP/issues/1589), which is great. Now I'm going to complain about something else (you know how people are... :-): I get quite frequent disconnections, and even when everything works error messages are printed.\r\n\r\n```\r\n$ xfreerdp /v:CLUSTER /d:DOMAIN /u:USER /p:PASSWD /g:GW /gd:DOMAIN /gu:USER /gp:PASSWD\r\n[17:18:48:074] [24889:24890] [INFO][com.freerdp.core.gateway.tsg] - TS Gateway Connection Success\r\n[17:19:03:292] [24889:24890] [ERROR][com.freerdp.core.gateway.rts] - Receiving FlowControlAckWithDestination RTS PDU: BytesReceived: 33230 AvailableWindow: 65056\r\n[17:19:11:193] [24889:24890] [INFO][com.freerdp.client.x11] - Network disconnect!\r\n[17:19:11:193] [24889:24890] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor\r\n[17:19:11:193] [24889:24890] [ERROR][com.freerdp.core.gateway.tsg] - rpc_write failed!\r\n```\r\n\r\niTap suffers from some instability too, so maybe these are only network problems. Feel free to close if that's the case. If there's something more, please ask if you need more info."},"comment":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/comments/108199379","html_url":"https://github.com/FreeRDP/FreeRDP/issues/2431#issuecomment-108199379","issue_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2431","id":108199379,"user":{"login":"varun580","id":1101230,"avatar_url":"https://avatars.githubusercontent.com/u/1101230?v=3","gravatar_id":"","url":"https://api.github.com/users/varun580","html_url":"https://github.com/varun580","followers_url":"https://api.github.com/users/varun580/followers","following_url":"https://api.github.com/users/varun580/following{/other_user}","gists_url":"https://api.github.com/users/varun580/gists{/gist_id}","starred_url":"https://api.github.com/users/varun580/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varun580/subscriptions","organizations_url":"https://api.github.com/users/varun580/orgs","repos_url":"https://api.github.com/users/varun580/repos","events_url":"https://api.github.com/users/varun580/events{/privacy}","received_events_url":"https://api.github.com/users/varun580/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T05:44:12Z","updated_at":"2015-06-03T05:44:12Z","body":"Faced the same error \"Failed to check file descriptor\"  xfreerdp closing the connection within 2secs.\r\n Adding option  +auto-reconnect to the command  worked for me, this option makes an immediate suto reconnect as soon as the connection closes.\r\n\r\nEg command:  xfreerdp /u:varun /p:pass /g:<gateway-ip> /gd:<domaiin> /gu:varun /gp:password /sec:rdp +auto-reconnect  /f\r\n\r\n[10:28:40:291] [18851:-1477536000] [INFO][com.freerdp.core.gateway.tsg] - TS Gateway Connection Success\r\n[10:34:38:842] [18851:-1477536000] [INFO][com.freerdp.client.x11] - Network disconnect!\r\n[10:34:38:842] [18851:-1477536000] [INFO][com.freerdp.client.x11] - Attempting reconnect (1 of 20)\r\n"}}