{"action":"created","issue":{"url":"https://api.github.com/repos/adamcin/crx-content-package-deployer/issues/2","labels_url":"https://api.github.com/repos/adamcin/crx-content-package-deployer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/adamcin/crx-content-package-deployer/issues/2/comments","events_url":"https://api.github.com/repos/adamcin/crx-content-package-deployer/issues/2/events","html_url":"https://github.com/adamcin/crx-content-package-deployer/issues/2","id":60550105,"number":2,"title":"Unable to Deploy packages to a publisher","user":{"login":"mansingh","id":8481953,"avatar_url":"https://avatars.githubusercontent.com/u/8481953?v=3","gravatar_id":"","url":"https://api.github.com/users/mansingh","html_url":"https://github.com/mansingh","followers_url":"https://api.github.com/users/mansingh/followers","following_url":"https://api.github.com/users/mansingh/following{/other_user}","gists_url":"https://api.github.com/users/mansingh/gists{/gist_id}","starred_url":"https://api.github.com/users/mansingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mansingh/subscriptions","organizations_url":"https://api.github.com/users/mansingh/orgs","repos_url":"https://api.github.com/users/mansingh/repos","events_url":"https://api.github.com/users/mansingh/events{/privacy}","received_events_url":"https://api.github.com/users/mansingh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-10T18:53:05Z","updated_at":"2015-03-11T16:24:44Z","closed_at":null,"body":"This is a little strange behavior.\r\n\r\nOn AEM 6.0, for deploying to Author its works fine. However, if we try deploying to Publisher we get to see the following exception:\r\n\r\nDeploying packages to http://xxxxxxxxx:4503/\r\nFATAL: Failed to deploy package: Failed to login with provided credentials\r\njava.io.IOException: Failed to login with provided credentials at net.adamcin.granite.client.packman.async.AsyncPackageManagerClient.login(AsyncPackageManagerClient.java:197) at org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.doLoginPOST(GraniteClientExecutor.java:138) \tat org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.doLogin(GraniteClientExecutor.java:103)\r\n\tat org.jenkinsci.plugins.graniteclient.GraniteClientExecutor.execute(GraniteClientExecutor.java:86)\r\n\tat org.jenkinsci.plugins.graniteclient.DeployPackageCallable.invoke(DeployPackageCallable.java:123)\r\n\tat org.jenkinsci.plugins.graniteclient.DeployPackageCallable.invoke(DeployPackageCallable.java:42)\r\n\tat hudson.FilePath.act(FilePath.java:989)\r\n\tat hudson.FilePath.act(FilePath.java:967)\r\n\tat org.jenkinsci.plugins.graniteclient.DeployPackagesBuilder.perform(DeployPackagesBuilder.java:273)\r\n\tat hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)\r\n\tat hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:906)\r\n\tat hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:857)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)\r\n\tat hudson.model.Run.execute(Run.java:1718)\r\n\tat hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)\r\n\tat hudson.model.ResourceController.execute(ResourceController.java:89)\r\n\tat hudson.model.Executor.run(Executor.java:240)\r\nBuild step 'Deploy Content Packages to CRX' changed build result to FAILURE\r\nBuild step 'Deploy Content Packages to CRX' marked build as failure\r\n\r\n.......\r\nIf we try to install the same package using CURL command with the default credentials of admin:admin, we receive success.\r\n\r\nNot sure what credentials are getting passed."},"comment":{"url":"https://api.github.com/repos/adamcin/crx-content-package-deployer/issues/comments/78298697","html_url":"https://github.com/adamcin/crx-content-package-deployer/issues/2#issuecomment-78298697","issue_url":"https://api.github.com/repos/adamcin/crx-content-package-deployer/issues/2","id":78298697,"user":{"login":"mansingh","id":8481953,"avatar_url":"https://avatars.githubusercontent.com/u/8481953?v=3","gravatar_id":"","url":"https://api.github.com/users/mansingh","html_url":"https://github.com/mansingh","followers_url":"https://api.github.com/users/mansingh/followers","following_url":"https://api.github.com/users/mansingh/following{/other_user}","gists_url":"https://api.github.com/users/mansingh/gists{/gist_id}","starred_url":"https://api.github.com/users/mansingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mansingh/subscriptions","organizations_url":"https://api.github.com/users/mansingh/orgs","repos_url":"https://api.github.com/users/mansingh/repos","events_url":"https://api.github.com/users/mansingh/events{/privacy}","received_events_url":"https://api.github.com/users/mansingh/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T16:24:44Z","updated_at":"2015-03-11T16:24:44Z","body":"The POST does not obviously..."}}