Skip to content

Instantly share code, notes, and snippets.

/traceback.txt Secret

Created March 24, 2016 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/62ca41e98e67b304838d to your computer and use it in GitHub Desktop.
Save anonymous/62ca41e98e67b304838d to your computer and use it in GitHub Desktop.
Werkzeug Internal Server Error
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\flask\app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "C:\Python27\lib\site-packages\flask\app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "C:\Python27\lib\site-packages\flask\app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\Users\Brian Gunsel\Desktop\Code\Python\microblog\__init__.py", line 12, in home
mongo.db.posts.insert_one({"title": "test", "text": "test test"})
File "C:\Python27\lib\site-packages\pymongo\collection.py", line 622, in insert_one
with self._socket_for_writes() as sock_info:
File "C:\Python27\lib\contextlib.py", line 17, in __enter__
return self.gen.next()
File "C:\Python27\lib\site-packages\pymongo\mongo_client.py", line 716, in _get_socket
server = self._get_topology().select_server(selector)
File "C:\Python27\lib\site-packages\pymongo\topology.py", line 142, in select_server
address))
File "C:\Python27\lib\site-packages\pymongo\topology.py", line 118, in select_servers
self._error_message(selector))
ServerSelectionTimeoutError: microblog:27017: [Errno 11001] getaddrinfo failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment