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 hangs after applying a changed host key #10152
Comments
|
Thank you, I'm newbie with thread apply all bt
Ah, yes, that's easier. Okay, I'll try to reproduce it today-tomorrow with the TRACE log level. |
I've successfully reproduced the problem. TRACE logs
|
If I wait a bit longer before click the "Close" button, I get an infinite loop of TRACE logs + gdb
|
@progxaker the interesting part is that it retries |
@progxaker rereading this issue, are you sure the connection did already work? |
Hi @akallabeth. I think yes, it did, but I'll check again to be sure. Do I understand correctly that it will be enough to just click "Permanent" once the host key window appears and then see if the connection is established, or will FreePRD keep trying to starting up an AVD instance? |
@progxaker yes, that accepts the certificate permanently.
so it should only try to start an instance if it was shut down before. |
@akallabeth okay, I've tested with an AVD disabled and instantly clicking the "Permanent" button. Everything works as we expect it to. |
Describe the bug
When connecting to a disabled AVD instance (when the retry mechanism tries to enable it), a new host key warning window pops up.
I noticed it after 3.5 minutes, clicked the "Permanent" button, and the process hung.
To Reproduce
Steps to reproduce the behavior:
Unfortunately, I can't reproduce this again as it requires changing the host key, but I don't have the authority to do so.
Perhaps I can insert some random key into the FreeRDP code to trigger the key change warning, and try again.
Expected behavior
Since I've only waited 3.5 minutes, there's not enough time before the token expires, so I think we should continue the connection process.
Screenshots
Application details
FreeRDP version (
xfreerdp /version
):This is FreeRDP version 3.5.1-dev0 (c24011b8c)
Command line used:
sdl-freerdp file.rdpw /gateway:type:arm /f /u:'<email>' /p:'<password>' /network:auto /auto-reconnect -decorations
Output of
xfreerdp /buildconfig
Build configuration
OS version connecting to (server side): Windows 11
If available the log output from a run with
/log-level:trace 2>&1 | tee log.txt
: N/AIf you built it yourself add some notes which tag/commit/branch you have used, also your cmake parameters and
compiler can help:
Build inputs
Environment (please complete the following information):
Additional context
Logs
gdb bt full
ps output
The text was updated successfully, but these errors were encountered: