winapps-org/winapps

App start fails saying the RDP port is not open

開放

#270 建立於 2024年9月23日

 (2 則留言) (0 個反應) (0 位負責人)Shell (463 個分叉)batch import
good first issue

倉庫指標

星標
 (15,020 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

The following command: timeout 5 nc -z "$RDP_IP" "$RDP_PORT" &>/dev/null; makes app startup fail, because it does not hear back over the rdp port, even though the VM is up and running RDP-server on said port.

This is also why setup.sh fails with Error 13 in some instances even though the VM is reachable through RDP. See #260. A fix should remedy both issues.

Maybe we can find an alternative to this port-check over netcat? Alternatively we could leave out the port-check entirely and just report the connection error if the rdp connection-attempt fails one step later in the connection-process.

貢獻者指南