[halo-dev/halo]使用docker-compose部署,启动没有报错,但无法访问页面

2024-03-18 849 views
7

使用127.0.0.1:8090和localhost:8090都无法访问页面

docker-compose文件如下

version: "3"

services:
  halo:
    image: halohub/halo:2.4
    container_name: halo
    restart: on-failure:3
    network_mode: "host"
    volumes:
      - ./:/root/.halo2
    command:
      # 修改为自己已有的 MySQL 配置
      - spring.r2dbc.url=r2dbc:pool:mysql://localhost:3306/halo
      - spring.r2dbc.username=root
      - spring.r2dbc.password=Aa123456
      - spring.sql.init.platform=mysql
      # 外部访问地址,请根据实际需要修改
      - halo.external-url=http://localhost:8090/
      # 初始化的超级管理员用户名
      - halo.security.initializer.superadminusername=root
      # 初始化的超级管理员密码
      - halo.security.initializer.superadminpassword=Aa123456
      # 端口号 默认8090
      - server.port=8090

这是docker的日志 image

Relevant log output
__  __      __

   / / / /___ _/ /___

  / /_/ / __ `/ / __ \

 / __  / /_/ / / /_/ /

/_/ /_/\__,_/_/\____/

Version: 2.4.2

2023-04-11T11:34:45.847+08:00  INFO 8 --- [           main] run.halo.app.Application                 : Starting Application v2.4.2 using Java 17.0.6 with PID 8 (/application/BOOT-INF/classes started by root in /application)

2023-04-11T11:34:45.854+08:00  INFO 8 --- [           main] run.halo.app.Application                 : No active profile set, falling back to 1 default profile: "default"

2023-04-11T11:34:47.654+08:00  INFO 8 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode

2023-04-11T11:34:47.661+08:00  INFO 8 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.

2023-04-11T11:34:48.113+08:00  INFO 8 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 420 ms. Found 1 R2DBC repository interfaces.

2023-04-11T11:34:51.419+08:00  INFO 8 --- [           main] org.pf4j.DefaultPluginStatusProvider     : Enabled plugins: []

2023-04-11T11:34:51.423+08:00  INFO 8 --- [           main] org.pf4j.DefaultPluginStatusProvider     : Disabled plugins: []

2023-04-11T11:34:51.428+08:00  INFO 8 --- [           main] org.pf4j.DefaultPluginManager            : PF4J version 3.9.0 in 'deployment' mode

2023-04-11T11:34:53.907+08:00  INFO 8 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 5 endpoint(s) beneath base path '/actuator'

2023-04-11T11:34:55.238+08:00  INFO 8 --- [           main] o.s.b.web.embedded.netty.NettyWebServer  : Netty started on port 8090

2023-04-11T11:34:55.244+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.metrics.VisitedEventReconciler

2023-04-11T11:34:55.258+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.metrics.ReplyEventReconciler

2023-04-11T11:34:55.261+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.search.post.PostEventReconciler

2023-04-11T11:34:55.258+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.metrics.VisitedEventReconciler-worker-1 started

2023-04-11T11:34:55.262+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.metrics.ReplyEventReconciler-worker-1 started

2023-04-11T11:34:55.269+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.plugin.PluginCreatedEventReconciler

2023-04-11T11:34:55.269+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.search.post.PostEventReconciler-worker-1 started

2023-04-11T11:34:55.271+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.metrics.VotedEventReconciler

2023-04-11T11:34:55.273+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.plugin.PluginCreatedEventReconciler-worker-1 started

2023-04-11T11:34:55.275+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.metrics.VotedEventReconciler-worker-1 started

2023-04-11T11:34:55.317+08:00  INFO 8 --- [   scheduling-1] r.h.a.s.a.login.impl.RsaKeyService       : Generating RSA keys...

2023-04-11T11:34:55.321+08:00  INFO 8 --- [           main] run.halo.app.Application                 : Started Application in 10.214 seconds (process running for 10.733)

2023-04-11T11:34:57.379+08:00  INFO 8 --- [           main] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.content.Post) synchronizer...

2023-04-11T11:34:57.566+08:00  INFO 8 --- [           main] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.content.Post) synchronizer.

2023-04-11T11:34:58.498+08:00  INFO 8 --- [   scheduling-1] r.h.a.s.a.login.impl.RsaKeyService       : Generated RSA keys. Usage: 3179 ms.

2023-04-11T11:34:59.032+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller garbage-collector-controller

2023-04-11T11:34:59.039+08:00  INFO 8 --- [-controller-t-1] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-1 started

2023-04-11T11:34:59.039+08:00  INFO 8 --- [-controller-t-2] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-2 started

2023-04-11T11:34:59.043+08:00  INFO 8 --- [-controller-t-3] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-3 started

2023-04-11T11:34:59.054+08:00  INFO 8 --- [-controller-t-4] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-4 started

2023-04-11T11:34:59.055+08:00  INFO 8 --- [-controller-t-5] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-5 started

2023-04-11T11:34:59.061+08:00  INFO 8 --- [-controller-t-6] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-6 started

2023-04-11T11:34:59.072+08:00  INFO 8 --- [-controller-t-7] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-7 started

2023-04-11T11:34:59.073+08:00  INFO 8 --- [-controller-t-8] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-8 started

2023-04-11T11:34:59.078+08:00  INFO 8 --- [-controller-t-9] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-9 started

2023-04-11T11:34:59.090+08:00  INFO 8 --- [controller-t-10] r.h.a.e.controller.DefaultController     : Controller worker garbage-collector-controller-worker-10 started

2023-04-11T11:34:59.103+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.UserReconciler

2023-04-11T11:34:59.118+08:00  INFO 8 --- [rReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.UserReconciler-worker-1 started

2023-04-11T11:34:59.118+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.RoleBindingReconciler

2023-04-11T11:34:59.120+08:00  INFO 8 --- [rReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.User) synchronizer...

2023-04-11T11:34:59.132+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.RoleBindingReconciler-worker-1 started

2023-04-11T11:34:59.133+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.attachment.AttachmentReconciler

2023-04-11T11:34:59.135+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.RoleBinding) synchronizer...

2023-04-11T11:34:59.148+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.attachment.AttachmentReconciler-worker-1 started

2023-04-11T11:34:59.148+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.SystemSettingReconciler

2023-04-11T11:34:59.152+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.attachment.Attachment) synchronizer...

2023-04-11T11:34:59.158+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.MenuItemReconciler

2023-04-11T11:34:59.158+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.SystemSettingReconciler-worker-1 started

2023-04-11T11:34:59.160+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.extension.ConfigMap) synchronizer...

2023-04-11T11:34:59.163+08:00  INFO 8 --- [rReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.User) synchronizer.

2023-04-11T11:34:59.167+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.RoleBinding) synchronizer.

2023-04-11T11:34:59.171+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.attachment.Attachment) synchronizer.

2023-04-11T11:34:59.172+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.CommentReconciler

2023-04-11T11:34:59.173+08:00  INFO 8 --- [mReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.MenuItemReconciler-worker-1 started

2023-04-11T11:34:59.182+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.extension.ConfigMap) synchronizer.

2023-04-11T11:34:59.183+08:00  INFO 8 --- [mReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.MenuItem) synchronizer...

2023-04-11T11:34:59.183+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.CommentReconciler-worker-1 started

2023-04-11T11:34:59.183+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.PluginReconciler

2023-04-11T11:34:59.188+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.content.Comment) synchronizer...

2023-04-11T11:34:59.195+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.ReverseProxyReconciler

2023-04-11T11:34:59.198+08:00  INFO 8 --- [nReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PluginReconciler-worker-1 started

2023-04-11T11:34:59.201+08:00  INFO 8 --- [mReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.MenuItem) synchronizer.

2023-04-11T11:34:59.204+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.TagReconciler

2023-04-11T11:34:59.205+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.ReverseProxyReconciler-worker-1 started

2023-04-11T11:34:59.208+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.ReverseProxy) synchronizer...

2023-04-11T11:34:59.214+08:00  INFO 8 --- [nReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.Plugin) synchronizer...

2023-04-11T11:34:59.217+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.content.Comment) synchronizer.

2023-04-11T11:34:59.221+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.ReplyReconciler

2023-04-11T11:34:59.223+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.TagReconciler-worker-1 started

2023-04-11T11:34:59.225+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.CategoryReconciler

2023-04-11T11:34:59.225+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.content.Tag) synchronizer...

2023-04-11T11:34:59.225+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.ReplyReconciler-worker-1 started

2023-04-11T11:34:59.230+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.content.Reply) synchronizer...

2023-04-11T11:34:59.239+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.PostReconciler

2023-04-11T11:34:59.240+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.CategoryReconciler-worker-1 started

2023-04-11T11:34:59.243+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.content.Category) synchronizer...

2023-04-11T11:34:59.246+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.ReverseProxy) synchronizer.

2023-04-11T11:34:59.245+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-1 started

2023-04-11T11:34:59.250+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.content.Post) synchronizer...

2023-04-11T11:34:59.251+08:00  INFO 8 --- [tReconciler-t-2] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-2 started

2023-04-11T11:34:59.253+08:00  INFO 8 --- [nReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.Plugin) synchronizer.

2023-04-11T11:34:59.256+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.content.Tag) synchronizer.

2023-04-11T11:34:59.260+08:00  INFO 8 --- [tReconciler-t-3] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-3 started

2023-04-11T11:34:59.262+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.content.Reply) synchronizer.

2023-04-11T11:34:59.270+08:00  INFO 8 --- [tReconciler-t-4] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-4 started

2023-04-11T11:34:59.269+08:00  INFO 8 --- [tReconciler-t-5] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-5 started

2023-04-11T11:34:59.276+08:00  INFO 8 --- [tReconciler-t-6] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-6 started

2023-04-11T11:34:59.277+08:00  INFO 8 --- [tReconciler-t-7] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-7 started

2023-04-11T11:34:59.284+08:00  INFO 8 --- [tReconciler-t-8] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-8 started

2023-04-11T11:34:59.290+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.theme.router.SinglePageRoute

2023-04-11T11:34:59.289+08:00  INFO 8 --- [tReconciler-t-9] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-9 started

2023-04-11T11:34:59.290+08:00  INFO 8 --- [Reconciler-t-10] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.PostReconciler-worker-10 started

2023-04-11T11:34:59.295+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.SinglePageReconciler

2023-04-11T11:34:59.295+08:00  INFO 8 --- [lePageRoute-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.theme.router.SinglePageRoute-worker-1 started

2023-04-11T11:34:59.297+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.SinglePageReconciler-worker-1 started

2023-04-11T11:34:59.298+08:00  INFO 8 --- [lePageRoute-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.content.SinglePage) synchronizer...

2023-04-11T11:34:59.297+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.ThemeReconciler

2023-04-11T11:34:59.302+08:00  INFO 8 --- [yReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.content.Category) synchronizer.

2023-04-11T11:34:59.305+08:00  INFO 8 --- [tReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.content.Post) synchronizer.

2023-04-11T11:34:59.315+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.RoleReconciler

2023-04-11T11:34:59.315+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.ThemeReconciler-worker-1 started

2023-04-11T11:34:59.315+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.content.SinglePage) synchronizer...

2023-04-11T11:34:59.317+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.Theme) synchronizer...

2023-04-11T11:34:59.319+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.AnnotationSettingReconciler

2023-04-11T11:34:59.319+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.RoleReconciler-worker-1 started

2023-04-11T11:34:59.324+08:00  INFO 8 --- [           main] r.h.a.e.controller.DefaultController     : Starting controller run.halo.app.core.extension.reconciler.AuthProviderReconciler

2023-04-11T11:34:59.326+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.Role) synchronizer...

2023-04-11T11:34:59.326+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.AnnotationSettingReconciler-worker-1 started

2023-04-11T11:34:59.334+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.AnnotationSetting) synchronizer...

2023-04-11T11:34:59.335+08:00  INFO 8 --- [rReconciler-t-1] r.h.a.e.controller.DefaultController     : Controller worker run.halo.app.core.extension.reconciler.AuthProviderReconciler-worker-1 started

2023-04-11T11:34:59.337+08:00  INFO 8 --- [rReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Starting request(class run.halo.app.core.extension.AuthProvider) synchronizer...

2023-04-11T11:34:59.352+08:00  INFO 8 --- [lePageRoute-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.content.SinglePage) synchronizer.

2023-04-11T11:34:59.361+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.content.SinglePage) synchronizer.

2023-04-11T11:34:59.383+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.Theme) synchronizer.

2023-04-11T11:34:59.444+08:00  INFO 8 --- [eReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.Role) synchronizer.

2023-04-11T11:34:59.446+08:00  INFO 8 --- [gReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.AnnotationSetting) synchronizer.

2023-04-11T11:34:59.467+08:00  INFO 8 --- [rReconciler-t-1] r.h.a.e.controller.RequestSynchronizer   : Started request(class run.halo.app.core.extension.AuthProvider) synchronizer.

2023-04-11T11:34:59.634+08:00  INFO 8 --- [         task-1] run.halo.app.search.IndicesInitializer   : Initialize post indices...

2023-04-11T11:34:59.749+08:00  INFO 8 --- [         task-1] run.halo.app.search.IndicesInitializer   : Initialized post indices. Usage: StopWatch 'PostIndicesWatch': running time = 103281076 ns; [rebuild] took 103281076 ns = 100%
Additional information

No response

回答

6

你可以进入容器内通过 curl 访问试试

docker exec -it your-halo-container-id /bin/bash
curl localhost:8090

或者点击下图中圈起来图标然后执行 curl localhost:8090

image
6

你可以进入容器内部通过 curl 访问测试

docker exec -it your-halo-container-id /bin/bash
curl localhost:8090

或者点击下图中圈起来图标然后执行curl localhost:8090 图像

image 试了下在报错,下面是报错日志

halo    | 2023-04-11T17:49:08.351+08:00  INFO 7 --- [         task-1] run.halo.app.search.IndicesInitializer   : Initialize post indices...

halo    | 2023-04-11T17:49:08.447+08:00  INFO 7 --- [         task-1] run.halo.app.search.IndicesInitializer   : Initialized post indices. Usage: StopWatch 'PostIndicesWatch': running time = 93506000 ns; [rebuild] took 93506000 ns = 100%

halo    | 2023-04-11T17:50:06.080+08:00 ERROR 7 --- [oundedElastic-2] org.thymeleaf.TemplateEngine             : [THYMELEAF][boundedElastic-2] Exception processing template "index": Exception evaluating SpringEL expression: "contributorFinder.getContributor(#authentication.name)" (template: "modules/header" - line 94, col 11)

halo    | 

halo    | org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "contributorFinder.getContributor(#authentication.name)" (template: "modules/header" - line 94, col 11)

halo    |  at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at run.halo.app.theme.ReactiveSpelVariableExpressionEvaluator.evaluate(ReactiveSpelVariableExpressionEvaluator.java:29) ~[classes/:2.4.2]

halo    |  at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.processor.StandardWithTagProcessor.doProcess(StandardWithTagProcessor.java:93) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:1204) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.publisher.Mono.subscribe(Mono.java:4485) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]

halo    | Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1021E: A problem occurred whilst attempting to access the property 'name': 'Can't happen. Check SUPPORTED_CLASSES'

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:209) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:405) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:92) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.MethodReference.getArguments(MethodReference.java:164) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.MethodReference.getValueRef(MethodReference.java:81) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:70) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:91) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:112) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  ... 33 common frames omitted

halo    | Caused by: java.lang.IllegalStateException: Can't happen. Check SUPPORTED_CLASSES

halo    |  at org.springframework.integration.json.JsonPropertyAccessor.asJson(JsonPropertyAccessor.java:104) ~[spring-integration-core-6.0.4.jar:6.0.4]

halo    |  at org.springframework.integration.json.JsonPropertyAccessor.canRead(JsonPropertyAccessor.java:75) ~[spring-integration-core-6.0.4.jar:6.0.4]

halo    |  at run.halo.app.theme.ReactivePropertyAccessor.canRead(ReactivePropertyAccessor.java:39) ~[classes/:2.4.2]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:198) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  ... 43 common frames omitted

halo    | 

halo    | 2023-04-11T17:50:06.097+08:00 ERROR 7 --- [oundedElastic-2] o.t.spring6.SpringWebFluxTemplateEngine  : [THYMELEAF][boundedElastic-2] Exception processing template "index": Exception evaluating SpringEL expression: "contributorFinder.getContributor(#authentication.name)" (template: "modules/header" - line 94, col 11)

halo    | 

halo    | org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "contributorFinder.getContributor(#authentication.name)" (template: "modules/header" - line 94, col 11)

halo    |  at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at run.halo.app.theme.ReactiveSpelVariableExpressionEvaluator.evaluate(ReactiveSpelVariableExpressionEvaluator.java:29) ~[classes/:2.4.2]

halo    |  at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.processor.StandardWithTagProcessor.doProcess(StandardWithTagProcessor.java:93) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:1204) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.publisher.Mono.subscribe(Mono.java:4485) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]

halo    | Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1021E: A problem occurred whilst attempting to access the property 'name': 'Can't happen. Check SUPPORTED_CLASSES'

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:209) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:405) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:92) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.MethodReference.getArguments(MethodReference.java:164) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.MethodReference.getValueRef(MethodReference.java:81) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:70) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:91) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:112) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  ... 33 common frames omitted

halo    | Caused by: java.lang.IllegalStateException: Can't happen. Check SUPPORTED_CLASSES

halo    |  at org.springframework.integration.json.JsonPropertyAccessor.asJson(JsonPropertyAccessor.java:104) ~[spring-integration-core-6.0.4.jar:6.0.4]

halo    |  at org.springframework.integration.json.JsonPropertyAccessor.canRead(JsonPropertyAccessor.java:75) ~[spring-integration-core-6.0.4.jar:6.0.4]

halo    |  at run.halo.app.theme.ReactivePropertyAccessor.canRead(ReactivePropertyAccessor.java:39) ~[classes/:2.4.2]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:198) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  ... 43 common frames omitted

halo    | 

halo    | 2023-04-11T17:50:06.151+08:00 ERROR 7 --- [oundedElastic-2] a.w.r.e.AbstractErrorWebExceptionHandler : [4338f652-1]  500 Server Error for HTTP GET "/"

halo    | 

halo    | org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "contributorFinder.getContributor(#authentication.name)" (template: "modules/header" - line 94, col 11)

halo    |  at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 

halo    | Error has been observed at the following site(s):

halo    |  *__checkpoint ? Handler run.halo.app.theme.router.factories.IndexRouteFactory$$Lambda$1985/0x000000080157b3a8@2061fccb [DispatcherHandler]

halo    |  *__checkpoint ? run.halo.app.security.authentication.login.UsernamePasswordLogoutHandler [DefaultWebFilterChain]

halo    |  *__checkpoint ? run.halo.app.security.authentication.login.DelegatingLogoutPageGeneratingWebFilter [DefaultWebFilterChain]

halo    |  *__checkpoint ? run.halo.app.security.authentication.login.UsernamePasswordAuthenticator [DefaultWebFilterChain]

halo    |  *__checkpoint ? org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]

halo    |  *__checkpoint ? org.springframework.web.filter.reactive.ServerHttpObservationFilter [DefaultWebFilterChain]

halo    |  *__checkpoint ? HTTP GET "/" [ExceptionHandlingWebHandler]

halo    | Original Stack Trace:

halo    |  at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at run.halo.app.theme.ReactiveSpelVariableExpressionEvaluator.evaluate(ReactiveSpelVariableExpressionEvaluator.java:29) ~[classes/:2.4.2]

halo    |  at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.processor.StandardWithTagProcessor.doProcess(StandardWithTagProcessor.java:93) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:1204) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.publisher.Mono.subscribe(Mono.java:4485) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]

halo    | Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1021E: A problem occurred whilst attempting to access the property 'name': 'Can't happen. Check SUPPORTED_CLASSES'

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:209) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:104) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference$AccessorLValue.getValue(PropertyOrFieldReference.java:405) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:92) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.MethodReference.getArguments(MethodReference.java:164) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.MethodReference.getValueRef(MethodReference.java:81) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:70) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:91) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:112) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  at org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at run.halo.app.theme.ReactiveSpelVariableExpressionEvaluator.evaluate(ReactiveSpelVariableExpressionEvaluator.java:29) ~[classes/:2.4.2]

halo    |  at org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:109) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:138) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.expression.Expression.execute(Expression.java:125) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.standard.processor.StandardWithTagProcessor.doProcess(StandardWithTagProcessor.java:93) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleStandaloneElement(ProcessorTemplateHandler.java:1204) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.StandaloneElementTag.beHandled(StandaloneElementTag.java:228) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.Model.process(Model.java:282) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1587) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1077) ~[thymeleaf-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createFullStream$0(SpringWebFluxTemplateEngine.java:198) ~[thymeleaf-spring6-3.1.1.RELEASE.jar:3.1.1.RELEASE]

halo    |  at reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:58) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.publisher.Mono.subscribe(Mono.java:4485) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.run(MonoSubscribeOn.java:126) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) ~[reactor-core-3.5.4.jar:3.5.4]

halo    |  at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]

halo    |  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]

halo    |  at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]

halo    | Caused by: java.lang.IllegalStateException: Can't happen. Check SUPPORTED_CLASSES

halo    |  at org.springframework.integration.json.JsonPropertyAccessor.asJson(JsonPropertyAccessor.java:104) ~[spring-integration-core-6.0.4.jar:6.0.4]

halo    |  at org.springframework.integration.json.JsonPropertyAccessor.canRead(JsonPropertyAccessor.java:75) ~[spring-integration-core-6.0.4.jar:6.0.4]

halo    |  at run.halo.app.theme.ReactivePropertyAccessor.canRead(ReactivePropertyAccessor.java:39) ~[classes/:2.4.2]

halo    |  at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:198) ~[spring-expression-6.0.7.jar:6.0.7]

halo    |  ... 43 common frames omitted
0

你的网络模式是 host,应该意味着可以直接访问 8090。你所说的不能访问是指页面异常还是无法连接?

7

image 这是访问localhost:8090页面的情况

2

将 host 的模式改为暴露端口试一下,因为容器内是可以访问的说明服务没问题

image
4

网上找到了下,跟mac系统有关,使用localhost是无法访问mac上docker里的服务的,先close