๋ฐ์ํ
์๋ฌ๋ฌธ(or Exception) |
์๋๋ก์ด๋ ์คํ๋์ค / ์ฐ๋๋ Git์ผ๋ก push ์ค ์๋ฌ ๋ฐ์ํจ |
Push failed Logon failed, use ctrl+c to cancel basic credential prompt. Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:55) at org.jetbrains.git4idea.http.GitAskPassApp.main(GitAskPassApp.java:66) Caused by: java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:851) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:848) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) 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.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:52) ... 1 more remote: Repository not found. Authentication failed for 'https://github.com/๊ณ์ /๋ฆฌํฌ์งํ ๋ฆฌ๋ช .git/' |
ํด๊ฒฐ ๋ฐฉ๋ฒ |
1. File -> Settings์ ์ ์ 2. Github ํญ๋ชฉ์ ๋ค์ด๊ฐ๋ค + ํญ๋ชฉ ํด๋ฆญ 3. Git ๊ณ์ ์ผ๋ก ๋ก๊ทธ์ธ ์๋ํด๋ 404 Not Found ์๋ฌ๊ฐ ๋ฌ๋ค๋ฉด, ๊นํ์ฌ์ดํธ์ ์ ์ํด ํ ํฐ์ ์์ฑํด์ผ ํจ 4. ๊นํ ์ ์ -> ๊ฐ์ธ๊ณ์ Settings -> Developer settings -> Personal access token -> Generate new token 5. ์๋๋ก์ด๋ ์คํ๋์ค๋ก ๋์๊ฐ, ํ ๋น๋ฐ์ ํ ํฐ์ผ๋ก ๋ก๊ทธ์ธ 6. push ๊ฐ ์ ์์ ์ผ๋ก ์งํ๋๋ ๊ฒ์ ํ์ธ |
๋ฐ์ํ