Changing SSH port on server add causes failure #71

Closed
opened 2025-11-20 04:12:20 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @gdeeble on GitHub (Oct 18, 2025).

Have you read and understood the above guidelines?

Yes

📝 Provide a clear and concise description of the issue.

When you are adding a server, if you happen to switch to the port field because you are tabbing, you might end up trying to type your password. When doing this, it causes the field to switch to text and causes the add to fail.

🔄 Steps to reproduce the issue.

  1. Click Add Server
  2. Fill out the form and tab through
  3. Accidentally try to type in the port field
  4. Click Add Server
  5. See Error

Paste the full error output (if available).

Oct 18 13:05:07 pve-scripts-local npm[2878]: Invalid prisma.server.create() invocation:
Oct 18 13:05:07 pve-scripts-local npm[2878]: {
Oct 18 13:05:07 pve-scripts-local npm[2878]: data: {
Oct 18 13:05:07 pve-scripts-local npm[2878]: name: "Server",
Oct 18 13:05:07 pve-scripts-local npm[2878]: ip: "x.x.x.x",
Oct 18 13:05:07 pve-scripts-local npm[2878]: user: "redacted",
Oct 18 13:05:07 pve-scripts-local npm[2878]: password: "redacted",
Oct 18 13:05:07 pve-scripts-local npm[2878]: auth_type: "password",
Oct 18 13:05:07 pve-scripts-local npm[2878]: ssh_key: "",
Oct 18 13:05:07 pve-scripts-local npm[2878]: ssh_key_passphrase: "",
Oct 18 13:05:07 pve-scripts-local npm[2878]: ssh_port: "22",
Oct 18 13:05:07 pve-scripts-local npm[2878]: ~~~~
Oct 18 13:05:07 pve-scripts-local npm[2878]: ssh_key_path: null,
Oct 18 13:05:07 pve-scripts-local npm[2878]: key_generated: false,
Oct 18 13:05:07 pve-scripts-local npm[2878]: color: "#3b82f6"
Oct 18 13:05:07 pve-scripts-local npm[2878]: }
Oct 18 13:05:07 pve-scripts-local npm[2878]: }

🖼️ Additional context (optional).

This might be a UI issue but it might be worth adding a try except to try to cast the port on the backend as well because when I did it, I put in 22 as expected and it still failed after.

Originally created by @gdeeble on GitHub (Oct 18, 2025). ### ✅ Have you read and understood the above guidelines? Yes ### 📝 Provide a clear and concise description of the issue. When you are adding a server, if you happen to switch to the port field because you are tabbing, you might end up trying to type your password. When doing this, it causes the field to switch to text and causes the add to fail. ### 🔄 Steps to reproduce the issue. 1) Click Add Server 2) Fill out the form and tab through 3) Accidentally try to type in the port field 4) Click Add Server 5) See Error ### ❌ Paste the full error output (if available). Oct 18 13:05:07 pve-scripts-local npm[2878]: Invalid `prisma.server.create()` invocation: Oct 18 13:05:07 pve-scripts-local npm[2878]: { Oct 18 13:05:07 pve-scripts-local npm[2878]: data: { Oct 18 13:05:07 pve-scripts-local npm[2878]: name: "Server", Oct 18 13:05:07 pve-scripts-local npm[2878]: ip: "x.x.x.x", Oct 18 13:05:07 pve-scripts-local npm[2878]: user: "redacted", Oct 18 13:05:07 pve-scripts-local npm[2878]: password: "redacted", Oct 18 13:05:07 pve-scripts-local npm[2878]: auth_type: "password", Oct 18 13:05:07 pve-scripts-local npm[2878]: ssh_key: "", Oct 18 13:05:07 pve-scripts-local npm[2878]: ssh_key_passphrase: "", Oct 18 13:05:07 pve-scripts-local npm[2878]: ssh_port: "22", Oct 18 13:05:07 pve-scripts-local npm[2878]: ~~~~ Oct 18 13:05:07 pve-scripts-local npm[2878]: ssh_key_path: null, Oct 18 13:05:07 pve-scripts-local npm[2878]: key_generated: false, Oct 18 13:05:07 pve-scripts-local npm[2878]: color: "#3b82f6" Oct 18 13:05:07 pve-scripts-local npm[2878]: } Oct 18 13:05:07 pve-scripts-local npm[2878]: } ### 🖼️ Additional context (optional). This might be a UI issue but it might be worth adding a try except to try to cast the port on the backend as well because when I did it, I put in 22 as expected and it still failed after.
saavagebueno added the bug label 2025-11-20 04:12:20 -05:00
Author
Owner

@michelroegl-brunner commented on GitHub (Oct 18, 2025):

Thank you, i will address that begining of next week!

@michelroegl-brunner commented on GitHub (Oct 18, 2025): Thank you, i will address that begining of next week!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE-Local#71