Transport Error: Cannot get remote repository refs. [message #1856736] |
Mon, 26 December 2022 16:59  |
Eclipse User |
|
|
|
This is what has occured for me...
a.I am trying to upload/push a local repository to my GitHub at:
https://github.com/rmit-s9905648-mike-little/ST-AssInvPart1.git
b.I should also note that Eclipse>Preferences>Version Control (Team)>Git>Configuration>User Settings I have set the following:
[user]
name = rmit-s9905648-mike-little
email = s9905648@student.rmit.edu.au
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[http]
sslVerify = false
And...
1. created a Personal Access Token, defined a note, and defined an expiry date, but did not define any scope attributes.
2. Entered my Github username as the user for the destination Git Repository
3. Instead of using my Github password, I used the Personal Access Token that I had generated.
4. This time, Eclipse did not prompt for the username and password this time as it had done previously and appeared to be attempting to access the GitHub repository I had created.
5. Yet it failed, and it produced the following transport error message:
Transport Error: Cannot get remote repository refs.
https://github.com/rmit-s9905648-mike-little/ST-AssInvPart1.git: git-upload-pack not permitted on 'https://github.com/rmit-s9905648-mike-little/ST-AssInvPart1.git/'
And....
org.eclipse.jgit.api.errors.TransportException: https://github.com/rmit-s9905648-mike-little/ST-AssInvPart1.git: git-upload-pack not permitted on 'https://github.com/rmit-s9905648-mike-little/ST-AssInvPart1.git/'
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:192)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:131)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:116)
at org.eclipse.egit.ui.internal.components.RefSpecPage$2.run(RefSpecPage.java:254)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.jgit.errors.TransportException: https://github.com/rmit-s9905648-mike-little/ST-AssInvPart1.git: git-upload-pack not permitted on 'https://github.com/rmit-s9905648-mike-little/ST-AssInvPart1.git/'
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:692)
at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:465)
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:170)
... 4 more
And..
eclipse.buildId=4.26.0.20221201-1200
java.version=18.0.1
java.vendor=Eclipse Adoptium
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_AU
Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/mlittle-macmini-20200921/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/mlittle-macmini-20200921/.eclipse_keyring
6. I am getting closer to resolution, but there are still problems... any suggestions?
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05534 seconds