Fixed
Status Update
Comments
hh...@gmail.com <hh...@gmail.com> #2
+1
I met it. This only occured in Build: 3.2 Canary 10( Win10 64bit jdk1.8), but Build: 3.2 Canary 9 running well. The log shows in Version Control Console page after push operation (the commit operation is running well):
18:30:39.091: [ProjectName] git -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master
getLastSuccessful failed. token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, userName: xxxxxxxxxx, client:http://localhost:63342/RPC2
java.lang.RuntimeException: Invocation failed Server returned HTTP response code: 401 for URL:http://localhost:63342/RPC2
at org.jetbrains.git4idea.ssh.GitSSHXmlRpcClient.getLastSuccessful(GitSSHXmlRpcClient.java:211)
at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:214)
at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:175)
at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:138)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL:http://localhost:63342/RPC2
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
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.ssh.GitSSHXmlRpcClient.getLastSuccessful(GitSSHXmlRpcClient.java:207)
... 3 more
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I met it. This only occured in Build: 3.2 Canary 10( Win10 64bit jdk1.8), but Build: 3.2 Canary 9 running well. The log shows in Version Control Console page after push operation (the commit operation is running well):
18:30:39.091: [ProjectName] git -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master
getLastSuccessful failed. token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, userName: xxxxxxxxxx, client:
java.lang.RuntimeException: Invocation failed Server returned HTTP response code: 401 for URL:
at org.jetbrains.git4idea.ssh.GitSSHXmlRpcClient.getLastSuccessful(GitSSHXmlRpcClient.java:211)
at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:214)
at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:175)
at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:138)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL:
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
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.ssh.GitSSHXmlRpcClient.getLastSuccessful(GitSSHXmlRpcClient.java:207)
... 3 more
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
bo...@gmail.com <bo...@gmail.com> #3
I encountered a related GitHub push problem on Build 3.2 Canary 10 ( Win10 64bit jdk1.8). Found this answer to a similar sounding problem on Stack Overflow: https://stackoverflow.com/a/49109825/4815718 . I followed the guidance there and updated the Git Windows Credential Manager using https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.14.0 . That fixed the problem for me.
uc...@google.com <uc...@google.com>
ra...@google.com <ra...@google.com>
hh...@gmail.com <hh...@gmail.com> #5
Hi,guys,
I think I have resolved this problem, may be it's a real bug in AS git module. The reason is AS submit project directly when git program ask you "Are you sure you want to continue connecting (yes/no)?" instead of input "yes".
I can push the projects directly now after I execute the push command in Terminal window and inputed "yes" manually.
---------------
git -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master
The authenticity of host 'xxxxx.com (IP)' can't be established.
ECDSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'xxxxx.com ,IP' (ECDSA) to the list of known hosts.
Counting objects: 30, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (26/26), done.
Writing objects: 100% (30/30), 1.39 MiB | 4.75 MiB/s, done.
Total 30 (delta 16), reused 0 (delta 0)
remote: Checking connectivity: 30, done.
remote: Powered byxxxxxxxxxx.com
To xxxxx.com:xxxxxxxxxxx.git
refs/heads/master:refs/heads/master xxxxxx..xxxxxxx
-----------------
ref:https://blog.csdn.net/fffy2366/article/details/42437105
I think I have resolved this problem, may be it's a real bug in AS git module. The reason is AS submit project directly when git program ask you "Are you sure you want to continue connecting (yes/no)?" instead of input "yes".
I can push the projects directly now after I execute the push command in Terminal window and inputed "yes" manually.
---------------
git -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/master:master
The authenticity of host '
ECDSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '
Counting objects: 30, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (26/26), done.
Writing objects: 100% (30/30), 1.39 MiB | 4.75 MiB/s, done.
Total 30 (delta 16), reused 0 (delta 0)
remote: Checking connectivity: 30, done.
remote: Powered by
To xxxxx.com:xxxxxxxxxxx.git
refs/heads/master:refs/heads/master xxxxxx..xxxxxxx
-----------------
ref:
da...@google.com <da...@google.com> #6
Can anyone compare the behavior of IntelliJ IDEA 2018.1?
ra...@google.com <ra...@google.com>
da...@google.com <da...@google.com> #7
We have a probale fix that just needs verification (ETA tomorrow).
da...@google.com <da...@google.com> #8
The fix mentioned in comment #7 is verified and submitted (commit 21ca1a6 / Change I6c1fd68a). It's not in 3.2 Canary 14 but should be in the next one.
ub...@gmail.com <ub...@gmail.com> #9
git push still failing for me in Canary 15
da...@google.com <da...@google.com> #10
Yes, I'm sorry; Canary 15 didn't include the fix either. (By “next one” in comment #8 I meant the next canary built after submitting the change, but I didn't know at the time Canary 15 had been built already.)
zs...@gmail.com <zs...@gmail.com> #12
I can confirm that it's working at least on my machine.
Android Studio 3.2 Canary 16
Build #AI-181.4668.68.32.4802120, built on May 24, 2018
JRE: 1.8.0_152-release-1136-b02 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.4
Android Studio 3.2 Canary 16
Build #AI-181.4668.68.32.4802120, built on May 24, 2018
JRE: 1.8.0_152-release-1136-b02 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.4
mt...@gmail.com <mt...@gmail.com> #13
Android Studio 3.2 Canary 16
Build #AI-181.4668.68.32.4802120, built on May 24, 2018
JRE: 1.8.0_152-release-1136-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
I can confirm, BUT: a lot of time, when I click on Commit nothing happen, must click second time for commit changes!
My checked checkboxes:
Reformat code
Optimize imports
Perform code analysis
Check TODO
Build #AI-181.4668.68.32.4802120, built on May 24, 2018
JRE: 1.8.0_152-release-1136-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
I can confirm, BUT: a lot of time, when I click on Commit nothing happen, must click second time for commit changes!
My checked checkboxes:
Reformat code
Optimize imports
Perform code analysis
Check TODO
Description
AI-181.2784.17.32.4705630, JRE 1.8.0_152-release-1136-b02x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.3 unknown, screens 2560x1440, 1440x2560; Retina
Android Gradle Plugin: 3.0.1
Gradle: 4.6
NDK: from local.properties: 16.1.4479499; latest from SDK: 16.1.4479499;
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);
Terminal version of Git works just fine as well as Android Studio 3.1.
IMPORTANT: Please read