Skip to content

[BUG] 访问 consolse 时, actuator/globalinfo 接口超时,无日志 #7655

@ClearPlume

Description

@ClearPlume

前置条件

  • 已经在 issues 列表中搜索了相关问题。
  • 这是 Halo 项目本身存在的问题,如果是非项目本身的问题(如:安装部署问题),建议在 Discussions 提交。
  • 已经尝试过停用所有的插件,排除是插件导致的问题。
  • 如果是插件和主题的问题,请在对应的插件和主题仓库提交。

系统信息

使用的哪种方式运行?

Docker Compose

发生了什么?

容器启动后,网站正常运行,在某一刻就会这样超时

Image

超时后也不需要做什么,重启就好了

复现步骤

容器启动,正常运行即可...目前的观察是没有一个固定的触发时间

相关日志输出

没有访问日志,容器内啥也看不到——其实之前就想反馈来着,但一直找不到日志在哪里

2025-08-03T02:54:36.007+08:00  INFO 6 --- [ushReconciler-1] c.s.s.strategy.AbstractPushStrategy      : Pushing to baidu Result: {"remain":6,"success":1}
2025-08-03T02:54:36.008+08:00  INFO 6 --- [ushReconciler-1] c.s.s.strategy.AbstractPushStrategy      : code: 200
2025-08-03T02:54:36.023+08:00  INFO 6 --- [ushReconciler-1] c.s.sitepush.strategy.BaiduPushStrategy  : Pushing to baidu webmasters: https://www.fallingangel.net/archives/llmmo-xing-de-xun-lian

2025-08-03T02:54:36.279+08:00  INFO 6 --- [ushReconciler-1] c.s.s.strategy.AbstractPushStrategy      : Pushing to baidu Result: {"remain":5,"success":1}
2025-08-03T02:54:36.280+08:00  INFO 6 --- [ushReconciler-1] c.s.s.strategy.AbstractPushStrategy      : code: 200
2025-08-03T02:54:36.303+08:00  INFO 6 --- [ushReconciler-1] c.s.sitepush.strategy.BaiduPushStrategy  : Pushing to baidu webmasters: https://www.fallingangel.net/archives/llmchang-yong-fang-fa-de-li-jie

2025-08-03T02:54:36.561+08:00  INFO 6 --- [ushReconciler-1] c.s.s.strategy.AbstractPushStrategy      : Pushing to baidu Result: {"remain":4,"success":1}
2025-08-03T02:54:36.561+08:00  INFO 6 --- [ushReconciler-1] c.s.s.strategy.AbstractPushStrategy      : code: 200
2025-08-03T02:56:29.461+08:00  INFO 6 --- [ushReconciler-1] c.s.sitepush.strategy.BaiduPushStrategy  : Pushing to baidu webmasters: https://www.fallingangel.net/archives/cong-shu-ru-dao-shu-chu-da-yu-yan-mo-xing-yi-ci-tui-li-bei-hou-de-luo-ji-lian-tiao

2025-08-03T02:56:29.685+08:00  INFO 6 --- [ushReconciler-1] c.s.s.strategy.AbstractPushStrategy      : Pushing to baidu Result: {"remain":3,"success":1}
2025-08-03T02:56:29.686+08:00  INFO 6 --- [ushReconciler-1] c.s.s.strategy.AbstractPushStrategy      : code: 200
2025-08-03T03:00:00.006+08:00  INFO 6 --- [scheduling-1815] r.h.a.s.a.r.RememberTokenCleaner         : Expired remember me tokens have been cleaned up.
2025-08-03T15:26:10.438+08:00  WARN 6 --- [edElastic-12710] r.h.app.theme.engine.HaloTemplateEngine  : Interrupted while processing template: post
2025-08-03T15:26:11.259+08:00  WARN 6 --- [edElastic-12711] r.h.app.theme.engine.HaloTemplateEngine  : Interrupted while processing template: post
2025-08-03T15:26:11.367+08:00  WARN 6 --- [edElastic-12712] r.h.app.theme.engine.HaloTemplateEngine  : Interrupted while processing template: post
2025-08-03T15:27:00.832+08:00 ERROR 6 --- [tor-tcp-epoll-4] io.netty.util.ResourceLeakDetector       : LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information.
Recent access records: 
Created at:
	io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:410)
	io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)
	io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)
	io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:116)
	org.springframework.core.io.buffer.NettyDataBufferFactory.allocateBuffer(NettyDataBufferFactory.java:72)
	org.springframework.core.io.buffer.NettyDataBufferFactory.allocateBuffer(NettyDataBufferFactory.java:39)
	org.thymeleaf.spring6.SpringWebFluxTemplateEngine.lambda$createChunkedStream$2(SpringWebFluxTemplateEngine.java:264)
	reactor.core.publisher.FluxGenerate$GenerateSubscription.slowPath(FluxGenerate.java:271)
	reactor.core.publisher.FluxGenerate$GenerateSubscription.request(FluxGenerate.java:213)
	reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.request(FluxPeekFuseable.java:144)
	reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.requestUpstream(FluxSubscribeOn.java:131)
	reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.onSubscribe(FluxSubscribeOn.java:124)
	reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onSubscribe(FluxPeekFuseable.java:178)
	reactor.core.publisher.FluxGenerate.subscribe(FluxGenerate.java:85)
	reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:68)
	reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.run(FluxSubscribeOn.java:194)
	reactor.core.scheduler.BoundedElasticThreadPerTaskScheduler$SchedulerTask.run(BoundedElasticThreadPerTaskScheduler.java:1013)
	java.base/java.lang.VirtualThread.run(Unknown Source)
2025-08-03T16:20:54.878+08:00  WARN 6 --- [edElastic-13251] r.h.app.theme.engine.HaloTemplateEngine  : Interrupted while processing template: post
2025-08-03T19:13:02.955+08:00  INFO 6 --- [      Thread-10] r.h.a.c.a.e.LocalAttachmentUploadHandler : Wrote attachment ͼƬ.png into /root/.halo2/attachments/upload/ͼƬ-RKmF.png
2025-08-04T00:00:00.012+08:00  WARN 6 --- [pool-9-thread-1] r.h.a.e.ReactiveExtensionClientImpl      : The sort parameter is null, it is recommended to use Sort.unsorted() instead and the compatibility support for null will be removed in the subsequent version.
2025-08-04T00:00:00.033+08:00  INFO 6 --- [pool-9-thread-1] c.stonewu.sitepush.job.CleanOldDataJob   : ÒÑÇåÀí 2025-07-24T16:00:00Z ֮ǰµÄ 0 ÌõlogÊý¾Ý
2025-08-04T00:00:00.035+08:00  WARN 6 --- [pool-9-thread-1] r.h.a.e.ReactiveExtensionClientImpl      : The sort parameter is null, it is recommended to use Sort.unsorted() instead and the compatibility support for null will be removed in the subsequent version.
2025-08-04T00:00:00.072+08:00  INFO 6 --- [pool-9-thread-1] c.stonewu.sitepush.job.CleanOldDataJob   : ÒÑÇåÀí 2025-07-24T16:00:00Z ֮ǰµÄ 3 ÌõkeyÊý¾Ý
2025-08-04T03:00:00.007+08:00  INFO 6 --- [scheduling-3256] r.h.a.s.a.r.RememberTokenCleaner         : Expired remember me tokens have been cleaned up.

附加信息

这是重启后的日志,可以发现...任何有用信息都没有——已经访问过页面,但是这里没有

容器日志.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions