{"action":"created","issue":{"url":"https://api.github.com/repos/BennyE/stellar-dynpsk/issues/2","repository_url":"https://api.github.com/repos/BennyE/stellar-dynpsk","labels_url":"https://api.github.com/repos/BennyE/stellar-dynpsk/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/BennyE/stellar-dynpsk/issues/2/comments","events_url":"https://api.github.com/repos/BennyE/stellar-dynpsk/issues/2/events","html_url":"https://github.com/BennyE/stellar-dynpsk/issues/2","id":382383956,"node_id":"MDU6SXNzdWUzODIzODM5NTY=","number":2,"title":"Python3 SMTP ValueError: server_hostname cannot be an empty string or start with a leading dot","user":{"login":"ebcoelho","id":16887421,"node_id":"MDQ6VXNlcjE2ODg3NDIx","avatar_url":"https://avatars1.githubusercontent.com/u/16887421?v=4","gravatar_id":"","url":"https://api.github.com/users/ebcoelho","html_url":"https://github.com/ebcoelho","followers_url":"https://api.github.com/users/ebcoelho/followers","following_url":"https://api.github.com/users/ebcoelho/following{/other_user}","gists_url":"https://api.github.com/users/ebcoelho/gists{/gist_id}","starred_url":"https://api.github.com/users/ebcoelho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebcoelho/subscriptions","organizations_url":"https://api.github.com/users/ebcoelho/orgs","repos_url":"https://api.github.com/users/ebcoelho/repos","events_url":"https://api.github.com/users/ebcoelho/events{/privacy}","received_events_url":"https://api.github.com/users/ebcoelho/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"BennyE","id":5174414,"node_id":"MDQ6VXNlcjUxNzQ0MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5174414?v=4","gravatar_id":"","url":"https://api.github.com/users/BennyE","html_url":"https://github.com/BennyE","followers_url":"https://api.github.com/users/BennyE/followers","following_url":"https://api.github.com/users/BennyE/following{/other_user}","gists_url":"https://api.github.com/users/BennyE/gists{/gist_id}","starred_url":"https://api.github.com/users/BennyE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BennyE/subscriptions","organizations_url":"https://api.github.com/users/BennyE/orgs","repos_url":"https://api.github.com/users/BennyE/repos","events_url":"https://api.github.com/users/BennyE/events{/privacy}","received_events_url":"https://api.github.com/users/BennyE/received_events","type":"User","site_admin":false},"assignees":[{"login":"BennyE","id":5174414,"node_id":"MDQ6VXNlcjUxNzQ0MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5174414?v=4","gravatar_id":"","url":"https://api.github.com/users/BennyE","html_url":"https://github.com/BennyE","followers_url":"https://api.github.com/users/BennyE/followers","following_url":"https://api.github.com/users/BennyE/following{/other_user}","gists_url":"https://api.github.com/users/BennyE/gists{/gist_id}","starred_url":"https://api.github.com/users/BennyE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BennyE/subscriptions","organizations_url":"https://api.github.com/users/BennyE/orgs","repos_url":"https://api.github.com/users/BennyE/repos","events_url":"https://api.github.com/users/BennyE/events{/privacy}","received_events_url":"https://api.github.com/users/BennyE/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-11-19T20:39:09Z","updated_at":"2018-11-21T10:11:00Z","closed_at":"2018-11-21T10:11:00Z","author_association":"NONE","body":"Issue running the script after python upgrade from 3.5 to 3.7.\r\n\r\nFound some references on link below:\r\nhttps://github.com/ansible/ansible/pull/44552#issue-210314052\r\n\r\n$ python3 stellar-dynpsk.py \r\n\r\nStellar DynPSK - a simple PSK changer for Stellar Wireless SSIDs\r\nWritten by Benny Eggerstedt in 2018\r\nThis is free software not provided/shipped by Alcatel-Lucent Enterprise. Use it at your own risk!\r\n\r\n[+] Reading settings.json file\r\n[!] Ignoring certificate warnings or self-signed certificates!\r\n[!] You should really fix this!\r\n[*] Attempting to connect to OmniVista server @ https://ov2500.lettel.com.br\r\n[*] Connection to ov2500.lettel.com.br successful!\r\n[*] Working on AP GROUP L2GRE-STELLAR...\r\n    [*] Found instanceID 5b57933ce4b0a167146a7b78 for AP group L2GRE-STELLAR\r\n    [*] Found deviceId 5b5869a4e4b0391cd6b2a3f6 for SSID ALCA-PSK\r\n    [+] Changed the PSK of AP GROUP L2GRE-STELLAR, SSID ALCA-PSK to: aazdbWHk\r\nTraceback (most recent call last):\r\n  File \"stellar-dynpsk.py\", line 660, in <module>\r\n    smtp_server, smtp_auth, smtp_user, smtp_port, smtp_password)\r\n  File \"stellar-dynpsk.py\", line 454, in send_mail\r\n    smtp.starttls()\r\n  File \"/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/smtplib.py\", line 771, in starttls\r\n    server_hostname=self._host)\r\n  File \"/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 412, in wrap_socket\r\n    session=session\r\n  File \"/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py\", line 843, in _create\r\n    owner=self, session=self._session,\r\nValueError: server_hostname cannot be an empty string or start with a leading dot.\r\n"},"comment":{"url":"https://api.github.com/repos/BennyE/stellar-dynpsk/issues/comments/440608194","html_url":"https://github.com/BennyE/stellar-dynpsk/issues/2#issuecomment-440608194","issue_url":"https://api.github.com/repos/BennyE/stellar-dynpsk/issues/2","id":440608194,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDYwODE5NA==","user":{"login":"BennyE","id":5174414,"node_id":"MDQ6VXNlcjUxNzQ0MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5174414?v=4","gravatar_id":"","url":"https://api.github.com/users/BennyE","html_url":"https://github.com/BennyE","followers_url":"https://api.github.com/users/BennyE/followers","following_url":"https://api.github.com/users/BennyE/following{/other_user}","gists_url":"https://api.github.com/users/BennyE/gists{/gist_id}","starred_url":"https://api.github.com/users/BennyE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BennyE/subscriptions","organizations_url":"https://api.github.com/users/BennyE/orgs","repos_url":"https://api.github.com/users/BennyE/repos","events_url":"https://api.github.com/users/BennyE/events{/privacy}","received_events_url":"https://api.github.com/users/BennyE/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T10:11:00Z","updated_at":"2018-11-21T10:11:00Z","author_association":"OWNER","body":"Thanks for testing this Eduardo, much appreciated. I merged the fix to master and will delete the smtpfix branch."}}
{"actor":{"display_login":"BennyE"}}