从远程主机强行中断了VCS连接

时间:2018-11-08 14:52:05

标签: android-studio version-control

我在Github存储库上链接了Android Studio VCS,它运行良好,但是每次我推送(即使它正确地推送了我的代码并且提交成功),Android Studio也会给我这个致命错误,然后是“推送成功”:

java.io.IOException: Connection forcibly interrupted from remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:372)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at java.lang.Thread.run(Thread.java:745)

VCS控制台改为:

fatal: HttpRequestException encountered.

,然后列出有关我的推送和工作的信息。

这个问题不会影响我的Android Studio的可用性,也不会影响我的Github存储库的可用性,但是我想知道是什么原因导致的,以及如何解决这个问题。

0 个答案:

没有答案