我正在运行一个烧瓶服务器,该服务器连接到neo4j数据库,并从本质上将数据提供给向其请求数据的UI。自从我在Flask服务器上实施HTTPS以来,我间歇性地收到503错误,并且当错误确实出现时,它没有记录在我的日志中。我将flask脚本的输出发送到文件中。我所看到的只是HTTP 200请求和我记录的其他一些详细信息。我在本地测试了Flask服务器,并强制执行404和503错误,并看到将它们输出到Flask输出的控制台以及将烧瓶输出到控制台的日志。它不能是过载的服务器,因为只有几个请求正在进行,并且我的数据库相对较小。知道发生了什么吗?这是从503发生时(晚上7点)截取的日志:
172.17.41.146 - - [17/Dec/2018 16:59:29] "POST /getDocContaining HTTP/1.1" 200 -
172.17.41.146 - - [17/Dec/2018 16:59:34] "OPTIONS /getDocContaining HTTP/1.1" 200 -
172.17.41.146 - - [17/Dec/2018 16:59:34] "OPTIONS /getDocContaining HTTP/1.1" 200 -
172.17.41.146 - - [17/Dec/2018 16:59:34] "POST /getDocContaining HTTP/1.1" 200 -
172.17.41.146 - - [17/Dec/2018 16:59:35] "POST /getDocContaining HTTP/1.1" 200 -
10.1.57.282 - - [17/Dec/2018 19:08:00] "GET / HTTP/1.1" 200 -
10.1.57.282 - - [17/Dec/2018 19:08:00] "GET /inline.bundle.js HTTP/1.1" 200 -
10.1.57.282 - - [17/Dec/2018 19:08:00] "GET /polyfills.bundle.js HTTP/1.1" 200 -
10.1.57.282 - - [17/Dec/2018 19:08:00] "GET /styles.bundle.js HTTP/1.1" 200 -
10.1.57.282 - - [17/Dec/2018 19:08:00] "GET /vendor.bundle.js HTTP/1.1" 200 -
10.1.57.282 - - [17/Dec/2018 19:08:00] "GET /main.bundle.js HTTP/1.1" 200 -
10.1.57.282 - - [17/Dec/2018 19:08:02] "GET /assets/images/Cimg1.png HTTP/1.1" 200 -
10.1.57.282 - - [17/Dec/2018 19:08:02] "GET /favicon.ico HTTP/1.1" 200 -
10.1.57.283 - - [17/Dec/2018 19:23:07] "GET / HTTP/1.1" 200 -
10.1.57.283 - - [17/Dec/2018 19:23:07] "GET /inline.bundle.js HTTP/1.1" 200 -
10.1.57.283 - - [17/Dec/2018 19:23:17] "POST /getDocContaining HTTP/1.1" 200 -
10.1.57.283 - - [17/Dec/2018 19:23:18] "POST /getDocContaining HTTP/1.1" 200 -
这是我的本地强制503的摘要:
127.0.0.1 - - [18/Dec/2018 17:07:53] "POST /getDocContaining HTTP/1.1" 200 -
127.0.0.1 - - [18/Dec/2018 17:17:11] "GET /empty-view/ HTTP/1.1" 503 -
127.0.0.1 - - [18/Dec/2018 17:17:17] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [18/Dec/2018 17:17:17] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 -
127.0.0.1 - - [18/Dec/2018 17:17:17] "GET /static/css/narrow-jumbotron.css HTTP/1.1" 200 -
127.0.0.1 - - [18/Dec/2018 17:17:17] "GET /static/js/jquery-3.2.1.min.js HTTP/1.1" 200 -
127.0.0.1 - - [18/Dec/2018 17:17:17] "GET /static/css/bootstrap.min.css.map HTTP/1.1" 200 -
127.0.0.1 - - [18/Dec/2018 17:17:17] "GET /getAlDoc HTTP/1.1" 404 -
127.0.0.1 - - [18/Dec/2018 17:17:20] "GET /getDocument HTTP/1.1" 200 -
127.0.0.1 - - [18/Dec/2018 17:17:29] "GET /empty-view HTTP/1.1" 301 -
127.0.0.1 - - [18/Dec/2018 17:17:29] "GET /empty-view/ HTTP/1.1" 503 -