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-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@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-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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

Reply via email to