title: Why am I getting SSL_read errors and Rpc_client_frag_read errors when trying to Remote Desktop
body: <p>I'm trying to set up a remote desktop session for monitoring specific systems at my place of work. I only have access to a Linux machine and I need to connect via a terminal server gateway. I am using FreeRDP to do this and i am using the following command to create the connection:</p>
  
  <blockquote>
    <p>xfreerdp /d:** /u:***** /p:******* /g:******.************.***
    /v:****.*********.***** /port:3389 /size:1920x1080</p>
  </blockquote>
  
  <p>I have hidden all connection details per my supervisors request however both he and I verified the correct information is entered into the fields.
  When I send the connection through I get the following error:</p>
  
  <blockquote>
    <p>Connected to ******.************.***:443</p>
    
    <p>Connected to ******.************.***:443</p>
    
    <p>TS Gateway Connection Success</p>
    
    <p>Got stub length 4 with flags 3 and called 7</p>
    
    <p>Got stub length 4 with flags 3 and called 6</p>
    
    <p>SSL_read: I/O error: connection reset by peer (104)</p>
    
    <p>Rpc_client_frag_read: error reading header</p>
  </blockquote>
  
  <p>Would anyone have any idea of what I might be missing? I have even tried adding </p>
  
  <blockquote>
    <p>/sec:rdp</p>
  </blockquote>
  
  <p>to the script and even that produced the same error</p>