{"action":"created","issue":{"url":"https://api.github.com/repos/ytti/oxidized/issues/473","repository_url":"https://api.github.com/repos/ytti/oxidized","labels_url":"https://api.github.com/repos/ytti/oxidized/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/ytti/oxidized/issues/473/comments","events_url":"https://api.github.com/repos/ytti/oxidized/issues/473/events","html_url":"https://github.com/ytti/oxidized/issues/473","id":160853017,"number":473,"title":"Hook push to remote : Issue (Unsupported URL protocol)","user":{"login":"limace255","id":18259327,"avatar_url":"https://avatars.githubusercontent.com/u/18259327?v=3","gravatar_id":"","url":"https://api.github.com/users/limace255","html_url":"https://github.com/limace255","followers_url":"https://api.github.com/users/limace255/followers","following_url":"https://api.github.com/users/limace255/following{/other_user}","gists_url":"https://api.github.com/users/limace255/gists{/gist_id}","starred_url":"https://api.github.com/users/limace255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limace255/subscriptions","organizations_url":"https://api.github.com/users/limace255/orgs","repos_url":"https://api.github.com/users/limace255/repos","events_url":"https://api.github.com/users/limace255/events{/privacy}","received_events_url":"https://api.github.com/users/limace255/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-06-17T09:57:14Z","updated_at":"2016-07-05T14:32:53Z","closed_at":null,"body":"Hi all,\r\n\r\nWe try to use oxidized, with following concernes :\r\n\r\nbackup networks equipments\r\npush configs to internal git server (gitlab)\r\nWhen launching oxidized (in debug mode), we have this in the logs :\r\n\r\n```\r\nI, [2016-06-17T11:53:52.466907 #12943] INFO -- : GithubRepo: Pushing local repository(/root/.config/oxidized/oxidized.git/)...\r\nI, [2016-06-17T11:53:52.467765 #12943] INFO -- : GithubRepo: to remote: routers:\"git@git_server:PATH/test.git\"\r\nE, [2016-06-17T11:53:52.469240 #12943] ERROR -- : Hook push_to_remote (#GithubRepo:0x0000000212f3e8) failed (#) for event :post_store\r\n```\r\n\r\nOur configuration file :\r\n``` yaml\r\nhooks:\r\npush_to_remote:\r\ntype: githubrepo\r\nevents: [post_store]\r\nremote_repo:\r\nrouters:\"git@git_server:PATH/test.git\"\r\npublickey: \"/root/.ssh/id_rsa.pub\"\r\nprivatekey: \"/root/.ssh/id_rsa\"\r\n```\r\nDid we make something wrong ?\r\n\r\nThanks in advance !"},"comment":{"url":"https://api.github.com/repos/ytti/oxidized/issues/comments/230495587","html_url":"https://github.com/ytti/oxidized/issues/473#issuecomment-230495587","issue_url":"https://api.github.com/repos/ytti/oxidized/issues/473","id":230495587,"user":{"login":"limace255","id":18259327,"avatar_url":"https://avatars.githubusercontent.com/u/18259327?v=3","gravatar_id":"","url":"https://api.github.com/users/limace255","html_url":"https://github.com/limace255","followers_url":"https://api.github.com/users/limace255/followers","following_url":"https://api.github.com/users/limace255/following{/other_user}","gists_url":"https://api.github.com/users/limace255/gists{/gist_id}","starred_url":"https://api.github.com/users/limace255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limace255/subscriptions","organizations_url":"https://api.github.com/users/limace255/orgs","repos_url":"https://api.github.com/users/limace255/repos","events_url":"https://api.github.com/users/limace255/events{/privacy}","received_events_url":"https://api.github.com/users/limace255/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T14:32:53Z","updated_at":"2016-07-05T14:32:53Z","body":"Hi all,\r\n\r\nSome news since the last time !\r\n\r\nWe have fixed \"local to remote\" push issues, so now, when launching oxidized : \r\n\r\n- git (local) works perfectly\r\n- git (remote) still NOK\r\n- manual push (from local to remote) works well ('git push origin master')\r\n\r\nLogs : \r\nI, [2016-07-05T15:46:55.110164 #19936]  INFO -- : GithubRepo: Pushing local repository(/home/oxidized/backup-network/.git/)...\r\nI, [2016-07-05T15:46:55.111233 #19936]  INFO -- : GithubRepo: to remote: backup@10.10.10.10:backup/backup-network.git\r\nE, [2016-07-05T15:46:55.112584 #19936] ERROR -- : Hook push_to_remote (#<GithubRepo:0x000000026b0588>) failed (#<Rugged::NetworkError: Unsupported URL protocol>) for event :post_store\r\n\r\nlim"}}
{"actor":{"display_login":"limace255"}}