{"action":"created","issue":{"url":"https://api.github.com/repos/QubitProducts/bamboo/issues/161","labels_url":"https://api.github.com/repos/QubitProducts/bamboo/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/QubitProducts/bamboo/issues/161/comments","events_url":"https://api.github.com/repos/QubitProducts/bamboo/issues/161/events","html_url":"https://github.com/QubitProducts/bamboo/issues/161","id":105379181,"number":161,"title":"error in template","user":{"login":"bateau84","id":3236965,"avatar_url":"https://avatars.githubusercontent.com/u/3236965?v=3","gravatar_id":"","url":"https://api.github.com/users/bateau84","html_url":"https://github.com/bateau84","followers_url":"https://api.github.com/users/bateau84/followers","following_url":"https://api.github.com/users/bateau84/following{/other_user}","gists_url":"https://api.github.com/users/bateau84/gists{/gist_id}","starred_url":"https://api.github.com/users/bateau84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bateau84/subscriptions","organizations_url":"https://api.github.com/users/bateau84/orgs","repos_url":"https://api.github.com/users/bateau84/repos","events_url":"https://api.github.com/users/bateau84/events{/privacy}","received_events_url":"https://api.github.com/users/bateau84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-08T13:21:33Z","updated_at":"2015-09-08T22:29:50Z","closed_at":null,"body":"Hello! im getting a strange error.\r\n\r\n```\r\n2015-09-08 13:17:53,879 DEBG 'bamboo' stdout output:\r\n2015/09/08 13:17:53 Failed to retrieve template data\r\n2015/09/08 13:17:53 Failed to update HAProxy configuration: invalid character '<' looking for beginning of value\r\n```\r\n\r\nim using the default template in this repo config dir."},"comment":{"url":"https://api.github.com/repos/QubitProducts/bamboo/issues/comments/138722024","html_url":"https://github.com/QubitProducts/bamboo/issues/161#issuecomment-138722024","issue_url":"https://api.github.com/repos/QubitProducts/bamboo/issues/161","id":138722024,"user":{"login":"jdubs","id":567043,"avatar_url":"https://avatars.githubusercontent.com/u/567043?v=3","gravatar_id":"","url":"https://api.github.com/users/jdubs","html_url":"https://github.com/jdubs","followers_url":"https://api.github.com/users/jdubs/followers","following_url":"https://api.github.com/users/jdubs/following{/other_user}","gists_url":"https://api.github.com/users/jdubs/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubs/subscriptions","organizations_url":"https://api.github.com/users/jdubs/orgs","repos_url":"https://api.github.com/users/jdubs/repos","events_url":"https://api.github.com/users/jdubs/events{/privacy}","received_events_url":"https://api.github.com/users/jdubs/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T22:29:50Z","updated_at":"2015-09-08T22:29:50Z","body":"Hi,\r\nI'm also seeing some issues that is similar When tailing the marathon logs I see a 401 \r\n\r\n`Sep  8 22:25:05 mesos-master1-env marathon[20306]: [2015-09-08 22:25:05,421] INFO 10.25.157.123 -  -  [08/Sep/2015:22:25:05 +0000] \"GET /v2/tasks HTTP/1.1\" 401 1281 \"-\" \"Go 1.1 package http\" (mesosphere.chaos.http.ChaosRequestLog$$EnhancerByGuice$$23e8919e:15)`\r\n\r\nI've tried either passing in the Marathon.User & Marathon.Password at run time and via the config file but it still results in a 401. \r\n\r\nI'm wondering if bamboo is not sending the credentials and marathon is sending back some html, and the json parser is hitting the first '<' which is causing it to bail.\r\n\r\nOddly enough, the initial post to /v2/eventSubscriptions succeeds with a 200."}}