0

500 Internal Server Error

发表于:2024-10-10 16:19:42 其他 248
系统出现500 Internal Server Error无法登入,其中映射的端口可以进入(例如homeassistant可以进入),而主页8000端口不能进入,SSH不能连接,显示500 Internal Server Error,只能强制重启,我需要怎么排查呢?重启后查看系统日志没显示什么异常。
收藏
送赞
分享

发表回复

评论列表(4)

###### access.log

192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/bg/wallpaper-6.webp HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /app-center/v1/service/list HTTP/1.1" 502 552 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /assets/desktop-Cid\_qXcw.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /assets/launchpad-BWEG1AYV.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.file-manager/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.setting/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.app-center/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.download-center/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.docker/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.backup-and-sync/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.file-manager/recycle-bin/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.resource-manager/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /static/app/icons/trim.log-center/icon.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /app-center/v1/service/list HTTP/1.1" 200 344 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /app-center-static/serviceicon/docker-xunlei/ui/images/icon-%7B0%7D.PNG HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /app-center-static/serviceicon/trim.photos/ui/images/icon\_%7B0%7D.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62" 192.168.31.11 - - [10/Oct/2024:15:15:38 +0800] "GET /app-center-static/serviceicon/trim.media/ui/images/icon\_%7B0%7D.png HTTP/1.1" 304 0 "http://192.168.31.220:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62"

###### error.log

```undefined
2024/10/10 14:31:12 [info] 1257#0: Cert config Array size: 2
2024/10/10 15:15:34 [info] 1240#0: Cert config Array size: 2
2024/10/10 15:15:38 [crit] 1471#0: *2 connect() to unix:/var/run/com.trim.app.center.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.31.11, server: , request: "GET /app-center/v1/service/list HTTP/1.1", upstream: "http://unix:/var/run/com.trim.app.center.sock:/app-center/v1/service/list", host: "192.168.31.220:8000", referrer: "http://192.168.31.220:8000/"
2024/10/10 15:54:30 [info] 1268#0: Cert config Array size: 2
2024/10/10 18:09:49 [**] 1505#0: *0 open socket #23 left in connection 8
```
2024-10-10 19:37:42 回复
感谢反馈,我们具体看一下
2024-10-15 16:52:55 回复
我也遇到同样问题,2次了
2024-10-22 20:46:05 回复
从更新0.8.21版本后,我每天都会出现至少2次,app能连上但是看不到文件,提示远程连接失败,电脑内网ip地址也连不上,但是内网映射的网盘能正常使用。
强制重启后就解决了,但是几个小时候又会再次出现,我怀疑是系统问题。
2024-10-27 20:53:26 回复
Alan_ud015

TA还没有介绍自己~

1

主题

5

回帖

8

积分

江湖小虾

积分
8
话题