On Wed, Feb 1, 2017 at 3:42 PM Marcus D. Hanwell <marcus.hanw...@kitware.com>
wrote:

> On Wed, Feb 1, 2017 at 9:52 AM, Tanuj Kumar <kmrtnjs...@gmail.com> wrote:
> > Hello everyone
> > I am trying to build Avo2 on my system, which uses Ubuntu 16.04.
> > I am unable to execute the command
> >
> > git submodule update --init
> >
> > required to update the repo. The error that I get is:
> >
> > Cloning into 'thirdparty/qttesting'...
> > fatal: unable to access 'https://paraview.org/QtTesting.git/': SSL:
> > certificate subject name (*.kitware.com) does not match target host name
> > 'paraview.org'
> > fatal: clone of 'git://paraview.org/QtTesting.git' into submodule path
> > 'thirdparty/qttesting' failed
> >
> I don't know how you ended up with https as the protocol, checking the
> .gitmodules file it is using git://paraview.org/QtTesting.git, try a
> git submodule sync to sync the submodule URLs before the update. There
> is an updated repo location I can substitute that probably does offer
> https.
>
> Marcus
>


I ended up with https with my protocol because I'd used the command
git config --global url."https://".insteadOf git://

some time ago, because I was unable to download the openchemistry repos on
my computer(Not sure but it could be because of the restrictions on
internet here)
This command applied to all git protocols. Seeing as this was causing this
issue, I cleared the file ~/.gitconfig, and added the following lines to it
(source)
<http://www.paraview.org/pipermail/paraview/2013-November/029765.html>

[url "http://paraview.org/ParaView.git";]
    insteadOf = git://paraview.org/ParaView.git

[url "http://vtk.org/VTK.git";]
    insteadOf = git://vtk.org/VTK.git

[url "http://paraview.org/VisItBridge.git";]
    insteadOf = git://paraview.org/VisItBridge.git

[url "http://public.kitware.com/protobuf.git";]
    insteadOf = git://public.kitware.com/protobuf.git

[url "http://paraview.org/QtTesting.git";]
    insteadOf = git://paraview.org/QtTesting.git

[url "http://paraview.org/IceT.git";]
    insteadOf = git://paraview.org/IceT.git

[url "http://github.com/OpenChemistry";]
    insteadOf = git://github.com/OpenChemistry

[url "http://github.com/Kitware/VTK.git";]
    insteadOf = git://github.com/Kitware/VTK.git


So that https protocol didn't apply to all commands, especially for QtTesting

However, the certificate issue shouldn't be there, should it?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to