Open-source Languages & Tools for z/OS

 View Only
  • 1.  git: fatal: protocol error: bad line length character

    PARTNER
    Posted 03-21-2024 11:49

    Trying to `git clone` from a repository on another z/OS system I get

    $git clone -v demnt15@stutvs2a:/u/demnt15/tmp/mytest
    Cloning into 'mytest'...
    fatal: protocol error: bad line length character: ����
    fatal: the remote end hung up unexpectedly

    where the characters are 

    <<^ 
    88D0
    CCD6

    I have no idea why this happens. Any advice would be appreciated. If I try to clone from WSL in Windows I get the same error.




    ------------------------------
    Manfred Lotz
    Kyndryl Deutschland GmbH
    Kelsterbach DE
    ------------------------------


  • 2.  RE: git: fatal: protocol error: bad line length character

    ROCKETEER
    Posted 03-22-2024 11:28

    Hey Manfred, 

    I'm sorry you are having problems cloning your repo. This is a known issue, and unfortunately, we do not support using git as a server in this way. When you do not access a remote repo via ssh and https, your settings/rc files are not sourced, which means BPXAUTOCVT may not be getting set correctly.

    We have to recommend that you upload to a remote host like github or bitbucket, and then clone from there. Let me know if that will not work for you or if you have any other questions. You can see the relevant section of the documentation here: Restrictions (rocketsoftware.com)

    Best,
    Ben




    ------------------------------
    Benjamin Maloy
    Software Engineer I
    Rocket Internal - All Brands
    Medford MA US
    ------------------------------



  • 3.  RE: git: fatal: protocol error: bad line length character

    PARTNER
    Posted 03-22-2024 11:50

    Hi Ben,

    Thanks for the information. I wasn't aware that this was a limitation and hoped that I was the problem. :-) 

    Of course, github and the like does work fine when cloning from z/OS UNIX.

    -- 
    Best,
    Manfred



    ------------------------------
    Manfred Lotz
    Kyndryl Deutschland GmbH
    Kelsterbach DE
    ------------------------------



  • 4.  RE: git: fatal: protocol error: bad line length character

    ROCKETEER
    Posted 03-22-2024 13:39

    Thanks Manfred, let me know if you have any other questions. We will look into the issue some more and let you know if there are any updates.



    ------------------------------
    Benjamin Maloy
    Software Engineer I
    Rocket Internal - All Brands
    Medford MA US
    ------------------------------