{"action":"created","issue":{"url":"https://api.github.com/repos/attzonko/mattermost_bot/issues/15","repository_url":"https://api.github.com/repos/attzonko/mattermost_bot","labels_url":"https://api.github.com/repos/attzonko/mattermost_bot/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/attzonko/mattermost_bot/issues/15/comments","events_url":"https://api.github.com/repos/attzonko/mattermost_bot/issues/15/events","html_url":"https://github.com/attzonko/mattermost_bot/issues/15","id":301811994,"number":15,"title":"requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://chat.domain.org/api/v4/users/login","user":{"login":"epatpol","id":2881761,"avatar_url":"https://avatars3.githubusercontent.com/u/2881761?v=4","gravatar_id":"","url":"https://api.github.com/users/epatpol","html_url":"https://github.com/epatpol","followers_url":"https://api.github.com/users/epatpol/followers","following_url":"https://api.github.com/users/epatpol/following{/other_user}","gists_url":"https://api.github.com/users/epatpol/gists{/gist_id}","starred_url":"https://api.github.com/users/epatpol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epatpol/subscriptions","organizations_url":"https://api.github.com/users/epatpol/orgs","repos_url":"https://api.github.com/users/epatpol/repos","events_url":"https://api.github.com/users/epatpol/events{/privacy}","received_events_url":"https://api.github.com/users/epatpol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-03-02T15:51:32Z","updated_at":"2018-03-06T16:48:44Z","closed_at":null,"author_association":"NONE","body":"I don't know if I'm doing anything wrong, but the same config that used to work with the main repo doesn't work with the fork here. Here's the settings I use with it\r\n```python\r\nSSL_VERIFY = True  # Whether to perform SSL cert verification\r\nBOT_URL = 'http://chat.domain.org/api/v4'  # with 'http://' and with '/api/v3' path. without trailing slash. '/api/v1' - for version < 3.0\r\nBOT_LOGIN = 'botmail@domain.com'\r\nBOT_PASSWORD = 'botpassword'\r\nBOT_TEAM = 'botteam'  # possible in lowercase\r\n```\r\n\r\nAnything I could try? Thanks!\r\n\r\nedit: This might not be related to your fork, but we've updated mattermost recently and I can't really test master for this as it simply doesn't support api/v4 I think.\r\n"},"comment":{"url":"https://api.github.com/repos/attzonko/mattermost_bot/issues/comments/370847542","html_url":"https://github.com/attzonko/mattermost_bot/issues/15#issuecomment-370847542","issue_url":"https://api.github.com/repos/attzonko/mattermost_bot/issues/15","id":370847542,"user":{"login":"epatpol","id":2881761,"avatar_url":"https://avatars3.githubusercontent.com/u/2881761?v=4","gravatar_id":"","url":"https://api.github.com/users/epatpol","html_url":"https://github.com/epatpol","followers_url":"https://api.github.com/users/epatpol/followers","following_url":"https://api.github.com/users/epatpol/following{/other_user}","gists_url":"https://api.github.com/users/epatpol/gists{/gist_id}","starred_url":"https://api.github.com/users/epatpol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epatpol/subscriptions","organizations_url":"https://api.github.com/users/epatpol/orgs","repos_url":"https://api.github.com/users/epatpol/repos","events_url":"https://api.github.com/users/epatpol/events{/privacy}","received_events_url":"https://api.github.com/users/epatpol/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T16:48:44Z","updated_at":"2018-03-06T16:48:44Z","author_association":"NONE","body":"I'm not so sure about this @attzonko, I'm not the one who usually tinkers with nginx on our server here, but I can try asking around. Otherwise the fix mentionned by @seLain works for me! "}}
{"actor":{"display_login":"epatpol"}}