Cuesta shows connected when access is denied
1.0.8 / 2.0.0
Cuesta shows connected even when access is denied by RDP.
[INFO]2024/05/23 11:02:23 x224.go:267: TYPE_RDP_NEG_RSP
[INFO]2024/05/23 11:02:23 x224.go:299: *** NLA Security selected ***
[INFO]2024/05/23 11:02:23 ntlm.go:398: serverName=SIRENIA
[INFO]2024/05/23 11:02:23 ntlm.go:413: user: rpa01, passwd:1234
2024-05-23T11:02:23.155+0200 DEBUG kwanza/kwanza.go:215 Merged items {"count": 1}
2024-05-23T11:02:23.155+0200 DEBUG cmd/runner.go:254 Updating statuses {"count": 1}
[ERROR]2024/05/23 11:02:24 tpkt.go:102: Read: remote error: tls: access denied
[ERROR]2024/05/23 11:02:24 x224.go:302: start NLA failed: read remote error: tls: access denied
2024-05-23T11:02:24.009+0200 WARN connection/rdp.go:126 [pdu]error {"error": "remote error: tls: access denied"}
gitlab.com/sirenia/pistia/connection.(*rdp).Connect.func1
C:/GitLab-Runner/builds/sirenia/pistia/connection/rdp.go:126
reflect.Value.call
C:/Program Files/Go/src/reflect/value.go:596
reflect.Value.Call
C:/Program Files/Go/src/reflect/value.go:380
github.com/tomatome/grdp/emission.(*Emitter).callListeners.func1
C:/GitLab-Runner/builds/sirenia/pistia/vendor/github.com/tomatome/grdp/emission/emitter.go:226
2024-05-23T11:02:24.010+0200 INFO connection/connector.go:221 Retrying connection {"error": "remote error: tls: access denied"}
2024-05-23T11:02:24.010+0200 DEBUG cmd/runner.go:100 Updating status {"login": "Login{Domain: , UserSecret: SecretReference{Secret: cp7g9elipdls73c8u9ng, Property: rpa01-username}, PasswordSecret: SecretReference{Secret: cp7g9elipdls73c8u9ng, Property: rpa01-password}, Host: , Port: 0}", "error": "remote error: tls: access denied"}
2024-05-23T11:02:52.999+0200 DEBUG kwanza/kwanza.go:329 About to provide item {"typeName": "desktop_login_status", "item": ""}
2024-05-23T11:02:53.043+0200 DEBUG kwanza/kwanza.go:215 Merged items {"count": 1}
2024-05-23T11:02:53.043+0200 DEBUG cmd/runner.go:254 Updating statuses {"count": 1}
2024-05-23T11:02:59.118+0200 DEBUG kwanza/kwanza.go:329 About to provide item {"typeName": "desktop_login_status", "item": ""}
2024-05-23T11:02:59.158+0200 DEBUG kwanza/kwanza.go:215 Merged items {"count": 1}
2024-05-23T11:02:59.158+0200 DEBUG cmd/runner.go:254 Updating statuses {"count": 1}