Cannot do anything that regards GH desktop connecting to GH.com
See original GitHub issueHi 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
Issue Analytics
- State:
- Created 5 years ago
- Comments:27 (4 by maintainers)
Top GitHub Comments
@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 😄 I think it was the wrong start of command prompt that’s why.
Hi @ursusg and @Fylls, sorry about that. Please check out the known issues document that discusses possible causes and ways to resolve this.