完全按照你的配置,我这边并未复现。
❯ vim docker-compose.yml
❯ docker compose up
WARN[0000] /Users/ryanwang/Desktop/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 1/0
✔ Container desktop-halo-1 Created 0.1s
Attaching to halo-1
halo-1 |
halo-1 | __ __ __
halo-1 | / / / /___ _/ /___
halo-1 | / /_/ / __ `/ / __ \
halo-1 | / __ / /_/ / / /_/ /
halo-1 | /_/ /_/\__,_/_/\____/
halo-1 |
halo-1 | Version: 2.20.8
halo-1 | 2024-12-09T18:21:19.352+08:00 INFO 7 --- [ main] run.halo.app.Application : Starting Application v2.20.8 using Java 21.0.4 with PID 7 (/application/BOOT-INF/classes started by root in /application)
halo-1 | 2024-12-09T18:21:19.353+08:00 INFO 7 --- [ main] run.halo.app.Application : No active profile set, falling back to 1 default profile: "default"
halo-1 | 2024-12-09T18:21:19.488+08:00 WARN 7 --- [ main] o.s.c.a.AnnotationBeanNameGenerator : Support for convention-based stereotype names is deprecated and will be removed in a future version of the framework. Please annotate the 'value' attribute in @run.halo.app.theme.finders.Finder with @AliasFor(annotation=Component.class) to declare an explicit alias for @Component's 'value' attribute.
halo-1 | 2024-12-09T18:21:20.139+08:00 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
halo-1 | 2024-12-09T18:21:20.141+08:00 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
halo-1 | 2024-12-09T18:21:20.226+08:00 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 79 ms. Found 1 R2DBC repository interface.
halo-1 | 2024-12-09T18:21:21.327+08:00 INFO 7 --- [ main] r.h.a.s.a.impl.RsaKeyService : Generating RSA keys for PAT.
halo-1 | 2024-12-09T18:21:28.995+08:00 INFO 7 --- [ main] r.h.a.s.a.impl.RsaKeyService : Wrote RSA keys for PAT into /root/.halo2/keys/pat_id_rsa and /root/.halo2/keys/pat_id_rsa.pub
halo-1 | 2024-12-09T18:21:29.170+08:00 INFO 7 --- [ main] org.pf4j.DefaultPluginStatusProvider : Enabled plugins: []
halo-1 | 2024-12-09T18:21:29.170+08:00 INFO 7 --- [ main] org.pf4j.DefaultPluginStatusProvider : Disabled plugins: []
halo-1 | 2024-12-09T18:21:29.171+08:00 INFO 7 --- [ main] org.pf4j.DefaultPluginManager : PF4J version 3.12.0 in 'deployment' mode
halo-1 | WARNING: A restricted method in java.lang.foreign.Linker has been called
halo-1 | WARNING: java.lang.foreign.Linker::downcallHandle has been called by the unnamed module
halo-1 | WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for this module
halo-1 |
halo-1 | 2024-12-09T18:21:30.178+08:00 INFO 7 --- [ main] o.a.l.s.MemorySegmentIndexInputProvider : Using MemorySegmentIndexInput and native madvise support with Java 21 or later; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false
halo-1 | 2024-12-09T18:21:30.179+08:00 INFO 7 --- [ main] r.h.a.search.lucene.LuceneSearchEngine : Initialized lucene search engine
halo-1 | 2024-12-09T18:21:30.799+08:00 INFO 7 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 34 endpoints beneath base path '/actuator'
halo-1 | 2024-12-09T18:21:31.386+08:00 WARN 7 --- [ main] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'r2dbcScriptDatabaseInitializer' defined in class path resource [org/springframework/boot/autoconfigure/sql/init/R2dbcInitializationConfiguration.class]: Failed to execute database script
halo-1 | 2024-12-09T18:21:31.396+08:00 INFO 7 --- [ main] r.h.a.e.c.DefaultControllerManager : Shutting down 0 controllers...
halo-1 | 2024-12-09T18:21:31.397+08:00 INFO 7 --- [ main] r.h.a.e.c.DefaultControllerManager : Shutdown 0 controllers.
halo-1 | 2024-12-09T18:21:31.399+08:00 INFO 7 --- [ main] r.h.a.search.lucene.LuceneSearchEngine : Destroyed lucene search engine
halo-1 | 2024-12-09T18:21:31.400+08:00 INFO 7 --- [ main] r.h.a.e.controller.DefaultController : Disposing controller garbage-collector-controller
halo-1 | 2024-12-09T18:21:31.400+08:00 INFO 7 --- [ main] r.h.a.e.controller.DefaultController : Controller garbage-collector-controller is disposed
halo-1 | 2024-12-09T18:21:31.463+08:00 INFO 7 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :
halo-1 |
halo-1 | Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
halo-1 | 2024-12-09T18:21:31.473+08:00 ERROR 7 --- [ main] o.s.boot.SpringApplication : Application run failed
halo-1 |
halo-1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'r2dbcScriptDatabaseInitializer' defined in class path resource [org/springframework/boot/autoconfigure/sql/init/R2dbcInitializationConfiguration.class]: Failed to execute database script
halo-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:288) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1122) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1093) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1030) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987) ~[spring-context-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) ~[spring-context-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at run.halo.app.Application.main(Application.java:28) ~[classes/:2.20.8]
halo-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[na:na]
halo-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
halo-1 | at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) ~[application/:na]
halo-1 | at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) ~[application/:na]
halo-1 | at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) ~[application/:na]
halo-1 | Caused by: org.springframework.r2dbc.connection.init.UncategorizedScriptException: Failed to execute database script
halo-1 | at org.springframework.r2dbc.connection.init.DatabasePopulator.lambda$populate$4(DatabasePopulator.java:65) ~[spring-r2dbc-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at reactor.core.publisher.Mono.lambda$onErrorMap$28(Mono.java:3848) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.Mono.lambda$onErrorResume$30(Mono.java:3938) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.MonoUsingWhen$ResourceSubscriber.onError(MonoUsingWhen.java:203) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:106) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.Operators.error(Operators.java:198) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.MonoError.subscribe(MonoError.java:53) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.Mono.subscribe(Mono.java:4576) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:103) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:106) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxRetry$RetrySubscriber.onError(FluxRetry.java:96) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.MonoFlatMap$FlatMapMain.onError(MonoFlatMap.java:180) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.pool.AbstractPool$Borrower.fail(AbstractPool.java:479) ~[reactor-pool-1.1.0-RC1.jar:1.1.0-RC1]
halo-1 | at reactor.pool.SimpleDequePool.lambda$drainLoop$9(SimpleDequePool.java:436) ~[reactor-pool-1.1.0-RC1.jar:1.1.0-RC1]
halo-1 | at reactor.core.publisher.FluxDoOnEach$DoOnEachSubscriber.onError(FluxDoOnEach.java:186) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.onError(MonoSubscribeOn.java:152) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.MonoFlatMap$FlatMapMain.onError(MonoFlatMap.java:180) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onError(FluxHide.java:142) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxMap$MapSubscriber.onError(FluxMap.java:134) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:205) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.netty.resources.NewConnectionProvider$DisposableConnect.onError(NewConnectionProvider.java:156) ~[reactor-netty-core-1.2.0-RC1.jar:1.2.0-RC1]
halo-1 | at reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:241) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:315) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:106) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.Operators.error(Operators.java:198) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.MonoError.subscribe(MonoError.java:53) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.Mono.subscribe(Mono.java:4576) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:103) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.netty.transport.TransportConnector$MonoChannelPromise.tryFailure(TransportConnector.java:576) ~[reactor-netty-core-1.2.0-RC1.jar:1.2.0-RC1]
halo-1 | at reactor.netty.transport.TransportConnector$MonoChannelPromise.setFailure(TransportConnector.java:522) ~[reactor-netty-core-1.2.0-RC1.jar:1.2.0-RC1]
halo-1 | at reactor.netty.transport.TransportConnector.lambda$doConnect$7(TransportConnector.java:261) ~[reactor-netty-core-1.2.0-RC1.jar:1.2.0-RC1]
halo-1 | at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:629) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:118) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:326) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:342) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
halo-1 | Suppressed: java.lang.Exception: #block terminated with an error
halo-1 | at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:104) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.Mono.block(Mono.java:1779) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at org.springframework.boot.r2dbc.init.R2dbcScriptDatabaseInitializer.runScripts(R2dbcScriptDatabaseInitializer.java:68) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.sql.init.AbstractScriptDatabaseInitializer.runScripts(AbstractScriptDatabaseInitializer.java:146) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.sql.init.AbstractScriptDatabaseInitializer.applyScripts(AbstractScriptDatabaseInitializer.java:108) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.sql.init.AbstractScriptDatabaseInitializer.applySchemaScripts(AbstractScriptDatabaseInitializer.java:98) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.sql.init.AbstractScriptDatabaseInitializer.initializeDatabase(AbstractScriptDatabaseInitializer.java:76) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.sql.init.AbstractScriptDatabaseInitializer.afterPropertiesSet(AbstractScriptDatabaseInitializer.java:66) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1849) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1798) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:288) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1122) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1093) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1030) ~[spring-beans-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987) ~[spring-context-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) ~[spring-context-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149) ~[spring-boot-3.4.0-RC1.jar:3.4.0-RC1]
halo-1 | at run.halo.app.Application.main(Application.java:28) ~[classes/:2.20.8]
halo-1 | at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[na:na]
halo-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
halo-1 | at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) ~[application/:na]
halo-1 | at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) ~[application/:na]
halo-1 | at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) ~[application/:na]
halo-1 | Caused by: org.springframework.dao.DataAccessResourceFailureException: Failed to obtain R2DBC Connection
halo-1 | at org.springframework.r2dbc.connection.ConnectionFactoryUtils.lambda$getConnection$0(ConnectionFactoryUtils.java:100) ~[spring-r2dbc-6.2.0-RC3.jar:6.2.0-RC3]
halo-1 | at reactor.core.publisher.Mono.lambda$onErrorMap$29(Mono.java:3862) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) ~[reactor-core-3.7.0-RC1.jar:3.7.0-RC1]
halo-1 | ... 39 common frames omitted
halo-1 | Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: rm-bp1xzorop2t55lv6qmo.mysql.rds.aliyuncs.com/198.18.4.23:3306
halo-1 | Caused by: java.net.ConnectException: Connection refused
halo-1 | at java.base/sun.nio.ch.Net.pollConnect(Native Method) ~[na:na]
halo-1 | at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source) ~[na:na]
halo-1 | at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:na]
halo-1 | at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:336) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:339) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.114.Final.jar:4.1.114.Final]
halo-1 | at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
halo-1 |
halo-1 exited with code 1