Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

间歇性500错误 #6434

Closed
yyhhkya opened this issue Aug 3, 2024 · 4 comments
Closed

间歇性500错误 #6434

yyhhkya opened this issue Aug 3, 2024 · 4 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@yyhhkya
Copy link

yyhhkya commented Aug 3, 2024

系统信息

使用的哪种方式运行?

Docker Compose

发生了什么?

间歇性500错误 面板使用的1panel

复现步骤

多刷新几次就会复现

相关日志输出

No response

附加信息

ng配置

server {
listen 80 ;
listen 443 ssl http2 ;
server_name blog.isyyo.com;
index index.php index.html index.htm default.php default.htm default.html;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
access_log /www/sites/blog.isyyo.com/log/access.log main;
error_log /www/sites/blog.isyyo.com/log/error.log;
location ^~ /.well-known/acme-challenge {
allow all;
root /usr/share/nginx/html;
}
location / {
proxy_pass http://127.0.0.1:8090;
}
if ($scheme = http) {
return 301 https://$host$request_uri;
}
ssl_certificate /www/sites/blog.isyyo.com/ssl/fullchain.pem;
ssl_certificate_key /www/sites/blog.isyyo.com/ssl/privkey.pem;
ssl_protocols TLSv1.3 TLSv1.2 TLSv1.1 TLSv1;
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:!aNULL:!eNULL:!EXPORT:!DSS:!DES:!RC4:!3DES:!MD5:!PSK:!KRB5:!SRP:!CAMELLIA:!SEED;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
error_page 497 https://$host$request_uri;
proxy_set_header X-Forwarded-Proto https;
add_header Strict-Transport-Security "max-age=31536000";
}

@yyhhkya
Copy link
Author

yyhhkya commented Aug 3, 2024

halo-log-2024-08-03 10_19.log

站点:blog.isyyo.com

@ruibaby
Copy link
Member

ruibaby commented Aug 3, 2024

run.halo.img.error.LazyLoadHeadProcessor.process

可以看到是一个叫 LazyLoad 的插件提供的类导致的,应该是因为我们在新版本中移除了一个过时的问题导致的,建议向插件反馈修改这个问题。

修改方法参考:halo-sigs/plugin-umami#22

/kind support

@f2c-ci-robot f2c-ci-robot bot added the kind/support Categorizes issue or PR as a support question. label Aug 3, 2024
@yyhhkya
Copy link
Author

yyhhkya commented Aug 3, 2024

好的感谢

@ruibaby
Copy link
Member

ruibaby commented Aug 3, 2024

目前你可以关闭此插件。

@yyhhkya yyhhkya closed this as completed Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

2 participants