推送客戶端消息封裝

This commit is contained in:
wulin 2023-09-22 10:09:28 +08:00
parent b754f49c52
commit ed1ddb0e3a
7 changed files with 495 additions and 2 deletions

View File

@ -15,6 +15,8 @@ public class RedisConstans {
public static Long ONE_WEEK = ONE_DAY * 7;
public static Long ONE_MONTH_30 = ONE_DAY * 30;
public static Long HALF_MONTH_15 = ONE_DAY * 15;
public static String DEVICE_INFO = "device::info::";
public static String IOT_TOKEN = "iot_token:";

View File

@ -1,6 +1,8 @@
package com.qiuguo.iot.box.websocket.api.controller;
import com.alibaba.fastjson.JSONObject;
import com.qiuguo.iot.box.websocket.api.domain.box.BoxSession;
import com.qiuguo.iot.box.websocket.api.domain.box.resp.BoxMessageResp;
import com.qiuguo.iot.box.websocket.api.domain.user.UserSession;
import com.qiuguo.iot.box.websocket.api.handler.BoxWebSocketHandler;
import com.qiuguo.iot.box.websocket.api.handler.CustomerWebSocketHandler;
@ -23,11 +25,16 @@ public class WebsocketController {
CustomerWebSocketHandler customerWebSocketHandler;
@GetMapping("/push/message")
public Mono<String> pushMessage(@RequestParam String message, @RequestParam String id, @RequestParam Integer type) {
if(type == 0){
//设备推送
BoxSession boxSession = boxWebSocketHandler.getBoxSessionWithSn(id);
if(boxSession != null){
boxSession.getSink().next(boxSession.getSession().textMessage(message));
BoxMessageResp resp = new BoxMessageResp();
resp.setType(0);
resp.setText(message);
boxSession.getSink().next(boxSession.getSession().textMessage(JSONObject.toJSONString(resp)));
return Mono.just("推送成功");
}
return Mono.just("设备未上线");
@ -35,7 +42,10 @@ public class WebsocketController {
//用户推送
UserSession userSession = customerWebSocketHandler.getUserSessionWithSn(id);
if(userSession != null){
userSession.getSink().next(userSession.getSession().textMessage(message));
BoxMessageResp resp = new BoxMessageResp();
resp.setType(0);
resp.setText(message);
userSession.getSink().next(userSession.getSession().textMessage(JSONObject.toJSONString(resp)));
return Mono.just("推送成功");
}
return Mono.just("用户未上线");

View File

@ -0,0 +1,12 @@
package com.qiuguo.iot.box.websocket.api.domain.box.resp;
import java.util.Date;
public class ActionResp {
Integer type;
Date time;
String sound;
String image;//圖片地址
String action;//動作内容 json
}

View File

@ -0,0 +1,16 @@
package com.qiuguo.iot.box.websocket.api.domain.box.resp;
import lombok.Data;
import org.springframework.web.reactive.socket.WebSocketMessage;
import org.springframework.web.reactive.socket.WebSocketSession;
import reactor.core.publisher.FluxSink;
@Data
public class BoxMessageResp {
Integer type;//响应类型0问答响应 1iOT操作结果响应 2设置闹钟 3天气 4固件升级
String text;//播放文本内容
//其他動作
ActionResp action;
}

View File

@ -268,3 +268,154 @@ Caused by: java.net.UnknownHostException: Failed to resolve 'iot-redis.qiuguo-io
09:23:25.047 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,260] []- [DEREGISTER-SERVICE] public deregistering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='169.254.179.61', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
09:23:25.052 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,114] []- De-registration finished.
09:23:25.053 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:54:12.609 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
09:54:13.747 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
09:54:13.751 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
09:54:13.755 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
09:54:13.768 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev"
09:54:14.235 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:14.236 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
09:54:14.243 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 2 ms. Found 0 R2DBC repository interfaces.
09:54:14.249 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:14.249 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode.
09:54:14.255 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces.
09:54:14.362 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=362e1134-2ebc-3f81-9328-e1dc2bef451d
09:54:14.490 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$845dfae8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.501 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.502 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.503 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$438/278986288] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.503 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.505 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.506 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.507 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.508 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.509 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$df002afa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.527 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.528 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$adecfa16] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.531 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$ae7a1984] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.537 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.539 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.572 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.574 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.589 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.612 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.618 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$52e834ec] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:16.632 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null
09:54:16.633 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null
09:54:16.634 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null
09:54:17.562 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [<init>,58] []- Exposing 18 endpoint(s) beneath base path '/actuator'
09:54:18.809 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:54:18.812 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:54:18.918 [main] WARN o.s.b.w.r.c.AnnotationConfigReactiveWebServerApplicationContext - [refresh,591] []- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,149] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,413] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown begin
09:54:19.820 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown begin
09:54:22.824 [main] INFO c.a.n.client.naming - [shutdown,136] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown stop
09:54:22.824 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,134] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,418] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown stop
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,719] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown begin
09:54:25.829 [main] WARN c.a.n.client.naming - [shutdown,72] []- [NamingHttpClientManager] Start destroying NacosRestTemplate
09:54:25.829 [main] WARN c.a.n.client.naming - [shutdown,79] []- [NamingHttpClientManager] Destruction of the end
09:54:25.829 [main] INFO c.a.n.c.i.CredentialWatcher - [stop,105] []- [null] CredentialWatcher is stopped
09:54:25.829 [main] INFO c.a.n.c.i.CredentialService - [free,98] []- [null] CredentialService is freed
09:54:25.829 [main] INFO c.a.n.client.naming - [shutdown,723] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown stop
09:54:27.869 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - [logMessage,136] []-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
09:54:27.880 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] []-
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
09:54:28.853 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,145] []- [NotifyCenter] Start destroying Publisher
09:54:28.853 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,108] []- [HttpClientBeanHolder] Start destroying common HttpClient
09:54:28.854 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,162] []- [NotifyCenter] Destruction of the end
09:54:55.707 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
09:54:56.841 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
09:54:56.845 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
09:54:56.856 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
09:54:56.870 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev"
09:54:57.334 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:57.335 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
09:54:57.341 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 2 ms. Found 0 R2DBC repository interfaces.
09:54:57.346 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:57.347 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode.
09:54:57.352 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces.
09:54:57.456 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=362e1134-2ebc-3f81-9328-e1dc2bef451d
09:54:57.571 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$845dfae8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.580 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.581 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.581 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$438/278986288] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.582 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.584 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.585 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.586 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.587 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.588 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$df002afa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.605 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.606 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$adecfa16] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.608 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$ae7a1984] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.615 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.616 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.648 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.650 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.665 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.690 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.696 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$52e834ec] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:59.682 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null
09:54:59.683 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null
09:54:59.683 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null
09:55:00.654 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [<init>,58] []- Exposing 18 endpoint(s) beneath base path '/actuator'
09:55:01.875 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:55:01.879 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:55:01.984 [main] WARN o.s.b.w.r.c.AnnotationConfigReactiveWebServerApplicationContext - [refresh,591] []- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,149] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,413] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown begin
09:55:02.885 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown begin
09:55:05.890 [main] INFO c.a.n.client.naming - [shutdown,136] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown stop
09:55:05.890 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,134] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,418] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown stop
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,719] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown begin
09:55:08.893 [main] WARN c.a.n.client.naming - [shutdown,72] []- [NamingHttpClientManager] Start destroying NacosRestTemplate
09:55:08.893 [main] WARN c.a.n.client.naming - [shutdown,79] []- [NamingHttpClientManager] Destruction of the end
09:55:08.893 [main] INFO c.a.n.c.i.CredentialWatcher - [stop,105] []- [null] CredentialWatcher is stopped
09:55:08.893 [main] INFO c.a.n.c.i.CredentialService - [free,98] []- [null] CredentialService is freed
09:55:08.893 [main] INFO c.a.n.client.naming - [shutdown,723] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown stop
09:55:10.932 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - [logMessage,136] []-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
09:55:10.943 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] []-
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
09:55:11.919 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,108] []- [HttpClientBeanHolder] Start destroying common HttpClient
09:55:11.919 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,145] []- [NotifyCenter] Start destroying Publisher
09:55:11.920 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,162] []- [NotifyCenter] Destruction of the end
09:55:11.920 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,114] []- [HttpClientBeanHolder] Destruction of the end
10:06:54.452 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
10:06:55.585 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
10:06:55.587 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
10:06:55.594 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]

View File

@ -268,3 +268,154 @@ Caused by: java.net.UnknownHostException: Failed to resolve 'iot-redis.qiuguo-io
09:23:25.047 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,260] []- [DEREGISTER-SERVICE] public deregistering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='169.254.179.61', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
09:23:25.052 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,114] []- De-registration finished.
09:23:25.053 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:54:12.609 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
09:54:13.747 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
09:54:13.751 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
09:54:13.755 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
09:54:13.768 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev"
09:54:14.235 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:14.236 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
09:54:14.243 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 2 ms. Found 0 R2DBC repository interfaces.
09:54:14.249 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:14.249 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode.
09:54:14.255 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces.
09:54:14.362 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=362e1134-2ebc-3f81-9328-e1dc2bef451d
09:54:14.490 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$845dfae8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.501 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.502 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.503 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$438/278986288] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.503 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.505 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.506 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.507 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.508 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.509 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$df002afa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.527 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.528 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$adecfa16] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.531 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$ae7a1984] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.537 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.539 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.572 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.574 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.589 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.612 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.618 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$52e834ec] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:16.632 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null
09:54:16.633 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null
09:54:16.634 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null
09:54:17.562 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [<init>,58] []- Exposing 18 endpoint(s) beneath base path '/actuator'
09:54:18.809 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:54:18.812 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:54:18.918 [main] WARN o.s.b.w.r.c.AnnotationConfigReactiveWebServerApplicationContext - [refresh,591] []- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,149] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,413] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown begin
09:54:19.820 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown begin
09:54:22.824 [main] INFO c.a.n.client.naming - [shutdown,136] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown stop
09:54:22.824 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,134] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,418] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown stop
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,719] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown begin
09:54:25.829 [main] WARN c.a.n.client.naming - [shutdown,72] []- [NamingHttpClientManager] Start destroying NacosRestTemplate
09:54:25.829 [main] WARN c.a.n.client.naming - [shutdown,79] []- [NamingHttpClientManager] Destruction of the end
09:54:25.829 [main] INFO c.a.n.c.i.CredentialWatcher - [stop,105] []- [null] CredentialWatcher is stopped
09:54:25.829 [main] INFO c.a.n.c.i.CredentialService - [free,98] []- [null] CredentialService is freed
09:54:25.829 [main] INFO c.a.n.client.naming - [shutdown,723] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown stop
09:54:27.869 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - [logMessage,136] []-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
09:54:27.880 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] []-
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
09:54:28.853 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,145] []- [NotifyCenter] Start destroying Publisher
09:54:28.853 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,108] []- [HttpClientBeanHolder] Start destroying common HttpClient
09:54:28.854 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,162] []- [NotifyCenter] Destruction of the end
09:54:55.707 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
09:54:56.841 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
09:54:56.845 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
09:54:56.856 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
09:54:56.870 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev"
09:54:57.334 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:57.335 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
09:54:57.341 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 2 ms. Found 0 R2DBC repository interfaces.
09:54:57.346 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:57.347 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode.
09:54:57.352 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces.
09:54:57.456 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=362e1134-2ebc-3f81-9328-e1dc2bef451d
09:54:57.571 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$845dfae8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.580 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.581 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.581 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$438/278986288] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.582 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.584 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.585 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.586 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.587 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.588 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$df002afa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.605 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.606 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$adecfa16] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.608 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$ae7a1984] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.615 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.616 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.648 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.650 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.665 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.690 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.696 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$52e834ec] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:59.682 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null
09:54:59.683 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null
09:54:59.683 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null
09:55:00.654 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [<init>,58] []- Exposing 18 endpoint(s) beneath base path '/actuator'
09:55:01.875 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:55:01.879 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:55:01.984 [main] WARN o.s.b.w.r.c.AnnotationConfigReactiveWebServerApplicationContext - [refresh,591] []- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,149] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,413] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown begin
09:55:02.885 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown begin
09:55:05.890 [main] INFO c.a.n.client.naming - [shutdown,136] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown stop
09:55:05.890 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,134] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,418] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown stop
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,719] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown begin
09:55:08.893 [main] WARN c.a.n.client.naming - [shutdown,72] []- [NamingHttpClientManager] Start destroying NacosRestTemplate
09:55:08.893 [main] WARN c.a.n.client.naming - [shutdown,79] []- [NamingHttpClientManager] Destruction of the end
09:55:08.893 [main] INFO c.a.n.c.i.CredentialWatcher - [stop,105] []- [null] CredentialWatcher is stopped
09:55:08.893 [main] INFO c.a.n.c.i.CredentialService - [free,98] []- [null] CredentialService is freed
09:55:08.893 [main] INFO c.a.n.client.naming - [shutdown,723] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown stop
09:55:10.932 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - [logMessage,136] []-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
09:55:10.943 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] []-
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
09:55:11.919 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,108] []- [HttpClientBeanHolder] Start destroying common HttpClient
09:55:11.919 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,145] []- [NotifyCenter] Start destroying Publisher
09:55:11.920 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,162] []- [NotifyCenter] Destruction of the end
09:55:11.920 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,114] []- [HttpClientBeanHolder] Destruction of the end
10:06:54.452 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
10:06:55.585 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
10:06:55.587 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
10:06:55.594 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]

View File

@ -268,3 +268,154 @@ Caused by: java.net.UnknownHostException: Failed to resolve 'iot-redis.qiuguo-io
09:23:25.047 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,260] []- [DEREGISTER-SERVICE] public deregistering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='169.254.179.61', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
09:23:25.052 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,114] []- De-registration finished.
09:23:25.053 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:54:12.609 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
09:54:13.747 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
09:54:13.751 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
09:54:13.755 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
09:54:13.768 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev"
09:54:14.235 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:14.236 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
09:54:14.243 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 2 ms. Found 0 R2DBC repository interfaces.
09:54:14.249 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:14.249 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode.
09:54:14.255 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces.
09:54:14.362 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=362e1134-2ebc-3f81-9328-e1dc2bef451d
09:54:14.490 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$845dfae8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.501 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.502 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.503 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$438/278986288] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.503 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.505 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.506 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.507 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.508 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.509 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$df002afa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.527 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.528 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$adecfa16] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.531 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$ae7a1984] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.537 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.539 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.572 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.574 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.589 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.612 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:14.618 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$52e834ec] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:16.632 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null
09:54:16.633 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null
09:54:16.634 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null
09:54:17.562 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [<init>,58] []- Exposing 18 endpoint(s) beneath base path '/actuator'
09:54:18.809 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:54:18.812 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:54:18.918 [main] WARN o.s.b.w.r.c.AnnotationConfigReactiveWebServerApplicationContext - [refresh,591] []- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,149] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop
09:54:18.920 [main] INFO c.a.n.client.naming - [shutdown,413] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown begin
09:54:19.820 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown begin
09:54:22.824 [main] INFO c.a.n.client.naming - [shutdown,136] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown stop
09:54:22.824 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,134] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,418] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown stop
09:54:25.828 [main] INFO c.a.n.client.naming - [shutdown,719] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown begin
09:54:25.829 [main] WARN c.a.n.client.naming - [shutdown,72] []- [NamingHttpClientManager] Start destroying NacosRestTemplate
09:54:25.829 [main] WARN c.a.n.client.naming - [shutdown,79] []- [NamingHttpClientManager] Destruction of the end
09:54:25.829 [main] INFO c.a.n.c.i.CredentialWatcher - [stop,105] []- [null] CredentialWatcher is stopped
09:54:25.829 [main] INFO c.a.n.c.i.CredentialService - [free,98] []- [null] CredentialService is freed
09:54:25.829 [main] INFO c.a.n.client.naming - [shutdown,723] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown stop
09:54:27.869 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - [logMessage,136] []-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
09:54:27.880 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] []-
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
09:54:28.853 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,145] []- [NotifyCenter] Start destroying Publisher
09:54:28.853 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,108] []- [HttpClientBeanHolder] Start destroying common HttpClient
09:54:28.854 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,162] []- [NotifyCenter] Destruction of the end
09:54:55.707 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
09:54:56.841 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
09:54:56.845 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
09:54:56.856 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]
09:54:56.870 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev"
09:54:57.334 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:57.335 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
09:54:57.341 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 2 ms. Found 0 R2DBC repository interfaces.
09:54:57.346 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode
09:54:57.347 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode.
09:54:57.352 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces.
09:54:57.456 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=362e1134-2ebc-3f81-9328-e1dc2bef451d
09:54:57.571 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$845dfae8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.580 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.581 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.581 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$438/278986288] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.582 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.584 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.585 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.586 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.587 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.588 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$df002afa] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.605 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.606 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$adecfa16] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.608 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$ae7a1984] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.615 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.616 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.648 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.650 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.665 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.690 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:57.696 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$52e834ec] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
09:54:59.682 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null
09:54:59.683 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null
09:54:59.683 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null
09:55:00.654 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [<init>,58] []- Exposing 18 endpoint(s) beneath base path '/actuator'
09:55:01.875 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:55:01.879 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000},{"instanceId":"172.31.166.238#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.166.238","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]
09:55:01.984 [main] WARN o.s.b.w.r.c.AnnotationConfigReactiveWebServerApplicationContext - [refresh,591] []- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 8080 is already in use
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,147] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown begin
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,149] []- com.alibaba.nacos.client.naming.beat.BeatReactor do shutdown stop
09:55:01.987 [main] INFO c.a.n.client.naming - [shutdown,413] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown begin
09:55:02.885 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown begin
09:55:05.890 [main] INFO c.a.n.client.naming - [shutdown,136] []- com.alibaba.nacos.client.naming.core.PushReceiver do shutdown stop
09:55:05.890 [main] INFO c.a.n.client.naming - [shutdown,132] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,134] []- com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,418] []- com.alibaba.nacos.client.naming.core.HostReactor do shutdown stop
09:55:08.892 [main] INFO c.a.n.client.naming - [shutdown,719] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown begin
09:55:08.893 [main] WARN c.a.n.client.naming - [shutdown,72] []- [NamingHttpClientManager] Start destroying NacosRestTemplate
09:55:08.893 [main] WARN c.a.n.client.naming - [shutdown,79] []- [NamingHttpClientManager] Destruction of the end
09:55:08.893 [main] INFO c.a.n.c.i.CredentialWatcher - [stop,105] []- [null] CredentialWatcher is stopped
09:55:08.893 [main] INFO c.a.n.c.i.CredentialService - [free,98] []- [null] CredentialService is freed
09:55:08.893 [main] INFO c.a.n.client.naming - [shutdown,723] []- com.alibaba.nacos.client.naming.net.NamingProxy do shutdown stop
09:55:10.932 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - [logMessage,136] []-
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
09:55:10.943 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter - [report,40] []-
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
09:55:11.919 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,108] []- [HttpClientBeanHolder] Start destroying common HttpClient
09:55:11.919 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,145] []- [NotifyCenter] Start destroying Publisher
09:55:11.920 [Thread-24] WARN c.a.n.c.n.NotifyCenter - [shutdown,162] []- [NotifyCenter] Destruction of the end
09:55:11.920 [Thread-4] WARN c.a.n.c.h.HttpClientBeanHolder - [shutdown,114] []- [HttpClientBeanHolder] Destruction of the end
10:06:54.452 [background-preinit] INFO o.h.v.i.util.Version - [<clinit>,21] - HV000001: Hibernate Validator 6.2.5.Final
10:06:55.585 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP]
10:06:55.587 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket.yml] & group[DEFAULT_GROUP]
10:06:55.594 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}]