Skip to content

Cannot do anything that regards GH desktop connecting to GH.com #6879

Closed

Description

@rhxto

Hi everyone.

Description

I literally can't do anything related to online repos.
When I originally installed GitHub desktop I wasn't able to clone a repo so I skipped the step.
Now I'm only able to commit and create local repos. None of these operations work:
-Fetch
-Push
-Pull
-Merge (pretty almost everything that regards changes on my online repo)

Version

1.6.2

Operating system:

Windows 10 pro

Steps to Reproduce

Create local repo since I can't clone a new one,
Fetch/push/pull/merge anything.

Expected Behavior

changes in online repo happen/ repo is cloned/ repo is created/ merge request is accepted/GH fetches updates.

Actual Behavior

error: unable to read askpass response from 'C:\Users\fedeb\AppData\Local\GitHubDesktop\app-1.6.2\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled

Additional Information

  • I know it's really really similar to other open issues, but it's slightly different the response given by the task pass trampoline operation.
  • I have 2 disks on my pc, I have also 2 other pc with only 1 disk, win 10 pro and there GH desktop works!
  • I don't have 2-factor auth enabled.
  • This happens with every repo I try: collab ones, the one I own, the ones I previously created online etc...

I already tried:

  • Uninstall GH desktop (also from Roaming, localappdata and prefetch).
  • Sign out and in.
  • Execute the commands GH desktop executes in the log manually (Git bash) and I get different errors (listed in the 2nd log)
  • I only use windows defender and firewall, no extra security software:
  • I also tried disabling them, no solution.
  • My NAT type is 2
  • Getting another pc, connecting it to the eth cable this pc uses and use GH desktop: it works.

Logs

-----------------1st log-------------

2019-02-19T17:48:28.757Z - info: [ui] [AppStore] loading 1 repositories from store
2019-02-19T17:48:28.758Z - info: [ui] [AppStore] found account: Fedefreez (Fede)
2019-02-19T17:48:29.267Z - info: [ui] launching: 1.6.2 (Windows 10.0.17763)
2019-02-19T17:48:29.267Z - info: [ui] execPath: 'C:\Users\fedeb\AppData\Local\GitHubDesktop\app-1.6.2\GitHubDesktop.exe'
2019-02-19T17:48:30.207Z - info: [ui] Stats reported.
2019-02-19T17:48:54.638Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.085s)
2019-02-19T17:48:54.639Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
error: unable to read askpass response from 'C:\Users\fedeb\AppData\Local\GitHubDesktop\app-1.6.2\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
2019-02-19T17:50:30.931Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: Lezioni - Fedefreez (has token)
2019-02-19T17:50:31.839Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
error: unable to read askpass response from 'C:\Users\fedeb\AppData\Local\GitHubDesktop\app-1.6.2\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
2019-02-19T17:50:34.793Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: Lezioni - Fedefreez (has token)
2019-02-19T17:50:35.768Z - error: [ui] `git -c credential.helper= push origin master --set-upstream --progress` exited with an unexpected code: 128.
error: unable to read askpass response from 'C:\Users\fedeb\AppData\Local\GitHubDesktop\app-1.6.2\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled
2019-02-19T17:54:20.948Z - error: [ui] `git -c credential.helper= fetch --progress --prune origin` exited with an unexpected code: 128.
error: unable to read askpass response from 'C:\Users\fedeb\AppData\Local\GitHubDesktop\app-1.6.2\resources\app\static\ask-pass-trampoline.bat'
fatal: could not read Username for 'https://github.com': terminal prompts disabled

2nd log:

I'm not familiar with git bash so I might have committed some mistakes.
git bash.txt

Activity

  1. billygriffin commented on Mar 4, 2019

    @billygriffin
    Contributor

    Hi @Fedefreez, sorry for missing this. Are you still experiencing this issue?

  2. added
    more-info-needed
    on Mar 4, 2019
  3. rhxto commented on Mar 4, 2019

    @rhxto
    Author

    Unfortunately yes.

  4. aronquiray commented on Mar 6, 2019

    @aronquiray

    same here. can't fetch/pull/push

  5. rhxto commented on Mar 6, 2019

    @rhxto
    Author

    @aronquiray do you get the same error as me?

  6. aronquiray commented on Mar 6, 2019

    @aronquiray

    yep. ask-pass-trampoline.bat error.

    signout + uninstall + deleted residue files + redownload + patched (1.6.3). still gettings same error..
    screenshot_999

  7. rhxto commented on Mar 6, 2019

    @rhxto
    Author

    Try to copy the path of the ask pass trampoline and use it on explorer. Tell me if you can see the file in there.

  8. billygriffin commented on Mar 6, 2019

    @billygriffin
    Contributor

    @desktop/support Do you mind taking a look at this? Feels like we've seen this "ask-pass-trampoline" issue pop up before, but I'm not sure why it's happening.

  9. aronquiray commented on Mar 7, 2019

    @aronquiray

    hey! @Fedefreez sorry just replied (was sleeping)
    here are the contents of it.
    screenshot_1000

  10. rhxto commented on Mar 7, 2019

    @rhxto
    Author

    Click on ask-pass-trampoline.bat , go on the explorer menu and select copy path. Paste its path here.

  11. aronquiray commented on Mar 7, 2019

    @aronquiray

    "C:\Users\MyUser\AppData\Local\GitHubDesktop\app-1.6.3\resources\app\static\ask-pass-trampoline.bat"

  12. rhxto commented on Mar 8, 2019

    @rhxto
    Author

    Hey that's why it happens for you

  13. rhxto commented on Mar 8, 2019

    @rhxto
    Author

    gh desktop path is 1.6.2 but the real is 1.6.3

  14. aronquiray commented on Mar 8, 2019

    @aronquiray

    @Fedefreez nope, they're not. when GH is updated. I think it also reproduces a copy of the ask-pass-trampoline.bat
    and still, same error occurred.
    screenshot_1011

  15. rhxto commented on Mar 8, 2019

    @rhxto
    Author

    @aronquiray check the error that gh gives where the path is /app-1.6.2/ and the one that contains the ask pass trampoline /app-1.6.3/ it's obvious that if gh tries to go in the 1.6.2 folder the error pops out.

  16. aronquiray commented on Mar 8, 2019

    @aronquiray

    @Fedefreez still nope. I found my answer.
    I've recently updated this (and I was doing it wrong)
    so, I've corrected it to this and now my GH works again :D
    I think it was the wrong start of command prompt that's why.
    screenshot_1013

  17. rhxto commented on Mar 8, 2019

    @rhxto
    Author

    Nice, I have my cmd start modified too. Let's see.

  18. rhxto commented on Mar 8, 2019

    @rhxto
    Author

    Yesss thank you so much @aronquiray I didn't think about that!!
    I can finally use GitHub desktop on my pc.

  19. steveward commented on Mar 11, 2019

    @steveward
    Contributor

    @Fedefreez and @aronquiray thanks for sharing those details about how modifying the AutoRun setting can cause this error. It was very helpful! I'm going to make a note of this in our known issues document for other users to reference.

  20. aronquiray commented on Mar 11, 2019

    @aronquiray

    sure @steveward , what I did was an unintentional magic fix LOL!

  21. rhxto commented on Mar 12, 2019

    @rhxto
    Author

    No problem @steveward and thanks again @aronquiray

  22. KevinLHansen commented on Oct 22, 2019

    @KevinLHansen

    Hello

    I have this exact issue. When I go examine my registry, there is no AutoRun entry - could this cause the issue? I've created an AutoRun entry of the same type as shown in your screenshot, but I'm not sure what to set the value as. Please help, thanks!

  23. rhxto commented on Oct 22, 2019

    @rhxto
    Author

    Can you post a screenshot of the error and the log?
    Did you try this?

  24. Alexikik commented on Nov 5, 2019

    @Alexikik

    @Fedefreez still nope. I found my answer.
    I've recently updated this (and I was doing it wrong)
    so, I've corrected it to this and now my GH works again :D
    I think it was the wrong start of command prompt that's why.
    screenshot_1013

    That really fucked up my computer. My desktop won't load anymore... I could however press ctrl+alt+delete, open the task manager, open file location on something random. Then find the launcher for chrome... Sooo anyone having the file path for the registry so I can change it back?

  25. Alexikik commented on Nov 5, 2019

    @Alexikik

    I found the registry path, so I'm back to normal. But that certainly didn't work

  26. ursusg commented on Mar 27, 2020

    @ursusg

    Hi everyone I'm having the same issue with my desktop. I'm able to clone other repositories except for a shared one with my friends, any idea why? Here's my error.

    Cloning into 'G:\Unity Projects (Github)\bonesquirrel'...
    error: cannot spawn C:\Users\Ursus\AppData\Local\GitHubDesktop\app-2.4.0\resources\app\static\ask-pass-trampoline.bat: No error
    fatal: could not read Username for 'https://github.com': terminal prompts disabled

  27. sergenti commented on May 5, 2020

    @sergenti

    same error here, GitHub works fine on chrome but its desktop version gives me an error every operation I execute

    here I am pushing a local repo from master to orgin, here's the error:

    error: unable to read askpass response from 'C:\Users\serge\AppData\Local\GitHubDesktop\app-2.4.3\resources\app\static\ask-pass-trampoline.bat'
    fatal: could not read Username for 'https://github.com': terminal prompts disabled

  28. billygriffin commented on May 5, 2020

    @billygriffin
    Contributor

    Hi @ursusg and @fylls, sorry about that. Please check out the known issues document that discusses possible causes and ways to resolve this.

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

    more-info-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions