Open ashansa opened 8 years ago
Firstly, i recommend working with the latest snapshot version when testing experiments. It's more mature.
The error it's failing with is "authentication failed" for github when trying to clone a repo. Maybe you tried to load an experiment but didn't supply your credentials? Try the 0.2-snapshot version, hopefully should resolve your problems...
I did try with both versions and I experienced the same issue. The empty repository is created in Github which requires my credentials and the error occurs when it tries to clone the repository. Should I have any additional credential settings for cloning?
When debugging I found that the exception occurs here.
I am using karamel 0.1 on OS X and I can reproduce the issue by following the steps below.
An empty repository was created in my Github account and following was the error log in the karamel.log
INFO [2015-11-12 19:51:15,120] se.kth.karamel.webservice.calls.AbstractCall: Received request to set github credentials.... ERROR [2015-11-12 19:51:19,085] se.kth.karamel.webservice.calls.AbstractCall: ! se.kth.karamel.common.exception.KaramelException: Problem cloning repo: git@github.com:userName/wordcount.git: Auth fail ! at se.kth.karamel.backend.github.GithubApi.cloneRepo(GithubApi.java:291) ~[karamel-core-0.1.jar:na] ! at se.kth.karamel.backend.github.GithubApi.createRepoForUser(GithubApi.java:254) ~[karamel-core-0.1.jar:na] ! at se.kth.karamel.client.api.KaramelApiImpl.initGithubRepo(KaramelApiImpl.java:286) ~[karamel-core-0.1.jar:na] ! at se.kth.karamel.client.api.KaramelApiImpl.commitAndPushExperiment(KaramelApiImpl.java:312) ~[karamel-core-0.1.jar:na] ! at se.kth.karamel.webservice.calls.experiment.PushExperiment.pushExperiment(PushExperiment.java:38) ~[karamel-ui-0.1.jar:na] ! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60-ea] ! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_60-ea] ! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_60-ea] ! at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_60-ea] ! at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-server-1.18.1.jar:1.18.1] ! at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) [jersey-server-1.18.1.jar:1.18.1] ! at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) [jersey-server-1.18.1.jar:1.18.1] ! at io.dropwizard.jersey.guava.OptionalResourceMethodDispatchAdapter$OptionalRequestDispatcher.dispatch(OptionalResourceMethodDispatchAdapter.java:37) [dropwizard-jersey-0.7.0.jar:0.7.0] ! at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) [jersey-server-1.18.1.jar:1.18.1]