|
|
|
|
|
|
Re: cannot get remote repository refs [message #1856728 is a reply to message #1856719] |
Mon, 26 December 2022 01:48 |
Michael John Little Messages: 8 Registered: December 2022 |
Junior Member |
|
|
1. OK 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.05005 seconds