Closed zhangjianpinghik closed 4 years ago
是不是端口不对?检查下你的配置
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: zhangjianpinghik <notifications@github.com> 发送时间: 2019年11月8日 21:55 收件人: lyy8510a/OpenMangosteen <OpenMangosteen@noreply.github.com> 抄送: Subscribed <subscribed@noreply.github.com> 主题: 回复:[lyy8510a/OpenMangosteen] 报错连不上redis (#6)
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/flask/app.py", line 2309, in call return self.wsgi_app(environ, start_response) File "/usr/lib/python2.7/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/usr/lib/python2.7/site-packages/flask/app.py", line 1741, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python2.7/site-packages/flask/app.py", line 1816, in full_dispatch_request return self.finalize_request(rv) File "/usr/lib/python2.7/site-packages/flask/app.py", line 1833, in finalize_request response = self.process_response(response) File "/usr/lib/python2.7/site-packages/flask/app.py", line 2114, in process_response self.session_interface.save_session(self, ctx.session, response) File "/usr/lib/python2.7/site-packages/flask_session/sessions.py", line 166, in save_session time=total_seconds(app.permanent_session_lifetime)) File "/usr/lib/python2.7/site-packages/redis/client.py", line 2278, in setex return self.execute_command('SETEX', name, time, value) File "/usr/lib/python2.7/site-packages/redis/client.py", line 673, in execute_command connection.send_command(args) File "/usr/lib/python2.7/site-packages/redis/connection.py", line 610, in send_command self.send_packed_command(self.pack_command(args)) File "/usr/lib/python2.7/site-packages/redis/connection.py", line 585, in send_packed_command self.connect() File "/usr/lib/python2.7/site-packages/redis/connection.py", line 489, in connect raise ConnectionError(self._error_message(e)) ConnectionError: Error -2 connecting to :6379. Name or service not known.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/flask/app.py", line 2309, in call return self.wsgi_app(environ, start_response) File "/usr/lib/python2.7/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/usr/lib/python2.7/site-packages/flask/app.py", line 1741, in handle_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python2.7/site-packages/flask/app.py", line 1816, in full_dispatch_request return self.finalize_request(rv) File "/usr/lib/python2.7/site-packages/flask/app.py", line 1833, in finalize_request response = self.process_response(response) File "/usr/lib/python2.7/site-packages/flask/app.py", line 2114, in process_response self.session_interface.save_session(self, ctx.session, response) File "/usr/lib/python2.7/site-packages/flask_session/sessions.py", line 166, in save_session time=total_seconds(app.permanent_session_lifetime)) File "/usr/lib/python2.7/site-packages/redis/client.py", line 2278, in setex return self.execute_command('SETEX', name, time, value) File "/usr/lib/python2.7/site-packages/redis/client.py", line 673, in execute_command connection.send_command(args) File "/usr/lib/python2.7/site-packages/redis/connection.py", line 610, in send_command self.send_packed_command(self.pack_command(args)) File "/usr/lib/python2.7/site-packages/redis/connection.py", line 585, in send_packed_command self.connect() File "/usr/lib/python2.7/site-packages/redis/connection.py", line 489, in connect raise ConnectionError(self._error_message(e)) ConnectionError: Error -2 connecting to :6379. Name or service not known.