Home > Enterprise >  git checkout error: unable to read askpass response in Windows 10
git checkout error: unable to read askpass response in Windows 10

Time:03-17

Error occurred while cloning repository in Android Studio

error: unable to read askpass response from
'C:\Users\User\AppData\Local\Google\AndroidStudio2021.1\tmp\intellij-git-askpass-local.sh'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username

CodePudding user response:

Resolved above issue with below steps:

  1. Click on the File Menu of Android Studio -> Settings -> Expand Version Control
  2. Inside Version Control, select Git & Check Use Credential Helper

enter image description here

CodePudding user response:

The same one

Android Studio Bumblebee | 2021.1.1 Patch 2 Build #AI-211.7628.21.2111.8193401, built on February 17, 2022 Runtime version: 11.0.11 0-b60-7590822 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.5.2 GC: G1 Young Generation, G1 Old Generation Memory: 1280M Cores: 8 Registry: external.system.auto.import.disabled=true Non-Bundled Plugins: com.bloc.intellij_generator_plugin (3.3.0), com.tabnine.TabNine (0.5.22), Dart (211.7808), com.localizely.flutter-intl (1.17.1-2020.3), io.flutter (65.2.2)

Fetch Failed origin: Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30) at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58) Caused by: java.net.SocketException: Unexpected end of file from server at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:866) at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689) at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:863) at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87) at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178) at org.jetbrains.git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:27) ... 1 more unable to read askpass response from '/Users/av/Library/Caches/Google/AndroidStudio2021.1/tmp/intellij-git-askpass-local.sh' could not read Username for 'http://gogs.arixess.com': Device not configured

Any ideas? For GitHub working good

  • Related