You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Thomas Kellerer <sh...@gmx.net> on 2018/09/10 08:16:47 UTC

NB 9.0: git pull not working

When I use "Git -> Remote -> Pull from upstream" I get an error "cannot open git-upload-pack" from inside NetBeans

However when I run git from the command line (Windows 10) everything works fine. 

This only happens with one repository, other repository in our company work fine from within NetBeans.

I am a noob when it comes to git. 
Do I need to configure something in NetBeans to make this work? 

Regards
Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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


Re: NB 9.0: git pull not working

Posted by Neil C Smith <ne...@apache.org>.
On Fri, 14 Sep 2018 at 12:04, Thomas Kellerer <sh...@gmx.net> wrote:
>
> I was using the one from https://adoptopenjdk.net/ as well as the one from http://jdk.java.net/10/

Could also try Azul's Zulu build?  Wonder if it's
https://github.com/AdoptOpenJDK/openjdk-build/issues/469

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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


Re: NB 9.0: git pull not working

Posted by Thomas Kellerer <sh...@gmx.net>.
I was using the one from https://adoptopenjdk.net/ as well as the one from http://jdk.java.net/10/

I also had problems with Gradle (on the commandline, not in NetBEans) and the one from AdoptOpenJDK because it was not able to retrieve packages through https. 

I could fix that by copying the "cacerts" file from the OracleJDK to the AdoptOpenJDK build. 
The JDK build from jdk.java.net does not seem to need that. 

Regards
Thomas


Neil C Smith schrieb am 14.09.2018 um 10:47:
> On Fri, 14 Sep 2018 at 06:39, Thomas Kellerer <sh...@gmx.net> wrote:
>> I am using OpenJDK which in general seems to have problems initiating https request due to missing CA Certs.
> 
> Out of interest, which OpenJDK version and from where?
> 
> I've had bug reports with my platform app around this on Ubuntu,
> whereas with the exact same setup I don't have an issue with https.  I
> do however have every old NB8.2 plugin reporting as self-signed, and
> not sure if this is somehow related.
> 
> Best wishes,
> 
> Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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


Re: NB 9.0: git pull not working

Posted by Neil C Smith <ne...@apache.org>.
On Fri, 14 Sep 2018 at 06:39, Thomas Kellerer <sh...@gmx.net> wrote:
> I am using OpenJDK which in general seems to have problems initiating https request due to missing CA Certs.

Out of interest, which OpenJDK version and from where?

I've had bug reports with my platform app around this on Ubuntu,
whereas with the exact same setup I don't have an issue with https.  I
do however have every old NB8.2 plugin reporting as self-signed, and
not sure if this is somehow related.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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


Re: NB 9.0: git pull not working

Posted by Thomas Kellerer <sh...@gmx.net>.
The repository was checked out using the command line git, so it's using the same URL. 

But the answer on SO did fix this. And I think I know why this happens:

I am using OpenJDK which in general seems to have problems initiating https request due to missing CA Certs. 
NetBeans apparently uses Java classes to access the git repository and thus the https request fails, while the commandline (using the same URL) works fine. 

git config http.sslVerify false

apparently also applies to request sent from Java classes and thus the "broken" https/SSL configuration in OpenJDK does not matter.

Thanks
Thomas


Peter Nabbefeld schrieb am 10.09.2018 um 12:19:
> 
> Hello,
> 
> the error message seems to be created by git, not NetBeans - are You probably using different URLs?
> 
> Probably one of the answers presented here might help You:
> https://stackoverflow.com/questions/7077016/how-can-i-resolvecan-not-open-git-upload-pack-error-in-eclipse
> 
> Kind regards
> Peter
> 
> 
> Am 10.09.18 um 10:16 schrieb Thomas Kellerer:
>> When I use "Git -> Remote -> Pull from upstream" I get an error "cannot open git-upload-pack" from inside NetBeans
>>
>> However when I run git from the command line (Windows 10) everything works fine.
>>
>> This only happens with one repository, other repository in our company work fine from within NetBeans.
>>
>> I am a noob when it comes to git.
>> Do I need to configure something in NetBeans to make this work?
>>
>> Regards
>> Thomas
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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


Re: NB 9.0: git pull not working

Posted by Peter Nabbefeld <pe...@gmx.de>.
Hello,

the error message seems to be created by git, not NetBeans - are You 
probably using different URLs?

Probably one of the answers presented here might help You:
https://stackoverflow.com/questions/7077016/how-can-i-resolvecan-not-open-git-upload-pack-error-in-eclipse

Kind regards
Peter


Am 10.09.18 um 10:16 schrieb Thomas Kellerer:
> When I use "Git -> Remote -> Pull from upstream" I get an error "cannot open git-upload-pack" from inside NetBeans
>
> However when I run git from the command line (Windows 10) everything works fine.
>
> This only happens with one repository, other repository in our company work fine from within NetBeans.
>
> I am a noob when it comes to git.
> Do I need to configure something in NetBeans to make this work?
>
> Regards
> Thomas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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