winapps-org / winapps

The winapps main project, forked from https://github.com/Fmstrat/winapps/
544 stars 26 forks source link

freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006] #76

Closed MacroHard-Winux closed 4 months ago

MacroHard-Winux commented 5 months ago

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 commented 5 months ago

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```
SakiiCode commented 5 months ago

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

MacroHard-Winux commented 4 months ago

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

LDprg commented 4 months ago

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

disclaimedication commented 3 months ago

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

LDprg commented 3 months ago

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

disclaimedication commented 3 months ago

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.