Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006] #76

Closed
MacroHard-Winux opened this issue Feb 7, 2024 · 9 comments
Closed

Comments

@MacroHard-Winux
Copy link

MacroHard-Winux commented Feb 7, 2024

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
Copy link
Author

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
Copy link

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
Copy link
Author

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
Copy link
Member

LDprg commented Feb 22, 2024

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

@LDprg LDprg closed this as completed Feb 22, 2024
@disclaimedication
Copy link

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
Copy link
Member

LDprg commented Mar 22, 2024

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

@disclaimedication
Copy link

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.

@vetens
Copy link

vetens commented Aug 9, 2024

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.

@DaRandomCube
Copy link

DaRandomCube commented Sep 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants