Status Update
Comments
rm...@google.com <rm...@google.com> #2
th...@gmail.com <th...@gmail.com> #3
1. clone repo
2. create branch locally and on server
3. make some changes on branch
4. push branch from command line (not GUI)
5. make more changes and try and push from GUI
[Deleted User] <[Deleted User]> #4
Last time I had this bug I had to change the git executible to the one provided with the client, but with Canary 8 this doesn't seem to be an option anymore.
I'm pretty sure there was a related issue on JetBrain's YouTrack somewhere but I cannot for the life of me find it again.
Experiencing it with git versions 2.17.1 & 2.21.0
ra...@google.com <ra...@google.com> #5
[Deleted User] <[Deleted User]> #6
Also minor correction/amendment about my previous post;
- I think it was actually the SSH option that I changed to get it working (native vs. built-in)
- I did get the same bug in either Canary 7 or on latest (stable) IntelliJ U, and changing my SSH executable fixed it.
As a test, I opened the same project in IntelliJ and could pull/push/whatever as normal.
Possible related issue?
Attached is my Android Studio logs.
The project from logs is hosted with GitHub, but I also experience the bug on internal projects hosted with GitLab.
ra...@google.com <ra...@google.com> #7
+2019-03-27 11:26:43,264 [er: setsid] INFO - #git4idea.commands.GitHandler - at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231)
+2019-03-27 11:26:43,264 [er: setsid] INFO - #git4idea.commands.GitHandler - at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
+2019-03-27 11:26:43,264 [er: setsid] INFO - #git4idea.commands.GitHandler - at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
+2019-03-27 11:26:43,264 [er: setsid] INFO - #git4idea.commands.GitHandler - at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
+2019-03-27 11:26:43,264 [er: setsid] INFO - #git4idea.commands.GitHandler - at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
+2019-03-27 11:26:43,265 [er: setsid] INFO - #git4idea.commands.GitHandler - at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
+2019-03-27 11:26:43,265 [er: setsid] INFO - #git4idea.commands.GitHandler - at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:31)
+2019-03-27 11:26:43,265 [er: setsid] INFO - #git4idea.commands.GitHandler - ... 1 more
+2019-03-27 11:26:43,267 [er: setsid] INFO - #git4idea.commands.GitHandler - git@github.com: Permission denied (publickey).
+2019-03-27 11:26:43,268 [er: setsid] INFO - #git4idea.commands.GitHandler - fatal: Could not read from remote repository.
+2019-03-27 11:26:43,268 [er: setsid] INFO - #git4idea.commands.GitHandler - Please make sure you have the correct access rights
+2019-03-27 11:26:43,268 [er: setsid] INFO - #git4idea.commands.GitHandler - and the repository exists.
da...@google.com <da...@google.com> #8
jv...@google.com <jv...@google.com> #9
da...@google.com <da...@google.com> #10
de...@gmail.com <de...@gmail.com> #13
ro...@gmail.com <ro...@gmail.com> #14
re...@gmail.com <re...@gmail.com> #15
This key is working for years, and AS 3.5 asked for password, but 3.6 is not.
11:41 Update failed
load pubkey "/c/Users/User/.ssh/id_rsa": invalid format
RSA host key for IP address '10.7.116.180' not in list of known hosts.
Invocation failed Unexpected Response from Server: Unauthorized
java.lang.RuntimeException: Invocation failed Unexpected Response from Server: Unauthorized
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:34)
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassApp.main(GitNativeSshAskPassApp.java:30)
Caused by: java.io.IOException: Unexpected Response from Server: Unauthorized
at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231)
at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
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.xmlrp... (show balloon)
ps...@gmail.com <ps...@gmail.com> #16
Update failed
Invocation failed Unexpected Response from Server: Unauthorized
java.lang.RuntimeException: Invocation failed Unexpected Response from Server: Unauthorized
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:34)
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassApp.main(GitNativeSshAskPassApp.java:30)
Caused by: java.io.IOException: Unexpected Response from Server: Unauthorized
at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231)
at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
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.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNat... (show balloon)
pr...@gmail.com <pr...@gmail.com> #17
Now none of the git integration works as it gives me the same "Invocation failed Unexpected Response from Server: Unauthorized..." error that others have posted.
I had seen this same error in previous updates once or twice and I was able to fix it by going into Settings -> Version Control -> Git and changing the "SSH executable" setting to "Built-in" but now I cannot find that "SSH executable" setting anymore.
PS: I can still fetch/pull/push via the cli so I know my key and repo is working as expected.
il...@illuzor.com <il...@illuzor.com> #18
ra...@google.com <ra...@google.com>
mm...@gmail.com <mm...@gmail.com> #19
Invocation failed Unexpected Response from Server: Unauthorized
java.lang.RuntimeException: Invocation failed Unexpected Response from Server: Unauthorized
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:34)
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassApp.main(GitNativeSshAskPassApp.java:30)
Caused by: java.io.IOException: Unexpected Response from Server: Unauthorized
at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231)
at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
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.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient..
[Deleted User] <[Deleted User]> #20
Invocation failed Unexpected Response from Server: Unauthorized java.lang.RuntimeException: Invocation failed Unexpected Response from Server: Unauthorized at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:34) at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassApp.main(GitNativeSshAskPassApp.java:30) Caused by: java.io.IOException: Unexpected Response from Server: Unauthorized at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231) at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90) 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.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:31)
[Deleted User] <[Deleted User]> #21
vn...@gmail.com <vn...@gmail.com> #22
jv...@google.com <jv...@google.com> #23
ca...@gmail.com <ca...@gmail.com> #24
Issue encountered on two different repositories: Bitbucket and GitLab.
Using git commands from Android Studio's terminal works as expected.
sa...@google.com <sa...@google.com>
su...@gmail.com <su...@gmail.com> #25
an...@google.com <an...@google.com> #26
me...@gmail.com <me...@gmail.com> #27
ha...@gmail.com <ha...@gmail.com> #28
This needs a fix no question (maybe restore the option to pick the build-in / native binary?) but for those who cannot work anymore:
I was able to workaround this by using plink and a GIT_SSH env-variable. This way, Android Studio uses plink instead. With this, run pageant where you can add your private key. See
me...@gmail.com <me...@gmail.com> #29
how did you managed to make it work with GIT_SSH ... can you tell me step by step how did it work ?
I checked the link and tried but didn't work
ha...@gmail.com <ha...@gmail.com> #30
- set the env-variable GIT_SSH and let it point to plink
- start pageant and add your private key to it (needs to be transformed to another format to be used)
- restart Android Studio to make the env-variable work
- should work now
maybe you need to add your server once.
echo y | plink -ssh git@github.com "exit"
see
me...@gmail.com <me...@gmail.com> #31
plink -ssh git@gitlab.com
ha...@gmail.com <ha...@gmail.com> #32
When you get no response, it's likely because ssh does nut trust the server. This should be fixed by allowing the server using the mentioned command.
Now, when this command does not work for you there's another problem. Have you tried testing the server with ssh -T git@gitlab.com
?
This should do just the same and post your username on the server (identified by your ssh key).
When this is working but plink is not, I'm out of ideas. If this is working, the plink-command to accept the server should work as well. If not, I'm also out of ideas.
ha...@gmail.com <ha...@gmail.com> #33
You may add your server to your ~/.ssh/known_hosts
file manually. But looking at mine there are only IPs in it, no hostnames so you may need to find out your server-IP first (and re-add it when this changes).
me...@gmail.com <me...@gmail.com> #34
ea...@google.com <ea...@google.com> #35
As mentioned in this bug thread, a temporary workaround is to use the command line git commands.
si...@gmail.com <si...@gmail.com> #36
In my case below solution worked out of the box (not sure how it is reliable for long term workaround):
WORKAROUND:
1. In Android Studio go to `Help - Find Action - Registry...`
2. Find `git.use.builtin.ssh` and enable it
3. Check that git works again
me...@gmail.com <me...@gmail.com> #37
can you provide a screenshot ? are you sure you are on 3.6.0 ?
an...@ciklum.com <an...@ciklum.com> #38
tn...@google.com <tn...@google.com> #39
3.6.1 was released earlier today which contains the fix.
pr...@gmail.com <pr...@gmail.com> #40
[Deleted User] <[Deleted User]> #41
Invocation failed Unexpected Response from Server: Unauthorized java.lang.RuntimeException: Invocation failed Unexpected Response from Server: Unauthorized at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:50) at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:64) Caused by: java.io.IOException: Unexpected Response from Server: Unauthorized at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231) at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90) 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.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:47) ... 1 more Invocation failed Unexpected Response from Server: Unauthorized java.lang.RuntimeException: Invocation failed Unexpected Response from Server: Unauthorized at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askPassword(GitAskPassXmlRpcClient.java:65) at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:68) Caused by: java.io.IOException: Unexpected Response from Server: Unauthorized at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231) at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90) 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.http.GitAskPassXmlRpcClient.askPassword(GitAskPassXmlRpcClient.java:62) ... 1 more remote: No anonymous write access. Authentication failed for [URL]
ra...@google.com <ra...@google.com> #42
at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askPassword(GitAskPassXmlRpcClient.java:65)
at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:68)
And looking at
[Deleted User] <[Deleted User]> #43
ra...@google.com <ra...@google.com> #44
pr...@gmail.com <pr...@gmail.com> #45
this issue still happening in
Android Studio Chipmunk | 2021.2.1 Beta 2 Build #AI-212.5712.43.2112.8125332, built on January 28, 2022 Runtime version: 11.0.12+7-b1504.28-7817840 amd64 VM: OpenJDK 64-Bit Server VM by Oracle Corporation Windows 10 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 3072M Cores: 6 Registry: external.system.auto.import.disabled=true, git.use.setsid.for.native.ssh=false Non-Bundled Plugins: Dart (212.5632), idea.plugin.protoeditor (212.5080.8), io.flutter (64.1.3)
below is error
0:19:22.388: [eshopcustomer] git -c core.quotepath=false -c log.showSignature=false fetch origin --recurse-submodules=no --progress --prune git: 'credential-manager-core' is not a git command. See 'git --help'. Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30) at 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 git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:27) ... 1 more error: unable to read askpass response from 'C:\Users\user\AppData\Local\Google\AndroidStudioPreview2021.2\tmp\intellij-git-askpass-local.sh' bash: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) stty: 'standard input': Inappropriate ioctl for device
gk...@gmail.com <gk...@gmail.com> #46
Finally, this worked for me in Bumblebee 2021.1.1:
Open Terminal in Android Studio, enter:
git config credential.helper store
It will ask for a password, enter your password.
Enable "Use Credential Helper" in Settings -> Version Control -> Git.
After these 2 steps, you will be able to Pull, Push, Commit.
Error still occurs in:
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+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 4
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: Dart (211.7808), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40), io.flutter (65.1.2)
As with previous reports, the CLI works fine from the terminal. Credentials are stored in my Windows credential manager.
This is the error for push, but similar error occurs for clone as well:
13:28:45.849: [slinger_360_app] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master
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
error: unable to read askpass response from 'C:\Users\gkust\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 Password for '
ta...@gmail.com <ta...@gmail.com> #47
Go to the Android Studio > Terminal > git fetch.
Now you can try any git function..... hurray!!!
he...@gmail.com <he...@gmail.com> #48
EDIT2: Hm, not fixed. Currently is not posiible to push my work. Also when I delete cache direcrtory. :-(
Sorry, but this is not fixed.
In Android Studio Chipmunk | 2021.2.1 Patch 1, "git fetch" command does not fix this bug. :-(
Problem is not with commit but with push.
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end of file from server
at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30)
at 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 git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:27)
... 1 more
error: unable to read askpass response from '/home/henrisko/.cache/Google/AndroidStudio2021.2/tmp/intellij-git-askpass-local.sh'
fatal: could not read Username for '
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 18, 2022
Runtime version: 11.0.12+7-b1504.27 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.0-33-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 3072M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.intellij.plugins.markdown (212.5457.16), org.jetbrains.kotlin (212-1.6.21-release-334-AS5457.46)
Current Desktop: ubuntu:GNOME
Update: after restart of Android Studio, push working good.
di...@gmail.com <di...@gmail.com> #49
ky...@aucegypt.edu <ky...@aucegypt.edu> #50
[Deleted User] <[Deleted User]> #51
sl...@gmail.com <sl...@gmail.com> #52
al...@gmail.com <al...@gmail.com> #53
Build #AI-212.5712.43.2112.8609683, built on May 18, 2022
Runtime version: 11.0.12+7-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin (212-1.7.10-release-333-AS5457.46)
Git version is 2.21.0
It freezes starting when I'm trying to add repo to Git -> Manage remotes... -> Add
It freezes also when I want to push or fetch via Android Studio gui.
When I use terminal everything works ok.
Edit: Updating git version to 2.37.1 and checking File -> Settings -> Git -> Use credential helper fixed the issue for me
Description
AI-183.5429.30.34.5304277, JRE 1.8.0_152-release-1343-b01x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1200
Android Gradle Plugin: 3.3.1
Gradle: 4.10.1
NDK: from local.properties: (not specified); latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: (not found);
IMPORTANT: Please read
Stack trace when trying to push to remote bitbucket server. Have authenticated etc, and can push from terminal inside IDE. Commit works fine, its the push that fail.s Change any file from a bitbucket git project, commit, when dialog appears select commit and push, this works, then push dialog appears, and fails to push with trace back below.
6:22 PM Push failed
Invocation failed Unexpected Response from Server: Unauthorized
java.lang.RuntimeException: Invocation failed Unexpected Response from Server: Unauthorized
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient.java:34)
at org.jetbrains.git4idea.nativessh.GitNativeSshAskPassApp.main(GitNativeSshAskPassApp.java:30)
Caused by: java.io.IOException: Unexpected Response from Server: Unauthorized
at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:231)
at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
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.nativessh.GitNativeSshAskPassXmlRpcClient.handleInput(GitNativeSshAskPassXmlRpcClient... (show balloon)