open-falcon-archive / portal

告警配置和管理页面

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

portal 运行两天后报Internal Server Error

torfuzx opened this issue · comments

portal的日志如下

2016-05-23 12:24:53     [connectionpool.py:180] [INFO: Starting new HTTP connection (1): 127.0.0.1]
2016-05-23 12:25:19     [connectionpool.py:180] [INFO: Starting new HTTP connection (1): 127.0.0.1]
2016-05-23 12:25:19     [connectionpool.py:180] [INFO: Starting new HTTP connection (1): 127.0.0.1]
  sig = uic.gen_sig()
  File "/home/work/open-falcon/portal/frame/api/uic.py", line 11, in gen_sig
    return requests.get(url).content
  File "/home/work/open-falcon/portal/env/lib/python2.6/site-packages/requests/api.py", line 55, in get
    return request('get', url, **kwargs)
  File "/home/work/open-falcon/portal/env/lib/python2.6/site-packages/requests/api.py", line 44, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/work/open-falcon/portal/env/lib/python2.6/site-packages/requests/sessions.py", line 456, in request
    resp = self.send(prep, **send_kwargs)

请问该怎么解决?

可以检查一下 MySQL 连线是否正常