{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2989","repository_url":"https://api.github.com/repos/FreeRDP/FreeRDP","labels_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2989/labels{/name}","comments_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2989/comments","events_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2989/events","html_url":"https://github.com/FreeRDP/FreeRDP/issues/2989","id":119001141,"number":2989,"title":"xfreerdp will random hang when it faces network disconnect or sign out from the terminal server","user":{"login":"RexFan","id":13547707,"avatar_url":"https://avatars.githubusercontent.com/u/13547707?v=3","gravatar_id":"","url":"https://api.github.com/users/RexFan","html_url":"https://github.com/RexFan","followers_url":"https://api.github.com/users/RexFan/followers","following_url":"https://api.github.com/users/RexFan/following{/other_user}","gists_url":"https://api.github.com/users/RexFan/gists{/gist_id}","starred_url":"https://api.github.com/users/RexFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RexFan/subscriptions","organizations_url":"https://api.github.com/users/RexFan/orgs","repos_url":"https://api.github.com/users/RexFan/repos","events_url":"https://api.github.com/users/RexFan/events{/privacy}","received_events_url":"https://api.github.com/users/RexFan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-26T09:07:12Z","updated_at":"2016-05-31T14:21:24Z","closed_at":null,"body":"Dear all,\r\n\r\nI have some problems about xfreerdp hang.\r\n\r\nHere is my environment.\r\n\r\n### Client\r\n```\r\npi@raspberrypi ~ $ uname -a\r\nLinux raspberrypi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l GNU/Linux\r\npi@raspberrypi ~ $ cat /proc/version\r\nLinux version 4.1.7-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015\r\npi@raspberrypi ~ $ cat /etc/*release\r\nPRETTY_NAME=\"Raspbian GNU/Linux 8 (jessie)\"\r\nNAME=\"Raspbian GNU/Linux\"\r\nVERSION_ID=\"8\"\r\nVERSION=\"8 (jessie)\"\r\nID=raspbian\r\nID_LIKE=debian\r\nHOME_URL=\"http://www.raspbian.org/\"\r\nSUPPORT_URL=\"http://www.raspbian.org/RaspbianForums\"\r\nBUG_REPORT_URL=\"http://www.raspbian.org/RaspbianBugs\"\r\n```\r\n\r\n### Terminal Server\r\n```\r\nServer version: Windows Server 2012 R2\r\n```\r\n\r\n### xfreerdp command\r\n```\r\nxfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /sound:sys:pulse /microphone:sys:pulse /v:x.x.x.x\r\n```\r\n\r\nSometimes, when I disconnect from the terminal server or the client face the network disconnect issue, the xfreerdp will hang and will not close even I wait for a long time.\r\n\r\nThe console shows below lines which almost same as xfreerdp not hang.\r\n```\r\npi@raspberrypi ~ $ xfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /sound:sys:pulse /microphone:sys:pulse /v:10.110.20.60\r\n[15:07:13:710] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr\r\n[15:07:13:711] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd\r\n[15:07:13:711] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel drdynvc\r\n[15:07:13:734] [1767:1768] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER\r\n[15:07:13:996] [1767:1768] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin\r\n[15:07:13:999] [1767:1773] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive (static)\r\n[15:07:13:004] [1767:1773] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS1 (type=8 id=1)\r\n[15:07:20:788] [1767:1771] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS1 (type=8 id=1)\r\n[15:18:43:548] [1767:1768] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.\r\n[15:18:43:610] [1767:1768] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3\r\n```\r\n\r\nThe only difference is the console do not release when xfreerdp hang.\r\n\r\nCan anyone help to solve this problem?\r\n\r\nMany thanks.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/comments/222703589","html_url":"https://github.com/FreeRDP/FreeRDP/issues/2989#issuecomment-222703589","issue_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2989","id":222703589,"user":{"login":"crsll","id":19667070,"avatar_url":"https://avatars.githubusercontent.com/u/19667070?v=3","gravatar_id":"","url":"https://api.github.com/users/crsll","html_url":"https://github.com/crsll","followers_url":"https://api.github.com/users/crsll/followers","following_url":"https://api.github.com/users/crsll/following{/other_user}","gists_url":"https://api.github.com/users/crsll/gists{/gist_id}","starred_url":"https://api.github.com/users/crsll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crsll/subscriptions","organizations_url":"https://api.github.com/users/crsll/orgs","repos_url":"https://api.github.com/users/crsll/repos","events_url":"https://api.github.com/users/crsll/events{/privacy}","received_events_url":"https://api.github.com/users/crsll/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T14:21:24Z","updated_at":"2016-05-31T14:21:24Z","body":"Got this problem too, when server begins shutdown process during logon, we got ERRINFO_LOGOFF_BY_USER (0x0000000C) and permanent hang in freerdp_connect()"}}
{"actor":{"display_login":"crsll"}}