Skip to content

Can't clone private repository #9556

Closed
Closed

Description

@BulashAS

Describe the bug

Can't clone private repository

Version & OS

GitHub Desktop v.2.4.1 OS Win10 1903

Steps to reproduce the behavior

Open Github Desktop
Click 'File'
Click 'Clone repository'
Click on the repository
Click 'Clone'
After a few seconds, error pops up.

Screenshots

Add screenshots to help explain your problem, if applicable.
image

Logs

2020-04-18T06:37:50.487Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/BulashAS/Sphinx.git - BulashAS (has token)
2020-04-18T06:37:51.711Z - info: [ui] Executing clone: git -c credential.helper= -c protocol.version=2 clone --recursive --progress -- https://github.com/BulashAS/Sphinx.git C:\Android\Sphinx (took 1.131s)
2020-04-18T06:37:51.717Z - error: [ui] git -c credential.helper= -c protocol.version=2 clone --recursive --progress -- https://github.com/BulashAS/Sphinx.git C:\Android\Sphinx exited with an unexpected code: 128.
stderr:
Cloning into 'C:\Android\Sphinx'...
"C:\Users\AT" �� ���� ����७��� ��� ���譥�
��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
���⥬� �� 㤠���� ���� 㪠����� ����.
error: unable to read askpass response from 'C:\Users\AT&S\AppData\Local\GitHubDesktop\app-2.4.1\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled

Additional context

I reinstalled GitHub Desktop.
Deleted AppData\Local\GitHubDesktop\ and AppData\Roaming\GitHubDesktop
Find and delete all GitHubDesktop in windows registry
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\ - no such section
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\autorun - no such section

Activity

  1. rafeca commented on Apr 20, 2020

    @rafeca
    Contributor

    Hey @BulashAS ! Thanks for submitting the issue!

    This is in fact a known issue (see https://github.com/desktop/desktop/blob/development/docs/known-issues.md#ask-pass-trampolinebat-errors---2623-4124-6882-6789). Currently the workaround is to change your username to not contain strange characters.

    I'm going to close this for now in favor of #7064 (even if it's closed we monitor references to it to assess whether it's worth putting resources into fixing it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions