{"action":"created","issue":{"url":"https://api.github.com/repos/lingthio/Flask-User-starter-app/issues/7","labels_url":"https://api.github.com/repos/lingthio/Flask-User-starter-app/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/lingthio/Flask-User-starter-app/issues/7/comments","events_url":"https://api.github.com/repos/lingthio/Flask-User-starter-app/issues/7/events","html_url":"https://github.com/lingthio/Flask-User-starter-app/issues/7","id":105204333,"number":7,"title":"Cannot create new user?","user":{"login":"scheung38","id":1273014,"avatar_url":"https://avatars.githubusercontent.com/u/1273014?v=3","gravatar_id":"","url":"https://api.github.com/users/scheung38","html_url":"https://github.com/scheung38","followers_url":"https://api.github.com/users/scheung38/followers","following_url":"https://api.github.com/users/scheung38/following{/other_user}","gists_url":"https://api.github.com/users/scheung38/gists{/gist_id}","starred_url":"https://api.github.com/users/scheung38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheung38/subscriptions","organizations_url":"https://api.github.com/users/scheung38/orgs","repos_url":"https://api.github.com/users/scheung38/repos","events_url":"https://api.github.com/users/scheung38/events{/privacy}","received_events_url":"https://api.github.com/users/scheung38/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T12:12:27Z","updated_at":"2015-09-15T21:22:10Z","closed_at":null,"body":"Have tried using the default\r\nenv_settings_example.py as well as using my own env_settings.py, but they all cannot register new users?\r\n\r\nHave been able to sign in using default admin and user:\r\n\r\nTest users:\r\n- user@example.com / Password1\r\n- admin@example.com / Password1\r\n\r\nBut cannot create new user:\r\n```\r\n127.0.0.1 - - [07/Sep/2015 13:07:34] \"GET /user/register HTTP/1.1\" 200 -\r\n127.0.0.1 - - [07/Sep/2015 13:08:10] \"POST /user/register HTTP/1.1\" 500 -\r\nTraceback (most recent call last):\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask/app.py\", line 1836, in __call__\r\n    return self.wsgi_app(environ, start_response)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask/app.py\", line 1820, in wsgi_app\r\n    response = self.make_response(self.handle_exception(e))\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask/app.py\", line 1403, in handle_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask/app.py\", line 1817, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask/app.py\", line 1477, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask/app.py\", line 1381, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask/app.py\", line 1475, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask/app.py\", line 1461, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask_user/views.py\", line 423, in register\r\n    _send_registered_email(user, user_email, require_email_confirmation)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask_user/views.py\", line 662, in _send_registered_email\r\n    emails.send_registered_email(user, user_email, confirm_email_link)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask_user/emails.py\", line 148, in send_registered_email\r\n    user_manager.send_email_function(email, subject, html_message, text_message)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask_user/emails.py\", line 49, in send_email\r\n    mail_engine.send(message)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask_mail.py\", line 491, in send\r\n    with self.connect() as connection:\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask_mail.py\", line 144, in __enter__\r\n    self.host = self.configure_host()\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/site-packages/flask_mail.py\", line 156, in configure_host\r\n    host = smtplib.SMTP_SSL(self.mail.server, self.mail.port)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/smtplib.py\", line 796, in __init__\r\n    SMTP.__init__(self, host, port, local_hostname, timeout)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/smtplib.py\", line 256, in __init__\r\n    (code, msg) = self.connect(host, port)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/smtplib.py\", line 316, in connect\r\n    self.sock = self._get_socket(host, port, self.timeout)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/smtplib.py\", line 801, in _get_socket\r\n    new_socket = socket.create_connection((host, port), timeout)\r\n  File \"/home/osboxes/anaconda/envs/py27/lib/python2.7/socket.py\", line 557, in create_connection\r\n    for res in getaddrinfo(host, port, 0, SOCK_STREAM):\r\nTypeError: getaddrinfo() argument 1 must be string or None\r\n127.0.0.1 - - [07/Sep/2015 13:08:10] \"GET /user/register?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1\" 200 -\r\n127.0.0.1 - - [07/Sep/2015 13:08:10] \"GET /user/register?__debugger__=yes&cmd=resource&f=jquery.js HTTP/1.1\" 200 -\r\n127.0.0.1 - - [07/Sep/2015 13:08:10] \"GET /user/register?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1\" 200 -\r\n127.0.0.1 - - [07/Sep/2015 13:08:10] \"GET /user/register?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1\" 200 -\r\n127.0.0.1 - - [07/Sep/2015 13:08:10] \"GET /user/register?__debugger__=yes&cmd=resource&f=source.png HTTP/1.1\" 200 -\r\n```"},"comment":{"url":"https://api.github.com/repos/lingthio/Flask-User-starter-app/issues/comments/140549404","html_url":"https://github.com/lingthio/Flask-User-starter-app/issues/7#issuecomment-140549404","issue_url":"https://api.github.com/repos/lingthio/Flask-User-starter-app/issues/7","id":140549404,"user":{"login":"Hendeca","id":933567,"avatar_url":"https://avatars.githubusercontent.com/u/933567?v=3","gravatar_id":"","url":"https://api.github.com/users/Hendeca","html_url":"https://github.com/Hendeca","followers_url":"https://api.github.com/users/Hendeca/followers","following_url":"https://api.github.com/users/Hendeca/following{/other_user}","gists_url":"https://api.github.com/users/Hendeca/gists{/gist_id}","starred_url":"https://api.github.com/users/Hendeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hendeca/subscriptions","organizations_url":"https://api.github.com/users/Hendeca/orgs","repos_url":"https://api.github.com/users/Hendeca/repos","events_url":"https://api.github.com/users/Hendeca/events{/privacy}","received_events_url":"https://api.github.com/users/Hendeca/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T21:22:10Z","updated_at":"2015-09-15T21:22:10Z","body":"I'm having the exact same problem. Same error message:\r\n\r\n    TypeError: getaddrinfo() argument 1 must be string or None\r\n\r\nAny idea what's going on with this or plans to fix it?"}}