Eclipse Git: Not Authorized

 

down voteaccepted

I managed to solve it.

In Eclipse, go to:

Git Repository Exploring (Perspective) --> Your git repository clone --> Remotes

Find the URLs for fetch & push.

Right click each one --> Clear Credentials

.

Now try to push / pull, and enter your password manually, unmarking the "Store in Secure Store" option.

org.eclipse.jgit.api.errors.TransportException: https://git.bg.huohua.cn/data/dataplatform/data_code/data_projects/htp/real/bdp_htp_real_flink.git: not authorized at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:252) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:306) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:200) at com.huohua.athena.agent.service.impl.EngineOperServiceImpl.packageJarAsync(EngineOperServiceImpl.java:628) at com.huohua.athena.agent.task.PackageProcessTask.run(PackageProcessTask.java:25) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.eclipse.jgit.errors.TransportException: https://git.bg.huohua.cn/data/dataplatform/data_code/data_projects/htp/real/bdp_htp_real_flink.git: not authorized at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:529) at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:345) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:137) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:123) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1269) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:241) ... 11 more
最新发布
09-16
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值