halo-dev启动失败,设备Mac,官网dev启动Mac配置截图失效了。有大佬遇到过这个问题吗?
具体dev启动日志如下:
2023-11-07T23:17:06.191+08:00 DEBUG 92559 --- [eReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.extension.reconciler.RoleReconciler-worker-1 >>> Reconciling request Request[name=role-template-view-users] at 2023-11-07T15:17:06.191201Z
2023-11-07T23:17:06.192+08:00 DEBUG 92559 --- [eReconciler-t-1] r.h.a.e.controller.DefaultController : run.halo.app.core.extension.reconciler.RoleReconciler-worker-1 >>> Reconciled request: Request[name=role-template-view-users] with result: Result[reEnqueue=false, retryAfter=null], usage: 1
2023-11-07T23:22:56.716+08:00 DEBUG 92559 --- [ctor-http-nio-2] a.w.r.e.AbstractErrorWebExceptionHandler : [a1ebc850-2] Resolved [WebClientRequestException: Connection refused: localhost/127.0.0.1:3000] for HTTP GET /console
2023-11-07T23:22:56.717+08:00 ERROR 92559 --- [ctor-http-nio-2] a.w.r.e.AbstractErrorWebExceptionHandler : [a1ebc850-2] 500 Server Error for HTTP GET "/console"
org.springframework.web.reactive.function.client.WebClientRequestException: Connection refused: localhost/127.0.0.1:3000
at org.springframework.web.reactive.function.client.ExchangeFunctions$DefaultExchangeFunction.lambda$wrapException$9(ExchangeFunctions.java:136) ~[spring-webflux-6.0.13.jar:6.0.13]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint ⇢ Request to GET http://localhost:3000/console [DefaultWebClient]
*__checkpoint ⇢ run.halo.app.console.ConsoleProxyFilter [DefaultWebFilterChain]
*__checkpoint ⇢ run.halo.app.security.InitializeRedirectionWebFilter [DefaultWebFilterChain]
[DefaultWebFilterChain]
*__checkpoint ⇢ HTTP GET "/console" [ExceptionHandlingWebHandler]
Original Stack Trace:
at org.springframework.web.reactive.function.client.ExchangeFunctions$DefaultExchangeFunction.lambda$wrapException$9(ExchangeFunctions.java:136) ~[spring-webflux-6.0.13.jar:6.0.13]
at reactor.core.publisher.MonoErrorSupplied.subscribe(MonoErrorSupplied.java:55) ~[reactor-core-
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:3000
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method) ~[na:na]
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672) ~[na:na]
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:946) ~[na:na]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) ~[netty-
2023-11-07T23:22:56.960+08:00 DEBUG 92559 --- [ctor-http-nio-2] r.h.app.theme.HaloViewResolver$HaloView : [a1ebc850-2] View name 'error/error', model {error=ProblemDetail[type='about:blank', title='服务器内部错误', status=500, detail='服务器内部发生错误,请稍候再试。', instance='http://localhost:8090/console', properties='{requestId=a1ebc850-2, timestamp=2023-11-07T15:22:56.706022Z}'], thymeleafWebSession=MonoCacheTime, thymeleafWebExchangePrincipal=MonoEmpty, _csrf=MonoPeekTerminal, thymeleafSpringSecurityContext=MonoFlatMap}
2023-11-07T23:22:57.246+08:00 ERROR 92559 --- [oundedElastic-3] org.thymeleaf.TemplateEngine : [THYMELEAF][boundedElastic-3] Exception processing template "error/error": An error happened during template parsing (template: "/Users/lio/halo2-dev/themes/theme-earth/templates/error/error.html")