apache / apache/netbeans

sFTP continously prompts for password on upload

Open
#4,268 0 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 14

### What happened

Since the snap upgrade from version 13 to version 14, Netbeans no longer transparently upload the files on save.
It rather prompts for a "password for your certificate" and then for the user credentials on the server.

### How to reproduce

Create a new project, choose: Remote Website(FTP,SFTP)
Create a Remote Connection:
Enter Host Name, Username and leave Password empty
Change other settings if needed
Then click on the Test Connection" button, you should be asked for a certificate password and then for the user password on the server.
Expected behavior: A success message in a pop-up

### Did this work correctly in an earlier version?

Apache NetBeans 13

### Operating System

Ubuntu 20.04.4 LTS

### JDK

openjdk version "11.0.15" 2022-04-19 OpenJDK Runtime Environment (build 11.0.15+10-Ubuntu-0ubuntu0.20.04.1) OpenJDK 64-Bit Server VM (build 11.0.15+10-Ubuntu-0ubuntu0.20.04.1, mixed mode, sharing)

### Apache NetBeans packaging

Apache NetBeans Snap Package

### Anything else

In the meantime, I reverted to version 13 but strangely the problem still occurs after the reversion (cache related problem?)
Connection to the server using sftp in command line works transparently (no passphrase/password prompt).

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through the Remote Website (FTP,SFTP) project setup and its Remote Connection Test Connection action, comparing NetBeans 14 with version 13 and the Snap package. Done means the connection succeeds without unexpected certificate or server-password prompts and files upload transparently on save.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.