好奇怪的问题,这个 js 文件只加载了一部分,直接拖到最后可以看到是一个不完整的 js 文件
地址: http://app-video-test.biquu.com/static/gen/admin.js
1
zivfun 2015-11-13 11:09:54 +08:00
<html>
<head> <title>Internal Server Error</title> </head> <body> <h1>Internal Server Error</h1> </body> </html> |
2
zivfun 2015-11-13 11:10:03 +08:00
自己去查
|
3
bilibala OP 问题解决了,访问这个链接时,查看了 gunicorn 的运行日志,出现了这样的错误信息:
--------------------------------------- Traceback (most recent call last): File "/home/run_user/.virtualenvs/product/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 108, in handle_request resp.write_file(respiter) File "/home/run_user/.virtualenvs/product/local/lib/python2.7/site-packages/gunicorn/http/wsgi.py", line 333, in write_file self.sendfile_all(fileno, self.sock.fileno(), fo_offset, nbytes) File "/home/run_user/.virtualenvs/product/local/lib/python2.7/site-packages/gunicorn/http/wsgi.py", line 310, in sendfile_all sent += sendfile(sockno, fileno, offset+sent, nbytes-sent) File "/home/run_user/.virtualenvs/product/local/lib/python2.7/site-packages/gunicorn/http/_sendfile.py", line 66, in sendfile raise OSError(e, os.strerror(e)) OSError: [Errno 11] Resource temporarily unavailable ERROR:gunicorn.error:Error handling request Traceback (most recent call last): File "/home/run_user/.virtualenvs/product/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 108, in handle_request resp.write_file(respiter) File "/home/run_user/.virtualenvs/product/local/lib/python2.7/site-packages/gunicorn/http/wsgi.py", line 333, in write_file self.sendfile_all(fileno, self.sock.fileno(), fo_offset, nbytes) File "/home/run_user/.virtualenvs/product/local/lib/python2.7/site-packages/gunicorn/http/wsgi.py", line 310, in sendfile_all sent += sendfile(sockno, fileno, offset+sent, nbytes-sent) File "/home/run_user/.virtualenvs/product/local/lib/python2.7/site-packages/gunicorn/http/_sendfile.py", line 66, in sendfile raise OSError(e, os.strerror(e)) OSError: [Errno 11] Resource temporarily unavailable --------------------------------------- 把 gunicorn 版本升级到 19.3.0 就解决了 |