[GH-ISSUE #97] Unhandled Error when connecting, if port is defined in both Address Field and Port Field #2962

Closed
opened 2026-03-13 00:29:22 +03:00 by kerem · 1 comment
Owner

Originally created by @snkls on GitHub (Mar 17, 2021).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/97

Originally assigned to: @VShawn on GitHub.

Description
I copied a rdp-shortcuts data (address incl. Port) straight into the address field of a new PRemoteM-Connection-Element and tried to connect. Got an Error like
"Value does not fall within the expected range." (see screenshot 1)

To Reproduce
Steps to reproduce the behavior:

  1. Create new rdp Connection
  2. Add a Port to the Address-Field, as well as the Port-Field (see screenshot 2)
  3. Save the connection and try to connect
  4. See error

Expected behavior
Either a Warning or Input-Error when specifiyng the Port in the wrong field or a proper handling of the error when connecting.

Screenshots
grafik
grafik

Desktop (please complete the following information):

  • OS: Win10
  • PRemoteM Version 0.5.8.2101282043

Additional context
low prio from my pov

Originally created by @snkls on GitHub (Mar 17, 2021). Original GitHub issue: https://github.com/1Remote/1Remote/issues/97 Originally assigned to: @VShawn on GitHub. **Description** I copied a rdp-shortcuts data (address incl. Port) straight into the address field of a new PRemoteM-Connection-Element and tried to connect. Got an Error like "Value does not fall within the expected range." (see screenshot 1) **To Reproduce** Steps to reproduce the behavior: 1. Create new rdp Connection 2. Add a Port to the Address-Field, as well as the Port-Field (see screenshot 2) 3. Save the connection and try to connect 4. See error **Expected behavior** Either a Warning or Input-Error when specifiyng the Port in the wrong field or a proper handling of the error when connecting. **Screenshots** ![grafik](https://user-images.githubusercontent.com/58400388/111514159-c14bc080-8751-11eb-98db-1533414a31ee.png) ![grafik](https://user-images.githubusercontent.com/58400388/111514609-30c1b000-8752-11eb-8e5c-c835b8b59792.png) **Desktop (please complete the following information):** - OS: Win10 - PRemoteM Version 0.5.8.2101282043 **Additional context** low prio from my pov
kerem 2026-03-13 00:29:22 +03:00
Author
Owner

@VShawn commented on GitHub (Mar 18, 2021):

Thanks for reporting the issue.

I knew the best solution it to prevent uset input a error address , but I fix this by try ... catch as a quick fix.

<!-- gh-comment-id:801932815 --> @VShawn commented on GitHub (Mar 18, 2021): Thanks for reporting the issue. I knew the best solution it to prevent uset input a error address , but I fix this by `try ... catch` as a quick fix.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#2962
No description provided.