FreeRDP Robot Connection Troubleshooting

Hello,
I found how to collect logs from FreeRDP
How to collect Verbose RDP logs required for RDP Connection issue - News / Knowledge Base - UiPath Community Forum

Anyone tried to troubleshoot? Couldn’t find much at
https://www.freerdp.com

Found some errors after enabling logs:
[06:26:26:516] [3120:000042f4] [DEBUG][com.freerdp.core.rdp] - transport_check_fds() - -1
[06:26:26:516] [3120:000042f4] [DEBUG][com.freerdp.core] - rdp_check_fds() - -1
[06:26:26:516] [3120:000042f4] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[06:26:26:608] [3120:000042f4] [DEBUG][com.freerdp.core.update] - Alternate Secondary Drawing Order [0x0d] Frame Marker
[06:26:26:609] [3120:000042f4] [DEBUG][com.freerdp.core.update] - Alternate Secondary Drawing Order [0x0d] Frame Marker
[06:26:26:609] [3120:000042f4] [DEBUG][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_ACTIVE - rdp_recv_pdu() - -4
[06:26:26:609] [3120:000042f4] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -4
[06:26:26:609] [3120:000042f4] [DEBUG][com.freerdp.core.rdp] - transport_check_fds() - -1
[06:26:26:609] [3120:000042f4] [DEBUG][com.freerdp.core] - rdp_check_fds() - -1
[06:26:26:609] [3120:000042f4] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[06:26:26:701] [3120:000042f4] [DEBUG][com.freerdp.core.update] - Alternate Secondary Drawing Order [0x0d] Frame Marker
[06:26:26:702] [3120:000042f4] [DEBUG][com.freerdp.core.update] - Alternate Secondary Drawing Order [0x0d] Frame Marker
[06:26:26:702] [3120:000042f4] [DEBUG][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_ACTIVE - rdp_recv_pdu() - -4
[06:26:26:702] [3120:000042f4] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -4
[06:26:26:702] [3120:000042f4] [DEBUG][com.freerdp.core.rdp] - transport_check_fds() - -1
[06:26:26:702] [3120:000042f4] [DEBUG][com.freerdp.core] - rdp_check_fds() - -1
[06:26:26:702] [3120:000042f4] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0

Hi @KamilMax

Thanks for sharing the logs, but didn’t understand your issue what you are facing?

Thanks,
Srini

The issue is that after some time of Robots running on the VM, sessions stops working I see last sessions disconnected and next are not accepted. We did configuration check and this is fine. I found how to enable FreeRDP logs and saw those errors I attached above. Looking for a way to check on those errors…

1 Like

The log file shows there is definitely some issue in the protocol or the network that is causing FreeRDP to not work properly. As it seems to be getting an unexpected value (-4) when expecting a file descriptor, it might be a networking issue or it could be a problem with FreeRDP itself.

Here are a few steps for troubleshooting:

  1. Check Network Connection: Ensure that there is a stable network connection between your client and the server. Unstable network or interrupted connectivity may cause such problems.
  2. Firewall or Antivirus: Sometimes Firewall or Antivirus programs block certain connections or activities, causing unexpected behavior. Check if FreeRDP is allowed through your Firewall and Antivirus software.
  3. Reinstall or Update FreeRDP: It might be possible that some files are corrupted. Uninstalling and then reinstalling the FreeRDP can help. Also, ensure you have the most recent version and update it if necessary.
  4. Check Server Status: Ensure that the server you are trying to connect to, is running without any issues.
  5. Debugging Level: You may try to increase the debugging level of FreeRDP to get more detailed logs and that might give a clue as to what is going wrong.

If none of the above solutions work, you may need to reach out to the FreeRDP support for further assistance. Remember to include as much detail as possible (like your logs, any steps you’ve already tried, system details, etc.) when reporting the issue, to help with the troubleshooting process.

1 Like