mafengwo-crawlers icon indicating copy to clipboard operation
mafengwo-crawlers copied to clipboard

你好 我是直接按照你的步骤来的 不知道为什么就是报错 centos7 内核 3.10.0-327.el7.x86_64 vmware虚拟机

Open generalbao opened this issue 6 years ago • 0 comments

peewee.OperationalError: (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)") portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 20 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 19 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 18 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 17 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 16 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 15 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 14 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 13 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 12 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 11 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 10 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 9 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 8 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 7 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 6 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 5 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 4 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 3 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 2 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 1 portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/ portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed portal_1 | ℹ️ Remaining retries: 0 portal_1 | Traceback (most recent call last): portal_1 | File "/lambda/src/main_portal.py", line 8, in portal_1 | pc.entry() portal_1 | File "/lambda/src/ctrl_portal.py", line 72, in entry portal_1 | self.set_data() portal_1 | File "/lambda/src/ctrl_portal.py", line 27, in set_data portal_1 | attr = 'href' portal_1 | File "/lambda/src/common/httper.py", line 90, in get_data portal_1 | txt = self.result portal_1 | AttributeError: 'Httper' object has no attribute 'result' db_1 | 2018-09-18T22:09:13.347567Z 4 [Note] Aborted connection 4 to db: 'ayou' user: 'ayou' host: '172.18.0.7' (Got an error reading communication packets) mafengwo-crawlers_portal_1 exited with code 1

请指导指导 谢谢

generalbao avatar Sep 18 '18 14:09 generalbao