Comments (18)
What repository are you pushing to? Is it literally https://github.com/xyz/xyz.git
? Do you have access to it?
from thingworx-gitbackup-extension.
Can anyone reply?
from thingworx-gitbackup-extension.
Hi,
This looks to me like an authorization issue related to your Git repository. Have you properly configured your Git Backup Thing? Please describe the steps you performed so I can try to reproduce your issue.
from thingworx-gitbackup-extension.
Referred the Guide and configured same.
from thingworx-gitbackup-extension.
Connectivity to a variety of Git repositories has been previously verified and it works as expected. I notice that your error is related to permissions for a GitHub repository.
Did you set up your personal access token in GitHub and used it in the Password field in your Git Backup thing's configuration table?
from thingworx-gitbackup-extension.
yes, added PAT and tried still getting error.
org.eclipse.jgit.api.errors.TransportException: https://github.com/xyz/xyz.git: error occurred during unpacking on the remote end: index-pack abnormal exit_ at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:147)_ at gb.GitBackupTemplate.Push(GitBackupTemplate.java:244)_ at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)_ at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)_ at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)_ at java.base/java.lang.reflect.Method.invoke(Method.java:566)_ at
from thingworx-gitbackup-extension.
This error is related to the fact that the git client cannot write to the remote repository because either permissions are missing or the capacity is full. I assume it is related to missing permissions since the remote repository would be empty right now. Did you assign all the permissions when you created the PAT? Just edit the token and check all the boxes for the permissions.
from thingworx-gitbackup-extension.
i have given all the permissions to PAT and my repo is also empty
from thingworx-gitbackup-extension.
Please reply
from thingworx-gitbackup-extension.
access issue resolved but not able to push into another branch other than 'master', if try to push to another branch it is getting added in master branch only.
from thingworx-gitbackup-extension.
Can someone reply?
from thingworx-gitbackup-extension.
I am pushing into my personal repo and this is just demo repo link i have given, and yes i have access.
Not able to push into another branch is related to Access issue?
from thingworx-gitbackup-extension.
any suggestions?
from thingworx-gitbackup-extension.
@anitas4 Have you managed to push your entities on a different branch? I have tested the Git extension on multiple branches and I have no issues. You need to first create your remote branch, pull the repository. Then in the Mashup you select your remote branch (a local branch will be automatically created for you). You can check it out, you add your content/or remove content and then you push it. The commit info will show that you have pushed the content on your respective branch. let me know if this has worked for you. The same can be done just with services, by switching the branch in the Git configuration table.
from thingworx-gitbackup-extension.
when I am trying to push the files in GIT, I a getting this error
org.eclipse.jgit.api.errors.TransportException: https://github.com/ksmbasha11/repo101.git: not authorized__ at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:147)__ at gb.GitBackupTemplate.Push(GitBackupTemplate.java:243)__ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)__ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)__ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)__ at java.lang.reflect.Method.invoke(Method.java:498)__ at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261)__ at com.thingworx.handlers.ReflectionServiceHandler.processService(ReflectionServiceHandler.java:50)__ at com.thingworx.handlers.ServiceHandlerBase.processServiceWithMetrics(ServiceHandlerBase.java:48)__ at com.thingworx.things.Thing.processServiceRequestDirect(Thing.java:8248)__ at com.thingworx.things.Thing.processAPIServiceRequest(Thing.java:8186)__ at com.thingworx.webservices.BaseService.handleInvoke(BaseService.java:3220)__ at com.thingworx.webservices.BaseService.service(BaseService.java:491)__ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at com.thingworx.security.contenttype.ContentTypeFilter.doFilter(ContentTypeFilter.java:138)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at com.thingworx.security.filter.ValidationFilter.doFilter(ValidationFilter.java:22)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at com.thingworx.security.authentication.AuthenticationFilter.propagateRequest(AuthenticationFilter.java:541)__ at com.thingworx.security.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:210)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)__ at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)__ at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)__ at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at com.thingworx.security.filter.ClickjackFilter.doFilter(ClickjackFilter.java:178)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at com.thingworx.security.filter.ProhibitIfNotLeaderFilter.doFilter(ProhibitIfNotLeaderFilter.java:120)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at com.thingworx.security.filter.HttpResponseHeadersFilter.doFilter(HttpResponseHeadersFilter.java:173)__ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)__ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)__ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)__ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)__ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)__ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)__ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)__ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)__ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)__ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)__ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)__ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)__ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)__ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)__ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)__ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)__ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)__ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)__ at java.lang.Thread.run(Thread.java:745)Caused by: org.eclipse.jgit.errors.TransportException: https://github.com/ksmbasha11/repo101.git: not authorized at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:540)__ at org.eclipse.jgit.transport.TransportHttp.openPush(TransportHttp.java:436)__ at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:127)__ at org.eclipse.jgit.transport.Transport.push(Transport.java:1335)__ at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:137)__ ... 60 more__
from thingworx-gitbackup-extension.
from thingworx-gitbackup-extension.
access issue resolved but not able to push into another branch other than 'master', if try to push to another branch it is getting added in master branch only.
can you help me on access isssue, i am having still that issue.
from thingworx-gitbackup-extension.
In case you have new problems, please open a new issue.
One issue in Github must belong to a single issue, not to be reused for multiple ones.
from thingworx-gitbackup-extension.
Related Issues (20)
- Instead of Entities, only services can be pushed ? HOT 2
- Log4J CVE-2021-44228 vulnerability exposure for GitBackup Extension HOT 1
- Thingworx GitHub Extension HOT 1
- how to track the one developers changes using github extension HOT 2
- Errors while exporting HOT 1
- Cannot execute any service because Gitbackup thing is not running. HOT 1
- Github Extension Import Issue HOT 5
- Error While Pushing from thingworx HOT 3
- GUI Mashup is not working on TWX 9.3.0 and question on HA compatibility HOT 2
- Issue in Thingworx while trying to Pull or Push HOT 1
- Error when trying to view GIT thing HOT 1
- Best Practices for Git Backup Extension HOT 1
- Cannot Pull, Push with my bitbucket company HOT 5
- cannot connect to AzureDevOps due to SSL problems 9.3.4 HOT 2
- Difference in entity XML HOT 8
- Entities going to Thing not running state HOT 6
- v5 Cannot Create New Repo - New GitThing HOT 3
- Git push progress detaills HOT 4
- Resources_ExtensionsExport, Things_ExtensionImportTargets no longer exists. HOT 3
- gitHub on Thingworx 9.3.7-b1432 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thingworx-gitbackup-extension.