question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:27 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
aronquiraycommented, Mar 8, 2019

@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. screenshot_1013

0reactions
billygriffincommented, May 5, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot connect to 5ghz using ethernet - Microsoft Community
With regards to WiFi, open Device Manager, expand the Network Adapters section, what WiFi card do you have? Power to the Developer! MSI...
Read more >
How to deploy React App to GitHub Pages
5- Now deploy it to GitHub Pages. just run the following command : npm run deploy. successful build. this command will create a...
Read more >
How to update git version from GitHub Desktop on Windows
x! So how can I update to this version on my Windows machine, where the only version of git I installed was with...
Read more >
gh-ost: GitHub's online schema migration tool for MySQL
This will perform a migration on the replica. gh-ost will briefly connect to the master but will thereafter perform all operations on the ......
Read more >
Desktop Icons not showing - Red Hat Customer Portal
Hi Robert,. The concept of modern GNOME is designed to not have and make use of desktop icons. Although there may exist some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found