git pull fails because of "Errors during submodule fetch: enmapbox/qgispluginsupport"

Issue #1103 resolved
Andreas Rabe created an issue

(base) D:\source\QGISPlugIns\enmap-box>git pull
remote: Enumerating objects: 33, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 33 (delta 17), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (33/33), 8.29 KiB | 69.00 KiB/s, done.
From bitbucket.org:hu-geomatics/enmap-box
   70202ac78..e68b859e4  develop    -> origin/develop
Fetching submodule enmapbox/apps/lmuapps
Fetching submodule enmapbox/qgispluginsupport
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
Errors during submodule fetch:
        enmapbox/qgispluginsupport
        enmapbox/qgispluginsupport

Official response

  • Benjamin Jakimow

    An outdated submodule url prevents the recursing pull (reason: https://github.blog/2021-09-01-improving-git-protocol-security-github/).

    This one worked in my case:

    1. git pull --no-recurse-submodules to updates the EnMAP-Box repo only, including the .gitmodules with the repaired url's
    2. git submodule sync tells your .git folder which urls are to use
    3. git pull pull including submodules as well (if EnMAP-Box repo was cloned with --recurse-submodules only!)

    Step 1 and 2 are required only to update your local git conf to the new pull urls, which has changed from
    url = git://github.com/EnMAP-Box/qgispluginsupport.git to
    url = https://github.com/EnMAP-Box/qgispluginsupport.git

Comments (6)

  1. Andreas Rabe reporter

    Still get an error:

    (base) D:\source\QGISPlugIns\enmap-box>git submodule sync
    Synchronizing submodule url for 'enmapbox/apps/lmuapps'
    Synchronizing submodule url for 'enmapbox/qgispluginsupport'
    
    (base) D:\source\QGISPlugIns\enmap-box>git pull
    Fetching submodule enmapbox/apps/lmuapps
    Fetching submodule enmapbox/qgispluginsupport
    fatal: remote error:
      The unauthenticated git protocol on port 9418 is no longer supported.
    Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
    Errors during submodule fetch:
            enmapbox/qgispluginsupport
    

  2. Benjamin Jakimow

    An outdated submodule url prevents the recursing pull (reason: https://github.blog/2021-09-01-improving-git-protocol-security-github/).

    This one worked in my case:

    1. git pull --no-recurse-submodules to updates the EnMAP-Box repo only, including the .gitmodules with the repaired url's
    2. git submodule sync tells your .git folder which urls are to use
    3. git pull pull including submodules as well (if EnMAP-Box repo was cloned with --recurse-submodules only!)

    Step 1 and 2 are required only to update your local git conf to the new pull urls, which has changed from
    url = git://github.com/EnMAP-Box/qgispluginsupport.git to
    url = https://github.com/EnMAP-Box/qgispluginsupport.git

  3. Log in to comment