[jira] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-09 Thread Andoni Diaz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17471439#comment-17471439
 ] 

Andoni Diaz commented on NETBEANS-6364:
---

It's a good idea but not feasible due to the nature of the Git server. The Git 
server behaves differently depending on the port / service you use. Of the 
three available (ssh / git / https) the only one that allows access control per 
user is ssh.

Anyway I can use the command line to touch things.

However, I hope that the information provided can be used to propose an update 
of the ssh clients.

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Assignee: José Carlos Macedo
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-08 Thread Thomas Schapitz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17471122#comment-17471122
 ] 

Thomas Schapitz commented on NETBEANS-6364:
---

OK, in that case, all that SSL stuff might not be of any help at all.

Is it possible, to switch protocol? Does 'stackovershow' support connecting by 
https instead of SSH? This would not fix the SSH issue, but might make your 
setup working.

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Assignee: José Carlos Macedo
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-08 Thread Andoni Diaz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17471116#comment-17471116
 ] 

Andoni Diaz commented on NETBEANS-6364:
---

I have verified that Netbeans uses the jsch library to connect to ssh servers. 
This library was last modified in 2018.

Following the manufacturer's instructions (http://www.jcraft.com/jsch/) I have 
used only the keys allowed for the connection. I have generated a pair of 
ecdsa-sha2-nistp521 keys to perform the client server test. Where the client is 
Netbeans through the jsch library and the server is a pc with openssh.

Again I can log in with the command line clients, and putty and bitvise using 
that generated key. But I can't connect with Netbeans which indicates that the 
key is invalid.

At the very least the error message displayed by Netbeans seems wrong. And I 
would also say that there is something broken in that jsch library.

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Assignee: José Carlos Macedo
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-07 Thread Thomas Schapitz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17470952#comment-17470952
 ] 

Thomas Schapitz commented on NETBEANS-6364:
---

Hi Andoni,

there are a number of ways you can analyse this.
 * if you are comfortable using the command line, try to load/display your key 
using the java keytool.
 * else, you might try to install the Java ME Keystore Management Plugin from 
the Netbeans 8.2 Plugin Portal. Note, that in this case there is the 
complication, that you need to have a JDK <= 13 installed somewhere on your 
disk, because you need unpack200. (It needs to be present, so you can pick, but 
you don't need to switch your JDK you are using for execution)

Using that, you can find out, whether your private key can be loaded at all 
using java. Note, that without additional security libraries installed, Java 
and its keytool support just 2 keystore types: JKS (a java specific type of 
keystore) and PKCS12 (.p12 or pfx).
 * You might install the plugin "SSL Certificate Exception" (Netbeans Plugin 
Portal). This is sort of a band aid, to fix certain certificate validation 
issues, especially expired server certificates, broken trust chains, mismatched 
subjects and similar. The side effect is, that it displays more informations 
regarding the error. However, this focuses mostly on the server side 
certificates.
 * Finally you may try to activate SSL debugging. For this, you will need to  
add  *{-}-J{-}-Djavax.net.debug=all* to the start parameters of Netbeans; 
either in etc/netbeans.conf, or directly on the command line. This will spam 
your sysout with ssl related output, that might indicate the reason, what is 
invalid. Details: 
https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html

 

 

 

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Assignee: José Carlos Macedo
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-07 Thread Andoni Diaz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17470646#comment-17470646
 ] 

Andoni Diaz commented on NETBEANS-6364:
---

Of course, I followed the " breadcrumbs of open issue button click" and it was 
all in spanish so I didn't see this coming.

 

Putting the fun aside the struggle is real. The IDE indicates that for the 
current configuration the private key is invalid. It is an ed25519 key but, I 
have also tried converting it to PEM format and other formats and I do not 
think that is the reason. The only information I have is the one attached to 
the screenshot, the port 443 is correct I'm multiplexing it. It said the 
private key is invalid, but this is not true because, I can connect with this 
key using other clients.

 

However, when I use the same configuration, from the Git-Bash, in the directory 
where the application is located, it works correctly. The firewall is open and 
I can connect from IDE to update, plugins, test connection, etc.

 

I have made different types of security and port configurations but I always 
end up in the IDE and I do not see traces with extra information.

 

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-6364) No es capaz de conectarse al repositorio

2022-01-06 Thread Thomas Schapitz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17470255#comment-17470255
 ] 

Thomas Schapitz commented on NETBEANS-6364:
---

Hablamos ingles, per favor?

Please use english!

> No es capaz de conectarse al repositorio
> 
>
> Key: NETBEANS-6364
> URL: https://issues.apache.org/jira/browse/NETBEANS-6364
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.4, 12.6
>Reporter: Andoni Diaz
>Priority: Blocker
> Attachments: image-2022-01-05-18-10-39-270.png, 
> image-2022-01-05-18-14-30-153.png
>
>
> El IDE indica que para la configuración actual la clave privada es invalida. 
> Es una clave ed25519 pero, también he probado convirtiéndola a formato PEM y 
> otros formatos y no creo que sea el motivo.
> La única información que poseo es la que adjunto en el pantallazo (el puerto 
> es correcto). 
> !image-2022-01-05-18-10-39-270.png!
>  
> Sin embargo, cuando utilizo la misma configuración, desde el Git-Bash, en el 
> directorio donde se encuentra la aplicación, funciona correctamente:
> !image-2022-01-05-18-14-30-153.png!
> He realizado deferentes tipos de configuraciones de seguridad y puertos pero 
> termino siempre en el IDE y no veo trazas con información extra.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists