{"action":"created","issue":{"url":"https://api.github.com/repos/coreGreenberet/homematicip-rest-api/issues/50","repository_url":"https://api.github.com/repos/coreGreenberet/homematicip-rest-api","labels_url":"https://api.github.com/repos/coreGreenberet/homematicip-rest-api/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/coreGreenberet/homematicip-rest-api/issues/50/comments","events_url":"https://api.github.com/repos/coreGreenberet/homematicip-rest-api/issues/50/events","html_url":"https://github.com/coreGreenberet/homematicip-rest-api/issues/50","id":272487124,"number":50,"title":"Connection error with newest Version","user":{"login":"gar00u","id":32190251,"avatar_url":"https://avatars2.githubusercontent.com/u/32190251?v=4","gravatar_id":"","url":"https://api.github.com/users/gar00u","html_url":"https://github.com/gar00u","followers_url":"https://api.github.com/users/gar00u/followers","following_url":"https://api.github.com/users/gar00u/following{/other_user}","gists_url":"https://api.github.com/users/gar00u/gists{/gist_id}","starred_url":"https://api.github.com/users/gar00u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gar00u/subscriptions","organizations_url":"https://api.github.com/users/gar00u/orgs","repos_url":"https://api.github.com/users/gar00u/repos","events_url":"https://api.github.com/users/gar00u/events{/privacy}","received_events_url":"https://api.github.com/users/gar00u/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-11-09T09:06:36Z","updated_at":"2017-11-11T12:45:06Z","closed_at":null,"author_association":"NONE","body":"When using the newest API Version, I get an error on establishing the connection with error 403.\r\n\r\nMy host system is MacOS Version 10.13.\r\n\r\nI recently installed python 3, Version 3.6.3\r\n\r\nThe required packages are installed in following Versions:\r\nName: requests, Version: 2.18.4\r\nName: websocket-client, Version: 0.44.0\r\nName: future, Version: 0.16.0\r\n\r\nMy config-file is the same I successfully used with the Python2 Version from 2 days ago. My Pi still runs the old Version (without Python3 changes and connection class) and works like a charm.\r\n\r\nWith activated debug I see the following Console output:\r\n`2017-11-09 09:52:53,473 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): hmip1-1.homematic.com`\r\n`2017-11-09 09:52:53,606 - urllib3.connectionpool - DEBUG - https://hmip1-1.homematic.com:6969 \"POST /hmip/home/getCurrentState HTTP/1.1\" 403 43`\r\n`2017-11-09 09:52:53,610 - homematicip.connection - DEBUG - _restcall result: Errorcode=403 content({'errorCode': 'INVALID_AUTHORIZATION'})`\r\n`2017-11-09 09:52:53,610 - homematicip.home - ERROR - Could not get the current configuration. Error: INVALID_AUTHORIZATION`\r\n\r\nDo you have an idea what is going wrong? "},"comment":{"url":"https://api.github.com/repos/coreGreenberet/homematicip-rest-api/issues/comments/343662264","html_url":"https://github.com/coreGreenberet/homematicip-rest-api/issues/50#issuecomment-343662264","issue_url":"https://api.github.com/repos/coreGreenberet/homematicip-rest-api/issues/50","id":343662264,"user":{"login":"gar00u","id":32190251,"avatar_url":"https://avatars2.githubusercontent.com/u/32190251?v=4","gravatar_id":"","url":"https://api.github.com/users/gar00u","html_url":"https://github.com/gar00u","followers_url":"https://api.github.com/users/gar00u/followers","following_url":"https://api.github.com/users/gar00u/following{/other_user}","gists_url":"https://api.github.com/users/gar00u/gists{/gist_id}","starred_url":"https://api.github.com/users/gar00u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gar00u/subscriptions","organizations_url":"https://api.github.com/users/gar00u/orgs","repos_url":"https://api.github.com/users/gar00u/repos","events_url":"https://api.github.com/users/gar00u/events{/privacy}","received_events_url":"https://api.github.com/users/gar00u/received_events","type":"User","site_admin":false},"created_at":"2017-11-11T12:45:06Z","updated_at":"2017-11-11T12:45:06Z","author_association":"NONE","body":"The old Version still supports SGTIN with \"-\". I think the code cropping the minusses from SGTIN is broken in the new Version."}}
{"actor":{"display_login":"gar00u"}}