winapps icon indicating copy to clipboard operation
winapps copied to clipboard

freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]

Open MacroHard-Winux opened this issue 2 years ago • 9 comments

Info Host: Ubuntu 22.04 guest: Windows 10 Virt-manager version: 4.0.0

when running bin/winapps check:

[16:12:57:273] [414333:414334] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[16:12:57:273] [414333:414334] [ERROR][com.freerdp.core] - failed to connect to 192.168.122.188 

You need to accept the security cert the first time you connect (with 'check') security cert did not pop up both on Linux nor Windows VM

Not enabling RDP in the Windows VM RDP is enabled Screenshot_20240207_161855

Not being able to connect to the IP of the VM Win app found the IP of the VM and it is the correct IP "failed to connect to 192.168.122.188"

Incorrect user credentials in ~/.config/winapps/winapps.conf I have checked and I have the correct login and password image RDP_USER="Ascend" RDP_PASS="31neCr@ftVM" #RDP_DOMAIN="MYDOMAIN" #RDP_IP="192.168.123.111" #RDP_SCALE=100 #RDP_FLAGS="" #MULTIMON="true" DEBUG="true"

Not merging install/RDPApps.reg into the VM I did merge the reg into the VM I did it 2 more times to make sure

MacroHard-Winux avatar Feb 07 '24 05:02 MacroHard-Winux

Update: after I disabled Firewall on Windows 10 Guest, there is not a new error when I run bin/winapps check:

[17:36:54:151] [7671:7672] [ERROR][com.freerdp.core] - transport_write:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[17:36:54:153] [7671:7672] [ERROR][com.freerdp.core.transport] - BIO_should_retry returned a system error 32: Broken pipe
[17:36:54:153] [7671:7672] [ERROR][com.freerdp.core] - transport_write:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[17:36:54:153] [7671:7672] [ERROR][com.freerdp.core] - freerdp_post_connect failed```

MacroHard-Winux avatar Feb 08 '24 08:02 MacroHard-Winux

Check the IP address, I had this error BIO_should_retry returned a system error 32: Broken pipe after the IP address changed

SakiiCode avatar Feb 13 '24 14:02 SakiiCode

I think it is just a one-off thing. Since I redownloaded the ISO and reinstall the VM and it is now fixed :/ The bug seems unreproducible

MacroHard-Winux avatar Feb 21 '24 04:02 MacroHard-Winux

I will close the issue. Feel free to reopen if the problem reappears.

LDprg avatar Feb 22 '24 05:02 LDprg

I think it is just a one-off thing. Since I redownloaded the ISO and reinstall the VM and it is now fixed :/ The bug seems unreproducible

I still face the same issue. image

disclaimedication avatar Mar 22 '24 09:03 disclaimedication

Generally speaking, it seems like a network issue. Try to test your connection tp the vm (with for example a ping).

LDprg avatar Mar 22 '24 09:03 LDprg

Generally speaking, it seems like a network issue. Try to test your connection tp the vm (with for example a ping).

Apologies, yes, it was a network issue. It is fixed now. Thanks for the prompt response.

disclaimedication avatar Mar 22 '24 09:03 disclaimedication

I seem to be having the same issue, with a linux client and windows 10 server, see the (redacted) screenshot: freerdp_issue_redacted my client firewall has already been disabled, and as you can see from the ping, it is not a network issue either.

vetens avatar Aug 09 '24 15:08 vetens

the problem reappeared with me, how do i fix it without reinstalling the vm? and how do i check the connection with vm using ping? update; i tried to ping the ipv4 of the vm and there arent much results, seems like something is failing image

DaRandomCube avatar Sep 19 '24 18:09 DaRandomCube