Bug 2299253

Summary: Can not connect to Fedora 40
Product: [Fedora] Fedora Reporter: Marek Kašík <mkasik>
Component: freerdpAssignee: Simone Caronni <negativo17>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: negativo17, ngompa13, oholy, philip.wyett
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: freerdp-3.6.3-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-30 01:33:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Kašík 2024-07-22 11:33:12 UTC
FreeRDP refuses to connect to some RDP servers based on older FreeRDP code with:

[13:24:20:116] [32981:000080d5] [ERROR][com.freerdp.core.capabilities] - [rdp_read_general_capability_set]: TS_GENERAL_CAPABILITYSET::protocolVersion(0x0000) != TS_CAPS_PROTOCOLVERSION(0x0200)
[13:24:20:116] [32981:000080d5] [WARN][com.freerdp.core.capabilities] - [rdp_read_general_capability_set]: TS_GENERAL_CAPABILITYSET::protocolVersion(0x0000 assuming old FreeRDP, ignoring protocol violation.
[13:24:20:116] [32981:000080d5] [ERROR][com.freerdp.core.capabilities] - [rdp_write_general_capability_set]: TS_GENERAL_CAPABILITYSET::protocolVersion(0x0000) != TS_CAPS_PROTOCOLVERSION(0x0200)
[13:24:20:116] [32981:000080d5] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x1f07d200]: CONNECTION_STATE_CAPABILITIES_EXCHANGE_CONFIRM_ACTIVE status STATE_RUN_FAILED [-1]
[13:24:20:116] [32981:000080d5] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN_FAILED [-1]
[13:24:20:117] [32981:000080d5] [ERROR][com.freerdp.core] - [rdp_client_wait_for_activation]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

This is connection from Fedora 40 to Fedora 40 via Connections.

The commit https://github.com/FreeRDP/FreeRDP/commit/17d195b7a6d68767b963c09c53f5c04e9f39c5a6 accepts the version 0x0000. It is also present in FreeRDP 3.6.3.

Could you update FreeRDP to 3.6.3 or include the commit?

Reproducible: Always

Steps to Reproduce:
1. Enable remote connection on an updated Fedora 40 machine
2. Connect to the machine with a client using freerdp 3.6.2

Actual Results:  
Connection fails.

Expected Results:  
Connection succeed.

See https://gitlab.gnome.org/GNOME/connections/-/issues/168.

Comment 1 Fedora Update System 2024-07-26 12:14:05 UTC
FEDORA-2024-822037b6d5 (freerdp-3.6.3-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-822037b6d5

Comment 2 Fedora Update System 2024-07-27 02:26:50 UTC
FEDORA-2024-822037b6d5 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-822037b6d5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-822037b6d5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-07-30 01:33:02 UTC
FEDORA-2024-822037b6d5 (freerdp-3.6.3-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.