{"action":"created","issue":{"url":"https://api.github.com/repos/carbonblack/cbapi-python/issues/120","repository_url":"https://api.github.com/repos/carbonblack/cbapi-python","labels_url":"https://api.github.com/repos/carbonblack/cbapi-python/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/carbonblack/cbapi-python/issues/120/comments","events_url":"https://api.github.com/repos/carbonblack/cbapi-python/issues/120/events","html_url":"https://github.com/carbonblack/cbapi-python/issues/120","id":350932073,"node_id":"MDU6SXNzdWUzNTA5MzIwNzM=","number":120,"title":"Cannot find credential profile issue","user":{"login":"p3nreel","id":19589960,"node_id":"MDQ6VXNlcjE5NTg5OTYw","avatar_url":"https://avatars3.githubusercontent.com/u/19589960?v=4","gravatar_id":"","url":"https://api.github.com/users/p3nreel","html_url":"https://github.com/p3nreel","followers_url":"https://api.github.com/users/p3nreel/followers","following_url":"https://api.github.com/users/p3nreel/following{/other_user}","gists_url":"https://api.github.com/users/p3nreel/gists{/gist_id}","starred_url":"https://api.github.com/users/p3nreel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p3nreel/subscriptions","organizations_url":"https://api.github.com/users/p3nreel/orgs","repos_url":"https://api.github.com/users/p3nreel/repos","events_url":"https://api.github.com/users/p3nreel/events{/privacy}","received_events_url":"https://api.github.com/users/p3nreel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-15T19:18:49Z","updated_at":"2018-08-15T21:16:01Z","closed_at":null,"author_association":"NONE","body":"Hello All, I have recently installed Carbon Black Surveyor on an Ubuntu Desktop 18.04 system. I am following the instructions on installing/configuring the CB API from https://cbapi.readthedocs.io/en/latest/getting-started.html to work with our CB Response tool. When I get to the \"Your First Query\"section, I am getting the error below when trying in python and python3. I found a similar issue from another post (https://github.com/carbonblack/cbapi-python/issues/74) and tried both solutions that (Solution 1: pip install request[security]) (Solution 2: Reinstall API) and neither worked. The credential file is located in path /etc/carbonblack/credentials.response. Any thoughts what could be causing this? Thanks in advance.\r\n![cbr](https://user-images.githubusercontent.com/19589960/44168189-62f06a00-a09e-11e8-80c4-a9ae328697a6.JPG)\r\n"},"comment":{"url":"https://api.github.com/repos/carbonblack/cbapi-python/issues/comments/413339743","html_url":"https://github.com/carbonblack/cbapi-python/issues/120#issuecomment-413339743","issue_url":"https://api.github.com/repos/carbonblack/cbapi-python/issues/120","id":413339743,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzMzOTc0Mw==","user":{"login":"jgarman","id":3229292,"node_id":"MDQ6VXNlcjMyMjkyOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3229292?v=4","gravatar_id":"","url":"https://api.github.com/users/jgarman","html_url":"https://github.com/jgarman","followers_url":"https://api.github.com/users/jgarman/followers","following_url":"https://api.github.com/users/jgarman/following{/other_user}","gists_url":"https://api.github.com/users/jgarman/gists{/gist_id}","starred_url":"https://api.github.com/users/jgarman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgarman/subscriptions","organizations_url":"https://api.github.com/users/jgarman/orgs","repos_url":"https://api.github.com/users/jgarman/repos","events_url":"https://api.github.com/users/jgarman/events{/privacy}","received_events_url":"https://api.github.com/users/jgarman/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T21:16:01Z","updated_at":"2018-08-15T21:16:01Z","author_association":"MEMBER","body":"Remove the `/#/login` from the URL in the credential file. It should just be `https://servername`\r\n\r\nPython3 is failing because `cbapi` isn't installed in python3. You can use `pip3 install cbapi` if you want to install in the default python3 site-packages directory."}}
{"actor":{"display_login":"jgarman"}}